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

Method isAbsolute

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

Source from the content-addressed store, hash-verified

773 }
774
775 @Test
776 public void isAbsolute() {
777 assertThat(Uri.create("scheme://authority/path").isAbsolute()).isTrue();
778 assertThat(Uri.create("scheme://authority/path?query").isAbsolute()).isTrue();
779 assertThat(Uri.create("scheme://authority/path#fragment").isAbsolute()).isFalse();
780 assertThat(Uri.create("scheme://authority/path?query#fragment").isAbsolute()).isFalse();
781 }
782
783 @Test
784 public void serializedCharacterClasses_matchComputed() {

Callers

nothing calls this directly

Calls 1

createMethod · 0.95

Tested by

no test coverage detected