Zen
A cross-platform functional programming language

TestFactoryT< T, ImplT >::TcontinuationT::_C_rtn Class Reference

Test return closure. More...

Inheritance diagram for TestFactoryT< T, ImplT >::TcontinuationT::_C_rtn:
ReturnClosureT< int > ClosureT< int > Closure

List of all members.

Public Member Functions

 _C_rtn (const z::string &name, zbl::TestResult &tr, _C_test &p_x)
 Default constructor.

Public Attributes

const z::string_name
 Test name.
zbl::TestResult_tr
 Test result.
_C_testx
 Reference to test closure.

Private Member Functions

virtual zbl::RunnergetRunner ()
 Return the runner.
virtual Action::T runClosureWithCtx (zbl::RunContext &_ctx)
 Run the closure.

Private Attributes

zbl::Linker _runner
 The runner for the test.

Detailed Description

template<typename T, typename ImplT>
class ztl::TestFactoryT< T, ImplT >::TcontinuationT::_C_rtn

Test return closure.


Constructor & Destructor Documentation

_C_rtn ( const z::string name,
zbl::TestResult tr,
_C_test p_x 
) [inline]

Default constructor.

Parameters:
nameThe test name
trTest result
p_xReference to test closure

Member Function Documentation

virtual zbl::Runner& getRunner ( ) [inline, private, virtual]

Return the runner.

Returns:
The runner

Implements Closure.

virtual Action::T runClosureWithCtx ( zbl::RunContext _ctx) [inline, private, virtual]

Run the closure.

Parameters:
_ctxThe RunContext for this invocation
Returns:
Value specifying what to do next with the continuation

Implements Closure.


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