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

Version Path
flashsdk_sqe-0.0.14 lib/flashsdk/generators/templates/FlashSDKListener.as
flashsdk_sqe-0.0.13 lib/flashsdk/generators/templates/FlashSDKListener.as
flashsdk_sqe-0.0.12 lib/flashsdk/generators/templates/FlashSDKListener.as
flashsdk_sqe-0.0.11 lib/flashsdk/generators/templates/FlashSDKListener.as
flashsdk_sqe-0.0.10 lib/flashsdk/generators/templates/FlashSDKListener.as
flashsdk_sqe-0.0.9 lib/flashsdk/generators/templates/FlashSDKListener.as
flashsdk_sqe-0.0.7 lib/flashsdk/generators/templates/FlashSDKListener.as
flashsdk_sqe-0.0.6 lib/flashsdk/generators/templates/FlashSDKListener.as
flashsdk_sqe-0.0.4 lib/flashsdk/generators/templates/FlashSDKListener.as
flashsdk_sqe-0.0.3 lib/flashsdk/generators/templates/FlashSDKListener.as