Menu

[r2492]: / osmf / trunk / buildtools / testProjectTemplate.mxml  Maximize  Restore  History

Download this file

36 lines (26 with data), 1.3 kB

 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
32
33
34
35
<?xml version="1.0" encoding="utf-8"?>
<!-- This is an auto generated file and is not intended for modification. -->
<mx:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:mx="library://ns.adobe.com/flex/mx"
creationComplete="onCreationComplete()" layout="absolute">
<fx:Script>
<![CDATA[
import org.flexunit.listeners.*;
import org.flexunit.runner.FlexUnitCore;
private function onCreationComplete():void
{
var core:FlexUnitCore = new FlexUnitCore();
/**If you don't need graphical test results, comment out the line below and the MXML declaring
the TestRunnerBase. **/
core.addListener(new AirCIListener());
/**If you would like to see text output in verbose mode, umcomment either of the follow listeners **/
//core.addListener( new TraceListener() ); - For AS3 Projects
//core.addListener( TextListener.getDefaultTextListener( LogEventLevel.DEBUG ) ); - For Flex Projects
core.run([This value will be overwritten in the testsuite name].currentRunTestSuite());
}
]]>
</fx:Script>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
</mx:WindowedApplication>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.