Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DPropertiesTest.java509 List<String> keyList = Arrays.asList(keys); in test_stringPropertyNames_scenario1() local
521 assertTrue(keyList.contains(iterator.next())); in test_stringPropertyNames_scenario1()
528 assertTrue(keyList.contains(nameEnum.nextElement())); in test_stringPropertyNames_scenario1()
537 assertTrue(keyList.contains(iterator.next())); in test_stringPropertyNames_scenario1()
544 assertTrue(keyList.contains(nameEnum.nextElement())); in test_stringPropertyNames_scenario1()
559 List<String> keyList = new ArrayList<String>(); in test_stringPropertyNames_scenario2() local
563 keyList.add(defaultKeys[index]); in test_stringPropertyNames_scenario2()
571 keyList.add(keys[index]); in test_stringPropertyNames_scenario2()
575 assertEquals(keyList.size(), nameSet.size()); in test_stringPropertyNames_scenario2()
578 assertTrue(keyList.contains(iterator.next())); in test_stringPropertyNames_scenario2()
[all …]
/libcore/luni/src/test/java/libcore/java/nio/file/
DFiles2Test.java694 List<Object> keyList = new ArrayList<>(); in test_walkFileTree_depthFirst() local
696 new Files2Test.TestFileVisitor(dirMap, keyList)); in test_walkFileTree_depthFirst()
697 assertEquals(rootDir.getFileName(), keyList.get(0)); in test_walkFileTree_depthFirst()
698 if (keyList.get(1).equals(dir1.getFileName())) { in test_walkFileTree_depthFirst()
699 assertEquals(file1.getFileName(), keyList.get(2)); in test_walkFileTree_depthFirst()
700 assertEquals(dir2.getFileName(), keyList.get(3)); in test_walkFileTree_depthFirst()
701 assertEquals(file2.getFileName(), keyList.get(4)); in test_walkFileTree_depthFirst()
702 } else if (keyList.get(1).equals(dir2.getFileName())){ in test_walkFileTree_depthFirst()
703 assertEquals(file2.getFileName(), keyList.get(2)); in test_walkFileTree_depthFirst()
704 assertEquals(dir1.getFileName(), keyList.get(3)); in test_walkFileTree_depthFirst()
[all …]