Lines Matching refs:test
8 /* Terminate current test with error */
11 /* Successfull end of the test case */
18 static void test(int (*func)(void), const char *name) {
590 test(test_empty, "general test for a empty JSON objects/arrays");
591 test(test_simple, "general test for a simple JSON string");
592 test(test_primitive, "test primitive JSON data types");
593 test(test_string, "test string JSON data types");
594 test(test_partial_string, "test partial JSON string parsing");
595 test(test_partial_array, "test partial array reading");
596 test(test_array_nomem, "test array reading with a smaller number of tokens");
597 test(test_unquoted_keys, "test unquoted keys (like in JavaScript)");
598 test(test_objects_arrays, "test objects and arrays");
599 test(test_unicode_characters, "test unicode characters");
600 test(test_input_length, "test strings that are not null-terminated");
601 test(test_issue_22, "test issue #22");
602 test(test_count, "test tokens count estimation");
603 test(test_nonstrict, "test for non-strict mode");
604 test(test_keyvalue, "test for keys/values");