Sha256: b23c6e7b42ecfae10f7ab72db204073f9987002162a1e491b5832cb1fbff4c69
Contents?: true
Size: 1.3 KB
Versions: 10
Compression:
Stored size: 1.3 KB
Contents
package { import org.flexunit.internals.TraceListener; import org.flexunit.runner.IDescription; import org.flexunit.runner.Result; import org.flexunit.runner.notification.Failure; public class FlashSDKListener extends TraceListener { public function FlashSDKListener () { } override public function testRunFinished(result:Result):void { if (result.failureCount) trace("TESTS HAS FAILURES"); trace("ALL TESTS ARE COMPLETED"); super.testRunFinished(result); } override public function testStarted(description:IDescription):void { // trace("TEST STARTED", description.displayName, description.testCount); // super.testStarted(description); } override public function testFailure(failure:Failure):void { trace("TEST FAILED", failure.testHeader, failure.stackTrace); // super.testFailure(failure); } override public function testIgnored(description:IDescription):void { trace("TEST IGNORED", description.displayName, description.testCount); // super.testIgnored(description); } override public function testFinished(description:IDescription):void { // trace("TEST FINISHED", description.displayName, description.testCount); // super.testFinished(description); } } }
Version data entries
10 entries across 10 versions & 1 rubygems