Sha256: d09d36a4c23027501b80c659731c170370b915e84603aa4d6101eca5ced09ced

Contents?: true

Size: 568 Bytes

Versions: 2

Compression:

Stored size: 568 Bytes

Contents

package asunit.core {

    import asunit.printers.FlashDevelopPrinter;

    import flash.system.fscommand;

    public class FlashDevelopCore extends TextCore {

        override protected function initializeObservers():void {
            super.initializeObservers();
            addObserver(new FlashDevelopPrinter());
        }

		override protected function onRunCompleted():void {
            super.onRunCompleted();
			fscommand('quit'); // fails silently if not in debug player
			//System.exit(0); // generates SecurityError if not in debug player
		}
    }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
asunit4-4.2.2.pre src/asunit/core/FlashDevelopCore.as
asunit4-4.2.1.pre src/asunit/core/FlashDevelopCore.as