xtd.tunit - Reference Guide  1.0.0
Modern c++17 unit testing framework on Windows, macOS, Linux, iOS and android.
xtd::tunit::test_event_args Class Reference

Provides data for the xtd::tunit::test events. More...

#include <test_event_args.h>

Inheritance diagram for xtd::tunit::test_event_args:
xtd::tunit::tunit_event_args

Public Member Functions

 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. More...
 
const xtd::tunit::testtest () const noexcept
 Gets current test. More...
 
const xtd::tunit::test_classtest_class () const noexcept
 Gets current class test. More...
 
const xtd::tunit::unit_testunit_test () const
 Gets current unit test. More...
 

Detailed Description

Provides data for the xtd::tunit::test events.

Constructor & Destructor Documentation

§ test_event_args()

xtd::tunit::test_event_args::test_event_args ( const xtd::tunit::test test,
const xtd::tunit::test_class test_class,
const xtd::tunit::unit_test unit_test 
)
inlineexplicit

Create a new instance of class class_event_args.

Parameters
testCurrent testt.
test_classCurrent test_class.

Member Function Documentation

§ test()

const xtd::tunit::test& xtd::tunit::test_event_args::test ( ) const
inlinenoexcept

Gets current test.

Returns
Current test.

§ test_class()

const xtd::tunit::test_class& xtd::tunit::test_event_args::test_class ( ) const
inlinenoexcept

Gets current class test.

Returns
Current class test.

§ unit_test()

const xtd::tunit::unit_test& xtd::tunit::tunit_event_args::unit_test ( ) const
inlineinherited

Gets current unit test.

Returns
Current unit test.

The documentation for this class was generated from the following file: