Home
last modified time | relevance | path

Searched refs:list1 (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DSpinedBufferTest.java119 List<Integer> list1 = new ArrayList<>(); in testSpinedBuffer() local
123 list1.add(i); in testSpinedBuffer()
130 assertEquals(list1, list2); in testSpinedBuffer()
137 assertEquals(list1, list2); in testSpinedBuffer()
142 assertEquals(list1, list2); in testSpinedBuffer()
194 List<Integer> list1 = new ArrayList<>(); in testIntSpinedBuffer() local
198 list1.add(i); in testIntSpinedBuffer()
205 assertEquals(list1, list2); in testIntSpinedBuffer()
212 assertEquals(list1, list2); in testIntSpinedBuffer()
217 assertEquals(list1, list2); in testIntSpinedBuffer()
[all …]
/libcore/luni/src/test/java/tests/security/cert/
DCertificateFactory3Test.java135 List<? extends Certificate> list1 = certPath.getCertificates(); in testGenerateCertPath01() local
136 assertFalse("Result list is empty", list1.isEmpty()); in testGenerateCertPath01()
137 Iterator<? extends Certificate> it = list1.iterator(); in testGenerateCertPath01()
158 List<? extends Certificate> list1 = certPath.getCertificates(); in testGenerateCertPath02() local
159 assertFalse("Result list is empty", list1.isEmpty()); in testGenerateCertPath02()
186 List<? extends Certificate> list1 = certPath.getCertificates(); in testGenerateCertPath03() local
187 assertFalse("Result list is empty", list1.isEmpty()); in testGenerateCertPath03()
DCertificateFactory1Test.java601 List<? extends Certificate> list1 = cp.getCertificates(); in testCertificateFactory15() local
602 assertTrue("List should be empty", list1.isEmpty()); in testCertificateFactory15()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArrayListTest.java248 ArrayList list1 = new ArrayList(); in test_addAllILjava_util_Collection_2() local
251 list1.add(d); in test_addAllILjava_util_Collection_2()
255 while (list1.size() > 0) in test_addAllILjava_util_Collection_2()
256 list1.remove(0); in test_addAllILjava_util_Collection_2()
257 list1.addAll(list2); in test_addAllILjava_util_Collection_2()
258 assertTrue("The object list is not the same as original list", list1 in test_addAllILjava_util_Collection_2()
260 && list2.containsAll(list1)); in test_addAllILjava_util_Collection_2()
264 if (list1.size() > 0) { in test_addAllILjava_util_Collection_2()
265 obj.removeAll(list1); in test_addAllILjava_util_Collection_2()
266 obj.addAll(list1); in test_addAllILjava_util_Collection_2()
[all …]
DCollectionsTest.java936 LinkedList list1 = new LinkedList(); in test_rotateLjava_util_ListI() local
938 list1.add(objArray[i]); in test_rotateLjava_util_ListI()
940 testRotate(list1, "Sequential Access"); in test_rotateLjava_util_ListI()