Sha256: f0b8119c3fb388cdffbf7a994fff22cdbc2a9c97e05309cb946c59aa704bc7be

Contents?: true

Size: 638 Bytes

Versions: 2

Compression:

Stored size: 638 Bytes

Contents

package asunit.support {

    import asunit.framework.CallbackBridge;
    import asunit.framework.IResult;
    import asunit.runners.TestRunner;

    import flash.display.DisplayObjectContainer;

    public class CustomTestRunner extends TestRunner {

        // Used so that test cases can 
        // verify that this custom runner
        // worked.
        public static var runCalledCount:int;

        override public function run(testClass:Class, testMethod:String=null, visualContext:DisplayObjectContainer=null):void {
            runCalledCount++;
            super.run(testClass, testMethod, visualContext);
        }
    }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
asunit4-4.2.2.pre test/asunit/support/CustomTestRunner.as
asunit4-4.2.1.pre test/asunit/support/CustomTestRunner.as