Home
last modified time | relevance | path

Searched refs:NEW_FILE (Results 1 – 25 of 61) sorted by relevance

123

/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy50 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/
Drename.c10 # 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()
Drenameat.c10 # 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/
Drename.c10 # 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()
Drenameat.c10 # 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/
Drename.c10 # 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()
Drenameat.c10 # 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/
DAbstractFileSystemTestCase.groovy40 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/
DAbstractFileSystemTestCase.groovy40 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/
DAbstractFileSystemTestCase.groovy40 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 …]
DAbstractFakeFileSystemTestCase.groovy40 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/
DAbstractFileSystemTestCase.groovy40 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 …]
DAbstractFakeFileSystemTestCase.groovy40 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/
DAbstractFileSystemTestCase.groovy40 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/
DAbstractFileSystemTest.groovy40 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/
DAbstractFileSystemTest.groovy40 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 …]
DAbstractFakeFileSystemTest.groovy40 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/
DAbstractFileSystemTest.groovy40 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 …]
DAbstractFakeFileSystemTest.groovy40 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/
DAbstractFileSystemTest.groovy40 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 …]
DAbstractFakeFileSystemTest.groovy40 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/
DAbstractFileSystemTest.groovy40 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/
DAbstractFileSystemTest.groovy40 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/
DAbstractFileSystemTest.groovy40 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 …]
DAbstractFakeFileSystemTest.groovy40 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

123