Home
last modified time | relevance | path

Searched refs:fileSystemUri (Results 1 – 5 of 5) sorted by relevance

/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DWindowsPathTypeTest.java22 import static com.google.common.jimfs.PathTypeTest.fileSystemUri;
163 PathType.windows().toUri(fileSystemUri, "C:\\", ImmutableList.of("foo", "bar"), false); in testWindows_toUri_normal()
168 PathType.windows().toUri(fileSystemUri, "C:\\", ImmutableList.of("foo", "bar"), true); in testWindows_toUri_normal()
172 URI rootUri = PathType.windows().toUri(fileSystemUri, "C:\\", ImmutableList.<String>of(), true); in testWindows_toUri_normal()
181 .toUri(fileSystemUri, "\\\\host\\share\\", ImmutableList.of("foo", "bar"), false); in testWindows_toUri_unc()
187 .toUri(fileSystemUri, "\\\\host\\share\\", ImmutableList.<String>of(), true); in testWindows_toUri_unc()
196 .toUri(fileSystemUri, "C:\\", ImmutableList.of("Users", "foo", "My Documents"), true); in testWindows_toUri_escaping()
DUnixPathTypeTest.java21 import static com.google.common.jimfs.PathTypeTest.fileSystemUri;
59 URI fileUri = PathType.unix().toUri(fileSystemUri, "/", ImmutableList.of("foo", "bar"), false); in testUnix_toUri()
64 PathType.unix().toUri(fileSystemUri, "/", ImmutableList.of("foo", "bar"), true); in testUnix_toUri()
68 URI rootUri = PathType.unix().toUri(fileSystemUri, "/", ImmutableList.<String>of(), true); in testUnix_toUri()
75 URI uri = PathType.unix().toUri(fileSystemUri, "/", ImmutableList.of("foo bar"), false); in testUnix_toUri_escaping()
DPathTypeTest.java39 static final URI fileSystemUri = URI.create("jimfs://foo"); field in PathTypeTest
67 URI fileUri = type.toUri(fileSystemUri, "$", ImmutableList.of("foo", "bar"), false); in testToUri()
71 URI directoryUri = type.toUri(fileSystemUri, "$", ImmutableList.of("foo", "bar"), true); in testToUri()
75 URI rootUri = type.toUri(fileSystemUri, "$", ImmutableList.<String>of(), true); in testToUri()
82 URI fileUri = type.toUri(fileSystemUri, "$", ImmutableList.of("foo", "bar baz"), false); in testToUri_escaping()
104 URI uri = type.toUri(fileSystemUri, result.root(), result.names(), false); in assertUriRoundTripsCorrectly()
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DPathType.java188 URI fileSystemUri, String root, Iterable<String> names, boolean directory) { in toUri() argument
194 fileSystemUri.getScheme(), in toUri()
195 fileSystemUri.getUserInfo(), in toUri()
196 fileSystemUri.getHost(), in toUri()
197 fileSystemUri.getPort(), in toUri()
DPathService.java239 public URI toUri(URI fileSystemUri, JimfsPath path) { in toUri() argument
243 return type.toUri(fileSystemUri, root, names, Files.isDirectory(path, NOFOLLOW_LINKS)); in toUri()