source: ComponentRegistry/trunk/ComponentBrowserGui/src/main/flex/FlexUnitApplication.mxml @ 3368

Last change on this file since 3368 was 3368, checked in by g.georgovassilis@mpi.nl, 11 years ago

#269 BaseRemoteService? abstracts HTTP communication away for XML services, added facility for mocking services in unit tests, moved tests into src/test

  • Property svn:mime-type set to text/plain
File size: 1.3 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2
3<!-- This is an auto generated file and is not intended for modification. -->
4
5<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
6                                xmlns:flexui="flexunit.flexui.*"
7                                minWidth="955" minHeight="600" creationComplete="onCreationComplete()"
8                                layout="absolute">
9        <mx:Script>
10                <![CDATA[
11                        import clarin.cmdi.componentregistry.editor.model.CMDAttributeTest;
12                        import clarin.cmdi.componentregistry.editor.model.CMDComponentElementTest;
13                        import clarin.cmdi.componentregistry.editor.model.CMDSpecTest;
14                        import clarin.cmdi.componentregistry.services.ComponentInfoServiceTest;
15                       
16                        public function currentRunTestSuite():Array
17                        {
18                                var testsToRun:Array = new Array();
19                                testsToRun.push(clarin.cmdi.componentregistry.editor.model.CMDAttributeTest);
20                                testsToRun.push(clarin.cmdi.componentregistry.editor.model.CMDComponentElementTest);
21                                testsToRun.push(clarin.cmdi.componentregistry.editor.model.CMDSpecTest);
22                                testsToRun.push(clarin.cmdi.componentregistry.services.ComponentInfoServiceTest);
23                                return testsToRun;
24                        }
25                       
26                       
27                        private function onCreationComplete():void
28                        {
29                                testRunner.runWithFlexUnit4Runner(currentRunTestSuite(), "ComponentBrowserGui");
30                        }
31                       
32                ]]>
33        </mx:Script>
34        <flexui:FlexUnitTestRunnerUI id="testRunner" portNumber="8765">
35        </flexui:FlexUnitTestRunnerUI>
36       
37</mx:Application>
Note: See TracBrowser for help on using the repository browser.