harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r652449 - /harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/TreeMapTest.java
Date Thu, 01 May 2008 07:50:25 GMT
Author: hindessm
Date: Thu May  1 00:50:24 2008
New Revision: 652449

URL: http://svn.apache.org/viewvc?rev=652449&view=rev
Log:
Test for extra fix for HARMONY-5788.

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

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/TreeMapTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/TreeMapTest.java?rev=652449&r1=652448&r2=652449&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/TreeMapTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/TreeMapTest.java
Thu May  1 00:50:24 2008
@@ -656,6 +656,11 @@
         assertFalse("Empty map should not contain the null-valued entry",
                     test_map.entrySet().contains(entry[0]));
 
+        Map<String, String> submap = test_map.subMap("a","z");
+        entry = master.entrySet().toArray();
+        assertFalse("Empty submap should not contain the null-valued entry",
+                    submap.entrySet().contains(entry[0]));
+
         test_map.put("null", null);
         assertTrue("entrySet().containsAll(...) should work with null values",
                    test_map.entrySet().containsAll(master.entrySet()));



Mime
View raw message