Contains tunit::test_method_attribute class.
More...
#include "test.h"
#include "test_state.h"
Go to the source code of this file.
|
| tunit |
| The tunit namespace contains a unit test library.
|
|
|
#define | ignore_test_method_(method_name) |
|
#define | test_method_(method_name) |
|
◆ ignore_test_method_
#define ignore_test_method_ |
( |
|
method_name | ) |
|
Value:__##method_name##_unused() = delete; \
public:\
template<typename test_class> __##method_name##_attribute##_class(test_class& test) : test_method_attribute(#method_name, test, &test_class::method_name,
tunit::
test_state::
ignored, {__func__, __FILE__, __LINE__}) {} \
} __##method_name##_attribute {*this}; \
void method_name()
test_state
Represent the test state enumeration used bu test.
Definition: test_state.h:9
Definition: test_method_attribute.h:9
The tunit namespace contains a unit test library.
Definition: abort_error.h:8
◆ test_method_
#define test_method_ |
( |
|
method_name | ) |
|
Value:__##method_name##_unused() = delete; \
public:\
template<typename test_class> __##method_name##_attribute##_class(test_class& test) : test_method_attribute(#method_name, test, &test_class::method_name, {__func__, __FILE__, __LINE__}) {} \
} __##method_name##_attribute {*this}; \
void method_name()
Definition: test_method_attribute.h:9