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

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

#include <class_event_args.h>

Inheritance diagram for xtd::tunit::class_event_args:
xtd::tunit::tunit_event_args

Public Member Functions

 class_event_args (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::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::class_test events.

Constructor & Destructor Documentation

§ class_event_args()

xtd::tunit::class_event_args::class_event_args ( const xtd::tunit::test_class test_class,
const xtd::tunit::unit_test unit_test 
)
inline

Create a new instance of class class_event_args.

Parameters
test_classCurrent class_test.

Member Function Documentation

§ test_class()

const xtd::tunit::test_class& xtd::tunit::class_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: