/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystemTest.groovy | 57 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"
|
D | AbstractFileSystemTest.groovy | 102 * 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/ |
D | PollingWatchServiceTest.java | 86 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 …]
|
D | FileTreeTest.java | 128 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 …]
|
D | JimfsUnixLikeFileSystemTest.java | 397 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/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystemTest.groovy | 50 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/ |
D | AbstractFakeFileSystemTest.groovy | 50 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/ |
D | AbstractFakeFileSystemTestCase.groovy | 50 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-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystemTest.groovy | 50 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/ |
D | AbstractFakeFileSystemTestCase.groovy | 50 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/ |
D | AbstractFakeFileSystemTest.groovy | 50 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/ |
D | AbstractFakeFileSystemTest.groovy | 50 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/ |
D | AbstractFakeFileSystemTestCase.groovy | 50 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/ |
D | AbstractFakeFileSystemTest.groovy | 50 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/ |
D | AbstractFakeFileSystemTestCase.groovy | 50 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/ |
D | AbstractFakeFileSystemTest.groovy | 50 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/ |
D | AbstractFakeFileSystemTestCase.groovy | 50 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/ |
D | CascadingDataEntryWriter.java | 56 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/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/ |
D | BackendTestBase.java | 289 storage.createDirectory(uri); in deleteFile_onDirectory_throwsFileNotFound() 325 storage.createDirectory(uriA); in rename_renamesDirectory() 347 storage.createDirectory(uri); in exists_returnsTrueIfDirectoryExists() 358 storage.createDirectory(uri); in isDirectory_returnsTrueIfDirectoryExists() 384 storage.createDirectory(uri); in createDirectory_createsDirectory() 395 storage.createDirectory(child); in createDirectory_createsParentDirectory() 422 storage.createDirectory(uri); in fileSize_withDirReturns0() 432 storage.createDirectory(uri); in deleteDirectory_shouldDeleteEmptyDirectory() 443 storage.createDirectory(uri); in deleteDirectory_shouldNOTDeleteNonEmptyDirectory() 471 storage.createDirectory(uri); in children_withEmptyDirectoryShouldReturnEmpty() [all …]
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/ |
D | RmdCommandHandlerTest.groovy | 39 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/ |
D | RmdCommandHandlerTest.groovy | 39 createDirectory(DIR) 47 createDirectory(p(DIR, SUB)) 80 createDirectory(DIR) 87 createDirectory(DIR) 94 createDirectory(DIR)
|
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/command/ |
D | RmdCommandHandlerTest.groovy | 39 createDirectory(DIR) 47 createDirectory(p(DIR, SUB)) 80 createDirectory(DIR) 87 createDirectory(DIR) 94 createDirectory(DIR)
|
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/command/ |
D | RmdCommandHandlerTest.groovy | 39 createDirectory(DIR) 47 createDirectory(p(DIR, SUB)) 80 createDirectory(DIR) 87 createDirectory(DIR) 94 createDirectory(DIR)
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/ |
D | RmdCommandHandlerTest.groovy | 39 createDirectory(DIR) 47 createDirectory(p(DIR, SUB)) 80 createDirectory(DIR) 87 createDirectory(DIR) 94 createDirectory(DIR)
|
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/command/ |
D | RmdCommandHandlerTest.groovy | 39 createDirectory(DIR) 47 createDirectory(p(DIR, SUB)) 80 createDirectory(DIR) 87 createDirectory(DIR) 94 createDirectory(DIR)
|