API Documentation | All Packages | All Classes | Index | Frames No Frames |
FlexUnit4QualifiedBuilder

Package | org.flexunit.internals.builders
Class | public class FlexUnit4QualifiedBuilder
Inheritance | FlexUnit4QualifiedBuilder FlexUnit4Builder RunnerBuilderBase Object

This class is used as an alternate builder for FlexUnit 4. Normally FlexUnit4 is the default builder, so it accepts all classes. In this class we determine if it is actually a FlexUnit 4 test

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| 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 | FlexUnit4QualifiedBuilder
|  | 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

Method Detail

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.

Returns

| `Boolean`

Thu Apr 10 2014, 08:07 AM +10:00