#include <class_cleanup_attribute.h>
This attribute is use to add cleanup class method to class test attribute.
- Namespace
- xtd::tunit
- Library
- xtd.tunit
◆ class_cleanup_attribute() [1/2]
template<typename test_class_t >
xtd::tunit::class_cleanup_attribute::class_cleanup_attribute |
( |
const std::string & |
name, |
|
|
test_class_t & |
test_class, |
|
|
void(*)() |
method |
|
) |
| |
|
inlinenoexcept |
Creates new instance of class_cleanup_attribute attribute.
- Parameters
-
name | Name of attribute |
test_class | xtd::tunit::class_test containing clean_up method. |
method | Cleanup class method. |
◆ class_cleanup_attribute() [2/2]
template<typename test_class_t >
xtd::tunit::class_cleanup_attribute::class_cleanup_attribute |
( |
const std::string & |
name, |
|
|
test_class_t & |
test_class, |
|
|
void(*)() |
method, |
|
|
const xtd::diagnostics::stack_frame & |
stack_frame |
|
) |
| |
|
inlinenoexcept |
Creates new instance of class_cleanup_attribute attribute.
- Parameters
-
name | Name of attribute |
test_class | xtd::tunit::class_test containing clean_up method. |
method | Cleanup class method. |
stack_frame | Contains information about current file and current line. |
The documentation for this class was generated from the following file: