![]() |
Zen
A cross-platform functional programming language
|
Test return closure. More...
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_test & | x |
| Reference to test closure. | |
Private Member Functions | |
| virtual zbl::Runner & | getRunner () |
| Return the runner. | |
| virtual Action::T | runClosureWithCtx (zbl::RunContext &_ctx) |
| Run the closure. | |
Private Attributes | |
| zbl::Linker | _runner |
| The runner for the test. | |
Test return closure.
| _C_rtn | ( | const z::string & | name, |
| zbl::TestResult & | tr, | ||
| _C_test & | p_x | ||
| ) | [inline] |
Default constructor.
| name | The test name |
| tr | Test result |
| p_x | Reference to test closure |
| virtual zbl::Runner& getRunner | ( | ) | [inline, private, virtual] |
| virtual Action::T runClosureWithCtx | ( | zbl::RunContext & | _ctx | ) | [inline, private, virtual] |
Run the closure.
| _ctx | The RunContext for this invocation |
Implements Closure.