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

Method builder_setRawQuery

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

Source from the content-addressed store, hash-verified

624 }
625
626 @Test
627 public void builder_setRawQuery() {
628 Uri uri = Uri.newBuilder().setScheme("http").setHost("host").setRawQuery("%61=b&c=%64").build();
629 assertThat(uri.getRawQuery()).isEqualTo("%61=b&c=%64");
630 assertThat(uri.toString()).isEqualTo("http://host?%61=b&c=%64");
631 }
632
633 @Test
634 public void builder_setRawQuery_null() {

Callers

nothing calls this directly

Calls 7

newBuilderMethod · 0.95
getRawQueryMethod · 0.95
toStringMethod · 0.95
setRawQueryMethod · 0.80
setHostMethod · 0.80
setSchemeMethod · 0.80
buildMethod · 0.65

Tested by

no test coverage detected