box-o-sand/custom-03g1-debugging/me/tests/TestDebugging.as

28 lines
682 B
ActionScript

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);
}
}
}