Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/
DTestMapping.java505 Path testMappingsRootPath = Paths.get(testMappingsDir.getAbsolutePath()); in getTests() local
509 ? Files.walk(testMappingsRootPath, FileVisitOption.FOLLOW_LINKS) in getTests()
510 : getAllTestMappingPaths(testMappingsRootPath).stream()) { in getTests()
512 Set<String> disabledTests = getDisabledTests(testMappingsRootPath, testGroup); in getTests()
520 testMappingsRootPath, in getTests()
548 Set<Path> getAllTestMappingPaths(Path testMappingsRootPath) { in getAllTestMappingPaths() argument
552 Path testMappingPath = testMappingsRootPath.resolve(path); in getAllTestMappingPaths()
554 while (!testMappingPath.equals(testMappingsRootPath)) { in getAllTestMappingPaths()
584 Path testMappingsRootPath = Paths.get(testMappingsDir.getAbsolutePath()); in getAllTests() local
585 try (Stream<Path> stream = Files.walk(testMappingsRootPath, FileVisitOption.FOLLOW_LINKS)) { in getAllTests()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/util/testmapping/
DTestMappingTest.java342 Path testMappingsRootPath = Paths.get(tempDir.getAbsolutePath()); in testGetAllTestMappingPaths_FromChildDirectory() local
353 Path relPath = testMappingsRootPath.relativize(Paths.get(subDir.getAbsolutePath())); in testGetAllTestMappingPaths_FromChildDirectory()
356 Set<Path> paths = testMapping.getAllTestMappingPaths(testMappingsRootPath); in testGetAllTestMappingPaths_FromChildDirectory()
372 Path testMappingsRootPath = Paths.get(tempDir.getAbsolutePath()); in testGetAllTestMappingPaths_FromParentDirectory() local
383 Path relPath = testMappingsRootPath.relativize(Paths.get(srcDir.getAbsolutePath())); in testGetAllTestMappingPaths_FromParentDirectory()
386 Set<Path> paths = testMapping.getAllTestMappingPaths(testMappingsRootPath); in testGetAllTestMappingPaths_FromParentDirectory()
402 Path testMappingsRootPath = Paths.get(tempDir.getAbsolutePath()); in testGetAllTestMappingPaths_NoFilesFound() local
406 Path relPath = testMappingsRootPath.relativize(Paths.get(srcDir.getAbsolutePath())); in testGetAllTestMappingPaths_NoFilesFound()
411 testMapping.getAllTestMappingPaths(testMappingsRootPath); in testGetAllTestMappingPaths_NoFilesFound()