()
| 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 { |
nothing calls this directly
no test coverage detected