Package | org.flexunit.internals.builders |
Class | public class IgnoredBuilder |
Inheritance | IgnoredBuilder ![]() ![]() |
IgnoredBuilder
potentially builds an IgnoredClassRunner
for
a provided testClass. It is determined whether the testClass is marked as being ignored with
a metadata tag ([Ignore]). If this is the case, a IgnoredClassRunner
is created for the test
class; however, if it does not fulfill this criteria, no IRunner
will be generated.
Method | Defined By | ||
---|---|---|---|
canHandleClass(testClass:Class):Boolean [override]
Returns a boolean value indicating if this builder will be able to handle the testClass or not
| IgnoredBuilder | ||
runnerForClass(testClass:Class):IRunner [override]
Returns a IgnoredClassRunner if the testClass has an [Ignore] metadata tag. | IgnoredBuilder | ||
![]() | 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 |
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 IgnoredClassRunner
if the testClass
has an [Ignore] metadata tag.
Parameters
testClass:Class — The class to check.
|
IRunner — a IgnoredClassRunner if the testClass has an [Ignore] metadata tag;
otherwise, a value of null is returned.
|