()
| 239 | |
| 240 | // parseToStream - Byte |
| 241 | @Test |
| 242 | public void parseToStreamUTFSByte() throws Exception { |
| 243 | JsonParser jp = JSON.parseToStream( |
| 244 | "{\"utf\":\"aériennes\",\"ascii\":\"aariennes\"}".getBytes("UTF8")); |
| 245 | HashMap<String, String> map = this.parseToMap(jp); |
| 246 | assertEquals("aériennes", map.get("utf")); |
| 247 | assertEquals("aariennes", map.get("ascii")); |
| 248 | } |
| 249 | |
| 250 | @Test |
| 251 | public void parseToStreamASCIIByte() throws Exception { |
nothing calls this directly
no test coverage detected