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

Method metadataDecode_ascii

api/src/test/java/io/grpc/StatusTest.java:102–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100 }
101
102 @Test
103 public void metadataDecode_ascii() {
104 String s = Status.MESSAGE_KEY.parseBytes(new byte[]{'H', 'e', 'l', 'l', 'o'});
105 assertEquals("Hello", s);
106 }
107
108 @Test
109 public void metadataDecode_percent() {

Callers

nothing calls this directly

Calls 2

assertEqualsMethod · 0.80
parseBytesMethod · 0.65

Tested by

no test coverage detected