Home
last modified time | relevance | path

Searched refs:it2 (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/src/test/java/text/Format/NumberFormat/
DSerializationSaveTest.java48 CheckDecimalFormatSymbols it2 = new CheckDecimalFormatSymbols(); in main() local
49 System.out.println("getDigit : " + it2.Update()); in main()
52 p2.writeObject(it2); in main()
DSerializationLoadTest.java61 CheckDecimalFormatSymbols it2 = (CheckDecimalFormatSymbols)p2.readObject(); in main() local
63 System.out.println("getDigit : " + it2.Update()); in main()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DLinkedHashMapTest.java290 Iterator it2 = map2.keySet().iterator(); in test_keySet() local
291 Integer remove3 = (Integer) it2.next(); in test_keySet()
297 it2.hasNext(); in test_keySet()
298 it2.remove(); in test_keySet()
299 assertTrue("Wrong result 2", it2.next().equals(next)); in test_keySet()
564 Iterator it2 = s2.iterator(); in test_ordered_entrySet() local
567 for (i = 1; i < sz && it2.hasNext(); i += 2) { in test_ordered_entrySet()
568 Map.Entry m = (Map.Entry) it2.next(); in test_ordered_entrySet()
572 for (i = 0; i < sz && it2.hasNext(); i += 2) { in test_ordered_entrySet()
573 Map.Entry m = (Map.Entry) it2.next(); in test_ordered_entrySet()
[all …]
DIdentityHashMap2Test.java290 Iterator it2 = map2.keySet().iterator(); in test_keySet() local
291 Integer remove3 = (Integer) it2.next(); in test_keySet()
297 it2.hasNext(); in test_keySet()
298 it2.remove(); in test_keySet()
299 assertTrue("Wrong result 2", it2.next().equals(next)); in test_keySet()
DHashtableTest.java499 Iterator it2 = map2.keySet().iterator(); in test_keySet() local
500 Integer remove3 = (Integer) it2.next(); in test_keySet()
506 it2.hasNext(); in test_keySet()
507 it2.remove(); in test_keySet()
508 assertTrue("Wrong result 2", it2.next().equals(next)); in test_keySet()
DHashMapTest.java390 Iterator it2 = map2.keySet().iterator(); in test_keySet() local
391 Integer remove3 = (Integer) it2.next(); in test_keySet()
397 it2.hasNext(); in test_keySet()
398 it2.remove(); in test_keySet()
399 assertTrue("Wrong result 2", it2.next().equals(next)); in test_keySet()
DIdentityHashMapTest.java284 Iterator it2 = map2.keySet().iterator(); in test_keySet() local
285 Integer remove3 = (Integer) it2.next(); in test_keySet()
291 it2.hasNext(); in test_keySet()
292 it2.remove(); in test_keySet()
293 assertTrue("Wrong result 2", it2.next().equals(next)); in test_keySet()
/libcore/luni/src/test/java/tests/security/cert/
DCertificateFactory1Test.java300 Iterator<String> it2 = certFs[1].getCertPathEncodings(); in testCertificateFactory09() local
301 assertEquals("Incorrect encodings", it1.hasNext(), it2.hasNext()); in testCertificateFactory09()
303 it2 = certFs[1].getCertPathEncodings(); in testCertificateFactory09()
306 while (it2.hasNext()) { in testCertificateFactory09()
307 if (s1.equals(it2.next())) { in testCertificateFactory09()
316 it2 = certFs[2].getCertPathEncodings(); in testCertificateFactory09()
317 assertEquals("Incorrect encodings", it1.hasNext(), it2.hasNext()); in testCertificateFactory09()
319 it2 = certFs[2].getCertPathEncodings(); in testCertificateFactory09()
322 while (it2.hasNext()) { in testCertificateFactory09()
323 if (s1.equals(it2.next())) { in testCertificateFactory09()
/libcore/luni/src/test/java/libcore/java/text/
DBreakIteratorTest.java50 BreakIterator it2 = BreakIterator.getWordInstance(new Locale("bad locale")); in testGetWordInstanceLocale() local
51 assertTrue("Incorrect BreakIterator", it2 != BreakIterator.getWordInstance()); in testGetWordInstanceLocale()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DStringCharacterIteratorTest.java136 StringCharacterIterator it2 = new StringCharacterIterator("xxstinx", 2, in test_equalsLjava_lang_Object() local
138 assertTrue("Range is equal", !it1.equals(it2)); in test_equalsLjava_lang_Object()
461 StringCharacterIterator it2 = new StringCharacterIterator("xxstinx", 2, in test_hashCode() local
463 assertTrue("Hash is equal", it1.hashCode() != it2.hashCode()); in test_hashCode()
DBreakIteratorTest.java182 BreakIterator it2 = BreakIterator.getCharacterInstance(Locale.CHINA); in testGetCharacterInstanceLocale() local
183 assertEquals(it, it2); in testGetCharacterInstanceLocale()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCollection8Test.java574 Iterator it2 = c.iterator();
576 assertTrue(it2.hasNext());
587 it2.forEachRemaining(iteratedForEachRemaining::add);