Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

49 lines (38 sloc) 1.635 kB
<?xml version="1.0" encoding="utf-8"?>
<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/halo"
xmlns:flexUnitUIRunner="http://www.adobe.com/2009/flexUnitUIRunner"
minWidth="955" minHeight="600"
creationComplete="runTests();"
xmlns:flexui="flexunit.flexui.*">
<fx:Script>
<![CDATA[
import mx.logging.LogEventLevel;
import org.flexunit.internals.TextListener;
import org.flexunit.internals.TraceListener;
import org.flexunit.listeners.CIListener;
import org.flexunit.listeners.UIListener;
import org.flexunit.runner.FlexUnitCore;
import testSuites.ReflectionTestsSuite;
import testSuites.StorageTestSuite;
private var core:FlexUnitCore;
public function runTests():void
{
core = new FlexUnitCore();
// If you don't need graphical test results, comment out the line
// below and the MXML declaring the TestRunnerBase.
core.addListener( new UIListener( uiListener ) );
// Listener to support continuous integration servers
core.addListener( new CIListener() );
// If you would like to see text output in verbose mode,
// uncomment either of the follow listeners
//core.addListener( new TraceListener() ); // For AS3 Projects
//core.addListener( TextListener.getDefaultTextListener( LogEventLevel.DEBUG ) ); // For Flex Projects
core.run( ReflectionTestsSuite );
core.run( StorageTestSuite );
}
]]>
</fx:Script>
<flexUnitUIRunner:TestRunnerBase id="uiListener" width="100%" height="100%" />
</s:Application>
Jump to Line
Something went wrong with that request. Please try again.