Searched refs:keyArray (Results 1 – 3 of 3) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | WeakHashMapTest.java | 50 Object[] keyArray = new Object[100]; field in WeakHashMapTest 65 whm.put(keyArray[i], valueArray[i]); in test_Constructor() 67 assertTrue("Incorrect value retrieved", whm.get(keyArray[i]) == valueArray[i]); in test_Constructor() 78 whm.put(keyArray[i], valueArray[i]); in test_ConstructorI() 80 assertTrue("Incorrect value retrieved", whm.get(keyArray[i]) == valueArray[i]); in test_ConstructorI() 102 whm.put(keyArray[i], valueArray[i]); in test_ConstructorIF() 104 assertTrue("Incorrect value retrieved", whm.get(keyArray[i]) == valueArray[i]); in test_ConstructorIF() 142 whm.put(keyArray[i], valueArray[i]); in test_clear() 146 assertNull("Cleared map should only return null", whm.get(keyArray[i])); in test_clear() 157 whm.put(keyArray[i], valueArray[i]); in test_containsKeyLjava_lang_Object() [all …]
|
D | TreeMapExtendTest.java | 5186 String[] keyArray; 5194 keyArray = (String[]) descendingKeySet 5196 for (int i = 1; i < keyArray.length; i++) { 5197 value1 = Integer.valueOf(keyArray[i - 1]); 5198 value2 = Integer.valueOf(keyArray[i]); 5208 keyArray = (String[]) descendingKeySet 5210 for (int i = 1; i < keyArray.length; i++) { 5211 value1 = Integer.valueOf(keyArray[i - 1]); 5212 value2 = Integer.valueOf(keyArray[i]); 5222 keyArray = (String[]) descendingKeySet [all …]
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
D | OldAbstractPreferencesTest.java | 156 String[] keyArray = new String[]{"Value", "DoubleValue", "LongValue", "IntValue"}; in testRemove() local 157 pref.put(keyArray[0], "String"); in testRemove() 158 pref.putDouble(keyArray[1], new Double(9.10938188e-31)); in testRemove() 159 pref.putLong(keyArray[2], new Long(Long.MIN_VALUE)); in testRemove() 160 pref.putInt(keyArray[3], 299792458); in testRemove() 165 assertEquals(keyArray.length, str.length); in testRemove() 166 for(int i = 0; i < keyArray.length; i++) { in testRemove() 167 pref.remove(keyArray[i]); in testRemove() 169 assertEquals(keyArray.length - i - 1, str.length); in testRemove() 641 String[] keyArray = new String[]{"Value", "DoubleValue", "BoolValue", "IntValue"}; in testKeys() local [all …]
|