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

Method testBool

solr/solrj/src/test/org/noggit/TestJSONParser.java:503–521  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

501 }
502
503 @Test
504 public void testBool() throws IOException {
505 flags = JSONParser.FLAGS_STRICT;
506 err("[True]");
507 err("[False]");
508 err("[TRUE]");
509 err("[FALSE]");
510 err("[truex]");
511 err("[falsex]");
512 err("[tru]");
513 err("[fals]");
514 err("[tru");
515 err("[fals");
516 err("t");
517 err("f");
518 flags = JSONParser.FLAGS_DEFAULT;
519
520 parse("[false,true, false , true ]", new Object[] {a, f, t, f, t, A, e});
521 }
522
523 @Test
524 public void testString() throws IOException {

Callers

nothing calls this directly

Calls 2

errMethod · 0.95
parseMethod · 0.95

Tested by

no test coverage detected