forked from joelhooks/tinytlf
/
TinyTLFTest.mxml
executable file
·31 lines (28 loc) · 1.08 KB
/
TinyTLFTest.mxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:fu="http://www.adobe.com/2009/flexUnitUIRunner"
creationComplete="onCreationComplete()"
width="200" height="200"
backgroundColor="#FFFFFF" horizontalScrollPolicy="off" verticalScrollPolicy="off">
<mx:Script>
<![CDATA[
import org.flexunit.internals.TraceListener;
import org.flexunit.listeners.CIListener;
import org.flexunit.runner.FlexUnitCore;
import org.tinytlf.suites.TinyTLFTestSuite;
private var core:FlexUnitCore;
/*embedded just for fun*/
[Bindable]
[Embed(source="../build/assets/tinytlf.png")]
private var Logo:Class;
private function onCreationComplete():void
{
core = new FlexUnitCore();
core.addListener(new CIListener());
core.addListener(new TraceListener());
core.run(TinyTLFTestSuite);
}
]]>
</mx:Script>
<mx:Image source="{Logo}" horizontalCenter="0" verticalCenter="0"/>
</mx:Application>