Home
last modified time | relevance | path

Searched refs:MockEntry (Results 1 – 2 of 2) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DEnumMapTest.java45 private static class MockEntry<K, V> implements Map.Entry<K, V> { class in EnumMapTest
50 public MockEntry(K key, V value) { in MockEntry() method in EnumMapTest.MockEntry
340 MockEntry mockEntry = new MockEntry(Size.Middle, 1); in test_entrySet()
354 mockEntry = new MockEntry(Size.Middle, null); in test_entrySet()
359 mockEntry = new MockEntry(new Integer(1), 1); in test_entrySet()
365 mockEntry = new MockEntry(Size.Big, null); in test_entrySet()
374 mockEntry = new MockEntry(new Integer(1), 1); in test_entrySet()
383 mockEntry = new MockEntry(Size.Big, 3); in test_entrySet()
399 c.add(new MockEntry(Size.Middle, 1)); in test_entrySet()
404 c.add(new MockEntry(Size.Big, 3)); in test_entrySet()
[all …]
DHashMapTest.java690 Map.Entry copyEntry = new MockEntry(); in test_EntrySet()
807 private static class MockEntry implements Map.Entry { class in HashMapTest