Home
last modified time | relevance | path

Searched refs:map1 (Results 1 – 12 of 12) 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()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DConcurrentHashMapTest.java251 ConcurrentHashMap map1 = map5(); in testEquals() local
253 assertEquals(map1, map2); in testEquals()
254 assertEquals(map2, map1); in testEquals()
255 map1.clear(); in testEquals()
256 assertFalse(map1.equals(map2)); in testEquals()
257 assertFalse(map2.equals(map1)); in testEquals()
633 ConcurrentHashMap map1 = map5(); in testConstructor5() local
635 assertTrue(map2.equals(map1)); in testConstructor5()
637 assertFalse(map2.equals(map1)); in testConstructor5()
DTreeSubMapTest.java115 NavigableMap map1 = map5(); in testEquals() local
117 assertEquals(map1, map2); in testEquals()
118 assertEquals(map2, map1); in testEquals()
119 map1.clear(); in testEquals()
120 assertFalse(map1.equals(map2)); in testEquals()
121 assertFalse(map2.equals(map1)); in testEquals()
625 NavigableMap map1 = dmap5();
627 assertEquals(map1, map2);
628 assertEquals(map2, map1);
629 map1.clear();
[all …]
DConcurrentSkipListSubMapTest.java116 ConcurrentNavigableMap map1 = map5(); in testEquals() local
118 assertEquals(map1, map2); in testEquals()
119 assertEquals(map2, map1); in testEquals()
120 map1.clear(); in testEquals()
121 assertFalse(map1.equals(map2)); in testEquals()
122 assertFalse(map2.equals(map1)); in testEquals()
790 ConcurrentNavigableMap map1 = dmap5();
792 assertEquals(map1, map2);
793 assertEquals(map2, map1);
794 map1.clear();
[all …]
DTreeMapTest.java96 TreeMap map1 = map5(); in testEquals() local
98 assertEquals(map1, map2); in testEquals()
99 assertEquals(map2, map1); in testEquals()
100 map1.clear(); in testEquals()
101 assertFalse(map1.equals(map2)); in testEquals()
102 assertFalse(map2.equals(map1)); in testEquals()
DConcurrentSkipListMapTest.java97 ConcurrentSkipListMap map1 = map5(); in testEquals() local
99 assertEquals(map1, map2); in testEquals()
100 assertEquals(map2, map1); in testEquals()
101 map1.clear(); in testEquals()
102 assertFalse(map1.equals(map2)); in testEquals()
103 assertFalse(map2.equals(map1)); in testEquals()