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, std::vector< Decorator * > decorators) | |
~SubCase ()=default | |
void | operator<< (std::function< void(TestContext *)> op) |
![]() | |
bool | operator< (const TestCase &rhs) const |
Compare the test cases. | |
TestCase (std::string name, std::string file, unsigned line, std::vector< Decorator * > decorators) | |
Construct a new Test Case object. | |
TestCase (std::string name, std::string file, unsigned line, std::function< void(TestContext *)> func, std::vector< Decorator * > decorators) | |
Construct a new Test Case object. | |
Public Attributes | |
TestContext * | context |
![]() | |
std::string | name |
std::string | file |
unsigned | line |
std::function< void(TestContext *)> | func |
std::vector< TestCase * > | subcases |
std::vector< Decorator * > | decorators |
SubCase is a class that holds the subcase information.
zeroerr::SubCase::SubCase | ( | std::string | name, |
std::string | file, | ||
unsigned | line, | ||
TestContext * | context, | ||
std::vector< Decorator * > | decorators | ||
) |
|
default |
void zeroerr::SubCase::operator<< | ( | std::function< void(TestContext *)> | op | ) |
TestContext* zeroerr::SubCase::context |