Home
last modified time | relevance | path

Searched refs:fileSystem (Results 1 – 25 of 381) sorted by relevance

12345678910>>...16

/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTestCase.groovy46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
64 assert !fileSystem.isDirectory(EXISTING_FILE)
65 assert !fileSystem.isDirectory(NO_SUCH_DIR)
[all …]
DWindowsFakeFileSystemTest.groovy46 assertFalse(X, fileSystem.exists(X))
47 assertFalse(Y, fileSystem.exists(Y))
49 fileSystem.add(new DirectoryEntry(X))
50 fileSystem.add(new DirectoryEntry(Y))
52 assertTrue(X, fileSystem.exists(X))
53 assertTrue(Y, fileSystem.exists(Y))
57 assert fileSystem.path(null, null) == ""
58 assert fileSystem.path(null, "abc") == "abc"
59 assert fileSystem.path("abc", null) == "abc"
60 assert fileSystem.path("", "") == ""
[all …]
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTestCase.groovy46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
64 assert !fileSystem.isDirectory(EXISTING_FILE)
65 assert !fileSystem.isDirectory(NO_SUCH_DIR)
[all …]
DWindowsFakeFileSystemTest.groovy46 assertFalse(X, fileSystem.exists(X))
47 assertFalse(Y, fileSystem.exists(Y))
49 fileSystem.add(new DirectoryEntry(X))
50 fileSystem.add(new DirectoryEntry(Y))
52 assertTrue(X, fileSystem.exists(X))
53 assertTrue(Y, fileSystem.exists(Y))
57 assert fileSystem.path(null, null) == ""
58 assert fileSystem.path(null, "abc") == "abc"
59 assert fileSystem.path("abc", null) == "abc"
60 assert fileSystem.path("", "") == ""
[all …]
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTestCase.groovy46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
64 assert !fileSystem.isDirectory(EXISTING_FILE)
65 assert !fileSystem.isDirectory(NO_SUCH_DIR)
[all …]
DWindowsFakeFileSystemTest.groovy46 assertFalse(X, fileSystem.exists(X))
47 assertFalse(Y, fileSystem.exists(Y))
49 fileSystem.add(new DirectoryEntry(X))
50 fileSystem.add(new DirectoryEntry(Y))
52 assertTrue(X, fileSystem.exists(X))
53 assertTrue(Y, fileSystem.exists(Y))
57 assert fileSystem.path(null, null) == ""
58 assert fileSystem.path(null, "abc") == "abc"
59 assert fileSystem.path("abc", null) == "abc"
60 assert fileSystem.path("", "") == ""
[all …]
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTestCase.groovy46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
64 assert !fileSystem.isDirectory(EXISTING_FILE)
65 assert !fileSystem.isDirectory(NO_SUCH_DIR)
[all …]
DWindowsFakeFileSystemTest.groovy46 assertFalse(X, fileSystem.exists(X))
47 assertFalse(Y, fileSystem.exists(Y))
49 fileSystem.add(new DirectoryEntry(X))
50 fileSystem.add(new DirectoryEntry(Y))
52 assertTrue(X, fileSystem.exists(X))
53 assertTrue(Y, fileSystem.exists(Y))
57 assert fileSystem.path(null, null) == ""
58 assert fileSystem.path(null, "abc") == "abc"
59 assert fileSystem.path("abc", null) == "abc"
60 assert fileSystem.path("", "") == ""
[all …]
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTestCase.groovy46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
64 assert !fileSystem.isDirectory(EXISTING_FILE)
65 assert !fileSystem.isDirectory(NO_SUCH_DIR)
[all …]
DWindowsFakeFileSystemTest.groovy46 assertFalse(X, fileSystem.exists(X))
47 assertFalse(Y, fileSystem.exists(Y))
49 fileSystem.add(new DirectoryEntry(X))
50 fileSystem.add(new DirectoryEntry(Y))
52 assertTrue(X, fileSystem.exists(X))
53 assertTrue(Y, fileSystem.exists(Y))
57 assert fileSystem.path(null, null) == ""
58 assert fileSystem.path(null, "abc") == "abc"
59 assert fileSystem.path("abc", null) == "abc"
60 assert fileSystem.path("", "") == ""
[all …]
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
64 assert !fileSystem.isDirectory(EXISTING_FILE)
65 assert !fileSystem.isDirectory(NO_SUCH_DIR)
[all …]
DWindowsFakeFileSystemTest.groovy48 assertFalse(X, fileSystem.exists(X))
49 assertFalse(Y, fileSystem.exists(Y))
51 fileSystem.add(new DirectoryEntry(X))
52 fileSystem.add(new DirectoryEntry(Y))
54 assertTrue(X, fileSystem.exists(X))
55 assertTrue(Y, fileSystem.exists(Y))
59 assert fileSystem.path(null, null) == ""
60 assert fileSystem.path(null, "abc") == "abc"
61 assert fileSystem.path("abc", null) == "abc"
62 assert fileSystem.path("", "") == ""
[all …]
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
64 assert !fileSystem.isDirectory(EXISTING_FILE)
65 assert !fileSystem.isDirectory(NO_SUCH_DIR)
[all …]
DWindowsFakeFileSystemTest.groovy48 assertFalse(X, fileSystem.exists(X))
49 assertFalse(Y, fileSystem.exists(Y))
51 fileSystem.add(new DirectoryEntry(X))
52 fileSystem.add(new DirectoryEntry(Y))
54 assertTrue(X, fileSystem.exists(X))
55 assertTrue(Y, fileSystem.exists(Y))
59 assert fileSystem.path(null, null) == ""
60 assert fileSystem.path(null, "abc") == "abc"
61 assert fileSystem.path("abc", null) == "abc"
62 assert fileSystem.path("", "") == ""
[all …]
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
64 assert !fileSystem.isDirectory(EXISTING_FILE)
65 assert !fileSystem.isDirectory(NO_SUCH_DIR)
[all …]
DWindowsFakeFileSystemTest.groovy48 assertFalse(X, fileSystem.exists(X))
49 assertFalse(Y, fileSystem.exists(Y))
51 fileSystem.add(new DirectoryEntry(X))
52 fileSystem.add(new DirectoryEntry(Y))
54 assertTrue(X, fileSystem.exists(X))
55 assertTrue(Y, fileSystem.exists(Y))
59 assert fileSystem.path(null, null) == ""
60 assert fileSystem.path(null, "abc") == "abc"
61 assert fileSystem.path("abc", null) == "abc"
62 assert fileSystem.path("", "") == ""
[all …]
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
64 assert !fileSystem.isDirectory(EXISTING_FILE)
65 assert !fileSystem.isDirectory(NO_SUCH_DIR)
[all …]
DWindowsFakeFileSystemTest.groovy48 assertFalse(X, fileSystem.exists(X))
49 assertFalse(Y, fileSystem.exists(Y))
51 fileSystem.add(new DirectoryEntry(X))
52 fileSystem.add(new DirectoryEntry(Y))
54 assertTrue(X, fileSystem.exists(X))
55 assertTrue(Y, fileSystem.exists(Y))
59 assert fileSystem.path(null, null) == ""
60 assert fileSystem.path(null, "abc") == "abc"
61 assert fileSystem.path("abc", null) == "abc"
62 assert fileSystem.path("", "") == ""
[all …]
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
64 assert !fileSystem.isDirectory(EXISTING_FILE)
65 assert !fileSystem.isDirectory(NO_SUCH_DIR)
[all …]
DWindowsFakeFileSystemTest.groovy48 assertFalse(X, fileSystem.exists(X))
49 assertFalse(Y, fileSystem.exists(Y))
51 fileSystem.add(new DirectoryEntry(X))
52 fileSystem.add(new DirectoryEntry(Y))
54 assertTrue(X, fileSystem.exists(X))
55 assertTrue(Y, fileSystem.exists(Y))
59 assert fileSystem.path(null, null) == ""
60 assert fileSystem.path(null, "abc") == "abc"
61 assert fileSystem.path("abc", null) == "abc"
62 assert fileSystem.path("", "") == ""
[all …]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
64 assert !fileSystem.isDirectory(EXISTING_FILE)
65 assert !fileSystem.isDirectory(NO_SUCH_DIR)
[all …]
DWindowsFakeFileSystemTest.groovy48 assertFalse(X, fileSystem.exists(X))
49 assertFalse(Y, fileSystem.exists(Y))
51 fileSystem.add(new DirectoryEntry(X))
52 fileSystem.add(new DirectoryEntry(Y))
54 assertTrue(X, fileSystem.exists(X))
55 assertTrue(Y, fileSystem.exists(Y))
59 assert fileSystem.path(null, null) == ""
60 assert fileSystem.path(null, "abc") == "abc"
61 assert fileSystem.path("abc", null) == "abc"
62 assert fileSystem.path("", "") == ""
[all …]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
64 assert !fileSystem.isDirectory(EXISTING_FILE)
65 assert !fileSystem.isDirectory(NO_SUCH_DIR)
[all …]
DWindowsFakeFileSystemTest.groovy48 assertFalse(X, fileSystem.exists(X))
49 assertFalse(Y, fileSystem.exists(Y))
51 fileSystem.add(new DirectoryEntry(X))
52 fileSystem.add(new DirectoryEntry(Y))
54 assertTrue(X, fileSystem.exists(X))
55 assertTrue(Y, fileSystem.exists(Y))
59 assert fileSystem.path(null, null) == ""
60 assert fileSystem.path(null, "abc") == "abc"
61 assert fileSystem.path("abc", null) == "abc"
62 assert fileSystem.path("", "") == ""
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy56 protected FileSystem fileSystem
66 assert !fileSystem.exists(NEW_FILE)
67 assert !fileSystem.exists(NEW_DIR)
68 assert !fileSystem.exists(ILLEGAL_FILE)
69 assert fileSystem.exists(EXISTING_FILE)
70 assert fileSystem.exists(EXISTING_DIR)
72 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
79 assert fileSystem.isDirectory(EXISTING_DIR)
80 assert !fileSystem.isDirectory(EXISTING_FILE)
81 assert !fileSystem.isDirectory(NO_SUCH_DIR)
[all …]

12345678910>>...16