diff options
author | Neil Fuller <nfuller@google.com> | 2014-04-23 08:57:02 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-04-23 08:57:02 +0000 |
commit | 2e667679740a2a204b7f0566d2ba334b3fb2acc1 (patch) | |
tree | e2761fb202a11e1ea0c7b6e8713ae45af5a524b8 /harmony-tests | |
parent | 5f38b08cb74495fbab7b541040de3248a3d49593 (diff) | |
parent | 1f91ac84933dfab9ce09c31b736b45a22f0fed56 (diff) | |
download | libcore-2e667679740a2a204b7f0566d2ba334b3fb2acc1.zip libcore-2e667679740a2a204b7f0566d2ba334b3fb2acc1.tar.gz libcore-2e667679740a2a204b7f0566d2ba334b3fb2acc1.tar.bz2 |
Merge "Removal of a broken CTS test"
Diffstat (limited to 'harmony-tests')
-rw-r--r-- | harmony-tests/src/test/java/org/apache/harmony/tests/java/io/SerializationStressTest4.java | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/SerializationStressTest4.java b/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/SerializationStressTest4.java index 1e569e8..c5dd4f0 100644 --- a/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/SerializationStressTest4.java +++ b/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/SerializationStressTest4.java @@ -721,35 +721,6 @@ public class SerializationStressTest4 extends SerializationStressTest { } - public void test_writeObject_Collections_UnmodifiableMap_UnmodifiableEntrySet() throws Exception { - // Test for method void - // java.io.ObjectOutputStream.writeObject(java.util.Collections.UnmodifiableMap.UnmodifiableEntrySet) - - Object objToSave = null; - Object objLoaded = null; - - - objToSave = java.util.Collections.unmodifiableMap(MAP).entrySet(); - if (DEBUG) - System.out.println("Obj = " + objToSave); - objLoaded = dumpAndReload(objToSave); - - // Has to have worked - boolean equals; - equals = ((java.util.Collection) objToSave).size() == ((java.util.Collection) objLoaded) - .size(); - if (equals) { - java.util.Iterator iter1 = ((java.util.Collection) objToSave) - .iterator(), iter2 = ((java.util.Collection) objLoaded) - .iterator(); - while (iter1.hasNext()) - equals = equals && iter1.next().equals(iter2.next()); - } - assertTrue(MSG_TEST_FAILED + objToSave, equals); - - - } - public void test_writeObject_NumberFormat() { // Test for method void // java.io.ObjectOutputStream.writeObject(java.text.NumberFormat) |