You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2018/05/04 17:15:51 UTC

[royale-asjs] 05/05: mxtests pass for List. DGTest needs Drag/Drop

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 67deef0d2050e190f4733f8c5def69285674e677
Author: Alex Harui <ah...@apache.org>
AuthorDate: Fri May 4 10:15:24 2018 -0700

    mxtests pass for List.  DGTest needs Drag/Drop
---
 mustella/tests/mxtests/basicTests/BasicTests-config.xml               | 2 +-
 mustella/tests/mxtests/basicTests/BasicTests.mxml                     | 4 ++--
 .../mxtests/basicTests/halo/scripts/ListAndDataGridTestScript.mxml    | 4 +++-
 .../tests/mxtests/basicTests/halo/views/ListAndDataGridTests.mxml     | 2 +-
 4 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/mustella/tests/mxtests/basicTests/BasicTests-config.xml b/mustella/tests/mxtests/basicTests/BasicTests-config.xml
index cc3f9fd..4b3e154 100644
--- a/mustella/tests/mxtests/basicTests/BasicTests-config.xml
+++ b/mustella/tests/mxtests/basicTests/BasicTests-config.xml
@@ -28,6 +28,7 @@
         <symbol>halo.scripts.TextInputTestScript</symbol>
         <symbol>halo.scripts.TextAreaTestScript</symbol>
         <symbol>halo.scripts.ComboBoxTestScript</symbol>
+        <symbol>halo.scripts.ListAndDataGridTestScript</symbol>
         <!--
         <symbol>halo.scripts.ColorPickerTestScript</symbol>
         <symbol>halo.scripts.NumericStepperTestScript</symbol>
@@ -35,7 +36,6 @@
         <symbol>halo.scripts.MenuTestScript</symbol>
         <symbol>halo.scripts.MenuBarTestScript</symbol>
         <symbol>halo.scripts.FocusManagerTestScript</symbol>
-        <symbol>halo.scripts.ListAndDataGridTestScript</symbol>
         <symbol>halo.scripts.TreeTestScript</symbol>
         <symbol>halo.scripts.ImageTestScript</symbol>
         <symbol>halo.scripts.SWFLoaderTestScript</symbol>
diff --git a/mustella/tests/mxtests/basicTests/BasicTests.mxml b/mustella/tests/mxtests/basicTests/BasicTests.mxml
index 7b46852..78e46bc 100644
--- a/mustella/tests/mxtests/basicTests/BasicTests.mxml
+++ b/mustella/tests/mxtests/basicTests/BasicTests.mxml
@@ -42,6 +42,7 @@ preloader="BasicTestsPreloader"
         <mx:State name="haloTextInputTest" />
         <mx:State name="haloTextAreaTest" />
         <mx:State name="haloComboBoxTest" />
+        <mx:State name="haloListAndDataGridTest" />
         <!--
         <mx:State name="haloColorPickerTest" />
         <mx:State name="haloNumericStepperTest" />
@@ -49,7 +50,6 @@ preloader="BasicTestsPreloader"
         <mx:State name="haloMenuTest" />
         <mx:State name="haloMenuBarTest" />
         <mx:State name="haloFocusManagerTest" />
-        <mx:State name="haloListAndDataGridTest" />
         <mx:State name="haloTreeTest" />
         <mx:State name="haloImageTest" />
         <mx:State name="haloSWFLoaderTest" />
@@ -116,6 +116,7 @@ preloader="BasicTestsPreloader"
     <haloviews:TextInputTests id="haloTextInputTests" includeIn="haloTextInputTest" />    
     <haloviews:TextAreaTests id="haloTextAreaTests" includeIn="haloTextAreaTest" />    
     <haloviews:ComboBoxTests id="haloComboBoxTests" includeIn="haloComboBoxTest" />    
+    <haloviews:ListAndDataGridTests id="haloListAndDataGridTests" includeIn="haloListAndDataGridTest" />    
     <!--
     <haloviews:ColorPickerTests id="haloColorPickerTests" includeIn="haloColorPickerTest" />    
     <haloviews:NumericStepperTests id="haloNumericStepperTests" includeIn="haloNumericStepperTest" />    
@@ -123,7 +124,6 @@ preloader="BasicTestsPreloader"
     <haloviews:MenuTests id="haloMenuTests" includeIn="haloMenuTest" />    
     <haloviews:MenuBarTests id="haloMenuBarTests" includeIn="haloMenuBarTest" />    
     <haloviews:FocusManagerTests id="haloFocusManagerTests" includeIn="haloFocusManagerTest" />    
-    <haloviews:ListAndDataGridTests id="haloListAndDataGridTests" includeIn="haloListAndDataGridTest" />    
     <haloviews:TreeTests id="haloTreeTests" includeIn="haloTreeTest" />    
     <haloviews:ImageTests id="haloImageTests" includeIn="haloImageTest" />    
     <haloviews:SWFLoaderTests id="haloSWFLoaderTests" includeIn="haloSWFLoaderTest" />    
diff --git a/mustella/tests/mxtests/basicTests/halo/scripts/ListAndDataGridTestScript.mxml b/mustella/tests/mxtests/basicTests/halo/scripts/ListAndDataGridTestScript.mxml
index 01dd929..5fa3a86 100644
--- a/mustella/tests/mxtests/basicTests/halo/scripts/ListAndDataGridTestScript.mxml
+++ b/mustella/tests/mxtests/basicTests/halo/scripts/ListAndDataGridTestScript.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
 	{
 	}
 	]]>
@@ -56,6 +56,7 @@
 				<AssertPropertyValue target="haloListAndDataGridTests.testList" propertyName="selectedIndex" value="2" />
 			</body>
 		</TestCase>
+        <!--
 		<TestCase testID="DragDropTest1">
 			<body>
 				<DispatchMouseEvent target="haloListAndDataGridTests.testList" type="mouseOver" localX="10" localY="55" />
@@ -86,5 +87,6 @@
 				<AssertPropertyValue target="haloListAndDataGridTests.testDataGrid.dataProvider" propertyName="length" value="7" />
 			</body>
 		</TestCase>
+        -->
 	</testCases>
 </UnitTester>
diff --git a/mustella/tests/mxtests/basicTests/halo/views/ListAndDataGridTests.mxml b/mustella/tests/mxtests/basicTests/halo/views/ListAndDataGridTests.mxml
index 3ff807e..4bd94d1 100644
--- a/mustella/tests/mxtests/basicTests/halo/views/ListAndDataGridTests.mxml
+++ b/mustella/tests/mxtests/basicTests/halo/views/ListAndDataGridTests.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"     
     initialize="initListComponents()"
     >
 

-- 
To stop receiving notification emails like this one, please contact
aharui@apache.org.