Home
last modified time | relevance | path

Searched refs:createFile (Results 1 – 25 of 201) sorted by relevance

123456789

/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/
DZipMultiReportOutputTest.java53 OutputStream out = zipOutput.createFile("a.txt"); in testWrite1()
68 OutputStream out = zipOutput.createFile("b.txt"); in testWrite2()
82 OutputStream out = zipOutput.createFile("b.txt"); in testWrite3()
98 OutputStream out = zipOutput.createFile("dir/index.html"); in testCreateFiles()
104 out = zipOutput.createFile("readme.txt"); in testCreateFiles()
123 OutputStream out = zipOutput.createFile("dir/index.html"); in testCreateFilesWithoutClose()
128 out = zipOutput.createFile("readme.txt"); in testCreateFilesWithoutClose()
144 OutputStream out = zipOutput.createFile("index.html"); in testWriteToClosedStream1()
151 OutputStream out = zipOutput.createFile("index.html"); in testWriteToClosedStream2()
158 OutputStream out = zipOutput.createFile("index.html"); in testWriteToClosedStream3()
[all …]
/external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/
DAntResourcesLocatorTest.java65 locator.add(createFile("org/jacoco/example/Test.java", "AAA")); in testFile()
75 createFile("src/org/jacoco/example/Test.java", "AAA"); in testDirectory()
86 createFile("src/org/jacoco/example/Test.java", "DDD"); in testFilePrecedence()
88 locator.add(createFile("org/jacoco/example/Test.java", "FFF")); in testFilePrecedence()
97 createFile("src1/org/jacoco/example/Test.java", "AAA"); in testDirectoryOrdering()
99 createFile("src2/org/jacoco/example/Test.java", "BBB"); in testDirectoryOrdering()
101 createFile("src3/org/jacoco/example/Test.java", "CCC"); in testDirectoryOrdering()
112 resources.add(createFile("org/jacoco/example/Test1.java", "AAA")); in testAddAll()
113 resources.add(createFile("org/jacoco/example/Test2.java", "BBB")); in testAddAll()
124 private Resource createFile(String path, String content) in createFile() method in AntResourcesLocatorTest
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/tools/
DExecFileLoaderTest.java54 loader.load(createFile("a")); in testLoadFile()
55 loader.load(createFile("bb")); in testLoadFile()
62 final FileInputStream in1 = new FileInputStream(createFile("a")); in testLoadInputStream()
65 final FileInputStream in2 = new FileInputStream(createFile("bb")); in testLoadInputStream()
91 loader.load(createFile("a")); in testSaveFile()
99 final File file = createFile("a"); in testSaveFileAppend()
101 loader.load(createFile("bb")); in testSaveFileAppend()
111 loader.load(createFile("a")); in testCreateSubfolders()
117 private File createFile(String id) throws IOException { in createFile() method in ExecFileLoaderTest
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DJimfsUnixLikeFileSystemTest.java411 Files.createFile(path("/test.txt")); in testCreateFile_absolute()
417 Files.createFile(path("/foo/test.txt")); in testCreateFile_absolute()
439 Files.createFile(path("/test.txt")); in testCreateLink_absolute()
475 Files.createFile(path("test.txt")); in testCreateFile_relative()
483 Files.createFile(path("foo/test.txt")); in testCreateFile_relative()
511 Files.createFile(path("test.txt")); in testCreateLink_relative()
530 Files.createFile(path("/test")); in testCreateFile_existing()
532 Files.createFile(path("/test")); in testCreateFile_existing()
552 Files.createFile(path("/foo")); in testCreateFile_existing()
564 Files.createFile(path("/foo/test")); in testCreateFile_parentDoesNotExist()
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy119 * Test the createFile() method
122 assert !fileSystem.exists(NEW_FILE), "Before createFile"
123 assert fileSystem.createFile(NEW_FILE)
124 assert fileSystem.exists(NEW_FILE), "After createFile"
126 assert !fileSystem.createFile(NEW_FILE), "Duplicate"
129 shouldFail(FileSystemException) { fileSystem.createFile(NEW_DIR + "/abc/def") }
131 shouldFail(FileSystemException) { fileSystem.createFile(NO_SUCH_DIR) }
132 shouldFail(InvalidFilenameException) { fileSystem.createFile(ILLEGAL_FILE) }
134 shouldFailWithMessageContaining("path") { fileSystem.createFile(null) }
226 assert fileSystem.createFile(NEW_DIR + "/" + FILENAME1)
[all …]
/external/robolectric/robolectric/src/test/java/org/robolectric/plugins/
DLegacyDependencyResolverTest.java50 .createFile("deps.properties", in whenRobolectricDepsPropertiesProperty()
52 Path jarPath = tempDirectory.createFile("file-123.jar", "..."); in whenRobolectricDepsPropertiesProperty()
65 .createFile("deps.properties", in whenRobolectricDepsPropertiesPropertyAndOfflineProperty()
67 Path jarPath = tempDirectory.createFile("file-123.jar", "..."); in whenRobolectricDepsPropertiesPropertyAndOfflineProperty()
81 .createFile("deps.properties", in whenRobolectricDepsPropertiesResource()
94 Path sdkJarPath = tempDirectory.createFile("jars/android-all-" + VERSION + ".jar", "..."); in whenRobolectricDependencyDirProperty()
/external/icu/android_icu4j/testing/src/com/android/i18n/test/timezone/internal/
DMemoryMappedFileTest.java55 File file = createFile(bytes); in testMmapRo_emptyFile()
68 File file = createFile(bytes); in testMmapRo()
78 File file = createFile(bytes); in testMmapRo_close()
100 File file = createFile(bytes); in testReadAfterCloseFails()
120 File file = createFile(bytes); in checkReadByte()
148 File file = createFile(bytes); in checkSeek()
192 File file = createFile(bytes); in checkSkip()
234 File file = createFile(bytes); in testReadShort_bigEndian()
256 File file = createFile(bytes); in testReadShort_littleEndian()
296 File file = createFile(bytes); in testReadInt_bigEndian()
[all …]
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/command/
DRntoCommandHandlerTest.groovy41 createFile(FROM_FILE)
50 createFile(FROM_FILE)
64 createFile(FROM_FILE)
84 createFile(FROM_DIR + "/a.txt")
85 createFile(FROM_DIR + "/b.txt")
109 createFile(FROM_FILE)
124 createFile(FROM_FILE)
DNlstCommandHandlerTest.groovy38 createFile("/usr/f1.txt")
44 createFile("/usr/f1.txt")
46 createFile("/usr/f2.txt")
58 createFile("/usr/f1.txt")
70 createFile("/usr/f1.txt")
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/command/
DRntoCommandHandlerTest.groovy41 createFile(FROM_FILE)
50 createFile(FROM_FILE)
64 createFile(FROM_FILE)
84 createFile(FROM_DIR + "/a.txt")
85 createFile(FROM_DIR + "/b.txt")
109 createFile(FROM_FILE)
124 createFile(FROM_FILE)
DNlstCommandHandlerTest.groovy38 createFile("/usr/f1.txt")
44 createFile("/usr/f1.txt")
46 createFile("/usr/f2.txt")
58 createFile("/usr/f1.txt")
70 createFile("/usr/f1.txt")
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/command/
DRntoCommandHandlerTest.groovy41 createFile(FROM_FILE)
50 createFile(FROM_FILE)
64 createFile(FROM_FILE)
84 createFile(FROM_DIR + "/a.txt")
85 createFile(FROM_DIR + "/b.txt")
109 createFile(FROM_FILE)
124 createFile(FROM_FILE)
DNlstCommandHandlerTest.groovy38 createFile("/usr/f1.txt")
44 createFile("/usr/f1.txt")
46 createFile("/usr/f2.txt")
58 createFile("/usr/f1.txt")
70 createFile("/usr/f1.txt")
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/
DRntoCommandHandlerTest.groovy41 createFile(FROM_FILE)
50 createFile(FROM_FILE)
64 createFile(FROM_FILE)
84 createFile(FROM_DIR + "/a.txt")
85 createFile(FROM_DIR + "/b.txt")
109 createFile(FROM_FILE)
124 createFile(FROM_FILE)
DNlstCommandHandlerTest.groovy38 createFile("/usr/f1.txt")
44 createFile("/usr/f1.txt")
46 createFile("/usr/f2.txt")
58 createFile("/usr/f1.txt")
70 createFile("/usr/f1.txt")
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/command/
DRntoCommandHandlerTest.groovy41 createFile(FROM_FILE)
50 createFile(FROM_FILE)
64 createFile(FROM_FILE)
84 createFile(FROM_DIR + "/a.txt")
85 createFile(FROM_DIR + "/b.txt")
109 createFile(FROM_FILE)
124 createFile(FROM_FILE)
DNlstCommandHandlerTest.groovy38 createFile("/usr/f1.txt")
44 createFile("/usr/f1.txt")
46 createFile("/usr/f2.txt")
58 createFile("/usr/f1.txt")
70 createFile("/usr/f1.txt")
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/command/
DNlstCommandHandlerTest.groovy38 createFile("/usr/f1.txt")
44 createFile("/usr/f1.txt")
46 createFile("/usr/f2.txt")
58 createFile("/usr/f1.txt")
70 createFile("/usr/f1.txt")
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/command/
DNlstCommandHandlerTest.groovy38 createFile("/usr/f1.txt")
44 createFile("/usr/f1.txt")
46 createFile("/usr/f2.txt")
57 createFile("/usr/f1.txt")
69 createFile("/usr/f1.txt")
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/command/
DNlstCommandHandlerTest.groovy38 createFile("/usr/f1.txt")
44 createFile("/usr/f1.txt")
46 createFile("/usr/f2.txt")
58 createFile("/usr/f1.txt")
70 createFile("/usr/f1.txt")
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/command/
DNlstCommandHandlerTest.groovy38 createFile("/usr/f1.txt")
44 createFile("/usr/f1.txt")
46 createFile("/usr/f2.txt")
58 createFile("/usr/f1.txt")
70 createFile("/usr/f1.txt")
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/
DNlstCommandHandlerTest.groovy38 createFile("/usr/f1.txt")
44 createFile("/usr/f1.txt")
46 createFile("/usr/f2.txt")
57 createFile("/usr/f1.txt")
69 createFile("/usr/f1.txt")
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/fake/command/
DNlstCommandHandlerTest.groovy38 createFile("/usr/f1.txt")
44 createFile("/usr/f1.txt")
46 createFile("/usr/f2.txt")
57 createFile("/usr/f1.txt")
69 createFile("/usr/f1.txt")
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/
DNlstCommandHandlerTest.groovy38 createFile("/usr/f1.txt")
44 createFile("/usr/f1.txt")
46 createFile("/usr/f2.txt")
57 createFile("/usr/f1.txt")
69 createFile("/usr/f1.txt")
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/command/
DNlstCommandHandlerTest.groovy41 assert fileSystem.createFile("/usr/f1.txt")
47 assert fileSystem.createFile("/usr/f1.txt")
49 assert fileSystem.createFile("/usr/f2.txt")
60 assert fileSystem.createFile("/usr/f1.txt")
72 assert fileSystem.createFile("/usr/f1.txt")

123456789