xtd - Reference Guide  0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
test_event_args.h
Go to the documentation of this file.
1 #pragma once
5 #include "test_class.h"
6 #include "test.h"
7 #include "tunit_event_args.h"
8 
10 namespace xtd {
12  namespace tunit {
20  public:
25 
28  const xtd::tunit::test& test() const noexcept {return t_;}
29 
32  const xtd::tunit::test_class& test_class() const noexcept {return tc_;}
33 
34  private:
35  const xtd::tunit::test& t_;
36  const xtd::tunit::test_class& tc_;
37  };
38  }
39 }
Definition: test_class.h:25
Provides data for the xtd::tunit::test events.
Definition: test_event_args.h:19
const xtd::tunit::test & test() const noexcept
Gets current test.
Definition: test_event_args.h:28
const xtd::tunit::test_class & test_class() const noexcept
Gets current class test.
Definition: test_event_args.h:32
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.h:24
Definition: test.h:24
tunit_event_args is the base class for classes containing event data.
Definition: tunit_event_args.h:20
The template class.
Definition: unit_test.h:32
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::tunit::test class.
Contains xtd::tunit::test_class class.
Contains xtd::tunit::tunit_event_args class.