xtd 0.2.0
tunit_event_args.h
Go to the documentation of this file.
1 #pragma once
5 namespace xtd {
8  namespace tunit {
10  class unit_test;
12 
20  public:
22 
25  explicit tunit_event_args(const xtd::tunit::unit_test& unit_test) : ut_(unit_test) {};
27 
29  tunit_event_args(const tunit_event_args&) = default;
31 
33 
37  const xtd::tunit::unit_test& unit_test() const {return ut_;}
39 
40  private:
41  const xtd::tunit::unit_test& ut_;
42  };
43  }
44 }
tunit_event_args(const xtd::tunit::unit_test &unit_test)
Create a new instance of class tunit_event_args.
Definition: tunit_event_args.h:25
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
const xtd::tunit::unit_test & unit_test() const
Gets current unit test.
Definition: tunit_event_args.h:37
The unit_test class is unit test base interface.
Definition: unit_test.h:35
tunit_event_args is the base class for classes containing event data.
Definition: tunit_event_args.h:19