Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DFileUtilTest.java347 File subDir = new File(tmpDir, "subfolder"); in testFindFilesSuccess() local
348 subDir.mkdirs(); in testFindFilesSuccess()
349 File matchFile2 = FileUtil.createTempFile("test", ".config", subDir); in testFindFilesSuccess()
350 FileUtil.createTempFile("test", ".xml", subDir); in testFindFilesSuccess()
367 File subDir = FileUtil.createTempDir("subfolder"); in testFindFilesSuccess_symlink() local
370 File matchFile2 = FileUtil.createTempFile("test", ".config", subDir); in testFindFilesSuccess_symlink()
372 FileUtil.symlinkFile(subDir, destLink); in testFindFilesSuccess_symlink()
373 FileUtil.createTempFile("test", ".xml", subDir); in testFindFilesSuccess_symlink()
383 FileUtil.recursiveDelete(subDir); in testFindFilesSuccess_symlink()
395 File subDir = new File(tmpDir, "subfolder"); in testFindFilesFail() local
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/util/testmapping/
DTestMappingTest.java149 File subDir = FileUtil.createTempDir("sub_dir", srcDir); in testGetTests() local
152 FileUtil.saveResourceFile(resourceStream, subDir, TEST_MAPPING); in testGetTests()
203 File subDir = FileUtil.createTempDir("sub_dir", srcDir); in testGetTests_matchKeywords() local
206 FileUtil.saveResourceFile(resourceStream, subDir, TEST_MAPPING); in testGetTests_matchKeywords()
412 File subDir = FileUtil.createTempDir("sub_dir", srcDir); in testGetAllTests() local
415 FileUtil.saveResourceFile(resourceStream, subDir, TEST_MAPPING); in testGetAllTests()
446 File subDir = FileUtil.createTempDir("sub_dir", srcDir); in testExtractTestMappingsZip() local
449 FileUtil.saveResourceFile(resourceStream, subDir, TEST_MAPPING); in testExtractTestMappingsZip()
486 File subDir = FileUtil.createTempDir("sub_dir", srcDir); in testGetDisabledTests() local
489 FileUtil.saveResourceFile(resourceStream, subDir, TEST_MAPPING); in testGetDisabledTests()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunnerTest.java150 File subDir = FileUtil.createTempDir("sub_dir", srcDir); in testLoadTests_testMappingsZip() local
153 FileUtil.saveResourceFile(resourceStream, subDir, TEST_MAPPING); in testLoadTests_testMappingsZip()
237 File subDir = FileUtil.createTempDir("sub_dir", srcDir); in testLoadTests_testMappingsZipFoundTestsWithKeywords() local
240 FileUtil.saveResourceFile(resourceStream, subDir, TEST_MAPPING); in testLoadTests_testMappingsZipFoundTestsWithKeywords()
309 File subDir = FileUtil.createTempDir("sub_dir", srcDir); in testLoadTests_testMappingsZipFailWithKeywords() local
312 FileUtil.saveResourceFile(resourceStream, subDir, TEST_MAPPING); in testLoadTests_testMappingsZipFailWithKeywords()
358 File subDir = FileUtil.createTempDir("sub_dir", srcDir); in testLoadTests_testMappingsZipHostTests() local
361 FileUtil.saveResourceFile(resourceStream, subDir, TEST_MAPPING); in testLoadTests_testMappingsZipHostTests()
408 File subDir = FileUtil.createTempDir("sub_dir", srcDir); in testLoadTests_shard() local
411 FileUtil.saveResourceFile(resourceStream, subDir, TEST_MAPPING); in testLoadTests_shard()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationUtilTest.java148 File subDir = FileUtil.getFileForPath(tmpDir, "sub"); in testGetConfigNamesFromDirs() local
149 FileUtil.mkdirsRWX(subDir); in testGetConfigNamesFromDirs()
150 File config2 = FileUtil.createTempFile("config", ".xml", subDir); in testGetConfigNamesFromDirs()
180 File subDir = FileUtil.getFileForPath(tmpDir, "sub"); in testGetConfigNamesFromDirs_patterns() local
181 FileUtil.mkdirsRWX(subDir); in testGetConfigNamesFromDirs_patterns()
182 File config2 = FileUtil.createTempFile("config", ".otherext", subDir); in testGetConfigNamesFromDirs_patterns()
DConfigurationFactoryTest.java377 final String subDir = "suite/"; in testListSubConfig() local
378 List<String> listConfigs = mRealFactory.getConfigList(subDir); in testListSubConfig()
385 assertTrue(config.startsWith(subDir)); in testListSubConfig()
1516 File subDir = FileUtil.createTempDir("subdir", tmpDir); in testGetConfigNamesFromTestCases_subpath() local
1517 FileUtil.createTempFile("testconfig2", ".xml", subDir); in testGetConfigNamesFromTestCases_subpath()
1523 res = spyFactory.getConfigNamesFromTestCases(subDir.getName()); in testGetConfigNamesFromTestCases_subpath()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java659 File subDir = FileUtil.createTempDir(baseName, testsDir); in handleLinkingExternalDirs() local
660 subDir.delete(); in handleLinkingExternalDirs()
661 FileUtil.symlinkFile(externalDir, subDir); in handleLinkingExternalDirs()
665 subDir, in handleLinkingExternalDirs()
669 subDir.deleteOnExit(); in handleLinkingExternalDirs()
702 File subDir = new File(buildDir, f.getName()); in createSharedResources() local
703 FileUtil.symlinkFile(f, subDir); in createSharedResources()
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DFileDownloadCacheTest.java265 File subDir = FileUtil.createTempDir("subdir", cacheDir); in testCacheRebuild() local
266 File file = FileUtil.createTempFile("test-cache-file", ".txt", subDir); in testCacheRebuild()
275 mMockDownloader, subDir.getName() + "/" + file.getName()); in testCacheRebuild()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DNativeDeviceTest.java299 File subDir = FileUtil.createTempDir("testSubDir", testDir); in testPushDir_childDir() local
300 FileUtil.createTempDir("test1", subDir); in testPushDir_childDir()
311 File subDir = FileUtil.createTempDir("testSubDir", testDir); in testPushDir_childDir_filtered() local
312 File childDir = FileUtil.createTempDir("test1", subDir); in testPushDir_childDir_filtered()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java1557 File subDir = new File(localDir, item.getName()); in pullDir() local
1558 if (!subDir.mkdir()) { in pullDir()
1560 subDir.getAbsolutePath()); in pullDir()
1564 if (!pullDir(deviceSubDir, subDir)) { in pullDir()