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

Method metadataDecode_percent

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

Source from the content-addressed store, hash-verified

106 }
107
108 @Test
109 public void metadataDecode_percent() {
110 String s = Status.MESSAGE_KEY.parseBytes(new byte[]{'H', '%', '6', '1', 'o'});
111 assertEquals("Hao", s);
112 }
113
114 @Test
115 public void metadataDecode_percentUnderflow() {

Callers

nothing calls this directly

Calls 2

assertEqualsMethod · 0.80
parseBytesMethod · 0.65

Tested by

no test coverage detected