| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| --> |
| <js:View xmlns:fx="http://ns.adobe.com/mxml/2009" |
| xmlns:js="library://ns.apache.org/royale/basic" |
| xmlns:mx="library://ns.adobe.com/flex/mx" |
| xmlns:haloviews="halo.views.*" |
| xmlns:sparkviews="spark.views.*" |
| xmlns:graphicsviews="graphics.views.*" |
| xmlns:fxgviews="fxg.views.*" |
| xmlns:dmvviews="dmv.views.*" |
| height="800" width="1000" |
| > |
| |
| <!-- Style sheet used in this application --> |
| <fx:Style source="BasicTests.css"/> |
| |
| <!-- STEP 1: Add a state for your test here --> |
| <js:states> |
| <js:State name="basicTest" /> |
| <js:State name="haloButtonTest" /> |
| <js:State name="haloCheckBoxTest" /> |
| <js:State name="haloRadioButtonTest" /> |
| <js:State name="haloTextInputTest" /> |
| <js:State name="haloTextAreaTest" /> |
| <js:State name="haloComboBoxTest" /> |
| <!--<js:State name="haloColorPickerTest" />--> |
| <js:State name="haloNumericStepperTest" /> |
| <!--<js:State name="haloDateFieldTest" />--> |
| <!--<js:State name="haloMenuTest" />--> |
| <!--<js:State name="haloMenuBarTest" />--> |
| <!--<js:State name="haloFocusManagerTest" />--> |
| <js:State name="haloListAndDataGridTest" /> |
| <!--<js:State name="haloTreeTest" />--> |
| <js:State name="haloImageTest" /> |
| <!--<js:State name="haloSWFLoaderTest" />--> |
| <js:State name="haloTextTest" /> |
| <!--<js:State name="haloFTETextTest" />--> |
| <!--<js:State name="haloProgressBarTest" />--> |
| <js:State name="haloSliderTest" /> |
| <!--<js:State name="haloTabNavigatorTest" />--> |
| <!--<js:State name="haloAccordionTest" />--> |
| <js:State name="haloAlertTest" /> |
| <!--<js:State name="haloRPCDataBindingTest" />--> |
| <!--<js:State name="haloCollectionTest" />--> |
| <!--<js:State name="dmvADGTest" />--> |
| <!--<js:State name="dmvODGTest" />--> |
| <!--<js:State name="dmvChartsTest" /> |
| <!--<js:State name="sparkListDragDropTest" />--> |
| <!--<js:State name="sparkBorderContainerTest" />--> |
| <!--<js:State name="sparkButtonTest" />--> |
| <!--<js:State name="sparkCheckBoxTest" />--> |
| <!--<js:State name="sparkAnimateConstraintsTest" />--> |
| <!--<js:State name="sparkEasingTest" />--> |
| <!--<js:State name="sparkRadioButtonTest" />--> |
| <!--<js:State name="sparkTextInputTest" />--> |
| <!--<js:State name="sparkTextAreaTest" />--> |
| <!--<js:State name="sparkComboBoxTest" />--> |
| <!--<js:State name="sparkDropDownListTest" />--> |
| <!--<js:State name="sparkFormTest" />--> |
| <!--<js:State name="sparkLayoutDirectionTest" />--> |
| <!--<js:State name="sparkNumericStepperTest" />--> |
| <!--<js:State name="sparkSliderTest" />--> |
| <!--<js:State name="sparkScrollBarTest" />--> |
| <!--<js:State name="sparkDeferredInstantiationTest" />--> |
| <!--<js:State name="sparkLayoutTest" />--> |
| <!--<js:State name="sparkPanelControlBarTest" />--> |
| <!--<js:State name="sparkButtonBarTest" />--> |
| <!--<js:State name="sparkTileGroupTest" />--> |
| <!--<js:State name="sparkTitleWindowTest" />--> |
| <!--<js:State name="sparkVideoPlayerTest" />--> |
| <!--<js:State name="mxItemRendererTest" />--> |
| <!--<js:State name="graphicsTagsTest" />--> |
| <!--<js:State name="fxgCompileTest" />--> |
| <!--<js:State name="fxg2CompileTest" />--> |
| <!--<js:State name="designLayerTest" />--> |
| <!--<js:State name="styleManagerTest" />--> |
| <!--<js:State name="fxg2RuntimeTest" />--> |
| <!--<js:State name="imageTest" />--> |
| <!--<js:State name="sparkDateTimeFormatterTest" />--> |
| <!--<js:State name="sparkAdvancedStyleClientTest" />--> |
| <!--<js:State name="sparkNumberFormatterTest" />--> |
| <!--<js:State name="sparkStringToolsTest" />--> |
| <!--<js:State name="sparkCollatorTest" />--> |
| <!--<js:State name="sparkCurrencyFormatterTest" />--> |
| <!--<js:State name="sparkDataGridTest" />--> |
| <!--<js:State name="sparkCurrencyValidatorTest" />--> |
| <!--<js:State name="sparkNumberValidatorTest" />--> |
| <!--<js:State name="sparkSortTest" /> --> |
| </js:states> |
| |
| <!-- STEP 2: Add an mxml component with the widgets for your test here --> |
| |
| <haloviews:ButtonTests id="haloButtonTests" includeIn="haloButtonTest" /> |
| <haloviews:CheckBoxTests id="haloCheckBoxTests" includeIn="haloCheckBoxTest" /> |
| <!-- temporary |
| <haloviews:RadioButtonTests id="haloRadioButtonTests" includeIn="haloRadioButtonTest" /> |
| <haloviews:TextInputTests id="haloTextInputTests" includeIn="haloTextInputTest" /> |
| <haloviews:TextAreaTests id="haloTextAreaTests" includeIn="haloTextAreaTest" /> |
| <haloviews:ComboBoxTests id="haloComboBoxTests" includeIn="haloComboBoxTest" /> |
| --> |
| <!--<haloviews:ColorPickerTests id="haloColorPickerTests" includeIn="haloColorPickerTest" /> --> |
| <!-- temporary |
| <haloviews:NumericStepperTests id="haloNumericStepperTests" includeIn="haloNumericStepperTest" /> |
| --> |
| <!--<haloviews:DateFieldTests id="haloDateFieldTests" includeIn="haloDateFieldTest" /> --> |
| <!--<haloviews:MenuTests id="haloMenuTests" includeIn="haloMenuTest" /> --> |
| <!--<haloviews:MenuBarTests id="haloMenuBarTests" includeIn="haloMenuBarTest" /> --> |
| <!--<haloviews:FocusManagerTests id="haloFocusManagerTests" includeIn="haloFocusManagerTest" /> --> |
| <!-- temporary |
| <haloviews:ListAndDataGridTests id="haloListAndDataGridTests" includeIn="haloListAndDataGridTest" /> |
| --> |
| <!--<haloviews:TreeTests id="haloTreeTests" includeIn="haloTreeTest" /> --> |
| <!-- temporary |
| <haloviews:ImageTests id="haloImageTests" includeIn="haloImageTest" /> |
| --> |
| <!--<haloviews:SWFLoaderTests id="haloSWFLoaderTests" includeIn="haloSWFLoaderTest" /> --> |
| <!-- temporary |
| <haloviews:TextTests id="haloTextTests" includeIn="haloTextTest" /> |
| --> |
| <!--<haloviews:FTETextTests id="haloFTETextTests" includeIn="haloFTETextTest" /> --> |
| <!--<haloviews:ProgressBarTests id="haloProgressBarTests" includeIn="haloProgressBarTest" /> --> |
| <!-- temporary |
| <haloviews:SliderTests id="haloSliderTests" includeIn="haloSliderTest" /> |
| --> |
| <!--<haloviews:TabNavigatorTests id="haloTabNavigatorTests" includeIn="haloTabNavigatorTest" /> --> |
| <!--<haloviews:AccordionTests id="haloAccordionTests" includeIn="haloAccordionTest" /> --> |
| <!--<haloviews:AlertTests id="haloAlertTests" includeIn="haloAlertTest" /> |
| <!--<haloviews:RPCDataBindingTests id="haloRPCDataBindingTests" includeIn="haloRPCDataBindingTest" /> --> |
| <!--<haloviews:CollectionTests id="haloCollectionTests" includeIn="haloCollectionTest" /> --> |
| <!--<sparkviews:ListDragDropTests id="sparkListDragDropTests" includeIn="sparkListDragDropTest" /> --> |
| <!--<haloviews:MXItemRendererTests id="mxItemRendererTests" includeIn="mxItemRendererTest" /> --> |
| <!--<sparkviews:BorderContainerTests id="sparkBorderContainerTests" includeIn="sparkBorderContainerTest" /> --> |
| <!--<sparkviews:ButtonTests id="sparkButtonTests" includeIn="sparkButtonTest" /> --> |
| <!--<sparkviews:CheckBoxTests id="sparkCheckBoxTests" includeIn="sparkCheckBoxTest" /> --> |
| <!--<sparkviews:EasingTests id="sparkEasingTests" includeIn="sparkEasingTest" /> --> |
| <!--<sparkviews:AnimateConstraintsTests id="sparkAnimateConstraintsTests" includeIn="sparkAnimateConstraintsTest" /> --> |
| <!--<sparkviews:RadioButtonTests id="sparkRadioButtonTests" includeIn="sparkRadioButtonTest" /> --> |
| <!--<sparkviews:TextInputTests id="sparkTextInputTests" includeIn="sparkTextInputTest" /> --> |
| <!--<sparkviews:TextAreaTests id="sparkTextAreaTests" includeIn="sparkTextAreaTest" /> --> |
| <!--<sparkviews:ComboBoxTests id="sparkComboBoxTests" includeIn="sparkComboBoxTest" /> --> |
| <!--<sparkviews:DropDownListTests id="sparkDropDownListTests" includeIn="sparkDropDownListTest" /> --> |
| <!--<sparkviews:FormTests id="sparkFormTests" includeIn="sparkFormTest" /> --> |
| <!--<sparkviews:LayoutDirectionTests id="sparkLayoutDirectionTests" includeIn="sparkLayoutDirectionTest" /> --> |
| <!--<sparkviews:NumericStepperTests id="sparkNumericStepperTests" includeIn="sparkNumericStepperTest" /> --> |
| <!--<sparkviews:SliderTests id="sparkSliderTests" includeIn="sparkSliderTest" /> --> |
| <!--<sparkviews:ScrollBarTests id="sparkScrollBarTests" includeIn="sparkScrollBarTest" /> --> |
| <!--<sparkviews:DeferredInstantiationTests id="sparkDeferredInstantiationTests" includeIn="sparkDeferredInstantiationTest" /> --> |
| <!--<sparkviews:DesignLayerTests id="designLayerTests" includeIn="designLayerTest" /> --> |
| <!--<sparkviews:TileGroupTests id="sparkTileGroupTests" includeIn="sparkTileGroupTest" /> --> |
| <!--<sparkviews:LayoutTests id="sparkLayoutTests" includeIn="sparkLayoutTest" /> --> |
| <!--<sparkviews:PanelControlBarTests id="sparkPanelControlBarTests" includeIn="sparkPanelControlBarTest" /> --> |
| <!--<sparkviews:ButtonBarTests id="sparkButtonBarTests" includeIn="sparkButtonBarTest" /> --> |
| <!--<sparkviews:TitleWindowTests id="sparkTitleWindowTests" includeIn="sparkTitleWindowTest" /> --> |
| <!--<graphicsviews:GraphicsTagsTests id="graphicsTagsTests" includeIn="graphicsTagsTest" /> --> |
| <!--<fxgviews:FXGCompileTests id="fxgCompileTests" includeIn="fxgCompileTest" /> --> |
| <!--<fxgviews:FXG2CompileTests id="fxg2CompileTests" includeIn="fxg2CompileTest" /> --> |
| <!--<sparkviews:StyleManagerTests id="styleManagerTests" includeIn="styleManagerTest" /> --> |
| <!--<sparkviews:FXG2RuntimeTests id="fxg2RuntimeTests" includeIn="fxg2RuntimeTest" /> --> |
| <!--<dmvviews:ADGTests id="dmvADGTests" includeIn="dmvADGTest" /> --> |
| <!--<dmvviews:ODGTests id="dmvODGTests" includeIn="dmvODGTest" /> --> |
| <!-- temporary |
| <dmvviews:ChartsTests id="dmvChartsTests" includeIn="dmvChartsTest" /> |
| --> |
| <!--<sparkviews:ImageTests id="imageTests" includeIn="imageTest" /> --> |
| <!--<sparkviews:DateTimeFormatterTests id="sparkDateTimeFormatterTests" includeIn="sparkDateTimeFormatterTest" /> --> |
| <!--<sparkviews:AdvancedStyleClientTests id="sparkAdvancedStyleClientTests" includeIn="sparkAdvancedStyleClientTest" /> --> |
| <!--<sparkviews:NumberFormatterTests id="sparkNumberFormatterTests" includeIn="sparkNumberFormatterTest" /> --> |
| <!--<sparkviews:StringToolsTests id="sparkStringToolsTests" includeIn="sparkStringToolsTest" /> --> |
| <!--<sparkviews:CollatorTests id="sparkCollatorTests" includeIn="sparkCollatorTest" /> --> |
| <!--<sparkviews:CurrencyFormatterTests id="sparkCurrencyFormatterTests" includeIn="sparkCurrencyFormatterTest" /> --> |
| <!--<sparkviews:DataGridTests id="sparkDataGridTests" includeIn="sparkDataGridTest" /> --> |
| <!--<sparkviews:CurrencyValidatorTests id="sparkCurrencyValidatorTests" includeIn="sparkCurrencyValidatorTest" /> --> |
| <!--<sparkviews:NumberValidatorTests id="sparkNumberValidatorTests" includeIn="sparkNumberValidatorTest" /> --> |
| <!--<sparkviews:SortTests id="sparkSortTests" includeIn="sparkSortTest" /> --> |
| |
| |
| <!-- STEP 3: Add the testscript to BasicTests-config.xml --> |
| |
| <!-- STEP 4 (Optional): Debug your state without running tests. |
| a. Rename BasicTests-config.xml to BasicTests-config.sav |
| b. Uncomment the block of components below. |
| c. Re-run basic tests or compile BasicTests.mxml at the command line and run BasicTests.swf. |
| d. Enter the name of the state you want to debug. |
| --> |
| |
| <!-- |
| <s:Group > |
| <s:layout> |
| <s:HorizontalLayout paddingTop="10" /> |
| </s:layout> |
| <mx:Label text="Enter the new state:" /> |
| <mx:TextInput id="newStateInput" text="" enter="{currentState=newStateInput.text}" /> |
| </s:Group> |
| --> |
| </js:View> |