Package | org.flexunit.experimental.runners.statements |
Class | public class TheoryBlockRunnerStatement |
Inheritance | TheoryBlockRunnerStatement ![]() ![]() |
Implements | IAsyncStatement |
TheoryBlockRunnerStatement
is responsible for reporting whether the theory
method with specific arguments was successful.
Method | Defined By | ||
---|---|---|---|
Constructor. | TheoryBlockRunnerStatement | ||
evaluate(parentToken:AsyncTestToken):void
Executes the current IAsyncStatement that is wrapping the theory method test. | TheoryBlockRunnerStatement | ||
handleChildExecuteComplete(result:ChildResult):void
Notifies the anchor if the statement successfully executed and the parent token of any errors that were encountered
while running the theory method test. | TheoryBlockRunnerStatement |
TheoryBlockRunnerStatement | () | Constructor |
public function TheoryBlockRunnerStatement(statement:IAsyncStatement, anchor:TheoryAnchor, complete:Assignments)
Constructor.
Parametersstatement:IAsyncStatement — The IAsyncStatement to execute.
| |
anchor:TheoryAnchor — The anchor associated with the theory method.
| |
complete:Assignments — The Assignments associated with the current theory method test.
|
evaluate | () | method |
public function evaluate(parentToken:AsyncTestToken):void
Executes the current IAsyncStatement
that is wrapping the theory method test.
Parameters
parentToken:AsyncTestToken — The token to be notified when the the current theory method test has finished all other statements.
|
handleChildExecuteComplete | () | method |
public function handleChildExecuteComplete(result:ChildResult):void
Notifies the anchor if the statement successfully executed and the parent token of any errors that were encountered while running the theory method test.
Parameters
result:ChildResult — A ChildResult that contains potential errors encountered during the statements execution.
|