source: ComponentRegistry/branches/ggeorgovassilis_workspace/ComponentBrowserGui/src/test/flex/FlexUnitApplication.mxml @ 3366

Last change on this file since 3366 was 3366, 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.5 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.CMDComponentTest;
14                        import clarin.cmdi.componentregistry.editor.model.CMDSpecTest;
15                        import clarin.cmdi.componentregistry.services.ComponentInfoServiceTest;
16                       
17                        public function currentRunTestSuite():Array
18                        {
19                                var testsToRun:Array = new Array();
20                                testsToRun.push(clarin.cmdi.componentregistry.editor.model.CMDAttributeTest);
21                                testsToRun.push(clarin.cmdi.componentregistry.editor.model.CMDComponentElementTest);
22                                testsToRun.push(clarin.cmdi.componentregistry.editor.model.CMDComponentTest);
23                                testsToRun.push(clarin.cmdi.componentregistry.editor.model.CMDSpecTest);
24                                testsToRun.push(clarin.cmdi.componentregistry.services.ComponentInfoServiceTest);
25                                return testsToRun;
26                        }
27                       
28                       
29                        private function onCreationComplete():void
30                        {
31                                testRunner.runWithFlexUnit4Runner(currentRunTestSuite(), "ComponentBrowserGui");
32                        }
33                       
34                ]]>
35        </mx:Script>
36        <flexui:FlexUnitTestRunnerUI id="testRunner" portNumber="8765">
37        </flexui:FlexUnitTestRunnerUI>
38       
39</mx:Application>
Note: See TracBrowser for help on using the repository browser.