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

Method builder_canSetEmptyAuthority

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

Source from the content-addressed store, hash-verified

690 }
691
692 @Test
693 public void builder_canSetEmptyAuthority() {
694 Uri uri = Uri.create("s://user@host:80/path").toBuilder().setRawAuthority("").build();
695 assertThat(uri.toString()).isEqualTo("s:///path");
696 }
697
698 @Test
699 public void builder_canSetRawAuthority() {

Callers

nothing calls this directly

Calls 5

createMethod · 0.95
toStringMethod · 0.95
setRawAuthorityMethod · 0.80
buildMethod · 0.65
toBuilderMethod · 0.45

Tested by

no test coverage detected