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.
Public Member Functions | List of all members
xtd::tunit::test_event_args Class Reference

#include <test_event_args.h>

Definition

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

Namespace
xtd::tunit
Library
xtd.tunit

Inherits 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...
 
- Public Member Functions inherited from xtd::tunit::tunit_event_args
 tunit_event_args (const xtd::tunit::unit_test &unit_test)
 Create a new instance of class tunit_event_args. More...
 
const xtd::tunit::unit_testunit_test () const
 Gets current unit test. More...
 

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 test.
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.

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