A cross-platform functional programming language

TestFactory Class Reference

Base class for test factories. More...

#include <zrt.hpp>

Inheritance diagram for TestFactory:
TestFactoryT< T, ImplT >

List of all members.

Public Member Functions

void setTestResult (TestResult &tr)
 Set the test result.
const z::stringgetName () const
 Get test name.
virtual Continuationget () const =0
 Returns the continuation reprsenting this test case.

Public Attributes

 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

 The test result.
const z::string _name
 The test name.

Detailed Description

Base class for test factories.

Member Function Documentation

const z::string& getName ( ) const [inline]

Get test name.

The test name
void setTestResult ( TestResult tr) [inline]

Set the test result.

trThe test result

Member Data Documentation

zbl::TestFactory * _head = 0 [static]

The head of the list.

The head of linked-list of test functions.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines