incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject svn commit: r1389593 - in /incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort: SWFs/newComps/BaseDataComp.mxml SparkComboBox/SF_sparkComboBox_tester.mxml
Date Mon, 24 Sep 2012 21:13:12 GMT
Author: aharui
Date: Mon Sep 24 21:13:12 2012
New Revision: 1389593

URL: http://svn.apache.org/viewvc?rev=1389593&view=rev
Log:
Fix another sort order issue.

Modified:
    incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/SWFs/newComps/BaseDataComp.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/SparkComboBox/SF_sparkComboBox_tester.mxml

Modified: incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/SWFs/newComps/BaseDataComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/SWFs/newComps/BaseDataComp.mxml?rev=1389593&r1=1389592&r2=1389593&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/SWFs/newComps/BaseDataComp.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/SWFs/newComps/BaseDataComp.mxml
Mon Sep 24 21:13:12 2012
@@ -57,11 +57,17 @@
 				sortByAgeAddressFrArr[8] = final[2];
 				sortByAgeAddressFrArr[9] = final[3];
 				
+				sortByAddressAgeRevFrArr[1] = final[3];
+				sortByAddressAgeRevFrArr[2] = final[2];
+				sortByAddressAgeRevFrArr[3] = final[1];
+				sortByAddressAgeRevFrArr[4] = final[0];
+
 				sortByAgeAddressNumFrTrdArr[11] = final[0];
 				sortByAgeAddressNumFrTrdArr[12] = final[1];
 				sortByAgeAddressNumFrTrdArr[13] = final[2];
 				sortByAgeAddressNumFrTrdArr[14] = final[3];
 				
+				
 			}
 			
 			//Add some simple array data for testing when sort.filed is null
@@ -180,6 +186,24 @@ for example, cote < côte < coté < 
 				'Umbra', 
 			]);
 			
+			public var sortByAddressAgeRevFrArr:ArrayCollection = new ArrayCollection([
+				'cadbury', 
+				'Bo', 
+				'TJ',
+				'barmen', 
+				'Izzy', 
+				'Moe', 
+				'Molly', 
+				'Matisse', 
+				'Bunny', 
+				'Daisy', 
+				'Imari', 
+				'Umbra', 
+				'Danny', 
+				'Ted', 
+				'Chumley', 
+			]);
+				
 			public var sortByAgeAddressNumTrdArr:ArrayCollection = new ArrayCollection([
 				'Chumley', 
 				'Ted', 

Modified: incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/SparkComboBox/SF_sparkComboBox_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/SparkComboBox/SF_sparkComboBox_tester.mxml?rev=1389593&r1=1389592&r2=1389593&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/SparkComboBox/SF_sparkComboBox_tester.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/SparkComboBox/SF_sparkComboBox_tester.mxml
Mon Sep 24 21:13:12 2012
@@ -471,7 +471,7 @@
 				<AssertMethodValue method="value=SFConstant.getArrayOfField('address',application.uiComboBoxComp.comboBoxDataProvider)"

 								   valueExpression="value=application.uiComboBoxComp.revertArray(application.uiComboBoxComp.sparkSortedArray)"/>
 				<AssertMethodValue method="value=SFConstant.getArrayOfField('name',application.uiComboBoxComp.comboBoxDataProvider)"

-								   value="cadbury,Bo,TJ,barmen,Izzy,Moe,Molly,Matisse,Bunny,Daisy,Imari,Umbra,Danny,Ted,Chumley"/>
+								   valueExpression="value=application.uiComboBoxComp.dataComp.sortByAddressAgeRevFrArr"/>
 			</body>
 		</TestCase>  
 		<TestCase testID="SortField_sparkComboBox_reverse_script_test16" description="reverse
items sort order based on different descending setting of SortField"  keywords="[Sort, sparkComboBox]">



Mime
View raw message