xtd 1.0.0
Loading...
Searching...
No Matches
test_event_args.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "test_class.hpp"
6#include "test.hpp"
8
10namespace xtd {
12 namespace tunit {
20 public:
22
29
31
35 [[nodiscard]] auto test() const noexcept -> const xtd::tunit::test& {return t_;}
36
39 [[nodiscard]] auto test_class() const noexcept -> const xtd::tunit::test_class& {return tc_;}
41
42 private:
43 const xtd::tunit::test& t_;
44 const xtd::tunit::test_class& tc_;
45 };
46 }
47}
Represents a test class.
Definition test_class.hpp:39
auto test_class() const noexcept -> const xtd::tunit::test_class &
Gets current class test.
Definition test_event_args.hpp:39
test_event_args(const xtd::tunit::test &test, const xtd::tunit::test_class &test_class, const xtd::tunit::unit_test &unit_test)
Create a new instance of class class_event_args.
Definition test_event_args.hpp:27
auto test() const noexcept -> const xtd::tunit::test &
Gets current test.
Definition test_event_args.hpp:35
Represents a test method.
Definition test.hpp:29
tunit_event_args is the base class for classes containing event data.
Definition tunit_event_args.hpp:19
tunit_event_args(const xtd::tunit::unit_test &unit_test)
Create a new instance of class tunit_event_args.
Definition tunit_event_args.hpp:25
auto unit_test() const -> const xtd::tunit::unit_test &
Gets current unit test.
Definition tunit_event_args.hpp:33
The unit_test class is unit test base interface.
Definition unit_test.hpp:30
The tunit namespace contains a unit test library.
Definition abort_error.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::tunit::test class.
Contains xtd::tunit::test_class class.
Contains xtd::tunit::tunit_event_args class.