Home
last modified time | relevance | path

Searched refs:map1 (Results 1 – 7 of 7) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DAbstractMapTest.java77 AbstractMap map1 = new HashMap(0); in test_keySet() local
78 assertSame("HashMap(0)", map1.keySet(), map1.keySet()); in test_keySet()
106 AbstractMap map1 = new HashMap(0); in test_removeLjava_lang_Object() local
107 map1.put("key", value); in test_removeLjava_lang_Object()
108 assertSame("HashMap(0)", map1.remove("key"), value); in test_removeLjava_lang_Object()
229 AbstractMap map1 = new HashMap(0); in test_values() local
230 assertSame("HashMap(0)", map1.values(), map1.values()); in test_values()
/libcore/luni/src/test/java/libcore/java/util/
DOldAndroidHashMapTest.java218 HashMap<String, String> map1 = new HashMap<String, String>(); in testEquals() local
222 map1.put("one", "1"); in testEquals()
223 map1.put("two", "2"); in testEquals()
224 map1.put("three", "3"); in testEquals()
230 assertTrue(map1.equals(map2)); in testEquals()
236 assertFalse(map1.equals(map3)); in testEquals()
/libcore/jsr166-tests/src/test/java/jsr166/
DConcurrentHashMapTest.java226 ConcurrentHashMap map1 = map5(); in testEquals() local
228 assertEquals(map1, map2); in testEquals()
229 assertEquals(map2, map1); in testEquals()
230 map1.clear(); in testEquals()
231 assertFalse(map1.equals(map2)); in testEquals()
232 assertFalse(map2.equals(map1)); in testEquals()
593 ConcurrentHashMap map1 = map5(); in testConstructor5() local
595 assertTrue(map2.equals(map1)); in testConstructor5()
597 assertFalse(map2.equals(map1)); in testConstructor5()
DTreeSubMapTest.java92 NavigableMap map1 = map5(); in testEquals() local
94 assertEquals(map1, map2); in testEquals()
95 assertEquals(map2, map1); in testEquals()
96 map1.clear(); in testEquals()
97 assertFalse(map1.equals(map2)); in testEquals()
98 assertFalse(map2.equals(map1)); in testEquals()
602 NavigableMap map1 = dmap5();
604 assertEquals(map1, map2);
605 assertEquals(map2, map1);
606 map1.clear();
[all …]
DConcurrentSkipListSubMapTest.java93 ConcurrentNavigableMap map1 = map5(); in testEquals() local
95 assertEquals(map1, map2); in testEquals()
96 assertEquals(map2, map1); in testEquals()
97 map1.clear(); in testEquals()
98 assertFalse(map1.equals(map2)); in testEquals()
99 assertFalse(map2.equals(map1)); in testEquals()
767 ConcurrentNavigableMap map1 = dmap5();
769 assertEquals(map1, map2);
770 assertEquals(map2, map1);
771 map1.clear();
[all …]
DTreeMapTest.java73 TreeMap map1 = map5(); in testEquals() local
75 assertEquals(map1, map2); in testEquals()
76 assertEquals(map2, map1); in testEquals()
77 map1.clear(); in testEquals()
78 assertFalse(map1.equals(map2)); in testEquals()
79 assertFalse(map2.equals(map1)); in testEquals()
DConcurrentSkipListMapTest.java74 ConcurrentSkipListMap map1 = map5(); in testEquals() local
76 assertEquals(map1, map2); in testEquals()
77 assertEquals(map2, map1); in testEquals()
78 map1.clear(); in testEquals()
79 assertFalse(map1.equals(map2)); in testEquals()
80 assertFalse(map2.equals(map1)); in testEquals()