Zen
A cross-platform functional programming language
|
Base class for test factories. More...
#include <zrt.hpp>
Public Member Functions | |
void | setTestResult (TestResult &tr) |
Set the test result. | |
const z::string & | getName () const |
Get test name. | |
virtual Continuation * | get () const =0 |
Returns the continuation reprsenting this test case. | |
Public Attributes | |
TestFactory * | _next |
The next item in the list. | |
Static Public Attributes | |
static TestFactory * | _head = 0 |
The head of the list. | |
Protected Member Functions | |
TestFactory (const z::string &name) | |
Default constructor. | |
Protected Attributes | |
TestResult * | _tr |
The test result. | |
const z::string | _name |
The test name. |
Base class for test factories.
const z::string& getName | ( | ) | const [inline] |
Get test name.
void setTestResult | ( | TestResult & | tr | ) | [inline] |
Set the test result.
tr | The test result |
zbl::TestFactory * _head = 0 [static] |
The head of the list.
The head of linked-list of test functions.