MCPcopy Create free account
hub / github.com/apache/solr / err

Method err

solr/solrj/src/test/org/noggit/TestJSONParser.java:480–488  ·  view source on GitHub ↗
(String input)

Source from the content-addressed store, hash-verified

478 }
479
480 public static void err(String input) throws IOException {
481 try {
482 JSONParser p = getParser(input);
483 while (p.nextEvent() != JSONParser.EOF) {}
484 } catch (Exception e) {
485 return;
486 }
487 fail("Input should failed:'" + input + "'");
488 }
489
490 @Test
491 public void testNull() throws IOException {

Callers 6

testNullMethod · 0.95
testBoolMethod · 0.95
testStringMethod · 0.95
testNumbersMethod · 0.95
testArrayMethod · 0.95
testObjectMethod · 0.95

Calls 2

getParserMethod · 0.95
nextEventMethod · 0.95

Tested by

no test coverage detected