/external/python/cpython2/Lib/test/ |
D | test_bz2.py | 57 def createTempFile(self, crlf=0): member in BZ2FileTest 67 self.createTempFile() 74 self.createTempFile() 81 self.createTempFile() 93 self.createTempFile() 99 self.createTempFile() 108 self.createTempFile() 116 self.createTempFile() 124 self.createTempFile() 134 self.createTempFile() [all …]
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | FilesTest.java | 174 File temp = createTempFile(); in testWriteString() 180 File temp = createTempFile(); in testWriteBytes() 193 File temp = createTempFile(); in testAppendString() 218 File temp = createTempFile(); in testCopyFile() 224 File temp1 = createTempFile(); in testCopyEqualFiles() 237 File temp = createTempFile(); in testCopySameFile() 248 File temp1 = createTempFile(); in testCopyIdenticalFiles() 250 File temp2 = createTempFile(); in testCopyIdenticalFiles() 262 File temp = createTempFile(); in testEqual() 306 File temp = createTempFile(); in testNewWriter() [all …]
|
D | IoTestCase.java | 116 File tempFile = File.createTempFile("IoTestCase", ""); in createTempDir() 141 protected final File createTempFile() throws IOException { in createTempFile() method in IoTestCase 142 return File.createTempFile("test", null, getTempDir()); in createTempFile()
|
/external/python/cpython3/Lib/test/ |
D | test_bz2.py | 89 def createTempFile(self, streams=1, suffix=b""): member in BZ2FileTest 103 self.createTempFile() 109 self.createTempFile(streams=0, suffix=self.BAD_DATA) 114 self.createTempFile(streams=5) 125 self.createTempFile(streams=5) 133 self.createTempFile(suffix=self.BAD_DATA) 138 self.createTempFile(streams=5, suffix=self.BAD_DATA) 143 self.createTempFile() 149 self.createTempFile() 160 self.createTempFile(streams=5) [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowHttpResponseCacheTest.java | 30 HttpResponseCache cache = HttpResponseCache.install(File.createTempFile("foo", "bar"), 42); in installedCacheIsReturned() 38 HttpResponseCache cache = HttpResponseCache.install(File.createTempFile("foo", "bar"), 42); in countsStartAtZero() 46 HttpResponseCache cache = HttpResponseCache.install(File.createTempFile("foo", "bar"), 42); in deleteRemovesReference() 53 HttpResponseCache cache = HttpResponseCache.install(File.createTempFile("foo", "bar"), 42); in closeRemovesReference()
|
/external/apache-harmony/support/src/test/java/tests/support/ |
D | Support_GetLocal.java | 43 temp = File.createTempFile("hyts_local", ".tmp", null); in getLocalFile() 63 temp = File.createTempFile("hyts_local", ".tmp", null); in getExternalLocalFile() 90 public static File createTempFile(String suffix) throws IOException { in createTempFile() method in Support_GetLocal 91 return File.createTempFile("hyts_", suffix, null); in createTempFile()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/changes/ |
D | ChangeSetTestCase.java | 158 final File result = File.createTempFile("test", "."+archivename); in testDeleteDir() 200 final File result = File.createTempFile("test", "."+archivename); in testDeleteDir2() 242 final File result = File.createTempFile("test", "."+archivename); in testDeleteDir3() 284 final File result = File.createTempFile("test", "."+archivename); in testDeleteFile() 327 final File result = File.createTempFile("test", "."+archivename); in testDeleteFile2() 371 final File result = File.createTempFile("test", "."+archivename); in testDeletePlusAddSame() 443 final File result = File.createTempFile("test", "."+archivename); in testChangeSetResults() 507 final File result = File.createTempFile("test", "."+archivename); in testDeletePlusAdd() 554 final File result = File.createTempFile("test", "."+archivename); in testDeleteFromAndAddToZip() 601 final File result = File.createTempFile("test", "."+archivename); in testDeleteFromAndAddToZipUsingZipFilePerform() [all …]
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/ |
D | ZipTestCase.java | 295 archive = File.createTempFile("test.", ".zip", tmp[0]); in testDirectoryEntryFromFile() 331 archive = File.createTempFile("test.", ".zip", tmp[0]); in testExplicitDirectoryEntry() 375 final File a1 = File.createTempFile("src1.", ".zip", tmp[0]); in testCopyRawEntriesFromFile() 381 final File a2 = File.createTempFile("src2.", ".zip", tmp[0]); in testCopyRawEntriesFromFile() 388 final File fileResult = File.createTempFile("file-actual.", ".zip", tmp[0]); in testCopyRawEntriesFromFile() 405 final File reference = File.createTempFile("z64reference.", ".zip", tmp[0]); in testCopyRawZip64EntryFromFile() 411 final File a1 = File.createTempFile("zip64src.", ".zip", tmp[0]); in testCopyRawZip64EntryFromFile() 417 final File fileResult = File.createTempFile("file-actual.", ".zip", tmp[0]); in testCopyRawZip64EntryFromFile() 432 final File a1 = File.createTempFile("unixModeBits.", ".zip", tmp[0]); in testUnixModeInAddRaw() 449 final File reference = File.createTempFile(prefix, ".zip", directory); in createReferenceFile() [all …]
|
D | CpioTestCase.java | 123 archive = File.createTempFile("test.", ".cpio", tmp[0]); in testDirectoryEntryFromFile() 163 archive = File.createTempFile("test.", ".cpio", tmp[0]); in testExplicitDirectoryEntry() 205 archive = File.createTempFile("test.", ".cpio", tmp[0]); in testFileEntryFromFile() 254 archive = File.createTempFile("test.", ".cpio", tmp[0]); in testExplicitFileEntry()
|
D | TarTestCase.java | 145 archive = File.createTempFile("test.", ".tar", tmp[0]); in testDirectoryEntryFromFile() 185 archive = File.createTempFile("test.", ".tar", tmp[0]); in testExplicitDirectoryEntry() 226 archive = File.createTempFile("test.", ".tar", tmp[0]); in testFileEntryFromFile() 275 archive = File.createTempFile("test.", ".tar", tmp[0]); in testExplicitFileEntry()
|
D | ArTestCase.java | 198 archive = File.createTempFile("test.", ".ar", tmp[0]); in XtestDirectoryEntryFromFile() 240 archive = File.createTempFile("test.", ".ar", tmp[0]); in XtestExplicitDirectoryEntry() 281 archive = File.createTempFile("test.", ".ar", tmp[0]); in testFileEntryFromFile() 331 archive = File.createTempFile("test.", ".ar", tmp[0]); in testExplicitFileEntry()
|
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/gdiff/ |
D | GdiffTest.java | 55 File inputFile = File.createTempFile("testExample", null); in testExample() 104 File inputFile = File.createTempFile("testExample", null); in testOpcodes() 127 File inputFile = File.createTempFile("testExample", null); in testInlineDataCommands() 312 File inputFile = File.createTempFile("testExample", null); in checkExpectedIOException()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/ |
D | AbstractTestCase.java | 64 final File f = File.createTempFile(name, ""); in mkdir() 169 archive = File.createTempFile("test", "." + archivename); in createArchive() 232 archive = File.createTempFile("empty", "." + archivename); in createEmptyArchive() 259 archive = File.createTempFile("empty", "." + archivename); in createSingleEntryArchive() 379 final File tmpFile = File.createTempFile("testfile", "", tmpDir); in createTempDirAndFile()
|
/external/apache-harmony/support/src/test/java/tests/support/resource/ |
D | Support_Resources.java | 68 folder = File.createTempFile("hyts_resources", "", null); in createTempFolder() 100 public static File createTempFile(String suffix) throws IOException { in createTempFile() method in Support_Resources 101 return File.createTempFile("hyts_", suffix, null); in createTempFile()
|
/external/jacoco/org.jacoco.agent.test/src/org/jacoco/agent/ |
D | AgentJarTest.java | 56 file = File.createTempFile("agent", ".jar"); in testExtractTo() 63 file = File.createTempFile("folder", null); in testExtractToNegative()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/ |
D | ParallelScatterZipCreatorTest.java | 59 result = File.createTempFile("parallelScatterGather1", ""); in concurrent() 75 result = File.createTempFile("parallelScatterGather2", ""); in callableApi() 83 … return new FileBasedScatterGatherBackingStore(tmp = File.createTempFile("parallelscatter", "n1")); in callableApi()
|
D | ScatterZipOutputStreamTest.java | 48 scatterFile = File.createTempFile("scattertest", ".notzip"); in putArchiveEntry() 63 target = File.createTempFile("scattertest", ".zip"); in putArchiveEntry()
|
/external/junit/src/main/java/org/junit/rules/ |
D | TemporaryFolder.java | 78 return File.createTempFile("junit", null, getRoot()); in newFile() 134 File createdFolder = File.createTempFile("junit", "", parentFolder); in createTemporaryFolderIn()
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/io/ |
D | IndexedInputsTest.java | 51 lib1 = File.createTempFile("lib1", ".jar"); in setUpClass() 59 lib2 = File.createTempFile("lib2", ".jar"); in setUpClass()
|
/external/conscrypt/repackaged/platform/src/test/java/com/android/org/conscrypt/ct/ |
D | CTLogStoreImplTest.java | 177 File file = File.createTempFile("test", null); in writeFile() 199 File folder = File.createTempFile("test", ""); in createTempDirectory()
|
/external/archive-patcher/integrationtest/src/test/java/com/google/archivepatcher/integrationtest/ |
D | FileByFileV1IntegrationTest.java | 119 oldFile = File.createTempFile("fbf_test", "old"); in setUp() 121 newFile = File.createTempFile("fbf_test", "new"); in setUp()
|
/external/conscrypt/platform/src/test/java/org/conscrypt/ct/ |
D | CTLogStoreImplTest.java | 173 File file = File.createTempFile("test", null); in writeFile() 195 File folder = File.createTempFile("test", ""); in createTempDirectory()
|
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/ |
D | TempFileHolder.java | 38 file = File.createTempFile("archive_patcher", "tmp"); in TempFileHolder()
|
/external/emma/core/java12/com/vladium/util/ |
D | Files.java | 314 public static File createTempFile (final File parentDir, final String prefix, String extension) in createTempFile() method in Files 325 return File.createTempFile (prefix, extension, parentDir); in createTempFile()
|
/external/testng/src/test/java/test/distributed/ |
D | DistributedTest.java | 49 File result = File.createTempFile(fileName, ".properties"); in createMasterProperties() 68 File result = File.createTempFile(fileName, ".properties"); in createSlaveProperties()
|