flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject git commit: [flex-sdk] [refs/heads/develop] - simplify sort and remove all test - note that it still not triggering the issue so something more is required
Date Sun, 12 May 2013 00:24:01 GMT
Updated Branches:
  refs/heads/develop cc265a6c0 -> a4c6d5fb2


simplify sort and remove all test - note that it still not triggering the issue so something
more is required


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/a4c6d5fb
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/a4c6d5fb
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/a4c6d5fb

Branch: refs/heads/develop
Commit: a4c6d5fb2b1fc1d748ca7f631cb0ba6eb2a7c482
Parents: cc265a6
Author: Justin Mclean <jmclean@apache.org>
Authored: Sun May 12 10:23:44 2013 +1000
Committer: Justin Mclean <jmclean@apache.org>
Committed: Sun May 12 10:23:44 2013 +1000

----------------------------------------------------------------------
 .../Methods/ArrayCollection_Methods.mxml           |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/a4c6d5fb/mustella/tests/collections/ArrayCollection/Methods/ArrayCollection_Methods.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/collections/ArrayCollection/Methods/ArrayCollection_Methods.mxml
b/mustella/tests/collections/ArrayCollection/Methods/ArrayCollection_Methods.mxml
index 81eef2b..3dc1f46 100644
--- a/mustella/tests/collections/ArrayCollection/Methods/ArrayCollection_Methods.mxml
+++ b/mustella/tests/collections/ArrayCollection/Methods/ArrayCollection_Methods.mxml
@@ -201,16 +201,12 @@
 	   </body>
         </TestCase>   
 		
-		<TestCase testID="ArrayCollection_Method_sortAndRemoveAll" keywords="[ArrayCollection,
Method, itemUpdated,contains]">
+		<TestCase testID="ArrayCollection_Method_sortAndRemoveAll" keywords="[ArrayCollection,
Method, removeAll]">
 			<setup>
-				<AssertPropertyValue target="application.ac" propertyName ="length" value="4"/>
-				<RunCode code ="application.ready();application.ac.sort();application.ac.removeAll();"
/>
-				<AssertPropertyValue target="application.ac" propertyName ="length" value="0"/>
+				<RunCode code ="application.ready();application.ac.sort = new Sort();application.ac.removeAll();"
/>
 			</setup>
 			<body>
-				<AssertPropertyValue target="ac" propertyName ="length" value="4"/>
-				<AssertMethodValue method="value = application.ac.contains(application.players[11])"
value="false" />
-				
+				<AssertPropertyValue target="ac" propertyName ="length" value="0"/>
 			</body>
 		</TestCase>  
         


Mime
View raw message