Home
last modified time | relevance | path

Searched refs:createDirectory (Results 1 – 25 of 258) sorted by relevance

1234567891011

/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystemTest.groovy57 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
58 assert !fileSystem.exists(NEW_SUBDIR), "Before createDirectory"
60 assert fileSystem.createDirectory(NEW_SUBDIR)
61 assert fileSystem.exists(NEW_DIR), "After createDirectory"
62 assert fileSystem.exists(NEW_SUBDIR), "$NEW_SUBDIR: After createDirectory"
68 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
69 assert !fileSystem.exists(NEW_FILE_IN_SUBDIR), "Before createDirectory"
72 assert fileSystem.exists(NEW_DIR), "After createDirectory"
73 assert fileSystem.exists(NEW_FILE_IN_SUBDIR), "$NEW_FILE_IN_SUBDIR: After createDirectory"
DAbstractFileSystemTest.groovy102 * Test the createDirectory() method
105 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
106 assert fileSystem.createDirectory(NEW_DIR)
107 assert fileSystem.exists(NEW_DIR), "After createDirectory"
110 assert !fileSystem.createDirectory(NEW_DIR), "Duplicate directory"
113 assert !fileSystem.createDirectory(NEW_DIR + "/abc/def"), "Parent does not exist"
115 shouldFailWithMessageContaining("path") { fileSystem.createDirectory(null) }
223 assert fileSystem.createDirectory(NEW_DIR)
228 assert fileSystem.createDirectory(NEW_DIR + "/" + DIR1)
246 assert fileSystem.createDirectory(NEW_DIR)
[all …]
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DPollingWatchServiceTest.java86 Key key = watcher.register(createDirectory(), ImmutableList.of(ENTRY_CREATE)); in testRegister()
114 Key key = watcher.register(createDirectory(), ImmutableList.of(ENTRY_CREATE)); in testCancellingLastKeyStopsPolling()
120 Key key2 = watcher.register(createDirectory(), ImmutableList.of(ENTRY_CREATE)); in testCancellingLastKeyStopsPolling()
121 Key key3 = watcher.register(createDirectory(), ImmutableList.of(ENTRY_DELETE)); in testCancellingLastKeyStopsPolling()
136 Key key1 = watcher.register(createDirectory(), ImmutableList.of(ENTRY_CREATE)); in testCloseCancelsAllKeysAndStopsPolling()
137 Key key2 = watcher.register(createDirectory(), ImmutableList.of(ENTRY_DELETE)); in testCloseCancelsAllKeysAndStopsPolling()
152 JimfsPath path = createDirectory(); in testWatchForOneEventType()
169 JimfsPath path = createDirectory(); in testWatchForMultipleEventTypes()
172 Files.createDirectory(path.resolve("foo")); in testWatchForMultipleEventTypes()
242 private JimfsPath createDirectory() throws IOException { in createDirectory() method in PollingWatchServiceTest
[all …]
DFileTreeTest.java128 workingDirectory = createDirectory("/", "work"); in setUp()
130 createDirectory("work", "one"); in setUp()
131 createDirectory("one", "two"); in setUp()
133 createDirectory("two", "three"); in setUp()
134 createDirectory("work", "four"); in setUp()
138 createDirectory("/", "foo"); in setUp()
139 createDirectory("foo", "bar"); in setUp()
140 createDirectory("$", "a"); in setUp()
141 createDirectory("a", "b"); in setUp()
142 createDirectory("b", "c"); in setUp()
[all …]
DJimfsUnixLikeFileSystemTest.java397 Files.createDirectory(path("/test")); in testCreateDirectory_absolute()
402 Files.createDirectory(path("/foo")); in testCreateDirectory_absolute()
403 Files.createDirectory(path("/foo/bar")); in testCreateDirectory_absolute()
416 Files.createDirectory(path("/foo")); in testCreateFile_absolute()
430 Files.createDirectory(path("/foo")); in testCreateSymbolicLink_absolute()
447 Files.createDirectory(path("/foo")); in testCreateLink_absolute()
456 Files.createDirectory(path("test")); in testCreateDirectory_relative()
463 Files.createDirectory(path("foo")); in testCreateDirectory_relative()
464 Files.createDirectory(path("foo/bar")); in testCreateDirectory_relative()
482 Files.createDirectory(path("foo")); in testCreateFile_relative()
[all …]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystemTest.groovy50 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
51 assert !fileSystem.exists(NEW_SUBDIR), "Before createDirectory"
55 assert fileSystem.exists(NEW_DIR), "After createDirectory"
56 assert fileSystem.exists(NEW_SUBDIR), "$NEW_SUBDIR: After createDirectory"
61 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
62 assert !fileSystem.exists(NEW_FILE_IN_SUBDIR), "Before createDirectory"
66 assert fileSystem.exists(NEW_DIR), "After createDirectory"
67 assert fileSystem.exists(NEW_FILE_IN_SUBDIR), "$NEW_FILE_IN_SUBDIR: After createDirectory"
73 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
76 assert !fileSystem.exists(NEW_DIR), "After createDirectory"
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystemTest.groovy50 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
51 assert !fileSystem.exists(NEW_SUBDIR), "Before createDirectory"
55 assert fileSystem.exists(NEW_DIR), "After createDirectory"
56 assert fileSystem.exists(NEW_SUBDIR), "$NEW_SUBDIR: After createDirectory"
61 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
62 assert !fileSystem.exists(NEW_FILE_IN_SUBDIR), "Before createDirectory"
66 assert fileSystem.exists(NEW_DIR), "After createDirectory"
67 assert fileSystem.exists(NEW_FILE_IN_SUBDIR), "$NEW_FILE_IN_SUBDIR: After createDirectory"
73 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
76 assert !fileSystem.exists(NEW_DIR), "After createDirectory"
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystemTest.groovy50 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
51 assert !fileSystem.exists(NEW_SUBDIR), "Before createDirectory"
55 assert fileSystem.exists(NEW_DIR), "After createDirectory"
56 assert fileSystem.exists(NEW_SUBDIR), "$NEW_SUBDIR: After createDirectory"
61 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
62 assert !fileSystem.exists(NEW_FILE_IN_SUBDIR), "Before createDirectory"
66 assert fileSystem.exists(NEW_DIR), "After createDirectory"
67 assert fileSystem.exists(NEW_FILE_IN_SUBDIR), "$NEW_FILE_IN_SUBDIR: After createDirectory"
73 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
76 assert !fileSystem.exists(NEW_DIR), "After createDirectory"
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystemTest.groovy50 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
51 assert !fileSystem.exists(NEW_SUBDIR), "Before createDirectory"
55 assert fileSystem.exists(NEW_DIR), "After createDirectory"
56 assert fileSystem.exists(NEW_SUBDIR), "$NEW_SUBDIR: After createDirectory"
61 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
62 assert !fileSystem.exists(NEW_FILE_IN_SUBDIR), "Before createDirectory"
66 assert fileSystem.exists(NEW_DIR), "After createDirectory"
67 assert fileSystem.exists(NEW_FILE_IN_SUBDIR), "$NEW_FILE_IN_SUBDIR: After createDirectory"
73 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
76 assert !fileSystem.exists(NEW_DIR), "After createDirectory"
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystemTest.groovy50 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
51 assert !fileSystem.exists(NEW_SUBDIR), "Before createDirectory"
55 assert fileSystem.exists(NEW_DIR), "After createDirectory"
56 assert fileSystem.exists(NEW_SUBDIR), "$NEW_SUBDIR: After createDirectory"
61 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
62 assert !fileSystem.exists(NEW_FILE_IN_SUBDIR), "Before createDirectory"
66 assert fileSystem.exists(NEW_DIR), "After createDirectory"
67 assert fileSystem.exists(NEW_FILE_IN_SUBDIR), "$NEW_FILE_IN_SUBDIR: After createDirectory"
73 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
76 assert !fileSystem.exists(NEW_DIR), "After createDirectory"
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystemTestCase.groovy50 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
51 assert !fileSystem.exists(NEW_SUBDIR), "Before createDirectory"
55 assert fileSystem.exists(NEW_DIR), "After createDirectory"
56 assert fileSystem.exists(NEW_SUBDIR), "$NEW_SUBDIR: After createDirectory"
61 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
62 assert !fileSystem.exists(NEW_FILE_IN_SUBDIR), "Before createDirectory"
66 assert fileSystem.exists(NEW_DIR), "After createDirectory"
67 assert fileSystem.exists(NEW_FILE_IN_SUBDIR), "$NEW_FILE_IN_SUBDIR: After createDirectory"
73 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
76 assert !fileSystem.exists(NEW_DIR), "After createDirectory"
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystemTestCase.groovy50 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
51 assert !fileSystem.exists(NEW_SUBDIR), "Before createDirectory"
55 assert fileSystem.exists(NEW_DIR), "After createDirectory"
56 assert fileSystem.exists(NEW_SUBDIR), "$NEW_SUBDIR: After createDirectory"
61 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
62 assert !fileSystem.exists(NEW_FILE_IN_SUBDIR), "Before createDirectory"
66 assert fileSystem.exists(NEW_DIR), "After createDirectory"
67 assert fileSystem.exists(NEW_FILE_IN_SUBDIR), "$NEW_FILE_IN_SUBDIR: After createDirectory"
73 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
76 assert !fileSystem.exists(NEW_DIR), "After createDirectory"
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystemTest.groovy50 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
51 assert !fileSystem.exists(NEW_SUBDIR), "Before createDirectory"
55 assert fileSystem.exists(NEW_DIR), "After createDirectory"
56 assert fileSystem.exists(NEW_SUBDIR), "$NEW_SUBDIR: After createDirectory"
61 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
62 assert !fileSystem.exists(NEW_FILE_IN_SUBDIR), "Before createDirectory"
66 assert fileSystem.exists(NEW_DIR), "After createDirectory"
67 assert fileSystem.exists(NEW_FILE_IN_SUBDIR), "$NEW_FILE_IN_SUBDIR: After createDirectory"
73 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
76 assert !fileSystem.exists(NEW_DIR), "After createDirectory"
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystemTest.groovy50 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
51 assert !fileSystem.exists(NEW_SUBDIR), "Before createDirectory"
55 assert fileSystem.exists(NEW_DIR), "After createDirectory"
56 assert fileSystem.exists(NEW_SUBDIR), "$NEW_SUBDIR: After createDirectory"
61 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
62 assert !fileSystem.exists(NEW_FILE_IN_SUBDIR), "Before createDirectory"
66 assert fileSystem.exists(NEW_DIR), "After createDirectory"
67 assert fileSystem.exists(NEW_FILE_IN_SUBDIR), "$NEW_FILE_IN_SUBDIR: After createDirectory"
73 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
76 assert !fileSystem.exists(NEW_DIR), "After createDirectory"
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystemTestCase.groovy50 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
51 assert !fileSystem.exists(NEW_SUBDIR), "Before createDirectory"
55 assert fileSystem.exists(NEW_DIR), "After createDirectory"
56 assert fileSystem.exists(NEW_SUBDIR), "$NEW_SUBDIR: After createDirectory"
61 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
62 assert !fileSystem.exists(NEW_FILE_IN_SUBDIR), "Before createDirectory"
66 assert fileSystem.exists(NEW_DIR), "After createDirectory"
67 assert fileSystem.exists(NEW_FILE_IN_SUBDIR), "$NEW_FILE_IN_SUBDIR: After createDirectory"
73 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
76 assert !fileSystem.exists(NEW_DIR), "After createDirectory"
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystemTestCase.groovy50 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
51 assert !fileSystem.exists(NEW_SUBDIR), "Before createDirectory"
55 assert fileSystem.exists(NEW_DIR), "After createDirectory"
56 assert fileSystem.exists(NEW_SUBDIR), "$NEW_SUBDIR: After createDirectory"
61 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
62 assert !fileSystem.exists(NEW_FILE_IN_SUBDIR), "Before createDirectory"
66 assert fileSystem.exists(NEW_DIR), "After createDirectory"
67 assert fileSystem.exists(NEW_FILE_IN_SUBDIR), "$NEW_FILE_IN_SUBDIR: After createDirectory"
73 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
76 assert !fileSystem.exists(NEW_DIR), "After createDirectory"
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystemTestCase.groovy50 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
51 assert !fileSystem.exists(NEW_SUBDIR), "Before createDirectory"
55 assert fileSystem.exists(NEW_DIR), "After createDirectory"
56 assert fileSystem.exists(NEW_SUBDIR), "$NEW_SUBDIR: After createDirectory"
61 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
62 assert !fileSystem.exists(NEW_FILE_IN_SUBDIR), "Before createDirectory"
66 assert fileSystem.exists(NEW_DIR), "After createDirectory"
67 assert fileSystem.exists(NEW_FILE_IN_SUBDIR), "$NEW_FILE_IN_SUBDIR: After createDirectory"
73 assert !fileSystem.exists(NEW_DIR), "Before createDirectory"
76 assert !fileSystem.exists(NEW_DIR), "After createDirectory"
/external/proguard/src/proguard/io/
DCascadingDataEntryWriter.java56 public boolean createDirectory(DataEntry dataEntry) throws IOException in createDirectory() method in CascadingDataEntryWriter
60 return dataEntryWriter1.createDirectory(dataEntry) || in createDirectory()
61 dataEntryWriter2.createDirectory(dataEntry); in createDirectory()
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/command/
DRmdCommandHandlerTest.groovy39 createDirectory(DIR)
47 createDirectory(p(DIR, SUB))
80 createDirectory(DIR)
87 createDirectory(DIR)
94 createDirectory(DIR)
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/command/
DRmdCommandHandlerTest.groovy39 createDirectory(DIR)
47 createDirectory(p(DIR, SUB))
80 createDirectory(DIR)
87 createDirectory(DIR)
94 createDirectory(DIR)
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/
DRmdCommandHandlerTest.groovy39 createDirectory(DIR)
47 createDirectory(p(DIR, SUB))
80 createDirectory(DIR)
87 createDirectory(DIR)
94 createDirectory(DIR)
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/fake/command/
DRmdCommandHandlerTest.groovy39 createDirectory(DIR)
47 createDirectory(p(DIR, SUB))
80 createDirectory(DIR)
87 createDirectory(DIR)
94 createDirectory(DIR)
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/command/
DRmdCommandHandlerTest.groovy39 createDirectory(DIR)
47 createDirectory(p(DIR, SUB))
80 createDirectory(DIR)
87 createDirectory(DIR)
94 createDirectory(DIR)
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/command/
DRmdCommandHandlerTest.groovy39 createDirectory(DIR)
47 createDirectory(p(DIR, SUB))
80 createDirectory(DIR)
87 createDirectory(DIR)
94 createDirectory(DIR)
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/command/
DRmdCommandHandlerTest.groovy39 createDirectory(DIR)
47 createDirectory(p(DIR, SUB))
80 createDirectory(DIR)
87 createDirectory(DIR)
94 createDirectory(DIR)

1234567891011