Permalink
Cannot retrieve contributors at this time
<?xml version="1.0" encoding="utf-8"?> | |
<!-- This is an auto generated file and is not intended for modification. --> | |
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" | |
xmlns:s="library://ns.adobe.com/flex/spark" | |
xmlns:mx="library://ns.adobe.com/flex/mx" | |
xmlns:flexUnitUIRunner="http://www.adobe.com/2009/flexUnitUIRunner" | |
minWidth="650" minHeight="500" creationComplete="onCreationComplete()" | |
backgroundColor="#00FF00"> | |
<fx:Script> | |
<![CDATA[ | |
import mx.logging.LogEventLevel; | |
import org.flexunit.listeners.CIListener; | |
import org.flexunit.listeners.UIListener; | |
import org.flexunit.runner.FlexUnitCore; | |
<% fullyQualifiedNames.each { %> | |
import $it; | |
<% } %> | |
public function currentRunTestSuite():Array { | |
var testsToRun:Array = new Array(); | |
<% testClasses.each { %> | |
testsToRun.push($it); | |
<% } %> | |
return testsToRun; | |
} | |
private function onCreationComplete():void { | |
var core:FlexUnitCore = new FlexUnitCore(); | |
core.addListener(new UIListener(uiListener)); | |
core.addListener(new CIListener()); | |
core.run(currentRunTestSuite()); | |
} | |
]]> | |
</fx:Script> | |
<fx:Declarations> | |
<!-- Place non-visual elements (e.g., services, value objects) here --> | |
</fx:Declarations> | |
<flexUnitUIRunner:TestRunnerBase id="uiListener" width="100%" height="100%" /> | |
</s:Application> |