Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTreeMapTest.java127 TreeMap myTreeMap = new TreeMap(new HashMap(tm)); in test_ConstructorLjava_util_Map() local
128 assertTrue("Map is incorrect size", myTreeMap.size() == objArray.length); in test_ConstructorLjava_util_Map()
130 assertTrue("Map has incorrect mappings", myTreeMap.get( in test_ConstructorLjava_util_Map()
717 TreeMap myTreeMap = new TreeMap(); in test_values() local
719 myTreeMap.put(objArray[i], objArray[i]); in test_values()
721 Collection values = myTreeMap.values(); in test_values()
728 !myTreeMap.containsValue(new Integer(0))); in test_values()
743 TreeMap myTreeMap = new TreeMap(); in test_subMap_values_size() local
745 myTreeMap.put(i, objArray[i]); in test_subMap_values_size()
748 Collection vals = myTreeMap.subMap(200, 400).values(); in test_subMap_values_size()
[all …]
/libcore/luni/src/test/java/libcore/java/util/
DOldTreeMapTest.java107 TreeMap myTreeMap = new TreeMap(new HashMap(tm)); in test_ConstructorLjava_util_Map() local
108 assertTrue("Map is incorrect size", myTreeMap.size() == objArray.length); in test_ConstructorLjava_util_Map()
110 assertTrue("Map has incorrect mappings", myTreeMap.get( in test_ConstructorLjava_util_Map()