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

Method parse_emptyFragment

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

Source from the content-addressed store, hash-verified

169 }
170
171 @Test
172 public void parse_emptyFragment() {
173 Uri uri = Uri.create("scheme:#");
174 assertThat(uri.getScheme()).isEqualTo("scheme");
175 assertThat(uri.getFragment()).isEmpty();
176 }
177
178 @Test
179 public void parse_emptyUserInfo() {

Callers

nothing calls this directly

Calls 4

createMethod · 0.95
getSchemeMethod · 0.95
getFragmentMethod · 0.95
isEmptyMethod · 0.45

Tested by

no test coverage detected