Sha256: 58c48c9b9e837ec1671d9b1e261ef351d5db2e9eaad59b1d1ee86739c1b55066
Contents?: true
Size: 1023 Bytes
Versions: 2
Compression:
Stored size: 1023 Bytes
Contents
package asunit.support { import asunit.framework.IRunner; import asunit.framework.IResult; import asunit.framework.TestSuccess; import asunit.framework.IRunnerFactory; import flash.events.EventDispatcher; import flash.display.DisplayObjectContainer; public class FakeRunner extends EventDispatcher implements IRunner { public function run(testOrSuite:Class, result:IResult, testMethod:String=null, visualContext:DisplayObjectContainer=null):void { var currentTest:TestForFakeRunner = new testOrSuite() as TestForFakeRunner; result.onTestStarted(currentTest); result.onTestSuccess(new TestSuccess(currentTest, 'customTestMethod')); result.onTestCompleted(currentTest); } public function shouldRunTest(testClass:Class):Boolean { return true; } public function set factory(factory:IRunnerFactory):void { } public function get factory():IRunnerFactory { } } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
asunit4-4.2.2.pre | test/asunit/support/FakeRunner.as |
asunit4-4.2.1.pre | test/asunit/support/FakeRunner.as |