root/as3/gunyarapaint/branches/gunyarapaint/test/src/FlexUnitApplication.mxml

リビジョン 3457, 0.9 kB (コミッタ: hkrn, コミット時期: 3 年 前)

changed org.libspark.gunyarapaint.framework.test to org.libspark.gunyarapaint.framework and added FlexUnit?'s configurations

Line 
1 <?xml version="1.0" encoding="utf-8"?>
2 <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
3                xmlns:s="library://ns.adobe.com/flex/spark"
4                xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="1024" minHeight="768" xmlns:flexunit="flexunit.flexui.*"    creationComplete="onCreationComplete()" >   
5 <fx:Script>
6     <![CDATA[
7
8         import org.flexunit.runner.Request;
9         import org.libspark.gunyarapaint.framework.TestSuite;
10
11         public function currentRunTestSuite():Array
12         {
13             var testsToRun:Array = new Array();
14             testsToRun.push(org.libspark.gunyarapaint.framework.TestSuite);
15             return testsToRun;
16         }
17         private function onCreationComplete():void
18         {
19             testRunner.runWithFlexUnit4Runner(currentRunTestSuite(), "test");
20         }
21 ]]>
22 </fx:Script>
23 <flexunit:FlexUnitTestRunnerUI id="testRunner"/>
24 </s:Application>
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。