Home
last modified time | relevance | path

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

123456789

/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/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/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/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.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.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.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.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.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.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")
/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-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.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/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/smali/smalidea/src/test/java/org/jf/smalidea/
DAnnotationElementNameReferenceTest.java40 createFile("AnnotationWithValues.smali", "" + in testSmaliReferenceFromSmali()
64 createFile("AnnotationWithValues.java", "" + in testJavaReferenceFromSmali()
85 createFile("AnnotationWithValues.smali", "" + in testSmaliReferenceFromJava()

123456789