|
ZeroErr
|
SubCase is a class that holds the subcase information. 更多...
#include <unittest.h>


Public 成员函数 | |
| SubCase (std::string name, std::string file, unsigned line, TestContext *context, std::vector< Decorator * > decorators) | |
| ~SubCase ()=default | |
| void | operator<< (std::function< void(TestContext *)> op) |
Public 成员函数 继承自 zeroerr::TestCase | |
| 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 属性 | |
| TestContext * | context |
Public 属性 继承自 zeroerr::TestCase | |
| 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 |