libcopp
2.2.0
|
#include <test_case_base.h>
Public Types | |
typedef void(* | on_exit_func) () |
Public Member Functions | |
typedef | UTIL_UNIT_TEST_MACRO_AUTO_SET (std::string) before_set_t |
template<typename... T> | |
test_on_exit_base (const std::string &n, on_exit_func func, T &&... deps) | |
template<typename... T> | |
void | expand (T &&...) |
virtual | ~test_on_exit_base () |
virtual int | run () |
Data Fields | |
std::string | name |
on_exit_func | func_ |
before_set_t | before |
Private Member Functions | |
void | register_self () |
Definition at line 81 of file test_case_base.h.
typedef void(* test_on_exit_base::on_exit_func) () |
Definition at line 84 of file test_case_base.h.
|
inline |
Definition at line 88 of file test_case_base.h.
References before, expand(), and register_self().
|
virtual |
Definition at line 55 of file test_case_base.cpp.
|
inline |
Definition at line 95 of file test_case_base.h.
Referenced by test_on_exit_base().
|
private |
Definition at line 53 of file test_case_base.cpp.
References test_manager::append_event_on_exit(), test_manager::me(), and name.
Referenced by test_on_exit_base().
|
virtual |
Definition at line 57 of file test_case_base.cpp.
References func_.
typedef test_on_exit_base::UTIL_UNIT_TEST_MACRO_AUTO_SET | ( | std::string | ) |
before_set_t test_on_exit_base::before |
Definition at line 103 of file test_case_base.h.
Referenced by test_on_exit_base().
on_exit_func test_on_exit_base::func_ |
Definition at line 102 of file test_case_base.h.
Referenced by run().
std::string test_on_exit_base::name |
Definition at line 101 of file test_case_base.h.
Referenced by register_self().