Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/util/
DSpliteratorTester.java44 List<T> expectedElements) { in runBasicIterationTests() argument
45 List<T> recorder = new ArrayList<T>(expectedElements.size()); in runBasicIterationTests()
50 assertEquals(!expectedElements.isEmpty(), didAdvance); in runBasicIterationTests()
54 assertEquals(expectedElements, recorder); in runBasicIterationTests()
62 List<T> expectedElements, Comparator<T> comparator) { in runBasicIterationTests_unordered() argument
63 ArrayList<T> recorder = new ArrayList<T>(expectedElements.size()); in runBasicIterationTests_unordered()
67 if (expectedElements.isEmpty()) { in runBasicIterationTests_unordered()
71 assertTrue(expectedElements.contains(recorder.get(0))); in runBasicIterationTests_unordered()
76 Collections.sort(expectedElements, comparator); in runBasicIterationTests_unordered()
78 assertEquals(expectedElements, recorder); in runBasicIterationTests_unordered()
[all …]