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 aa97a7553505bf1f8f242f1fead73dc83283145a Author: Alex Harui <[email protected]> AuthorDate: Wed May 16 15:17:42 2018 -0700 Spark Button passes --- build.xml | 3 ++- mustella/tests/mxtests/basicTests/BasicTests-config.xml | 2 ++ mustella/tests/mxtests/basicTests/BasicTests.mxml | 6 +++++- .../tests/mxtests/basicTests/spark/scripts/ButtonTestScript.mxml | 2 +- mustella/tests/mxtests/basicTests/spark/views/ButtonTests.mxml | 4 ++-- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/build.xml b/build.xml index 0d3ca81..8d8a830 100644 --- a/build.xml +++ b/build.xml @@ -1523,7 +1523,7 @@ limitations under the License. <target name="mxtests-clean"> <delete file="${basedir}/mustella/tests/mxtests/BasicTests.swf" failonerror="false"/> - <delete dir="${basedir}/mustella/tests/bin" failonerror="false" includeEmptyDirs="true"/> + <delete dir="${basedir}/mustella/tests/mxtests/basicTests/bin" failonerror="false" includeEmptyDirs="true"/> </target> <target name="mxtests-mustella" depends="mustella-setup,mxtests" if="env.AIR_HOME" /> @@ -1600,6 +1600,7 @@ limitations under the License. <arg value="script=${basedir}/mustella/tests/mxtests/basicTests/halo/scripts/TextAreaTestScript.mxml" /> <arg value="script=${basedir}/mustella/tests/mxtests/basicTests/halo/scripts/ComboBoxTestScript.mxml" /> <arg value="script=${basedir}/mustella/tests/mxtests/basicTests/halo/scripts/ListAndDataGridTestScript.mxml" /> + <arg value="script=${basedir}/mustella/tests/mxtests/basicTests/spark/scripts/ButtonTestScript.mxml" /> <arg value="showSteps=true" /> <arg value="showScripts=true" /> <arg value="${profile_arg}" /> diff --git a/mustella/tests/mxtests/basicTests/BasicTests-config.xml b/mustella/tests/mxtests/basicTests/BasicTests-config.xml index 4b3e154..9978f3f 100644 --- a/mustella/tests/mxtests/basicTests/BasicTests-config.xml +++ b/mustella/tests/mxtests/basicTests/BasicTests-config.xml @@ -51,7 +51,9 @@ <symbol>spark.scripts.ListDragDropTestScript</symbol> <symbol>halo.scripts.MXItemRendererTestScript</symbol> <symbol>spark.scripts.BorderContainerTestScript</symbol> +--> <symbol>spark.scripts.ButtonTestScript</symbol> +<!-- <symbol>spark.scripts.CheckBoxTestScript</symbol> <symbol>spark.scripts.EasingTestScript</symbol> <symbol>spark.scripts.RadioButtonTestScript</symbol> diff --git a/mustella/tests/mxtests/basicTests/BasicTests.mxml b/mustella/tests/mxtests/basicTests/BasicTests.mxml index 78e46bc..2f11075 100644 --- a/mustella/tests/mxtests/basicTests/BasicTests.mxml +++ b/mustella/tests/mxtests/basicTests/BasicTests.mxml @@ -17,7 +17,6 @@ limitations under the License. xmlns:s="library://ns.adobe.com/flex/spark" -xmlns:sparkviews="spark.views.*" xmlns:graphicsviews="graphics.views.*" xmlns:fxgviews="fxg.views.*" xmlns:dmvviews="dmv.views.*" @@ -26,6 +25,7 @@ preloader="BasicTestsPreloader" <mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.apache.org/royale/mx" xmlns:haloviews="halo.views.*" + xmlns:sparkviews="spark.views.*" height="800" width="1000" paddingTop="8" verticalGap="0" > @@ -67,7 +67,9 @@ preloader="BasicTestsPreloader" <mx:State name="dmvChartsTest" /> <mx:State name="sparkListDragDropTest" /> <mx:State name="sparkBorderContainerTest" /> + --> <mx:State name="sparkButtonTest" /> + <!-- <mx:State name="sparkCheckBoxTest" /> <mx:State name="sparkAnimateConstraintsTest" /> <mx:State name="sparkEasingTest" /> @@ -139,7 +141,9 @@ preloader="BasicTestsPreloader" <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" /> diff --git a/mustella/tests/mxtests/basicTests/spark/scripts/ButtonTestScript.mxml b/mustella/tests/mxtests/basicTests/spark/scripts/ButtonTestScript.mxml index 918c730..12c4ddf 100644 --- a/mustella/tests/mxtests/basicTests/spark/scripts/ButtonTestScript.mxml +++ b/mustella/tests/mxtests/basicTests/spark/scripts/ButtonTestScript.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 { } ]]> diff --git a/mustella/tests/mxtests/basicTests/spark/views/ButtonTests.mxml b/mustella/tests/mxtests/basicTests/spark/views/ButtonTests.mxml index 5ea4142..d574ae0 100644 --- a/mustella/tests/mxtests/basicTests/spark/views/ButtonTests.mxml +++ b/mustella/tests/mxtests/basicTests/spark/views/ButtonTests.mxml @@ -19,8 +19,8 @@ --> <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:s="library://ns.apache.org/royale/spark" + xmlns:mx="library://ns.apache.org/royale/mx" > <fx:Script> <![CDATA[ -- To stop receiving notification emails like this one, please contact [email protected].
