![]() |
tunit - Reference Guide
1.0.0
Modern c++17 unit testing framework on Windows, macOS, Linux, iOS and android.
|
This attribute is use to add cleaup class method to class test attribute. More...
#include <class_cleanup_attribute.h>
Public Member Functions | |
| template<typename TestClass > | |
| class_cleanup_attribute (const std::string &name, TestClass &test_class, void(*method)()) noexcept | |
| Creates new instance of class_cleanup_attribute attribute. More... | |
| template<typename TestClass > | |
| class_cleanup_attribute (const std::string &name, TestClass &test_class, void(*method)(), const tunit::line_info &line_info) noexcept | |
| Creates new instance of class_cleanup_attribute attribute. More... | |
This attribute is use to add cleaup class method to class test attribute.
|
inlinenoexcept |
Creates new instance of class_cleanup_attribute attribute.
| name | Name of attribute |
| test_class | tunit::class_test containing clean_up method. |
| method | Cleanup class method. |
|
inlinenoexcept |
Creates new instance of class_cleanup_attribute attribute.
| name | Name of attribute |
| test_class | tunit::class_test containing clean_up method. |
| method | Cleanup class method. |
| line_info | Contains information about current file and current line. |