xtd 0.2.0
Loading...
Searching...
No Matches
test_event_args.h
Go to the documentation of this file.
1
4#pragma once
5#include "test_class.h"
6#include "test.h"
7#include "tunit_event_args.h"
8
10namespace xtd {
12 namespace tunit {
20 public:
22
29
31
35 const xtd::tunit::test& test() const noexcept {return t_;}
36
39 const xtd::tunit::test_class& test_class() const noexcept {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.h:39
Provides data for the xtd::tunit::test events.
Definition test_event_args.h:19
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:27
const xtd::tunit::test & test() const noexcept
Gets current test.
Definition test_event_args.h:35
const xtd::tunit::test_class & test_class() const noexcept
Gets current class test.
Definition test_event_args.h:39
Represents a test method.
Definition test.h:29
tunit_event_args is the base class for classes containing event data.
Definition tunit_event_args.h:19
The unit_test class is unit test base interface.
Definition unit_test.h:28
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Contains xtd::tunit::test class.
Contains xtd::tunit::test_class class.
Contains xtd::tunit::tunit_event_args class.