Home
last modified time | relevance | path

Searched refs:createTempFile (Results 1 – 25 of 107) sorted by relevance

12345

/external/python/cpython2/Lib/test/
Dtest_bz2.py57 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/
DFilesTest.java174 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 …]
DIoTestCase.java116 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/
Dtest_bz2.py89 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/
DShadowHttpResponseCacheTest.java30 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/
DSupport_GetLocal.java43 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/
DChangeSetTestCase.java158 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/
DZipTestCase.java295 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 …]
DCpioTestCase.java123 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()
DTarTestCase.java145 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()
DArTestCase.java198 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/
DGdiffTest.java55 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/
DAbstractTestCase.java64 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/
DSupport_Resources.java68 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/
DAgentJarTest.java56 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/
DParallelScatterZipCreatorTest.java59 result = File.createTempFile("parallelScatterGather1", ""); in concurrent()
75 result = File.createTempFile("parallelScatterGather2", ""); in callableApi()
83 … return new FileBasedScatterGatherBackingStore(tmp = File.createTempFile("parallelscatter", "n1")); in callableApi()
DScatterZipOutputStreamTest.java48 scatterFile = File.createTempFile("scattertest", ".notzip"); in putArchiveEntry()
63 target = File.createTempFile("scattertest", ".zip"); in putArchiveEntry()
/external/junit/src/main/java/org/junit/rules/
DTemporaryFolder.java78 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/
DIndexedInputsTest.java51 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/
DCTLogStoreImplTest.java177 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/
DFileByFileV1IntegrationTest.java119 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/
DCTLogStoreImplTest.java173 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/
DTempFileHolder.java38 file = File.createTempFile("archive_patcher", "tmp"); in TempFileHolder()
/external/emma/core/java12/com/vladium/util/
DFiles.java314 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/
DDistributedTest.java49 File result = File.createTempFile(fileName, ".properties"); in createMasterProperties()
68 File result = File.createTempFile(fileName, ".properties"); in createSlaveProperties()

12345