making custom version of 03g1-debugging with unit test stuff (I think?)
This commit is contained in:
27
custom-03g1-debugging/me/tests/TestDebugging.as
Normal file
27
custom-03g1-debugging/me/tests/TestDebugging.as
Normal file
@@ -0,0 +1,27 @@
|
||||
package me.tests
|
||||
{
|
||||
import me.Debugging;
|
||||
|
||||
import mx.core.Application;
|
||||
import org.flexunit.listeners.UIListener;
|
||||
import org.flexunit.runner.TestRunnerBase;
|
||||
import org.flexunit.runner.FlexUnitCore;
|
||||
|
||||
public class TestDebugging extends Application
|
||||
{
|
||||
public var uiListener:TestRunnerBase;
|
||||
private var core:FlexUnitCore;
|
||||
|
||||
public function TestDebugging():void
|
||||
{
|
||||
this.addEventListener("creationComplete", runMe);
|
||||
}
|
||||
|
||||
public function runMe():void
|
||||
{
|
||||
core = new FlexUnitCore();
|
||||
core.addListener(new UIListener(uiListener));
|
||||
core.run(Debugging);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user