You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2012/08/20 19:00:36 UTC
svn commit: r1375108 - in
/incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort:
GumboComponents/ GumboComponents/baselines/ MXCollections/ SparkComboBox/
Author: aharui
Date: Mon Aug 20 17:00:36 2012
New Revision: 1375108
URL: http://svn.apache.org/viewvc?rev=1375108&view=rev
Log:
Fix up spark/collections folder. 677 tests pass on Mac OSX
Modified:
incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/GumboComponents/SF_ORIG_list_keyboardNavigation_tester.mxml
incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/GumboComponents/baselines/List_keyboardNavigation7.png
incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/MXCollections/SF_ORIG_ListCollectionView_tester.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/GumboComponents/SF_ORIG_list_keyboardNavigation_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/GumboComponents/SF_ORIG_list_keyboardNavigation_tester.mxml?rev=1375108&r1=1375107&r2=1375108&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/GumboComponents/SF_ORIG_list_keyboardNavigation_tester.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/GumboComponents/SF_ORIG_list_keyboardNavigation_tester.mxml Mon Aug 20 17:00:36 2012
@@ -169,7 +169,7 @@ xmlns="*" testSWF="SF_ORIG_ListBasic.mxm
<DispatchKeyEvent keys="[DOWN]" ctrlKey="true" />
<SetProperty target="list1" propertyName="width" value="100" />
<DispatchKeyEvent keys="[DOWN]" ctrlKey="true" />
- <SetProperty target="list1" propertyName="height" value="115" />
+ <SetProperty target="list1" propertyName="height" value="115" waitEvent="updateComplete" />
<CompareBitmap url="../GumboComponents/baselines/$testID.png" target="list1" />
</body>
</TestCase>
Modified: incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/GumboComponents/baselines/List_keyboardNavigation7.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/GumboComponents/baselines/List_keyboardNavigation7.png?rev=1375108&r1=1375107&r2=1375108&view=diff
==============================================================================
Binary files - no diff available.
Modified: incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/MXCollections/SF_ORIG_ListCollectionView_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/MXCollections/SF_ORIG_ListCollectionView_tester.mxml?rev=1375108&r1=1375107&r2=1375108&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/MXCollections/SF_ORIG_ListCollectionView_tester.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/MXCollections/SF_ORIG_ListCollectionView_tester.mxml Mon Aug 20 17:00:36 2012
@@ -81,7 +81,7 @@
<TestCase testID="ListCollectionView_Method_Sort_ASC" keywords="[ListCollectionView, Method, filter,getItemAt]">
<setup>
<RunCode code="application.playerView.filterFunction = function (item:Object):Boolean
- { return item.team == 'TeamA'; };
+ { return item.team == 'ATeam'; };
application.xSortField = new spark.collections.SortField('jerseyNumber', false, true);
application.addStyleClient(application.xSortField);
application.addStyleClient(application.xSort);
@@ -100,7 +100,7 @@
<TestCase testID="ListCollectionView_Method_Sort_DescendingSort" keywords="[ListCollectionView, Method, filter,getItemAt">
<setup>
<RunCode code="application.playerView.filterFunction = function (item:Object):Boolean
- { return item.team == 'TeamA'; };
+ { return item.team == 'ATeam'; };
application.xSortField = new spark.collections.SortField('jerseyNumber', true, true);
application.addStyleClient(application.xSortField);
application.addStyleClient(application.xSort);
@@ -119,7 +119,7 @@
<TestCase testID="ListCollectionView_Method_Sort_twoFiels" keywords="[ListCollectionView, Method, filter,getItemAt,sort">
<setup>
<RunCode code="application.playerView.filterFunction = function (item:Object):Boolean
- { return item.team == 'TeamA'; };
+ { return item.team == 'ATeam'; };
application.xSortField = new spark.collections.SortField('jerseyNumber');
application.ySortField = new spark.collections.SortField('lastName');
application.addStyleClient(application.xSortField);
@@ -142,7 +142,7 @@
<TestCase testID="ListCollectionView_Method_Sort_twoFielsDesc" keywords="[ListCollectionView, Method, filter,getItemAt,sort">
<setup>
<RunCode code="application.playerView.filterFunction = function (item:Object):Boolean
- { return item.team == 'TeamA'; };
+ { return item.team == 'ATeam'; };
application.xSortField = new spark.collections.SortField('jerseyNumber', true, true);
application.ySortField = new spark.collections.SortField('lastName', false);
application.addStyleClient(application.xSortField);
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=1375108&r1=1375107&r2=1375108&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 Aug 20 17:00:36 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,barmen,Bo,Izzy,TJ,Moe,Molly,Matisse,Bunny,Daisy,Imari,Umbra,Danny,Ted,Chumley"/>
+ value="cadbury,Bo,TJ,barmen,Izzy,Moe,Molly,Matisse,Bunny,Daisy,Imari,Umbra,Danny,Ted,Chumley"/>
</body>
</TestCase>
<TestCase testID="SortField_sparkComboBox_reverse_script_test16" description="reverse items sort order based on different descending setting of SortField" keywords="[Sort, sparkComboBox]">