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

Method parse_onePathSegment

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

Source from the content-addressed store, hash-verified

372 }
373
374 @Test
375 public void parse_onePathSegment() throws URISyntaxException {
376 Uri uri = Uri.create("file:/foo");
377 assertThat(uri.getPathSegments()).containsExactly("foo");
378 }
379
380 @Test
381 public void parse_onePathSegment_trailingSlash() throws URISyntaxException {

Callers

nothing calls this directly

Calls 2

createMethod · 0.95
getPathSegmentsMethod · 0.95

Tested by

no test coverage detected