Home
last modified time | relevance | path

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

123456

/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-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.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.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/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.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.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/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-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-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.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy220 * Test the listNames() method
224 assert fileSystem.listNames(NEW_DIR) == []
231 List filenames = fileSystem.listNames(NEW_DIR)
235 assert [] == fileSystem.listNames(NO_SUCH_DIR)
236 assert [] == fileSystem.listNames(NEW_DIR + "/" + FILENAME1)
238 shouldFailWithMessageContaining("path") { fileSystem.listNames(null) }

123456