Searched refs:createFile (Results 1 – 25 of 154) sorted by relevance
1234567
119 * 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 …]
41 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)
38 createFile("/usr/f1.txt")44 createFile("/usr/f1.txt")46 createFile("/usr/f2.txt")58 createFile("/usr/f1.txt")70 createFile("/usr/f1.txt")
38 createFile("/usr/f1.txt")44 createFile("/usr/f1.txt")46 createFile("/usr/f2.txt")57 createFile("/usr/f1.txt")69 createFile("/usr/f1.txt")
40 createFile(FROM_FILE)49 createFile(FROM_FILE)64 createFile(FROM_FILE)78 createFile(FROM_FILE)93 createFile(FROM_FILE)
41 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")