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

Method parse_ipv6ScopedLiteral

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

Source from the content-addressed store, hash-verified

83 }
84
85 @Test
86 public void parse_ipv6ScopedLiteral() throws URISyntaxException {
87 Uri uri = Uri.parse("http://[fe80::1%25eth0]");
88 assertThat(uri.getRawHost()).isEqualTo("[fe80::1%25eth0]");
89 assertThat(uri.getHost()).isEqualTo("[fe80::1%eth0]");
90 }
91
92 @Test
93 public void parse_ipv6ScopedPercentEncodedLiteral() throws URISyntaxException {

Callers

nothing calls this directly

Calls 3

parseMethod · 0.95
getRawHostMethod · 0.95
getHostMethod · 0.95

Tested by

no test coverage detected