Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DFileUtilFuncTest.java182 File subFile = createTempFile("foo", ".txt", childDir); in testRecursiveDelete() local
184 assertFalse(subFile.exists()); in testRecursiveDelete()
198 File subFile = createTempFile("foo", ".txt", childDir); in testRecursiveCopy() local
199 FileUtil.writeToFile("foo", subFile); in testRecursiveCopy()
206 File.separator, subFile.getName())); in testRecursiveCopy()
208 assertTrue(FileUtil.compareFileContents(subFile, subFileCopy)); in testRecursiveCopy()
220 File subFile = createTempFile("foo", ".txt", childDir); in testRecursiveCopyToNonexistentTarget() local
221 FileUtil.writeToFile("foo", subFile); in testRecursiveCopyToNonexistentTarget()
230 File.separator, subFile.getName())); in testRecursiveCopyToNonexistentTarget()
233 assertTrue(FileUtil.compareFileContents(subFile, subFileCopy)); in testRecursiveCopyToNonexistentTarget()
DZipUtilTest.java104 File subFile = new File(childDir, "foo.txt"); in testCreateAndExtractZip() local
105 FileUtil.writeToFile("contents", subFile); in testCreateAndExtractZip()
112 File extractedSubFile = new File(extractedChildDir, subFile.getName()); in testCreateAndExtractZip()
116 assertTrue(FileUtil.compareFileContents(subFile, extractedSubFile)); in testCreateAndExtractZip()
175 File subFile = new File(childDir, "foo.txt"); in testCreateAndExtractFileFromZip() local
176 FileUtil.writeToFile("contents", subFile); in testCreateAndExtractFileFromZip()
182 assertTrue(FileUtil.compareFileContents(subFile, extractedSubFile)); in testCreateAndExtractFileFromZip()
DFileUtilTest.java429 File subFile = FileUtil.createTempFile("find_file_file", ".txt", subDir); in testFindFile() local
430 File res = FileUtil.findFile(tmpDir, subFile.getName()); in testFindFile()
431 assertEquals(subFile.getAbsolutePath(), res.getAbsolutePath()); in testFindFile()
446 File subFile = FileUtil.createTempFile("find_file_file", "", subDir); in testFindFile_sameDirName() local
447 File res = FileUtil.findFile(tmpDir, subFile.getName()); in testFindFile_sameDirName()
448 assertEquals(subFile.getAbsolutePath(), res.getAbsolutePath()); in testFindFile_sameDirName()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyBinaryHostTest.java367 for (File subFile : logDir.listFiles()) { in reportLogs()
368 if (subFile.isDirectory()) { in reportLogs()
369 reportLogs(subFile, listener); in reportLogs()
373 dataStream = new FileInputStreamSource(subFile, true); in reportLogs()
374 listener.testLog(subFile.getName(), LogDataType.TEXT, dataStream); in reportLogs()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DZipUtil.java267 for (File subFile : subFiles) { in addToZip()
268 addToZip(out, subFile, relativePathSegs); in addToZip()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...