Searched refs:subDir (Results 1 – 8 of 8) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | FileUtilTest.java | 345 File subDir = new File(tmpDir, "subfolder"); in testFindFilesSuccess() local 346 subDir.mkdirs(); in testFindFilesSuccess() 347 File matchFile2 = FileUtil.createTempFile("test", ".config", subDir); in testFindFilesSuccess() 348 FileUtil.createTempFile("test", ".xml", subDir); in testFindFilesSuccess() 365 File subDir = FileUtil.createTempDir("subfolder"); in testFindFilesSuccess_symlink() local 368 File matchFile2 = FileUtil.createTempFile("test", ".config", subDir); in testFindFilesSuccess_symlink() 370 FileUtil.symlinkFile(subDir, destLink); in testFindFilesSuccess_symlink() 371 FileUtil.createTempFile("test", ".xml", subDir); in testFindFilesSuccess_symlink() 381 FileUtil.recursiveDelete(subDir); in testFindFilesSuccess_symlink() 393 File subDir = new File(tmpDir, "subfolder"); in testFindFilesFail() local [all …]
|
D | TestMappingTest.java | 101 File subDir = FileUtil.createTempDir("sub_dir", srcDir); in testGetTests() local 104 FileUtil.saveResourceFile(resourceStream, subDir, TEST_MAPPING); in testGetTests()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | ConfigurationUtilTest.java | 135 File subDir = FileUtil.getFileForPath(tmpDir, "sub"); in testGetConfigNamesFromDirs() local 136 FileUtil.mkdirsRWX(subDir); in testGetConfigNamesFromDirs() 137 File config2 = FileUtil.createTempFile("config", ".xml", subDir); in testGetConfigNamesFromDirs() 167 File subDir = FileUtil.getFileForPath(tmpDir, "sub"); in testGetConfigNamesFromDirs_patterns() local 168 FileUtil.mkdirsRWX(subDir); in testGetConfigNamesFromDirs_patterns() 169 File config2 = FileUtil.createTempFile("config", ".otherext", subDir); in testGetConfigNamesFromDirs_patterns()
|
D | ConfigurationFactoryTest.java | 377 final String subDir = "suite/"; in testListSubConfig() local 378 List<String> listConfigs = mRealFactory.getConfigList(subDir); in testListSubConfig() 385 assertTrue(config.startsWith(subDir)); in testListSubConfig() 1504 File subDir = FileUtil.createTempDir("subdir", tmpDir); in testGetConfigNamesFromTestCases_subpath() local 1505 FileUtil.createTempFile("testconfig2", ".xml", subDir); in testGetConfigNamesFromTestCases_subpath() 1511 res = spyFactory.getConfigNamesFromTestCases(subDir.getName()); in testGetConfigNamesFromTestCases_subpath()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | InvocationExecution.java | 544 File subDir = FileUtil.createTempDir(baseName, testsDir); in handleLinkingExternalDirs() local 545 subDir.delete(); in handleLinkingExternalDirs() 546 FileUtil.symlinkFile(externalDir, subDir); in handleLinkingExternalDirs() 550 subDir, in handleLinkingExternalDirs() 554 subDir.deleteOnExit(); in handleLinkingExternalDirs()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | TestMappingSuiteRunnerTest.java | 119 File subDir = FileUtil.createTempDir("sub_dir", srcDir); in testLoadTests_testMappingsZip() local 122 FileUtil.saveResourceFile(resourceStream, subDir, TEST_MAPPING); in testLoadTests_testMappingsZip()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDevice.java | 1382 File subDir = new File(localDir, item.getName()); in pullDir() local 1383 if (!subDir.mkdir()) { in pullDir() 1385 subDir.getAbsolutePath()); in pullDir() 1389 if (!pullDir(deviceSubDir, subDir)) { in pullDir()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | NativeDeviceTest.java | 283 File subDir = FileUtil.createTempDir("testSubDir", testDir); in testPushDir_childDir() local 284 FileUtil.createTempDir("test1", subDir); in testPushDir_childDir()
|