MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / parseToStreamUTFString

Method parseToStreamUTFString

test/utils/TestJSON.java:205–212  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

203
204 // parseToStream - String
205 @Test
206 public void parseToStreamUTFString() throws Exception {
207 JsonParser jp = JSON.parseToStream(
208 "{\"utf\":\"aériennes\",\"ascii\":\"aariennes\"}");
209 HashMap<String, String> map = this.parseToMap(jp);
210 assertEquals("aériennes", map.get("utf"));
211 assertEquals("aariennes", map.get("ascii"));
212 }
213
214 @Test
215 public void parseToStreamASCIIString() throws Exception {

Callers

nothing calls this directly

Calls 3

parseToStreamMethod · 0.95
parseToMapMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected