This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit 35da1e035e68d3a02c3f15aa6ebcbaa2078768df Author: Alex Harui <[email protected]> AuthorDate: Tue Apr 3 12:08:53 2018 -0700 TextInput tests --- build.xml | 3 +-- mustella/tests/mxtests/basicTests/BasicTests-config.xml | 2 +- mustella/tests/mxtests/basicTests/BasicTests.mxml | 4 ++-- .../tests/mxtests/basicTests/halo/scripts/TextInputTestScript.mxml | 4 ++-- mustella/tests/mxtests/basicTests/halo/views/TextInputTests.mxml | 2 +- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/build.xml b/build.xml index 00848ff..f7124b8 100644 --- a/build.xml +++ b/build.xml @@ -1581,14 +1581,13 @@ limitations under the License. <target name="mxtests-run-js" > <property name="profile_arg" value="dummy=false" /> <echo>url=file://${basedir}/mustella/tests/mxTests/bin/js-debug/index.html</echo> - <echo>script=${basedir}/mustella/tests/mxTests/basicTests/halo/scripts/ButtonTestScript.mxml</echo> - <echo>script=${basedir}/mustella/tests/mxTests/basicTests/halo/scripts/CheckBoxTestScript.mxml</echo> <java classname="marmotinni.MarmotinniRunner" classpath="${basedir}/mustella/target/classes" fork="true" failonerror="yes"> <!--<arg value="browser=chrome" />--> <arg value="url=file://${basedir}/mustella/tests/mxTests/basicTests/bin/js-debug/index.html" /> <arg value="script=${basedir}/mustella/tests/mxTests/basicTests/halo/scripts/ButtonTestScript.mxml" /> <arg value="script=${basedir}/mustella/tests/mxTests/basicTests/halo/scripts/CheckBoxTestScript.mxml" /> <arg value="script=${basedir}/mustella/tests/mxTests/basicTests/halo/scripts/RadioButtonTestScript.mxml" /> + <arg value="script=${basedir}/mustella/tests/mxTests/basicTests/halo/scripts/TextInputTestScript.mxml" /> <!--<arg value="showSteps=true" />--> <arg value="${profile_arg}" /> <classpath> diff --git a/mustella/tests/mxtests/basicTests/BasicTests-config.xml b/mustella/tests/mxtests/basicTests/BasicTests-config.xml index db2177e..ccd9ad6 100644 --- a/mustella/tests/mxtests/basicTests/BasicTests-config.xml +++ b/mustella/tests/mxtests/basicTests/BasicTests-config.xml @@ -25,8 +25,8 @@ <symbol>halo.scripts.ButtonTestScript</symbol> <symbol>halo.scripts.CheckBoxTestScript</symbol> <symbol>halo.scripts.RadioButtonTestScript</symbol> - <!-- <symbol>halo.scripts.TextInputTestScript</symbol> + <!-- <symbol>halo.scripts.TextAreaTestScript</symbol> <symbol>halo.scripts.ComboBoxTestScript</symbol> <symbol>halo.scripts.ColorPickerTestScript</symbol> diff --git a/mustella/tests/mxtests/basicTests/BasicTests.mxml b/mustella/tests/mxtests/basicTests/BasicTests.mxml index 65420a2..3e6da54 100644 --- a/mustella/tests/mxtests/basicTests/BasicTests.mxml +++ b/mustella/tests/mxtests/basicTests/BasicTests.mxml @@ -39,8 +39,8 @@ preloader="BasicTestsPreloader" <mx:State name="haloButtonTest" /> <mx:State name="haloCheckBoxTest" /> <mx:State name="haloRadioButtonTest" /> - <!-- <mx:State name="haloTextInputTest" /> + <!-- <mx:State name="haloTextAreaTest" /> <mx:State name="haloComboBoxTest" /> <mx:State name="haloColorPickerTest" /> @@ -113,8 +113,8 @@ preloader="BasicTestsPreloader" <haloviews:ButtonTests id="haloButtonTests" includeIn="haloButtonTest" /> <haloviews:CheckBoxTests id="haloCheckBoxTests" includeIn="haloCheckBoxTest" /> <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" /> diff --git a/mustella/tests/mxtests/basicTests/halo/scripts/TextInputTestScript.mxml b/mustella/tests/mxtests/basicTests/halo/scripts/TextInputTestScript.mxml index 5542a7a..c215b8f 100644 --- a/mustella/tests/mxtests/basicTests/halo/scripts/TextInputTestScript.mxml +++ b/mustella/tests/mxtests/basicTests/halo/scripts/TextInputTestScript.mxml @@ -22,7 +22,7 @@ <!-- this set of lines form a template that must be in each unit test --> <mx:Script> <![CDATA[ - public static function init(o:DisplayObject):void + public static function init(o:Object):void { } ]]> @@ -54,7 +54,7 @@ <DispatchMouseClickEvent target="haloTextInputTests.testTextInput" localX="10" localY="10" /> <DispatchKeyEvent char="This is another test." /> <AssertPropertyValue target="haloTextInputTests.testTextInput" propertyName="text" value="This is another test." /> - <AssertPropertyValue target="haloTextInputTests.testTextInput.getChildAt(1)" propertyName="text" value="This is another test." /> + <!--<AssertPropertyValue target="haloTextInputTests.testTextInput.getChildAt(1)" propertyName="text" value="This is another test." />--> </body> </TestCase> </testCases> diff --git a/mustella/tests/mxtests/basicTests/halo/views/TextInputTests.mxml b/mustella/tests/mxtests/basicTests/halo/views/TextInputTests.mxml index 0ddb7e8..07e04e5 100644 --- a/mustella/tests/mxtests/basicTests/halo/views/TextInputTests.mxml +++ b/mustella/tests/mxtests/basicTests/halo/views/TextInputTests.mxml @@ -20,7 +20,7 @@ <mx:VBox xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" - xmlns:mx="library://ns.adobe.com/flex/mx" > + xmlns:mx="library://ns.apache.org/royale/mx" > <fx:Script> <![CDATA[ -- To stop receiving notification emails like this one, please contact [email protected].
