Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DWeakHashMapTest.java461 ArrayList<Object> processed = new ArrayList<>(); in test_forEach_CME() local
466 processed.add(k); in test_forEach_CME()
473 assertEquals(1, processed.size()); in test_forEach_CME()
475 processed.clear(); in test_forEach_CME()
480 processed.add(k); in test_forEach_CME()
487 assertEquals(1, processed.size()); in test_forEach_CME()
489 processed.clear(); in test_forEach_CME()
494 processed.add(k); in test_forEach_CME()
501 assertEquals(1, processed.size()); in test_forEach_CME()
503 processed.clear(); in test_forEach_CME()
[all …]
DArrayListTest.java1108 ArrayList<Integer> processed = new ArrayList<>(); in test_forEach_CME() local
1110 list.forEach(t -> { processed.add(t); list.add(t); }); in test_forEach_CME()
1113 assertEquals(1, processed.size()); in test_forEach_CME()