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

Method testWriteRaw

api/src/test/java/io/grpc/MetadataTest.java:207–214  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

205 }
206
207 @Test
208 public void testWriteRaw() {
209 Metadata raw = new Metadata(KEY.asciiName(), LANCE_BYTES);
210 Fish lance = raw.get(KEY);
211 assertEquals(lance, new Fish(LANCE));
212 // Reading again should return the same parsed instance
213 assertEquals(lance, raw.get(KEY));
214 }
215
216 @Test
217 public void testSerializeRaw() {

Callers

nothing calls this directly

Calls 3

getMethod · 0.95
asciiNameMethod · 0.80
assertEqualsMethod · 0.80

Tested by

no test coverage detected