ZeroErr
|
SubCase is a class that holds the subcase information. More...
#include <unittest.h>
Public Member Functions | |
SubCase (std::string name, std::string file, unsigned line, TestContext *context) | |
~SubCase ()=default | |
void | operator<< (std::function< void(TestContext *)> op) |
Public Member Functions inherited from zeroerr::TestCase | |
bool | operator< (const TestCase &rhs) const |
Compare the test cases. More... | |
TestCase (std::string name, std::string file, unsigned line) | |
Construct a new Test Case object. More... | |
TestCase (std::string name, std::string file, unsigned line, std::function< void(TestContext *)> func) | |
Construct a new Test Case object. More... | |
Public Attributes | |
TestContext * | context |
Public Attributes inherited from zeroerr::TestCase | |
std::string | name |
std::string | file |
unsigned | line |
std::function< void(TestContext *)> | func |
std::vector< TestCase * > | subcases |
SubCase is a class that holds the subcase information.
zeroerr::SubCase::SubCase | ( | std::string | name, |
std::string | file, | ||
unsigned | line, | ||
TestContext * | context | ||
) |
|
default |
void zeroerr::SubCase::operator<< | ( | std::function< void(TestContext *)> | op | ) |
TestContext* zeroerr::SubCase::context |