Home
last modified time | relevance | path

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

12345678

/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/
DZipMultiReportOutputTest.java52 OutputStream out = zipOutput.createFile("a.txt"); in testWrite1()
67 OutputStream out = zipOutput.createFile("b.txt"); in testWrite2()
81 OutputStream out = zipOutput.createFile("b.txt"); in testWrite3()
97 OutputStream out = zipOutput.createFile("dir/index.html"); in testCreateFiles()
103 out = zipOutput.createFile("readme.txt"); in testCreateFiles()
121 OutputStream out = zipOutput.createFile("dir/index.html"); in testCreateFilesWithoutClose()
126 out = zipOutput.createFile("readme.txt"); in testCreateFilesWithoutClose()
141 OutputStream out = zipOutput.createFile("index.html"); in testWriteToClosedStream1()
148 OutputStream out = zipOutput.createFile("index.html"); in testWriteToClosedStream2()
155 OutputStream out = zipOutput.createFile("index.html"); in testWriteToClosedStream3()
[all …]
/external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/
DAntResourcesLocatorTest.java64 locator.add(createFile("org/jacoco/example/Test.java", "AAA")); in testFile()
74 createFile("src/org/jacoco/example/Test.java", "AAA"); in testDirectory()
85 createFile("src/org/jacoco/example/Test.java", "DDD"); in testFilePrecedence()
87 locator.add(createFile("org/jacoco/example/Test.java", "FFF")); in testFilePrecedence()
96 createFile("src1/org/jacoco/example/Test.java", "AAA"); in testDirectoryOrdering()
98 createFile("src2/org/jacoco/example/Test.java", "BBB"); in testDirectoryOrdering()
100 createFile("src3/org/jacoco/example/Test.java", "CCC"); in testDirectoryOrdering()
111 resources.add(createFile("org/jacoco/example/Test1.java", "AAA")); in testAddAll()
112 resources.add(createFile("org/jacoco/example/Test2.java", "BBB")); in testAddAll()
123 private Resource createFile(String path, String content) throws IOException { in createFile() method in AntResourcesLocatorTest
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/tools/
DExecFileLoaderTest.java53 loader.load(createFile("a")); in testLoadFile()
54 loader.load(createFile("bb")); in testLoadFile()
61 final FileInputStream in1 = new FileInputStream(createFile("a")); in testLoadInputStream()
64 final FileInputStream in2 = new FileInputStream(createFile("bb")); in testLoadInputStream()
90 loader.load(createFile("a")); in testSaveFile()
98 final File file = createFile("a"); in testSaveFileAppend()
100 loader.load(createFile("bb")); in testSaveFileAppend()
110 loader.load(createFile("a")); in testCreateSubfolders()
116 private File createFile(String id) throws IOException { in createFile() method in ExecFileLoaderTest
/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/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.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/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")
DRntoCommandHandlerTest.groovy40 createFile(FROM_FILE)
49 createFile(FROM_FILE)
64 createFile(FROM_FILE)
78 createFile(FROM_FILE)
93 createFile(FROM_FILE)
/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.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.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")
DRntoCommandHandlerTest.groovy40 createFile(FROM_FILE)
49 createFile(FROM_FILE)
64 createFile(FROM_FILE)
78 createFile(FROM_FILE)
93 createFile(FROM_FILE)
/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")
DRntoCommandHandlerTest.groovy40 createFile(FROM_FILE)
49 createFile(FROM_FILE)
64 createFile(FROM_FILE)
78 createFile(FROM_FILE)
93 createFile(FROM_FILE)
/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.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")
/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")

12345678