-rw-r--r-- | .editorconfig | 23L |
-rw-r--r-- | .gitattributes | 2L |
-rw-r--r-- | .github/CONTRIBUTING.md | 54L |
-rw-r--r-- | .gitignore | 18L |
-rw-r--r-- | .travis.yml | 28L |
-rw-r--r-- | CHANGELOG.md | 391L |
-rw-r--r-- | CMakeLists.txt | 251L |
-rw-r--r-- | CONTRIBUTORS.md | 54L |
-rw-r--r-- | LICENSE | 20L |
-rw-r--r-- | Makefile | 157L |
-rw-r--r-- | README.md | 533L |
-rw-r--r-- | appveyor.yml | 86L |
-rw-r--r-- | cJSON.c | 2973L |
-rw-r--r-- | cJSON.h | 285L |
-rw-r--r-- | cJSON_Utils.c | 1457L |
-rw-r--r-- | cJSON_Utils.h | 88L |
-rw-r--r-- | fuzzing/.gitignore | 1L |
-rw-r--r-- | fuzzing/CMakeLists.txt | 28L |
-rwxr-xr-x | fuzzing/afl-prepare-linux.sh | 5L |
-rw-r--r-- | fuzzing/afl.c | 176L |
-rwxr-xr-x | fuzzing/afl.sh | 9L |
-rw-r--r-- | fuzzing/inputs/test1 | 22L |
-rw-r--r-- | fuzzing/inputs/test10 | 1L |
-rw-r--r-- | fuzzing/inputs/test11 | 8L |
-rw-r--r-- | fuzzing/inputs/test2 | 11L |
-rw-r--r-- | fuzzing/inputs/test3 | 26L |
-rw-r--r-- | fuzzing/inputs/test3.bu | 26L |
-rw-r--r-- | fuzzing/inputs/test3.uf | 26L |
-rw-r--r-- | fuzzing/inputs/test3.uu | 26L |
-rw-r--r-- | fuzzing/inputs/test4 | 88L |
-rw-r--r-- | fuzzing/inputs/test5 | 27L |
-rw-r--r-- | fuzzing/inputs/test6 | 16L |
-rw-r--r-- | fuzzing/inputs/test7 | 22L |
-rw-r--r-- | fuzzing/inputs/test8 | 13L |
-rw-r--r-- | fuzzing/inputs/test9 | 5L |
-rw-r--r-- | fuzzing/json.dict | 47L |
-rw-r--r-- | library_config/cJSONConfig.cmake.in | 29L |
-rw-r--r-- | library_config/cJSONConfigVersion.cmake.in | 11L |
-rw-r--r-- | library_config/libcjson.pc.in | 10L |
-rw-r--r-- | library_config/libcjson_utils.pc.in | 10L |
-rw-r--r-- | test.c | 268L |
-rw-r--r-- | tests/CMakeLists.txt | 119L |
-rw-r--r-- | tests/cjson_add.c | 422L |
-rw-r--r-- | tests/common.h | 122L |
-rw-r--r-- | tests/compare_tests.c | 205L |
-rw-r--r-- | tests/inputs/test1 | 22L |
-rw-r--r-- | tests/inputs/test1.expected | 22L |
-rw-r--r-- | tests/inputs/test10 | 1L |
-rw-r--r-- | tests/inputs/test10.expected | 1L |
-rw-r--r-- | tests/inputs/test11 | 8L |
-rw-r--r-- | tests/inputs/test11.expected | 10L |
-rw-r--r-- | tests/inputs/test2 | 11L |
-rw-r--r-- | tests/inputs/test2.expected | 18L |
-rw-r--r-- | tests/inputs/test3 | 26L |
-rw-r--r-- | tests/inputs/test3.expected | 28L |
-rw-r--r-- | tests/inputs/test4 | 88L |
-rw-r--r-- | tests/inputs/test4.expected | 94L |
-rw-r--r-- | tests/inputs/test5 | 27L |
-rw-r--r-- | tests/inputs/test5.expected | 54L |
-rw-r--r-- | tests/inputs/test6 | 16L |
-rw-r--r-- | tests/inputs/test7 | 22L |
-rw-r--r-- | tests/inputs/test7.expected | 19L |
-rw-r--r-- | tests/inputs/test8 | 13L |
-rw-r--r-- | tests/inputs/test8.expected | 13L |
-rw-r--r-- | tests/inputs/test9 | 5L |
-rw-r--r-- | tests/inputs/test9.expected | 1L |
-rw-r--r-- | tests/json-patch-tests/.editorconfig | 10L |
-rw-r--r-- | tests/json-patch-tests/.gitignore | 4L |
-rw-r--r-- | tests/json-patch-tests/.npmignore | 2L |
-rw-r--r-- | tests/json-patch-tests/README.md | 75L |
-rw-r--r-- | tests/json-patch-tests/cjson-utils-tests.json | 91L |
-rw-r--r-- | tests/json-patch-tests/package.json | 15L |
-rw-r--r-- | tests/json-patch-tests/spec_tests.json | 233L |
-rw-r--r-- | tests/json-patch-tests/tests.json | 464L |
-rw-r--r-- | tests/json_patch_tests.c | 243L |
-rw-r--r-- | tests/minify_tests.c | 174L |
-rw-r--r-- | tests/misc_tests.c | 579L |
-rw-r--r-- | tests/misc_utils_tests.c | 80L |
-rw-r--r-- | tests/old_utils_tests.c | 205L |
-rw-r--r-- | tests/parse_array.c | 166L |
-rw-r--r-- | tests/parse_examples.c | 214L |
-rw-r--r-- | tests/parse_hex4.c | 73L |
-rw-r--r-- | tests/parse_number.c | 110L |
-rw-r--r-- | tests/parse_object.c | 176L |
-rw-r--r-- | tests/parse_string.c | 135L |
-rw-r--r-- | tests/parse_value.c | 112L |
-rw-r--r-- | tests/parse_with_opts.c | 112L |
-rw-r--r-- | tests/print_array.c | 100L |
-rw-r--r-- | tests/print_number.c | 105L |
-rw-r--r-- | tests/print_object.c | 101L |
-rw-r--r-- | tests/print_string.c | 78L |
-rw-r--r-- | tests/print_value.c | 107L |
-rw-r--r-- | tests/readme_examples.c | 258L |
-rw-r--r-- | tests/unity/.gitattributes | 30L |
-rw-r--r-- | tests/unity/.gitignore | 9L |
-rw-r--r-- | tests/unity/.travis.yml | 29L |
-rw-r--r-- | tests/unity/README.md | 231L |
-rw-r--r-- | tests/unity/auto/colour_prompt.rb | 118L |
-rw-r--r-- | tests/unity/auto/colour_reporter.rb | 39L |
-rw-r--r-- | tests/unity/auto/generate_config.yml | 36L |
-rw-r--r-- | tests/unity/auto/generate_module.rb | 308L |
-rw-r--r-- | tests/unity/auto/generate_test_runner.rb | 454L |
-rw-r--r-- | tests/unity/auto/parse_output.rb | 220L |
-rwxr-xr-x | tests/unity/auto/stylize_as_junit.rb | 252L |
-rw-r--r-- | tests/unity/auto/test_file_filter.rb | 25L |
-rw-r--r-- | tests/unity/auto/type_sanitizer.rb | 6L |
-rw-r--r-- | tests/unity/auto/unity_test_summary.py | 139L |
-rw-r--r-- | tests/unity/auto/unity_test_summary.rb | 136L |
-rw-r--r-- | tests/unity/auto/unity_to_junit.py | 146L |
-rw-r--r-- | tests/unity/docs/ThrowTheSwitchCodingStandard.md | 207L |
-rw-r--r-- | tests/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf | 144467B |
-rw-r--r-- | tests/unity/docs/UnityAssertionsReference.md | 770L |
-rw-r--r-- | tests/unity/docs/UnityConfigurationGuide.md | 435L |
-rw-r--r-- | tests/unity/docs/UnityGettingStartedGuide.md | 191L |
-rw-r--r-- | tests/unity/docs/UnityHelperScriptsGuide.md | 254L |
-rw-r--r-- | tests/unity/docs/license.txt | 21L |
-rw-r--r-- | tests/unity/examples/example_1/makefile | 71L |
-rw-r--r-- | tests/unity/examples/example_1/readme.txt | 5L |
-rw-r--r-- | tests/unity/examples/example_1/src/ProductionCode.c | 24L |
-rw-r--r-- | tests/unity/examples/example_1/src/ProductionCode.h | 3L |
-rw-r--r-- | tests/unity/examples/example_1/src/ProductionCode2.c | 11L |
-rw-r--r-- | tests/unity/examples/example_1/src/ProductionCode2.h | 2L |
-rw-r--r-- | tests/unity/examples/example_1/test/TestProductionCode.c | 62L |
-rw-r--r-- | tests/unity/examples/example_1/test/TestProductionCode2.c | 31L |
-rw-r--r-- | tests/unity/examples/example_1/test/test_runners/TestProductionCode2_Runner.c | 53L |
-rw-r--r-- | tests/unity/examples/example_1/test/test_runners/TestProductionCode_Runner.c | 57L |
-rw-r--r-- | tests/unity/examples/example_2/makefile | 70L |
-rw-r--r-- | tests/unity/examples/example_2/readme.txt | 5L |
-rw-r--r-- | tests/unity/examples/example_2/src/ProductionCode.c | 24L |
-rw-r--r-- | tests/unity/examples/example_2/src/ProductionCode.h | 3L |
-rw-r--r-- | tests/unity/examples/example_2/src/ProductionCode2.c | 11L |
-rw-r--r-- | tests/unity/examples/example_2/src/ProductionCode2.h | 2L |
-rw-r--r-- | tests/unity/examples/example_2/test/TestProductionCode.c | 64L |
-rw-r--r-- | tests/unity/examples/example_2/test/TestProductionCode2.c | 33L |
-rw-r--r-- | tests/unity/examples/example_2/test/test_runners/TestProductionCode2_Runner.c | 9L |
-rw-r--r-- | tests/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c | 11L |
-rw-r--r-- | tests/unity/examples/example_2/test/test_runners/all_tests.c | 12L |
-rw-r--r-- | tests/unity/examples/example_3/helper/UnityHelper.c | 10L |
-rw-r--r-- | tests/unity/examples/example_3/helper/UnityHelper.h | 12L |
-rw-r--r-- | tests/unity/examples/example_3/rakefile.rb | 43L |
-rw-r--r-- | tests/unity/examples/example_3/rakefile_helper.rb | 249L |
-rw-r--r-- | tests/unity/examples/example_3/readme.txt | 13L |
-rw-r--r-- | tests/unity/examples/example_3/src/ProductionCode.c | 24L |
-rw-r--r-- | tests/unity/examples/example_3/src/ProductionCode.h | 3L |
-rw-r--r-- | tests/unity/examples/example_3/src/ProductionCode2.c | 11L |
-rw-r--r-- | tests/unity/examples/example_3/src/ProductionCode2.h | 2L |
-rw-r--r-- | tests/unity/examples/example_3/target_gcc_32.yml | 46L |
-rw-r--r-- | tests/unity/examples/example_3/test/TestProductionCode.c | 62L |
-rw-r--r-- | tests/unity/examples/example_3/test/TestProductionCode2.c | 31L |
-rw-r--r-- | tests/unity/examples/unity_config.h | 239L |
-rw-r--r-- | tests/unity/extras/eclipse/error_parsers.txt | 26L |
-rw-r--r-- | tests/unity/extras/fixture/rakefile.rb | 48L |
-rw-r--r-- | tests/unity/extras/fixture/rakefile_helper.rb | 178L |
-rw-r--r-- | tests/unity/extras/fixture/readme.txt | 9L |
-rw-r--r-- | tests/unity/extras/fixture/src/unity_fixture.c | 432L |
-rw-r--r-- | tests/unity/extras/fixture/src/unity_fixture.h | 83L |
-rw-r--r-- | tests/unity/extras/fixture/src/unity_fixture_internals.h | 51L |
-rw-r--r-- | tests/unity/extras/fixture/src/unity_fixture_malloc_overrides.h | 47L |
-rw-r--r-- | tests/unity/extras/fixture/test/Makefile | 75L |
-rw-r--r-- | tests/unity/extras/fixture/test/main/AllTests.c | 22L |
-rw-r--r-- | tests/unity/extras/fixture/test/template_fixture_tests.c | 39L |
-rw-r--r-- | tests/unity/extras/fixture/test/unity_fixture_Test.c | 543L |
-rw-r--r-- | tests/unity/extras/fixture/test/unity_fixture_TestRunner.c | 57L |
-rw-r--r-- | tests/unity/extras/fixture/test/unity_output_Spy.c | 57L |
-rw-r--r-- | tests/unity/extras/fixture/test/unity_output_Spy.h | 17L |
-rw-r--r-- | tests/unity/release/build.info | 2L |
-rw-r--r-- | tests/unity/release/version.info | 2L |
-rw-r--r-- | tests/unity/src/unity.c | 1570L |
-rw-r--r-- | tests/unity/src/unity.h | 503L |
-rw-r--r-- | tests/unity/src/unity_internals.h | 870L |
-rw-r--r-- | tests/unity/test/.rubocop.yml | 58L |
-rw-r--r-- | tests/unity/test/Makefile | 66L |
-rw-r--r-- | tests/unity/test/expectdata/testsample_cmd.c | 61L |
-rw-r--r-- | tests/unity/test/expectdata/testsample_def.c | 57L |
-rw-r--r-- | tests/unity/test/expectdata/testsample_head1.c | 55L |
-rw-r--r-- | tests/unity/test/expectdata/testsample_head1.h | 15L |
-rw-r--r-- | tests/unity/test/expectdata/testsample_mock_cmd.c | 80L |
-rw-r--r-- | tests/unity/test/expectdata/testsample_mock_def.c | 76L |
-rw-r--r-- | tests/unity/test/expectdata/testsample_mock_head1.c | 75L |
-rw-r--r-- | tests/unity/test/expectdata/testsample_mock_head1.h | 13L |
-rw-r--r-- | tests/unity/test/expectdata/testsample_mock_new1.c | 89L |
-rw-r--r-- | tests/unity/test/expectdata/testsample_mock_new2.c | 89L |
-rw-r--r-- | tests/unity/test/expectdata/testsample_mock_param.c | 77L |
-rw-r--r-- | tests/unity/test/expectdata/testsample_mock_run1.c | 89L |
-rw-r--r-- | tests/unity/test/expectdata/testsample_mock_run2.c | 89L |
-rw-r--r-- | tests/unity/test/expectdata/testsample_mock_yaml.c | 90L |
-rw-r--r-- | tests/unity/test/expectdata/testsample_new1.c | 67L |
-rw-r--r-- | tests/unity/test/expectdata/testsample_new2.c | 70L |
-rw-r--r-- | tests/unity/test/expectdata/testsample_param.c | 58L |
-rw-r--r-- | tests/unity/test/expectdata/testsample_run1.c | 67L |
-rw-r--r-- | tests/unity/test/expectdata/testsample_run2.c | 70L |
-rw-r--r-- | tests/unity/test/expectdata/testsample_yaml.c | 71L |
-rw-r--r-- | tests/unity/test/rakefile | 125L |
-rw-r--r-- | tests/unity/test/rakefile_helper.rb | 260L |
-rw-r--r-- | tests/unity/test/spec/generate_module_existing_file_spec.rb | 158L |
-rw-r--r-- | tests/unity/test/targets/clang_file.yml | 78L |
-rw-r--r-- | tests/unity/test/targets/clang_strict.yml | 78L |
-rw-r--r-- | tests/unity/test/targets/gcc_32.yml | 49L |
-rw-r--r-- | tests/unity/test/targets/gcc_64.yml | 50L |
-rw-r--r-- | tests/unity/test/targets/gcc_auto_limits.yml | 47L |
-rw-r--r-- | tests/unity/test/targets/gcc_auto_stdint.yml | 59L |
-rw-r--r-- | tests/unity/test/targets/gcc_manual_math.yml | 47L |
-rw-r--r-- | tests/unity/test/targets/hitech_picc18.yml | 101L |
-rw-r--r-- | tests/unity/test/targets/iar_arm_v4.yml | 90L |
-rw-r--r-- | tests/unity/test/targets/iar_arm_v5.yml | 80L |
-rw-r--r-- | tests/unity/test/targets/iar_arm_v5_3.yml | 80L |
-rw-r--r-- | tests/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml | 94L |
-rw-r--r-- | tests/unity/test/targets/iar_cortexm3_v5.yml | 84L |
-rw-r--r-- | tests/unity/test/targets/iar_msp430.yml | 95L |
-rw-r--r-- | tests/unity/test/targets/iar_sh2a_v6.yml | 86L |
-rw-r--r-- | tests/unity/test/testdata/CException.h | 11L |
-rw-r--r-- | tests/unity/test/testdata/Defs.h | 8L |
-rw-r--r-- | tests/unity/test/testdata/cmock.h | 14L |
-rw-r--r-- | tests/unity/test/testdata/mockMock.h | 13L |
-rw-r--r-- | tests/unity/test/testdata/testRunnerGenerator.c | 183L |
-rw-r--r-- | tests/unity/test/testdata/testRunnerGeneratorSmall.c | 67L |
-rw-r--r-- | tests/unity/test/testdata/testRunnerGeneratorWithMocks.c | 192L |
-rw-r--r-- | tests/unity/test/tests/test_generate_test_runner.rb | 1252L |
-rw-r--r-- | tests/unity/test/tests/testparameterized.c | 110L |
-rw-r--r-- | tests/unity/test/tests/testunity.c | 5337L |
-rw-r--r-- | tests/unity_setup.c | 3L |
-rw-r--r-- | valgrind.supp | 6L |