MCPcopy Create free account
hub / github.com/grpc/grpc-java / parse_twoPathSegments

Method parse_twoPathSegments

api/src/test/java/io/grpc/UriTest.java:394–398  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

392 }
393
394 @Test
395 public void parse_twoPathSegments() throws URISyntaxException {
396 Uri uri = Uri.create("file:/foo/bar");
397 assertThat(uri.getPathSegments()).containsExactly("foo", "bar");
398 }
399
400 @Test
401 public void parse_twoPathSegments_rootless() throws URISyntaxException {

Callers

nothing calls this directly

Calls 2

createMethod · 0.95
getPathSegmentsMethod · 0.95

Tested by

no test coverage detected