Home
last modified time | relevance | path

Searched refs:listNames (Results 1 – 25 of 141) sorted by relevance

123456

/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTestCase.groovy135 assert fileSystem.listNames(NEW_DIR) == []
142 List filenames = fileSystem.listNames(NEW_DIR)
147 assert [FILENAME1] == fileSystem.listNames(p(NEW_DIR, FILENAME1))
149 assert [] == fileSystem.listNames(NO_SUCH_DIR)
151 shouldFailWithMessageContaining("path") { fileSystem.listNames(null) }
159 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.txt')), ['abc.txt', 'def.txt'])
160 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*')), ['abc.txt', 'def.txt'])
161 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '???.???')), ['abc.txt', 'def.txt'])
162 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.exe')), [])
163 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, 'abc.???')), ['abc.txt'])
[all …]
DTestUnixFakeFileSystem.groovy47 List listNames(String path) {
51 super.listNames(path)
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy124 assert fileSystem.listNames(NEW_DIR) == []
131 List filenames = fileSystem.listNames(NEW_DIR)
136 assert [FILENAME1] == fileSystem.listNames(p(NEW_DIR, FILENAME1))
138 assert [] == fileSystem.listNames(NO_SUCH_DIR)
140 shouldFailWithMessageContaining("path") { fileSystem.listNames(null) }
148 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.txt')), ['abc.txt', 'def.txt'])
149 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*')), ['abc.txt', 'def.txt'])
150 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '???.???')), ['abc.txt', 'def.txt'])
151 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.exe')), [])
152 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, 'abc.???')), ['abc.txt'])
[all …]
DTestUnixFakeFileSystem.groovy47 List listNames(String path) {
51 super.listNames(path)
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy124 assert fileSystem.listNames(NEW_DIR) == []
131 List filenames = fileSystem.listNames(NEW_DIR)
136 assert [FILENAME1] == fileSystem.listNames(p(NEW_DIR, FILENAME1))
138 assert [] == fileSystem.listNames(NO_SUCH_DIR)
140 shouldFailWithMessageContaining("path") { fileSystem.listNames(null) }
148 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.txt')), ['abc.txt', 'def.txt'])
149 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*')), ['abc.txt', 'def.txt'])
150 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '???.???')), ['abc.txt', 'def.txt'])
151 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.exe')), [])
152 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, 'abc.???')), ['abc.txt'])
[all …]
DTestUnixFakeFileSystem.groovy47 List listNames(String path) {
51 super.listNames(path)
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy124 assert fileSystem.listNames(NEW_DIR) == []
131 List filenames = fileSystem.listNames(NEW_DIR)
136 assert [FILENAME1] == fileSystem.listNames(p(NEW_DIR, FILENAME1))
138 assert [] == fileSystem.listNames(NO_SUCH_DIR)
140 shouldFailWithMessageContaining("path") { fileSystem.listNames(null) }
148 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.txt')), ['abc.txt', 'def.txt'])
149 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*')), ['abc.txt', 'def.txt'])
150 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '???.???')), ['abc.txt', 'def.txt'])
151 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.exe')), [])
152 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, 'abc.???')), ['abc.txt'])
[all …]
DTestUnixFakeFileSystem.groovy47 List listNames(String path) {
51 super.listNames(path)
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTestCase.groovy135 assert fileSystem.listNames(NEW_DIR) == []
142 List filenames = fileSystem.listNames(NEW_DIR)
147 assert [FILENAME1] == fileSystem.listNames(p(NEW_DIR, FILENAME1))
149 assert [] == fileSystem.listNames(NO_SUCH_DIR)
151 shouldFailWithMessageContaining("path") { fileSystem.listNames(null) }
159 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.txt')), ['abc.txt', 'def.txt'])
160 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*')), ['abc.txt', 'def.txt'])
161 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '???.???')), ['abc.txt', 'def.txt'])
162 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.exe')), [])
163 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, 'abc.???')), ['abc.txt'])
[all …]
DTestUnixFakeFileSystem.groovy47 List listNames(String path) {
51 super.listNames(path)
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy124 assert fileSystem.listNames(NEW_DIR) == []
131 List filenames = fileSystem.listNames(NEW_DIR)
136 assert [FILENAME1] == fileSystem.listNames(p(NEW_DIR, FILENAME1))
138 assert [] == fileSystem.listNames(NO_SUCH_DIR)
140 shouldFailWithMessageContaining("path") { fileSystem.listNames(null) }
148 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.txt')), ['abc.txt', 'def.txt'])
149 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*')), ['abc.txt', 'def.txt'])
150 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '???.???')), ['abc.txt', 'def.txt'])
151 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.exe')), [])
152 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, 'abc.???')), ['abc.txt'])
[all …]
DTestUnixFakeFileSystem.groovy47 List listNames(String path) {
51 super.listNames(path)
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTestCase.groovy135 assert fileSystem.listNames(NEW_DIR) == []
142 List filenames = fileSystem.listNames(NEW_DIR)
147 assert [FILENAME1] == fileSystem.listNames(p(NEW_DIR, FILENAME1))
149 assert [] == fileSystem.listNames(NO_SUCH_DIR)
151 shouldFailWithMessageContaining("path") { fileSystem.listNames(null) }
159 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.txt')), ['abc.txt', 'def.txt'])
160 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*')), ['abc.txt', 'def.txt'])
161 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '???.???')), ['abc.txt', 'def.txt'])
162 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.exe')), [])
163 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, 'abc.???')), ['abc.txt'])
[all …]
DTestUnixFakeFileSystem.groovy47 List listNames(String path) {
51 super.listNames(path)
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTestCase.groovy135 assert fileSystem.listNames(NEW_DIR) == []
142 List filenames = fileSystem.listNames(NEW_DIR)
147 assert [FILENAME1] == fileSystem.listNames(p(NEW_DIR, FILENAME1))
149 assert [] == fileSystem.listNames(NO_SUCH_DIR)
151 shouldFailWithMessageContaining("path") { fileSystem.listNames(null) }
159 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.txt')), ['abc.txt', 'def.txt'])
160 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*')), ['abc.txt', 'def.txt'])
161 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '???.???')), ['abc.txt', 'def.txt'])
162 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.exe')), [])
163 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, 'abc.???')), ['abc.txt'])
[all …]
DTestUnixFakeFileSystem.groovy47 List listNames(String path) {
51 super.listNames(path)
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy124 assert fileSystem.listNames(NEW_DIR) == []
131 List filenames = fileSystem.listNames(NEW_DIR)
136 assert [FILENAME1] == fileSystem.listNames(p(NEW_DIR, FILENAME1))
138 assert [] == fileSystem.listNames(NO_SUCH_DIR)
140 shouldFailWithMessageContaining("path") { fileSystem.listNames(null) }
148 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.txt')), ['abc.txt', 'def.txt'])
149 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*')), ['abc.txt', 'def.txt'])
150 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '???.???')), ['abc.txt', 'def.txt'])
151 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.exe')), [])
152 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, 'abc.???')), ['abc.txt'])
[all …]
DTestUnixFakeFileSystem.groovy47 List listNames(String path) {
51 super.listNames(path)
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy124 assert fileSystem.listNames(NEW_DIR) == []
131 List filenames = fileSystem.listNames(NEW_DIR)
136 assert [FILENAME1] == fileSystem.listNames(p(NEW_DIR, FILENAME1))
138 assert [] == fileSystem.listNames(NO_SUCH_DIR)
140 shouldFailWithMessageContaining("path") { fileSystem.listNames(null) }
148 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.txt')), ['abc.txt', 'def.txt'])
149 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*')), ['abc.txt', 'def.txt'])
150 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '???.???')), ['abc.txt', 'def.txt'])
151 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.exe')), [])
152 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, 'abc.???')), ['abc.txt'])
[all …]
DTestUnixFakeFileSystem.groovy47 List listNames(String path) {
51 super.listNames(path)
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy124 assert fileSystem.listNames(NEW_DIR) == []
131 List filenames = fileSystem.listNames(NEW_DIR)
136 assert [FILENAME1] == fileSystem.listNames(p(NEW_DIR, FILENAME1))
138 assert [] == fileSystem.listNames(NO_SUCH_DIR)
140 shouldFailWithMessageContaining("path") { fileSystem.listNames(null) }
148 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.txt')), ['abc.txt', 'def.txt'])
149 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*')), ['abc.txt', 'def.txt'])
150 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '???.???')), ['abc.txt', 'def.txt'])
151 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.exe')), [])
152 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, 'abc.???')), ['abc.txt'])
[all …]
DTestUnixFakeFileSystem.groovy47 List listNames(String path) {
51 super.listNames(path)
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTestCase.groovy135 assert fileSystem.listNames(NEW_DIR) == []
142 List filenames = fileSystem.listNames(NEW_DIR)
147 assert [FILENAME1] == fileSystem.listNames(p(NEW_DIR, FILENAME1))
149 assert [] == fileSystem.listNames(NO_SUCH_DIR)
151 shouldFailWithMessageContaining("path") { fileSystem.listNames(null) }
159 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.txt')), ['abc.txt', 'def.txt'])
160 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*')), ['abc.txt', 'def.txt'])
161 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '???.???')), ['abc.txt', 'def.txt'])
162 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, '*.exe')), [])
163 assertSameIgnoringOrder(fileSystem.listNames(p(NEW_DIR, 'abc.???')), ['abc.txt'])
[all …]
DTestUnixFakeFileSystem.groovy47 List listNames(String path) {
51 super.listNames(path)
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/
DFakeFtpServerIntegrationTest.groovy207 String[] filenames = ftpClient.listNames(SUBDIR)
209 verifyReplyCode("listNames", 226)
225 String[] filenames = ftpClient.listNames(SUBDIR)
227 verifyReplyCode("listNames", 226)
306 def names = fileSystem.listNames(HOME_DIR)

123456