harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r810919 - /harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/CollectionsTest.java
Date Thu, 03 Sep 2009 12:46:59 GMT
Author: tellison
Date: Thu Sep  3 12:46:58 2009
New Revision: 810919

URL: http://svn.apache.org/viewvc?rev=810919&view=rev
Log:
Reverting test changes made in r810887 while they are fixed.

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/CollectionsTest.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/CollectionsTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/CollectionsTest.java?rev=810919&r1=810918&r2=810919&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/CollectionsTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/CollectionsTest.java
Thu Sep  3 12:46:58 2009
@@ -37,7 +37,6 @@
 import java.util.SortedSet;
 import java.util.TreeMap;
 import java.util.TreeSet;
-import java.util.Arrays;
 
 import org.apache.harmony.luni.internal.nls.Messages;
 
@@ -587,19 +586,6 @@
 		testShuffle(ll2, "Random Access", false);
 	}
 
-    public void testShuffleRandomAccessWithSeededRandom() {
-        List<String> list = Arrays.asList("A", "B", "C", "D", "E", "F", "G");
-        Collections.shuffle(list, new Random(0));
-        assertEquals(Arrays.asList("B", "A", "D", "C", "G", "E", "F"), list);
-    }
-
-    public void testShuffleWithSeededRandom() {
-        List<String> list = new LinkedList<String>(Arrays.asList(
-                "A", "B", "C", "D", "E", "F", "G"));
-        Collections.shuffle(list, new Random(0));
-        assertEquals(Arrays.asList("B", "A", "D", "C", "G", "E", "F"), list);
-    }
-
 	private void testShuffle(List list, String type, boolean random) {
 		boolean sorted = true;
 		boolean allMatch = true;



Mime
View raw message