Package | org.flexunit.internals.builders |
Class | public class FlexUnit4Builder |
Inheritance | FlexUnit4Builder ![]() ![]() |
Subclasses | FlexUnit4QualifiedBuilder |
FlexUnit4Builder
builds a BlockFlexUnit4ClassRunner
for
a provided testClass. A BlockFlexUnit4ClassRunner
will be built for every
testClass that is provided to this builder.
This is the last builder to be used with a testClass when determining which IRunner
to used by the class; the BlockFlexUnit4ClassRunner
is the default IRunner
to use with a testClass if no other suitable runner can be found.
See also
Method | Defined By | ||
---|---|---|---|
Constructor. | FlexUnit4Builder | ||
canHandleClass(testClass:Class):Boolean [override]
Returns a boolean value indicating if this builder will be able to handle the testClass or not
| FlexUnit4Builder | ||
runnerForClass(testClass:Class):IRunner [override]
Returns a BlockFlexUnit4ClassRunner for the provided testClass. | FlexUnit4Builder | ||
![]() | runners(parent:Class, children:Array):Array
Constructs and returns a list of IRunners, one for each child class in
children. | RunnerBuilderBase | |
![]() | safeRunnerForClass(testClass:Class):IRunner
Returns an IRunner that can safely run the provided testClass. | RunnerBuilderBase |
FlexUnit4Builder | () | Constructor |
public function FlexUnit4Builder()
Constructor.
canHandleClass | () | method |
override public function canHandleClass(testClass:Class):Boolean
Returns a boolean value indicating if this builder will be able to handle the testClass or not
Parameters
testClass:Class — The class to test to determine an IRunner .
Returns false, forcing any new subclasses of RunnerBuilderBase to override this method.
|
Boolean |
runnerForClass | () | method |
override public function runnerForClass(testClass:Class):IRunner
Returns a BlockFlexUnit4ClassRunner
for the provided testClass
.
Parameters
testClass:Class — The test class provided to the builder.
|
IRunner — a BlockFlexUnit4ClassRunner for the provided testClass .
|