/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 50 protected String NEW_FILE = null 66 assert !fileSystem.exists(NEW_FILE) 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" 156 OutputStream out = fileSystem.createOutputStream(NEW_FILE, false) 158 verifyFileContents(fileSystem, NEW_FILE, "") 161 out = fileSystem.createOutputStream(NEW_FILE, false) 164 verifyFileContents(fileSystem, NEW_FILE, EXISTING_FILE_CONTENTS) [all …]
|
/external/strace/tests/ |
D | rename.c | 10 # define NEW_FILE "rename_new" macro 15 long rc = syscall(__NR_rename, OLD_FILE, NEW_FILE); in main() 17 OLD_FILE, NEW_FILE, rc, errno2name()); in main()
|
D | renameat.c | 10 # define NEW_FILE "renameat_new" macro 18 long rc = syscall(__NR_renameat, fd_old, OLD_FILE, fd_new, NEW_FILE); in main() 20 (int) fd_old, OLD_FILE, (int) fd_new, NEW_FILE, in main()
|
/external/strace/tests-mx32/ |
D | rename.c | 10 # define NEW_FILE "rename_new" macro 15 long rc = syscall(__NR_rename, OLD_FILE, NEW_FILE); in main() 17 OLD_FILE, NEW_FILE, rc, errno2name()); in main()
|
D | renameat.c | 10 # define NEW_FILE "renameat_new" macro 18 long rc = syscall(__NR_renameat, fd_old, OLD_FILE, fd_new, NEW_FILE); in main() 20 (int) fd_old, OLD_FILE, (int) fd_new, NEW_FILE, in main()
|
/external/strace/tests-m32/ |
D | rename.c | 10 # define NEW_FILE "rename_new" macro 15 long rc = syscall(__NR_rename, OLD_FILE, NEW_FILE); in main() 17 OLD_FILE, NEW_FILE, rc, errno2name()); in main()
|
D | renameat.c | 10 # define NEW_FILE "renameat_new" macro 18 long rc = syscall(__NR_renameat, fd_old, OLD_FILE, fd_new, NEW_FILE); in main() 20 (int) fd_old, OLD_FILE, (int) fd_new, NEW_FILE, in main()
|
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTestCase.groovy | 40 protected String NEW_FILE = null 53 assert !fileSystem.exists(NEW_FILE) 102 assert !fileSystem.exists(NEW_FILE), "Before createFile" 103 fileSystem.add(new FileEntry(NEW_FILE)) 104 assert fileSystem.exists(NEW_FILE), "After createFile" 108 fileSystem.add(new FileEntry(NEW_FILE)) 219 fileSystem.add(new FileEntry(NEW_FILE)) 220 assert fileSystem.delete(NEW_FILE) 221 assert !fileSystem.exists(NEW_FILE) 239 final FROM_FILE = NEW_FILE + "2" [all …]
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTestCase.groovy | 40 protected String NEW_FILE = null 53 assert !fileSystem.exists(NEW_FILE) 102 assert !fileSystem.exists(NEW_FILE), "Before createFile" 103 fileSystem.add(new FileEntry(NEW_FILE)) 104 assert fileSystem.exists(NEW_FILE), "After createFile" 108 fileSystem.add(new FileEntry(NEW_FILE)) 219 fileSystem.add(new FileEntry(NEW_FILE)) 220 assert fileSystem.delete(NEW_FILE) 221 assert !fileSystem.exists(NEW_FILE) 239 final FROM_FILE = NEW_FILE + "2" [all …]
|
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTestCase.groovy | 40 protected String NEW_FILE = null 53 assert !fileSystem.exists(NEW_FILE) 102 assert !fileSystem.exists(NEW_FILE), "Before createFile" 103 fileSystem.add(new FileEntry(NEW_FILE)) 104 assert fileSystem.exists(NEW_FILE), "After createFile" 108 fileSystem.add(new FileEntry(NEW_FILE)) 219 fileSystem.add(new FileEntry(NEW_FILE)) 220 assert fileSystem.delete(NEW_FILE) 221 assert !fileSystem.exists(NEW_FILE) 239 final FROM_FILE = NEW_FILE + "2" [all …]
|
D | AbstractFakeFileSystemTestCase.groovy | 40 def fileEntry = new FileEntry(NEW_FILE) 81 def entries = [new FileEntry(NEW_FILE), new DirectoryEntry(NEW_DIR)] 84 assert fileSystem.exists(NEW_FILE) 124 … def fileEntry = new FileEntry(path: NEW_FILE, lastModified: DATE, contents: 'abc', owner: 'owner', 127 def entry = fileSystem.getEntry(NEW_FILE) 129 assert entry.path == NEW_FILE
|
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTestCase.groovy | 40 protected String NEW_FILE = null 53 assert !fileSystem.exists(NEW_FILE) 102 assert !fileSystem.exists(NEW_FILE), "Before createFile" 103 fileSystem.add(new FileEntry(NEW_FILE)) 104 assert fileSystem.exists(NEW_FILE), "After createFile" 108 fileSystem.add(new FileEntry(NEW_FILE)) 219 fileSystem.add(new FileEntry(NEW_FILE)) 220 assert fileSystem.delete(NEW_FILE) 221 assert !fileSystem.exists(NEW_FILE) 239 final FROM_FILE = NEW_FILE + "2" [all …]
|
D | AbstractFakeFileSystemTestCase.groovy | 40 def fileEntry = new FileEntry(NEW_FILE) 81 def entries = [new FileEntry(NEW_FILE), new DirectoryEntry(NEW_DIR)] 84 assert fileSystem.exists(NEW_FILE) 124 … def fileEntry = new FileEntry(path: NEW_FILE, lastModified: DATE, contents: 'abc', owner: 'owner', 127 def entry = fileSystem.getEntry(NEW_FILE) 129 assert entry.path == NEW_FILE
|
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTestCase.groovy | 40 protected String NEW_FILE = null 53 assert !fileSystem.exists(NEW_FILE) 102 assert !fileSystem.exists(NEW_FILE), "Before createFile" 103 fileSystem.add(new FileEntry(NEW_FILE)) 104 assert fileSystem.exists(NEW_FILE), "After createFile" 108 fileSystem.add(new FileEntry(NEW_FILE)) 219 fileSystem.add(new FileEntry(NEW_FILE)) 220 assert fileSystem.delete(NEW_FILE) 221 assert !fileSystem.exists(NEW_FILE) 239 final FROM_FILE = NEW_FILE + "2" [all …]
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 40 protected String NEW_FILE = null 53 assert !fileSystem.exists(NEW_FILE) 98 assert !fileSystem.exists(NEW_FILE), "Before createFile" 99 fileSystem.add(new FileEntry(NEW_FILE)) 100 assert fileSystem.exists(NEW_FILE), "After createFile" 103 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE)) } 208 fileSystem.add(new FileEntry(NEW_FILE)) 209 assert fileSystem.delete(NEW_FILE) 210 assert !fileSystem.exists(NEW_FILE) 228 final String FROM_FILE = NEW_FILE + "2" [all …]
|
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 40 protected String NEW_FILE = null 53 assert !fileSystem.exists(NEW_FILE) 98 assert !fileSystem.exists(NEW_FILE), "Before createFile" 99 fileSystem.add(new FileEntry(NEW_FILE)) 100 assert fileSystem.exists(NEW_FILE), "After createFile" 103 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE)) } 208 fileSystem.add(new FileEntry(NEW_FILE)) 209 assert fileSystem.delete(NEW_FILE) 210 assert !fileSystem.exists(NEW_FILE) 228 final String FROM_FILE = NEW_FILE + "2" [all …]
|
D | AbstractFakeFileSystemTest.groovy | 40 def fileEntry = new FileEntry(NEW_FILE) 81 def entries = [new FileEntry(NEW_FILE), new DirectoryEntry(NEW_DIR)] 84 assert fileSystem.exists(NEW_FILE) 124 … def fileEntry = new FileEntry(path: NEW_FILE, lastModified: DATE, contents: 'abc', owner: 'owner', 127 def entry = fileSystem.getEntry(NEW_FILE) 129 assert entry.path == NEW_FILE
|
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 40 protected String NEW_FILE = null 53 assert !fileSystem.exists(NEW_FILE) 98 assert !fileSystem.exists(NEW_FILE), "Before createFile" 99 fileSystem.add(new FileEntry(NEW_FILE)) 100 assert fileSystem.exists(NEW_FILE), "After createFile" 103 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE)) } 208 fileSystem.add(new FileEntry(NEW_FILE)) 209 assert fileSystem.delete(NEW_FILE) 210 assert !fileSystem.exists(NEW_FILE) 228 final String FROM_FILE = NEW_FILE + "2" [all …]
|
D | AbstractFakeFileSystemTest.groovy | 40 def fileEntry = new FileEntry(NEW_FILE) 81 def entries = [new FileEntry(NEW_FILE), new DirectoryEntry(NEW_DIR)] 84 assert fileSystem.exists(NEW_FILE) 124 … def fileEntry = new FileEntry(path: NEW_FILE, lastModified: DATE, contents: 'abc', owner: 'owner', 127 def entry = fileSystem.getEntry(NEW_FILE) 129 assert entry.path == NEW_FILE
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 40 protected String NEW_FILE = null 53 assert !fileSystem.exists(NEW_FILE) 98 assert !fileSystem.exists(NEW_FILE), "Before createFile" 99 fileSystem.add(new FileEntry(NEW_FILE)) 100 assert fileSystem.exists(NEW_FILE), "After createFile" 103 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE)) } 208 fileSystem.add(new FileEntry(NEW_FILE)) 209 assert fileSystem.delete(NEW_FILE) 210 assert !fileSystem.exists(NEW_FILE) 228 final String FROM_FILE = NEW_FILE + "2" [all …]
|
D | AbstractFakeFileSystemTest.groovy | 40 def fileEntry = new FileEntry(NEW_FILE) 81 def entries = [new FileEntry(NEW_FILE), new DirectoryEntry(NEW_DIR)] 84 assert fileSystem.exists(NEW_FILE) 124 … def fileEntry = new FileEntry(path: NEW_FILE, lastModified: DATE, contents: 'abc', owner: 'owner', 127 def entry = fileSystem.getEntry(NEW_FILE) 129 assert entry.path == NEW_FILE
|
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 40 protected String NEW_FILE = null 53 assert !fileSystem.exists(NEW_FILE) 98 assert !fileSystem.exists(NEW_FILE), "Before createFile" 99 fileSystem.add(new FileEntry(NEW_FILE)) 100 assert fileSystem.exists(NEW_FILE), "After createFile" 103 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE)) } 208 fileSystem.add(new FileEntry(NEW_FILE)) 209 assert fileSystem.delete(NEW_FILE) 210 assert !fileSystem.exists(NEW_FILE) 228 final String FROM_FILE = NEW_FILE + "2" [all …]
|
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 40 protected String NEW_FILE = null 53 assert !fileSystem.exists(NEW_FILE) 98 assert !fileSystem.exists(NEW_FILE), "Before createFile" 99 fileSystem.add(new FileEntry(NEW_FILE)) 100 assert fileSystem.exists(NEW_FILE), "After createFile" 103 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE)) } 208 fileSystem.add(new FileEntry(NEW_FILE)) 209 assert fileSystem.delete(NEW_FILE) 210 assert !fileSystem.exists(NEW_FILE) 228 final String FROM_FILE = NEW_FILE + "2" [all …]
|
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 40 protected String NEW_FILE = null 53 assert !fileSystem.exists(NEW_FILE) 98 assert !fileSystem.exists(NEW_FILE), "Before createFile" 99 fileSystem.add(new FileEntry(NEW_FILE)) 100 assert fileSystem.exists(NEW_FILE), "After createFile" 103 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE)) } 208 fileSystem.add(new FileEntry(NEW_FILE)) 209 assert fileSystem.delete(NEW_FILE) 210 assert !fileSystem.exists(NEW_FILE) 228 final String FROM_FILE = NEW_FILE + "2" [all …]
|
D | AbstractFakeFileSystemTest.groovy | 40 def fileEntry = new FileEntry(NEW_FILE) 81 def entries = [new FileEntry(NEW_FILE), new DirectoryEntry(NEW_DIR)] 84 assert fileSystem.exists(NEW_FILE) 124 … def fileEntry = new FileEntry(path: NEW_FILE, lastModified: DATE, contents: 'abc', owner: 'owner', 127 def entry = fileSystem.getEntry(NEW_FILE) 129 assert entry.path == NEW_FILE
|