Package | org.flexunit.internals.runners.statements |
Class | public class InvokeMethod |
Inheritance | InvokeMethod ![]() ![]() |
Implements | IAsyncStatement |
InvokeMethod
is responsible for invoking a specific test method in
given test class. This class will cause the test to run and will report whether the
test successfully passed with no encountered exceptions or if it exceptions were
thrown during test execution.
Method | Defined By | ||
---|---|---|---|
InvokeMethod(testMethod:FrameworkMethod, target:Object)
Constructor. | InvokeMethod | ||
evaluate(parentToken:AsyncTestToken):void
Executes the test method to be run. | InvokeMethod |
InvokeMethod | () | Constructor |
public function InvokeMethod(testMethod:FrameworkMethod, target:Object)
Constructor.
ParameterstestMethod:FrameworkMethod — A specific method in the target to test.
| |
target:Object — The test class.
|
evaluate | () | method |
public function evaluate(parentToken:AsyncTestToken):void
Executes the test method to be run.
Parameters
parentToken:AsyncTestToken — The token to be notified when the test method has finished running.
|