/external/okio/okio-wasifilesystem/src/wasmWasiTest/kotlin/okio/ |
D | WasiTest.kt | 27 private val fileSystem = WasiFileSystem in <lambda>() constant 32 fileSystem.createDirectory(base) in <lambda>() 37 fileSystem.createDirectory(base / "child") in <lambda>() 43 fileSystem.write(path) { in <lambda>() 48 fileSystem.canonicalize(path), in <lambda>() 56 fileSystem.write(target) { in <lambda>() 59 fileSystem.createSymlink(source, "target".toPath()) in <lambda>() 62 fileSystem.canonicalize(source), in <lambda>() 70 fileSystem.createDirectory(target) in <lambda>() 71 fileSystem.write(target / "file.txt") { in <lambda>() [all …]
|
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTestCase.groovy | 46 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 …]
|
D | WindowsFakeFileSystemTest.groovy | 46 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/ |
D | AbstractFileSystemTestCase.groovy | 46 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 …]
|
D | WindowsFakeFileSystemTest.groovy | 46 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/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTestCase.groovy | 46 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 …]
|
D | WindowsFakeFileSystemTest.groovy | 46 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/ |
D | AbstractFileSystemTestCase.groovy | 46 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 …]
|
D | WindowsFakeFileSystemTest.groovy | 46 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/ |
D | AbstractFileSystemTestCase.groovy | 46 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 …]
|
D | WindowsFakeFileSystemTest.groovy | 46 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.1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 46 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 …]
|
D | WindowsFakeFileSystemTest.groovy | 48 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/ |
D | AbstractFileSystemTest.groovy | 46 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 …]
|
D | WindowsFakeFileSystemTest.groovy | 48 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/ |
D | AbstractFileSystemTest.groovy | 46 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 …]
|
D | WindowsFakeFileSystemTest.groovy | 48 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/ |
D | AbstractFileSystemTest.groovy | 46 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 …]
|
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 46 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 …]
|
D | WindowsFakeFileSystemTest.groovy | 48 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/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 46 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 …]
|
D | WindowsFakeFileSystemTest.groovy | 48 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/ |
D | AbstractFileSystemTest.groovy | 46 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 …]
|
/external/okio/okio-testing-support/src/commonMain/kotlin/okio/ |
D | AbstractFileSystemTest.kt | 38 val fileSystem: FileSystem, in <lambda>() constant in okio.AbstractFileSystemTest 47 private val isNodeJsFileSystem = fileSystem::class.simpleName?.startsWith("NodeJs") ?: false in <lambda>() 48 private val isWasiFileSystem = fileSystem::class.simpleName?.startsWith("Wasi") ?: false in <lambda>() 53 fileSystem.createDirectories(base) in <lambda>() 65 assertFalse(fileSystem.exists(file)) in <lambda>() 70 if (fileSystem.isFakeFileSystem || fileSystem is ForwardingFileSystem) return in <lambda>() 71 val cwd = fileSystem.canonicalize(".".toPath()) in <lambda>() 90 val metadata = fileSystem.metadata(".".toPath()) in <lambda>() 98 fileSystem.canonicalize(base / "no-such-file") in <lambda>() 105 fileSystem.canonicalize("no-such-file".toPath()) in <lambda>() [all …]
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 56 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 …]
|