libept
|
Simple default implementation of TestController. More...
#include <tests.h>
Public Member Functions | |
bool | test_case_begin (const TestCase &test_case, const TestCaseResult &test_case_result) override |
Called before running a test case. More... | |
void | test_case_end (const TestCase &test_case, const TestCaseResult &test_case_result) override |
Called after running a test case. More... | |
bool | test_method_begin (const TestMethod &test_method, const TestMethodResult &test_method_result) override |
Called before running a test method. More... | |
void | test_method_end (const TestMethod &test_method, const TestMethodResult &test_method_result) override |
Called after running a test method. More... | |
bool | test_method_should_run (const std::string &fullname) const |
![]() | |
virtual | ~TestController () |
Public Attributes | |
std::string | whitelist |
Any method not matching this glob expression will not be run. More... | |
std::string | blacklist |
Any method matching this glob expression will not be run. More... | |
Simple default implementation of TestController.
It does progress printing to stdout and basic glob-based test method filtering.
|
overridevirtual |
Called before running a test case.
Reimplemented from ept::tests::TestController.
References ept::tests::TestCase::methods, and ept::tests::TestCase::name.
|
overridevirtual |
Called after running a test case.
Reimplemented from ept::tests::TestController.
References ept::tests::TestCaseResult::is_success(), and ept::tests::TestCaseResult::skipped.
|
overridevirtual |
Called before running a test method.
Reimplemented from ept::tests::TestController.
References ept::tests::TestMethod::name, and ept::tests::TestMethodResult::test_case.
|
overridevirtual |
Called after running a test method.
Reimplemented from ept::tests::TestController.
References ept::tests::TestMethodResult::is_success(), and ept::tests::TestMethodResult::skipped.
bool ept::tests::SimpleTestController::test_method_should_run | ( | const std::string & | fullname | ) | const |
std::string ept::tests::SimpleTestController::blacklist |
Any method matching this glob expression will not be run.
Referenced by main().
std::string ept::tests::SimpleTestController::whitelist |
Any method not matching this glob expression will not be run.
Referenced by main().