MCPcopy Index your code
hub / github.com/grpc/grpc-java / allWiths

Method allWiths

api/src/test/java/io/grpc/CallOptionsTest.java:95–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93 }
94
95 @Test
96 public void allWiths() {
97 assertThat(allSet.getAuthority()).isSameInstanceAs(sampleAuthority);
98 assertThat(allSet.getDeadline()).isSameInstanceAs(sampleDeadline);
99 assertThat(allSet.getCredentials()).isSameInstanceAs(sampleCreds);
100 assertThat(allSet.getCompressor()).isSameInstanceAs(sampleCompressor);
101 assertThat(allSet.getExecutor()).isSameInstanceAs(directExecutor());
102 assertThat(allSet.getOption(OPTION_1)).isSameInstanceAs("value1");
103 assertThat(allSet.getOption(OPTION_2)).isSameInstanceAs("value2");
104 assertThat(allSet.isWaitForReady()).isTrue();
105 }
106
107 @Test
108 public void noStrayModifications() {

Callers

nothing calls this directly

Calls 8

getCredentialsMethod · 0.80
getCompressorMethod · 0.80
isWaitForReadyMethod · 0.80
getAuthorityMethod · 0.65
getExecutorMethod · 0.65
getDeadlineMethod · 0.45
directExecutorMethod · 0.45
getOptionMethod · 0.45

Tested by

no test coverage detected