simdjson 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitmodules +1 -1
- data/.travis.yml +10 -3
- data/README.md +2 -0
- data/Rakefile +1 -1
- data/benchmark/run_benchmark.rb +4 -0
- data/ext/simdjson/extconf.rb +1 -1
- data/ext/simdjson/simdjson.cpp +34 -41
- data/lib/simdjson/version.rb +1 -1
- data/simdjson.gemspec +2 -1
- data/vendor/simdjson/AUTHORS +2 -1
- data/vendor/simdjson/CMakeFiles/3.16.3/CompilerIdC/a.out +0 -0
- data/vendor/simdjson/CMakeFiles/3.16.3/CompilerIdCXX/a.out +0 -0
- data/vendor/simdjson/CMakeLists.txt +68 -39
- data/vendor/simdjson/CONTRIBUTING.md +92 -0
- data/vendor/simdjson/CONTRIBUTORS +12 -0
- data/vendor/simdjson/Dockerfile +88 -10
- data/vendor/simdjson/Doxyfile +2578 -0
- data/vendor/simdjson/HACKING.md +652 -0
- data/vendor/simdjson/README.md +156 -547
- data/vendor/simdjson/RELEASES.md +50 -0
- data/vendor/simdjson/benchmark/CMakeLists.txt +37 -8
- data/vendor/simdjson/benchmark/Dockerfile +19 -0
- data/vendor/simdjson/benchmark/bench_dom_api.cpp +552 -0
- data/vendor/simdjson/benchmark/bench_parse_call.cpp +162 -0
- data/vendor/simdjson/benchmark/benchfeatures.cpp +466 -0
- data/vendor/simdjson/benchmark/benchmark.h +62 -179
- data/vendor/simdjson/benchmark/benchmarker.h +522 -0
- data/vendor/simdjson/benchmark/checkperf.cmake +101 -0
- data/vendor/simdjson/benchmark/distinctuseridcompetition.cpp +108 -49
- data/vendor/simdjson/benchmark/event_counter.h +152 -0
- data/vendor/simdjson/benchmark/get_corpus_benchmark.cpp +57 -0
- data/vendor/simdjson/benchmark/linux/linux-perf-events.h +24 -16
- data/vendor/simdjson/benchmark/minifiercompetition.cpp +47 -44
- data/vendor/simdjson/benchmark/parse.cpp +174 -345
- data/vendor/simdjson/benchmark/parse_stream.cpp +191 -0
- data/vendor/simdjson/benchmark/parseandstatcompetition.cpp +260 -77
- data/vendor/simdjson/benchmark/parsingcompetition.cpp +138 -75
- data/vendor/simdjson/benchmark/perfdiff.cpp +114 -0
- data/vendor/simdjson/benchmark/statisticalmodel.cpp +75 -76
- data/vendor/simdjson/cmake/add_cpp_test.cmake +49 -0
- data/vendor/simdjson/cmake/simdjson-flags.cmake +155 -0
- data/vendor/simdjson/cmake/simdjson-user-cmakecache.cmake +24 -0
- data/vendor/simdjson/dependencies/CMakeLists.txt +89 -0
- data/vendor/simdjson/dependencies/benchmark/AUTHORS +56 -0
- data/vendor/simdjson/dependencies/benchmark/BUILD.bazel +44 -0
- data/vendor/simdjson/dependencies/benchmark/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
- data/vendor/simdjson/dependencies/benchmark/CMakeFiles/progress.marks +1 -0
- data/vendor/simdjson/dependencies/benchmark/CMakeLists.txt +279 -0
- data/vendor/simdjson/dependencies/benchmark/CONTRIBUTING.md +58 -0
- data/vendor/simdjson/dependencies/benchmark/CONTRIBUTORS +78 -0
- data/vendor/simdjson/dependencies/benchmark/CTestTestfile.cmake +7 -0
- data/vendor/simdjson/dependencies/benchmark/LICENSE +202 -0
- data/vendor/simdjson/dependencies/benchmark/Makefile +220 -0
- data/vendor/simdjson/dependencies/benchmark/README.md +1290 -0
- data/vendor/simdjson/dependencies/benchmark/WORKSPACE +15 -0
- data/vendor/simdjson/dependencies/benchmark/_config.yml +1 -0
- data/vendor/simdjson/dependencies/benchmark/appveyor.yml +50 -0
- data/vendor/simdjson/dependencies/benchmark/cmake/AddCXXCompilerFlag.cmake +74 -0
- data/vendor/simdjson/dependencies/benchmark/cmake/CXXFeatureCheck.cmake +64 -0
- data/vendor/simdjson/dependencies/benchmark/cmake/Config.cmake.in +1 -0
- data/vendor/simdjson/dependencies/benchmark/cmake/GetGitVersion.cmake +54 -0
- data/vendor/simdjson/dependencies/benchmark/cmake/GoogleTest.cmake +41 -0
- data/vendor/simdjson/dependencies/benchmark/cmake/GoogleTest.cmake.in +58 -0
- data/vendor/simdjson/dependencies/benchmark/cmake/Modules/FindLLVMAr.cmake +16 -0
- data/vendor/simdjson/dependencies/benchmark/cmake/Modules/FindLLVMNm.cmake +16 -0
- data/vendor/simdjson/dependencies/benchmark/cmake/Modules/FindLLVMRanLib.cmake +15 -0
- data/vendor/simdjson/dependencies/benchmark/cmake/benchmark.pc.in +12 -0
- data/vendor/simdjson/dependencies/benchmark/cmake/gnu_posix_regex.cpp +12 -0
- data/vendor/simdjson/dependencies/benchmark/cmake/llvm-toolchain.cmake +8 -0
- data/vendor/simdjson/dependencies/benchmark/cmake/posix_regex.cpp +14 -0
- data/vendor/simdjson/dependencies/benchmark/cmake/split_list.cmake +3 -0
- data/vendor/simdjson/dependencies/benchmark/cmake/std_regex.cpp +10 -0
- data/vendor/simdjson/dependencies/benchmark/cmake/steady_clock.cpp +7 -0
- data/vendor/simdjson/dependencies/benchmark/cmake/thread_safety_attributes.cpp +4 -0
- data/vendor/simdjson/dependencies/benchmark/cmake_install.cmake +45 -0
- data/vendor/simdjson/dependencies/benchmark/conan/CMakeLists.txt +7 -0
- data/vendor/simdjson/dependencies/benchmark/conan/test_package/CMakeLists.txt +10 -0
- data/vendor/simdjson/dependencies/benchmark/conan/test_package/conanfile.py +19 -0
- data/vendor/simdjson/dependencies/benchmark/conan/test_package/test_package.cpp +18 -0
- data/vendor/simdjson/dependencies/benchmark/conanfile.py +79 -0
- data/vendor/simdjson/dependencies/benchmark/dependencies.md +18 -0
- data/vendor/simdjson/dependencies/benchmark/docs/AssemblyTests.md +147 -0
- data/vendor/simdjson/dependencies/benchmark/docs/_config.yml +1 -0
- data/vendor/simdjson/dependencies/benchmark/docs/tools.md +199 -0
- data/vendor/simdjson/dependencies/benchmark/include/benchmark/benchmark.h +1586 -0
- data/vendor/simdjson/dependencies/benchmark/mingw.py +320 -0
- data/vendor/simdjson/dependencies/benchmark/releasing.md +16 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeFiles/benchmark.dir/CXX.includecache +738 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeFiles/benchmark.dir/DependInfo.cmake +47 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeFiles/benchmark.dir/build.make +354 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeFiles/benchmark.dir/cmake_clean.cmake +27 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeFiles/benchmark.dir/cmake_clean_target.cmake +3 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeFiles/benchmark.dir/depend.internal +157 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeFiles/benchmark.dir/depend.make +157 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeFiles/benchmark.dir/flags.make +10 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeFiles/benchmark.dir/link.txt +2 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeFiles/benchmark.dir/progress.make +20 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeFiles/benchmark_main.dir/CXX.includecache +40 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeFiles/benchmark_main.dir/DependInfo.cmake +31 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeFiles/benchmark_main.dir/build.make +99 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeFiles/benchmark_main.dir/cmake_clean.cmake +10 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeFiles/benchmark_main.dir/cmake_clean_target.cmake +3 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeFiles/benchmark_main.dir/depend.internal +6 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeFiles/benchmark_main.dir/depend.make +6 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeFiles/benchmark_main.dir/flags.make +10 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeFiles/benchmark_main.dir/link.txt +2 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeFiles/benchmark_main.dir/progress.make +3 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeFiles/progress.marks +1 -0
- data/vendor/simdjson/dependencies/benchmark/src/CMakeLists.txt +116 -0
- data/vendor/simdjson/dependencies/benchmark/src/CTestTestfile.cmake +6 -0
- data/vendor/simdjson/dependencies/benchmark/src/Makefile +822 -0
- data/vendor/simdjson/dependencies/benchmark/src/arraysize.h +33 -0
- data/vendor/simdjson/dependencies/benchmark/src/benchmark.cc +499 -0
- data/vendor/simdjson/dependencies/benchmark/src/benchmark_api_internal.cc +15 -0
- data/vendor/simdjson/dependencies/benchmark/src/benchmark_api_internal.h +53 -0
- data/vendor/simdjson/dependencies/benchmark/src/benchmark_main.cc +17 -0
- data/vendor/simdjson/dependencies/benchmark/src/benchmark_name.cc +58 -0
- data/vendor/simdjson/dependencies/benchmark/src/benchmark_register.cc +506 -0
- data/vendor/simdjson/dependencies/benchmark/src/benchmark_register.h +107 -0
- data/vendor/simdjson/dependencies/benchmark/src/benchmark_runner.cc +361 -0
- data/vendor/simdjson/dependencies/benchmark/src/benchmark_runner.h +51 -0
- data/vendor/simdjson/dependencies/benchmark/src/check.h +82 -0
- data/vendor/simdjson/dependencies/benchmark/src/cmake_install.cmake +39 -0
- data/vendor/simdjson/dependencies/benchmark/src/colorprint.cc +188 -0
- data/vendor/simdjson/dependencies/benchmark/src/colorprint.h +33 -0
- data/vendor/simdjson/dependencies/benchmark/src/commandlineflags.cc +228 -0
- data/vendor/simdjson/dependencies/benchmark/src/commandlineflags.h +103 -0
- data/vendor/simdjson/dependencies/benchmark/src/complexity.cc +238 -0
- data/vendor/simdjson/dependencies/benchmark/src/complexity.h +55 -0
- data/vendor/simdjson/dependencies/benchmark/src/console_reporter.cc +177 -0
- data/vendor/simdjson/dependencies/benchmark/src/counter.cc +80 -0
- data/vendor/simdjson/dependencies/benchmark/src/counter.h +32 -0
- data/vendor/simdjson/dependencies/benchmark/src/csv_reporter.cc +154 -0
- data/vendor/simdjson/dependencies/benchmark/src/cycleclock.h +192 -0
- data/vendor/simdjson/dependencies/benchmark/src/internal_macros.h +94 -0
- data/vendor/simdjson/dependencies/benchmark/src/json_reporter.cc +253 -0
- data/vendor/simdjson/dependencies/benchmark/src/log.h +74 -0
- data/vendor/simdjson/dependencies/benchmark/src/mutex.h +155 -0
- data/vendor/simdjson/dependencies/benchmark/src/re.h +158 -0
- data/vendor/simdjson/dependencies/benchmark/src/reporter.cc +105 -0
- data/vendor/simdjson/dependencies/benchmark/src/sleep.cc +51 -0
- data/vendor/simdjson/dependencies/benchmark/src/sleep.h +15 -0
- data/vendor/simdjson/dependencies/benchmark/src/statistics.cc +193 -0
- data/vendor/simdjson/dependencies/benchmark/src/statistics.h +37 -0
- data/vendor/simdjson/dependencies/benchmark/src/string_util.cc +252 -0
- data/vendor/simdjson/dependencies/benchmark/src/string_util.h +59 -0
- data/vendor/simdjson/dependencies/benchmark/src/sysinfo.cc +708 -0
- data/vendor/simdjson/dependencies/benchmark/src/thread_manager.h +64 -0
- data/vendor/simdjson/dependencies/benchmark/src/thread_timer.h +86 -0
- data/vendor/simdjson/dependencies/benchmark/src/timers.cc +217 -0
- data/vendor/simdjson/dependencies/benchmark/src/timers.h +48 -0
- data/vendor/simdjson/dependencies/benchmark/test/AssemblyTests.cmake +46 -0
- data/vendor/simdjson/dependencies/benchmark/test/BUILD +73 -0
- data/vendor/simdjson/dependencies/benchmark/test/CMakeLists.txt +260 -0
- data/vendor/simdjson/dependencies/benchmark/test/basic_test.cc +136 -0
- data/vendor/simdjson/dependencies/benchmark/test/benchmark_gtest.cc +128 -0
- data/vendor/simdjson/dependencies/benchmark/test/benchmark_name_gtest.cc +74 -0
- data/vendor/simdjson/dependencies/benchmark/test/benchmark_test.cc +245 -0
- data/vendor/simdjson/dependencies/benchmark/test/clobber_memory_assembly_test.cc +64 -0
- data/vendor/simdjson/dependencies/benchmark/test/commandlineflags_gtest.cc +201 -0
- data/vendor/simdjson/dependencies/benchmark/test/complexity_test.cc +213 -0
- data/vendor/simdjson/dependencies/benchmark/test/cxx03_test.cc +63 -0
- data/vendor/simdjson/dependencies/benchmark/test/diagnostics_test.cc +80 -0
- data/vendor/simdjson/dependencies/benchmark/test/display_aggregates_only_test.cc +43 -0
- data/vendor/simdjson/dependencies/benchmark/test/donotoptimize_assembly_test.cc +163 -0
- data/vendor/simdjson/dependencies/benchmark/test/donotoptimize_test.cc +52 -0
- data/vendor/simdjson/dependencies/benchmark/test/filter_test.cc +104 -0
- data/vendor/simdjson/dependencies/benchmark/test/fixture_test.cc +49 -0
- data/vendor/simdjson/dependencies/benchmark/test/internal_threading_test.cc +184 -0
- data/vendor/simdjson/dependencies/benchmark/test/link_main_test.cc +8 -0
- data/vendor/simdjson/dependencies/benchmark/test/map_test.cc +57 -0
- data/vendor/simdjson/dependencies/benchmark/test/memory_manager_test.cc +44 -0
- data/vendor/simdjson/dependencies/benchmark/test/multiple_ranges_test.cc +96 -0
- data/vendor/simdjson/dependencies/benchmark/test/options_test.cc +75 -0
- data/vendor/simdjson/dependencies/benchmark/test/output_test.h +213 -0
- data/vendor/simdjson/dependencies/benchmark/test/output_test_helper.cc +515 -0
- data/vendor/simdjson/dependencies/benchmark/test/register_benchmark_test.cc +184 -0
- data/vendor/simdjson/dependencies/benchmark/test/report_aggregates_only_test.cc +39 -0
- data/vendor/simdjson/dependencies/benchmark/test/reporter_output_test.cc +748 -0
- data/vendor/simdjson/dependencies/benchmark/test/skip_with_error_test.cc +189 -0
- data/vendor/simdjson/dependencies/benchmark/test/state_assembly_test.cc +68 -0
- data/vendor/simdjson/dependencies/benchmark/test/statistics_gtest.cc +28 -0
- data/vendor/simdjson/dependencies/benchmark/test/string_util_gtest.cc +153 -0
- data/vendor/simdjson/dependencies/benchmark/test/templated_fixture_test.cc +28 -0
- data/vendor/simdjson/dependencies/benchmark/test/user_counters_tabular_test.cc +285 -0
- data/vendor/simdjson/dependencies/benchmark/test/user_counters_test.cc +531 -0
- data/vendor/simdjson/dependencies/benchmark/test/user_counters_thousands_test.cc +173 -0
- data/vendor/simdjson/dependencies/benchmark/tools/compare.py +408 -0
- data/vendor/simdjson/dependencies/benchmark/tools/gbench/__init__.py +8 -0
- data/vendor/simdjson/dependencies/benchmark/tools/gbench/report.py +541 -0
- data/vendor/simdjson/dependencies/benchmark/tools/gbench/util.py +164 -0
- data/vendor/simdjson/dependencies/benchmark/tools/strip_asm.py +151 -0
- data/vendor/simdjson/dependencies/cJSON/CHANGELOG.md +375 -0
- data/vendor/simdjson/dependencies/cJSON/CMakeLists.txt +251 -0
- data/vendor/simdjson/dependencies/cJSON/CONTRIBUTORS.md +51 -0
- data/vendor/simdjson/dependencies/cJSON/LICENSE +20 -0
- data/vendor/simdjson/dependencies/cJSON/Makefile +157 -0
- data/vendor/simdjson/dependencies/cJSON/README.md +533 -0
- data/vendor/simdjson/dependencies/cJSON/appveyor.yml +86 -0
- data/vendor/simdjson/dependencies/cJSON/cJSON.c +2936 -0
- data/vendor/simdjson/dependencies/cJSON/cJSON.h +285 -0
- data/vendor/simdjson/dependencies/cJSON/cJSON_Utils.c +1450 -0
- data/vendor/simdjson/dependencies/cJSON/cJSON_Utils.h +88 -0
- data/vendor/simdjson/dependencies/cJSON/fuzzing/CMakeLists.txt +28 -0
- data/vendor/simdjson/dependencies/cJSON/fuzzing/afl-prepare-linux.sh +5 -0
- data/vendor/simdjson/dependencies/cJSON/fuzzing/afl.c +176 -0
- data/vendor/simdjson/dependencies/cJSON/fuzzing/afl.sh +9 -0
- data/vendor/simdjson/dependencies/cJSON/fuzzing/inputs/test1 +22 -0
- data/vendor/simdjson/dependencies/cJSON/fuzzing/inputs/test10 +1 -0
- data/vendor/simdjson/dependencies/cJSON/fuzzing/inputs/test11 +8 -0
- data/vendor/simdjson/dependencies/cJSON/fuzzing/inputs/test2 +11 -0
- data/vendor/simdjson/dependencies/cJSON/fuzzing/inputs/test3 +26 -0
- data/vendor/simdjson/dependencies/cJSON/fuzzing/inputs/test3.bu +26 -0
- data/vendor/simdjson/dependencies/cJSON/fuzzing/inputs/test3.uf +26 -0
- data/vendor/simdjson/dependencies/cJSON/fuzzing/inputs/test3.uu +26 -0
- data/vendor/simdjson/dependencies/cJSON/fuzzing/inputs/test4 +88 -0
- data/vendor/simdjson/dependencies/cJSON/fuzzing/inputs/test5 +27 -0
- data/vendor/simdjson/dependencies/cJSON/fuzzing/inputs/test6 +16 -0
- data/vendor/simdjson/dependencies/cJSON/fuzzing/inputs/test7 +22 -0
- data/vendor/simdjson/dependencies/cJSON/fuzzing/inputs/test8 +13 -0
- data/vendor/simdjson/dependencies/cJSON/fuzzing/inputs/test9 +5 -0
- data/vendor/simdjson/dependencies/cJSON/fuzzing/json.dict +47 -0
- data/vendor/simdjson/dependencies/cJSON/library_config/cJSONConfig.cmake.in +29 -0
- data/vendor/simdjson/dependencies/cJSON/library_config/cJSONConfigVersion.cmake.in +11 -0
- data/vendor/simdjson/dependencies/cJSON/library_config/libcjson.pc.in +10 -0
- data/vendor/simdjson/dependencies/cJSON/library_config/libcjson_utils.pc.in +10 -0
- data/vendor/simdjson/dependencies/cJSON/test.c +268 -0
- data/vendor/simdjson/dependencies/cJSON/tests/CMakeLists.txt +115 -0
- data/vendor/simdjson/dependencies/cJSON/tests/cjson_add.c +422 -0
- data/vendor/simdjson/dependencies/cJSON/tests/common.h +122 -0
- data/vendor/simdjson/dependencies/cJSON/tests/compare_tests.c +205 -0
- data/vendor/simdjson/dependencies/cJSON/tests/inputs/test1 +22 -0
- data/vendor/simdjson/dependencies/cJSON/tests/inputs/test1.expected +22 -0
- data/vendor/simdjson/dependencies/cJSON/tests/inputs/test10 +1 -0
- data/vendor/simdjson/dependencies/cJSON/tests/inputs/test10.expected +1 -0
- data/vendor/simdjson/dependencies/cJSON/tests/inputs/test11 +8 -0
- data/vendor/simdjson/dependencies/cJSON/tests/inputs/test11.expected +10 -0
- data/vendor/simdjson/dependencies/cJSON/tests/inputs/test2 +11 -0
- data/vendor/simdjson/dependencies/cJSON/tests/inputs/test2.expected +18 -0
- data/vendor/simdjson/dependencies/cJSON/tests/inputs/test3 +26 -0
- data/vendor/simdjson/dependencies/cJSON/tests/inputs/test3.expected +28 -0
- data/vendor/simdjson/dependencies/cJSON/tests/inputs/test4 +88 -0
- data/vendor/simdjson/dependencies/cJSON/tests/inputs/test4.expected +94 -0
- data/vendor/simdjson/dependencies/cJSON/tests/inputs/test5 +27 -0
- data/vendor/simdjson/dependencies/cJSON/tests/inputs/test5.expected +54 -0
- data/vendor/simdjson/dependencies/cJSON/tests/inputs/test6 +16 -0
- data/vendor/simdjson/dependencies/cJSON/tests/inputs/test7 +22 -0
- data/vendor/simdjson/dependencies/cJSON/tests/inputs/test7.expected +19 -0
- data/vendor/simdjson/dependencies/cJSON/tests/inputs/test8 +13 -0
- data/vendor/simdjson/dependencies/cJSON/tests/inputs/test8.expected +13 -0
- data/vendor/simdjson/dependencies/cJSON/tests/inputs/test9 +5 -0
- data/vendor/simdjson/dependencies/cJSON/tests/inputs/test9.expected +1 -0
- data/vendor/simdjson/dependencies/cJSON/tests/json-patch-tests/README.md +75 -0
- data/vendor/simdjson/dependencies/cJSON/tests/json_patch_tests.c +243 -0
- data/vendor/simdjson/dependencies/cJSON/tests/misc_tests.c +579 -0
- data/vendor/simdjson/dependencies/cJSON/tests/misc_utils_tests.c +80 -0
- data/vendor/simdjson/dependencies/cJSON/tests/old_utils_tests.c +205 -0
- data/vendor/simdjson/dependencies/cJSON/tests/parse_array.c +166 -0
- data/vendor/simdjson/dependencies/cJSON/tests/parse_examples.c +214 -0
- data/vendor/simdjson/dependencies/cJSON/tests/parse_hex4.c +73 -0
- data/vendor/simdjson/dependencies/cJSON/tests/parse_number.c +110 -0
- data/vendor/simdjson/dependencies/cJSON/tests/parse_object.c +176 -0
- data/vendor/simdjson/dependencies/cJSON/tests/parse_string.c +135 -0
- data/vendor/simdjson/dependencies/cJSON/tests/parse_value.c +112 -0
- data/vendor/simdjson/dependencies/cJSON/tests/parse_with_opts.c +112 -0
- data/vendor/simdjson/dependencies/cJSON/tests/print_array.c +100 -0
- data/vendor/simdjson/dependencies/cJSON/tests/print_number.c +105 -0
- data/vendor/simdjson/dependencies/cJSON/tests/print_object.c +101 -0
- data/vendor/simdjson/dependencies/cJSON/tests/print_string.c +78 -0
- data/vendor/simdjson/dependencies/cJSON/tests/print_value.c +107 -0
- data/vendor/simdjson/dependencies/cJSON/tests/readme_examples.c +258 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/README.md +231 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/auto/colour_prompt.rb +118 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/auto/colour_reporter.rb +39 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/auto/generate_config.yml +36 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/auto/generate_module.rb +308 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/auto/generate_test_runner.rb +454 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/auto/parse_output.rb +220 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/auto/stylize_as_junit.rb +252 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/auto/test_file_filter.rb +25 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/auto/type_sanitizer.rb +6 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/auto/unity_test_summary.py +139 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/auto/unity_test_summary.rb +136 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/auto/unity_to_junit.py +146 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/docs/ThrowTheSwitchCodingStandard.md +207 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf +0 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/docs/UnityAssertionsReference.md +770 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/docs/UnityConfigurationGuide.md +435 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/docs/UnityGettingStartedGuide.md +191 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/docs/UnityHelperScriptsGuide.md +254 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/docs/license.txt +21 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_1/makefile +71 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_1/readme.txt +5 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_1/src/ProductionCode.c +24 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_1/src/ProductionCode.h +3 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_1/src/ProductionCode2.c +11 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_1/src/ProductionCode2.h +2 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_1/test/TestProductionCode.c +62 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_1/test/TestProductionCode2.c +31 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_1/test/test_runners/TestProductionCode2_Runner.c +53 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_1/test/test_runners/TestProductionCode_Runner.c +57 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_2/makefile +70 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_2/readme.txt +5 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_2/src/ProductionCode.c +24 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_2/src/ProductionCode.h +3 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_2/src/ProductionCode2.c +11 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_2/src/ProductionCode2.h +2 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_2/test/TestProductionCode.c +64 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_2/test/TestProductionCode2.c +33 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_2/test/test_runners/TestProductionCode2_Runner.c +9 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c +11 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_2/test/test_runners/all_tests.c +12 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_3/helper/UnityHelper.c +10 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_3/helper/UnityHelper.h +12 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_3/rakefile.rb +43 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_3/rakefile_helper.rb +249 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_3/readme.txt +13 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_3/src/ProductionCode.c +24 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_3/src/ProductionCode.h +3 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_3/src/ProductionCode2.c +11 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_3/src/ProductionCode2.h +2 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_3/target_gcc_32.yml +46 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_3/test/TestProductionCode.c +62 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_3/test/TestProductionCode2.c +31 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/examples/unity_config.h +239 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/extras/eclipse/error_parsers.txt +26 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/extras/fixture/rakefile.rb +48 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/extras/fixture/rakefile_helper.rb +178 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/extras/fixture/readme.txt +9 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/extras/fixture/src/unity_fixture.c +432 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/extras/fixture/src/unity_fixture.h +83 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/extras/fixture/src/unity_fixture_internals.h +51 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +47 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/extras/fixture/test/Makefile +75 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/extras/fixture/test/main/AllTests.c +22 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/extras/fixture/test/template_fixture_tests.c +39 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/extras/fixture/test/unity_fixture_Test.c +543 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/extras/fixture/test/unity_fixture_TestRunner.c +57 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/extras/fixture/test/unity_output_Spy.c +57 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/extras/fixture/test/unity_output_Spy.h +17 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/release/build.info +2 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/release/version.info +2 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/src/unity.c +1570 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/src/unity.h +503 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/src/unity_internals.h +870 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/Makefile +66 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/expectdata/testsample_cmd.c +61 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/expectdata/testsample_def.c +57 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/expectdata/testsample_head1.c +55 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/expectdata/testsample_head1.h +15 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/expectdata/testsample_mock_cmd.c +80 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/expectdata/testsample_mock_def.c +76 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/expectdata/testsample_mock_head1.c +75 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/expectdata/testsample_mock_head1.h +13 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/expectdata/testsample_mock_new1.c +89 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/expectdata/testsample_mock_new2.c +89 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/expectdata/testsample_mock_param.c +77 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/expectdata/testsample_mock_run1.c +89 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/expectdata/testsample_mock_run2.c +89 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/expectdata/testsample_mock_yaml.c +90 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/expectdata/testsample_new1.c +67 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/expectdata/testsample_new2.c +70 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/expectdata/testsample_param.c +58 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/expectdata/testsample_run1.c +67 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/expectdata/testsample_run2.c +70 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/expectdata/testsample_yaml.c +71 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/rakefile +125 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/rakefile_helper.rb +260 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/spec/generate_module_existing_file_spec.rb +158 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/targets/clang_file.yml +78 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/targets/clang_strict.yml +78 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/targets/gcc_32.yml +49 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/targets/gcc_64.yml +50 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/targets/gcc_auto_limits.yml +47 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/targets/gcc_auto_stdint.yml +59 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/targets/gcc_manual_math.yml +47 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/targets/hitech_picc18.yml +101 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/targets/iar_arm_v4.yml +90 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/targets/iar_arm_v5.yml +80 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/targets/iar_arm_v5_3.yml +80 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +94 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/targets/iar_cortexm3_v5.yml +84 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/targets/iar_msp430.yml +95 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/targets/iar_sh2a_v6.yml +86 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/testdata/CException.h +11 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/testdata/Defs.h +8 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/testdata/cmock.h +14 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/testdata/mockMock.h +13 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/testdata/testRunnerGenerator.c +183 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/testdata/testRunnerGeneratorSmall.c +67 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/testdata/testRunnerGeneratorWithMocks.c +192 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/tests/test_generate_test_runner.rb +1252 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/tests/testparameterized.c +110 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity/test/tests/testunity.c +5337 -0
- data/vendor/simdjson/dependencies/cJSON/tests/unity_setup.c +3 -0
- data/vendor/simdjson/dependencies/cJSON/valgrind.supp +6 -0
- data/vendor/simdjson/dependencies/cxxopts/CHANGELOG.md +97 -0
- data/vendor/simdjson/dependencies/cxxopts/CMakeLists.txt +108 -0
- data/vendor/simdjson/dependencies/cxxopts/INSTALL +23 -0
- data/vendor/simdjson/dependencies/cxxopts/LICENSE +19 -0
- data/vendor/simdjson/dependencies/cxxopts/README.md +208 -0
- data/vendor/simdjson/dependencies/cxxopts/cxxopts-config.cmake.in +4 -0
- data/vendor/simdjson/dependencies/cxxopts/include/cxxopts.hpp +2193 -0
- data/vendor/simdjson/dependencies/cxxopts/src/CMakeLists.txt +24 -0
- data/vendor/simdjson/dependencies/cxxopts/src/example.cpp +167 -0
- data/vendor/simdjson/dependencies/cxxopts/test/CMakeLists.txt +35 -0
- data/vendor/simdjson/dependencies/cxxopts/test/add-subdirectory-test/CMakeLists.txt +11 -0
- data/vendor/simdjson/dependencies/cxxopts/test/catch.hpp +10460 -0
- data/vendor/simdjson/dependencies/cxxopts/test/find-package-test/CMakeLists.txt +11 -0
- data/vendor/simdjson/dependencies/cxxopts/test/link_a.cpp +6 -0
- data/vendor/simdjson/dependencies/cxxopts/test/link_b.cpp +1 -0
- data/vendor/simdjson/dependencies/cxxopts/test/main.cpp +2 -0
- data/vendor/simdjson/dependencies/cxxopts/test/options.cpp +776 -0
- data/vendor/simdjson/dependencies/fastjson/LICENSE.txt +24 -0
- data/vendor/simdjson/dependencies/fastjson/Makefile +5 -0
- data/vendor/simdjson/dependencies/fastjson/README.md +68 -0
- data/vendor/simdjson/dependencies/fastjson/SConstruct +44 -0
- data/vendor/simdjson/dependencies/fastjson/examples/address_book/Makefile +2 -0
- data/vendor/simdjson/dependencies/fastjson/examples/address_book/README.markdown +5 -0
- data/vendor/simdjson/dependencies/fastjson/examples/address_book/address_book.cpp +166 -0
- data/vendor/simdjson/dependencies/fastjson/include/fastjson/core.h +146 -0
- data/vendor/simdjson/dependencies/fastjson/include/fastjson/dom.h +799 -0
- data/vendor/simdjson/dependencies/fastjson/include/fastjson/error.h +64 -0
- data/vendor/simdjson/dependencies/fastjson/include/fastjson/fastjson.h +161 -0
- data/vendor/simdjson/dependencies/fastjson/include/fastjson/utils.h +62 -0
- data/vendor/simdjson/dependencies/fastjson/src/fastjson.cpp +1016 -0
- data/vendor/simdjson/dependencies/fastjson/src/fastjson2.cpp +440 -0
- data/vendor/simdjson/dependencies/fastjson/src/fastjson_dom.cpp +165 -0
- data/vendor/simdjson/dependencies/fastjson/tests/00-bug-00-bad-parse.cpp +59 -0
- data/vendor/simdjson/dependencies/fastjson/tests/00-bug-01-string-roundtrip.cpp +88 -0
- data/vendor/simdjson/dependencies/fastjson/tests/00-bug-02-unicode-escape.cpp +66 -0
- data/vendor/simdjson/dependencies/fastjson/tests/01-dom-00-dict-const-get.cpp +35 -0
- data/vendor/simdjson/dependencies/fastjson/tests/01-dom-01-vector-from-json.cpp +36 -0
- data/vendor/simdjson/dependencies/fastjson/tests/Makefile +4 -0
- data/vendor/simdjson/dependencies/fastjson/tests/clone_token.cpp +49 -0
- data/vendor/simdjson/dependencies/fastjson/tests/dom_from_string.cpp +77 -0
- data/vendor/simdjson/dependencies/fastjson/tests/misc/dynamic_test.cpp +49 -0
- data/vendor/simdjson/dependencies/fastjson/tests/misc/from_file.cpp +57 -0
- data/vendor/simdjson/dependencies/fastjson/tests/misc/speed_test.cpp +127 -0
- data/vendor/simdjson/dependencies/fastjson/tests/misc/speed_test_boost.cpp +115 -0
- data/vendor/simdjson/dependencies/fastjson/tests/saruconf +3 -0
- data/vendor/simdjson/dependencies/fastjson/tests/test0.cpp +385 -0
- data/vendor/simdjson/dependencies/fastjson/tests/test1.cpp +237 -0
- data/vendor/simdjson/dependencies/fastjson/tests/test2.cpp +301 -0
- data/vendor/simdjson/dependencies/fastjson/tests/test_permissive_count.cpp +100 -0
- data/vendor/simdjson/dependencies/fastjson/tests/test_permissive_parse.cpp +83 -0
- data/vendor/simdjson/dependencies/fastjson/tests/test_permissive_roundtrip.cpp +64 -0
- data/vendor/simdjson/dependencies/fastjson/tests/test_utils.cpp +176 -0
- data/vendor/simdjson/dependencies/gason/CMakeLists.txt +16 -0
- data/vendor/simdjson/dependencies/gason/LICENSE +20 -0
- data/vendor/simdjson/dependencies/gason/README.md +167 -0
- data/vendor/simdjson/dependencies/gason/data/download.sh +5 -0
- data/vendor/simdjson/dependencies/gason/ruberoid/AndroidManifest.xml +32 -0
- data/vendor/simdjson/dependencies/gason/ruberoid/res/values/strings.xml +4 -0
- data/vendor/simdjson/dependencies/gason/src/benchmark.cpp +257 -0
- data/vendor/simdjson/dependencies/gason/src/gason.cpp +334 -0
- data/vendor/simdjson/dependencies/gason/src/gason.h +135 -0
- data/vendor/simdjson/dependencies/gason/src/pretty-print.cpp +192 -0
- data/vendor/simdjson/dependencies/gason/src/test-suite.cpp +146 -0
- data/vendor/simdjson/dependencies/jsmn/LICENSE +20 -0
- data/vendor/simdjson/dependencies/jsmn/Makefile +41 -0
- data/vendor/simdjson/dependencies/jsmn/README.md +168 -0
- data/vendor/simdjson/dependencies/jsmn/example/jsondump.c +126 -0
- data/vendor/simdjson/dependencies/jsmn/example/simple.c +76 -0
- data/vendor/simdjson/dependencies/jsmn/jsmn.c +314 -0
- data/vendor/simdjson/dependencies/jsmn/jsmn.h +76 -0
- data/vendor/simdjson/dependencies/jsmn/test/test.h +27 -0
- data/vendor/simdjson/dependencies/jsmn/test/tests.c +407 -0
- data/vendor/simdjson/dependencies/jsmn/test/testutil.h +94 -0
- data/vendor/simdjson/dependencies/json/CMakeLists.txt +131 -0
- data/vendor/simdjson/dependencies/json/CODE_OF_CONDUCT.md +46 -0
- data/vendor/simdjson/dependencies/json/ChangeLog.md +1670 -0
- data/vendor/simdjson/dependencies/json/LICENSE.MIT +21 -0
- data/vendor/simdjson/dependencies/json/Makefile +629 -0
- data/vendor/simdjson/dependencies/json/README.md +1370 -0
- data/vendor/simdjson/dependencies/json/appveyor.yml +111 -0
- data/vendor/simdjson/dependencies/json/benchmarks/CMakeLists.txt +28 -0
- data/vendor/simdjson/dependencies/json/benchmarks/src/benchmarks.cpp +109 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/AUTHORS +46 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/BUILD.bazel +42 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/CMakeLists.txt +251 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/CONTRIBUTING.md +58 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/CONTRIBUTORS +65 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/LICENSE +202 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/README.md +950 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/WORKSPACE +7 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/appveyor.yml +56 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/cmake/AddCXXCompilerFlag.cmake +74 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/cmake/CXXFeatureCheck.cmake +64 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/cmake/Config.cmake.in +1 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/cmake/GetGitVersion.cmake +54 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/cmake/HandleGTest.cmake +113 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/cmake/Modules/FindLLVMAr.cmake +16 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/cmake/Modules/FindLLVMNm.cmake +16 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/cmake/Modules/FindLLVMRanLib.cmake +15 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/cmake/benchmark.pc.in +11 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/cmake/gnu_posix_regex.cpp +12 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/cmake/llvm-toolchain.cmake +8 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/cmake/posix_regex.cpp +14 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/cmake/split_list.cmake +3 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/cmake/std_regex.cpp +10 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/cmake/steady_clock.cpp +7 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/cmake/thread_safety_attributes.cpp +4 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/docs/AssemblyTests.md +147 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/docs/tools.md +242 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/include/benchmark/benchmark.h +1456 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/mingw.py +320 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/releasing.md +16 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/CMakeLists.txt +105 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/arraysize.h +33 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/benchmark.cc +630 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/benchmark_api_internal.h +47 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/benchmark_main.cc +17 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/benchmark_register.cc +461 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/benchmark_register.h +33 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/check.h +79 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/colorprint.cc +188 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/colorprint.h +33 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/commandlineflags.cc +218 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/commandlineflags.h +79 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/complexity.cc +220 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/complexity.h +55 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/console_reporter.cc +182 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/counter.cc +68 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/counter.h +26 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/csv_reporter.cc +149 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/cycleclock.h +177 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/internal_macros.h +89 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/json_reporter.cc +205 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/log.h +73 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/mutex.h +155 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/re.h +152 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/reporter.cc +87 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/sleep.cc +51 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/sleep.h +15 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/statistics.cc +178 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/statistics.h +37 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/string_util.cc +172 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/string_util.h +40 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/sysinfo.cc +587 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/thread_manager.h +66 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/thread_timer.h +69 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/timers.cc +217 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/src/timers.h +48 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/tools/compare.py +316 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/tools/compare_bench.py +67 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/tools/gbench/__init__.py +8 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/tools/gbench/report.py +208 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/tools/gbench/util.py +159 -0
- data/vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/tools/strip_asm.py +151 -0
- data/vendor/simdjson/dependencies/json/cmake/config.cmake.in +15 -0
- data/vendor/simdjson/dependencies/json/doc/Doxyfile +335 -0
- data/vendor/simdjson/dependencies/json/doc/Makefile +90 -0
- data/vendor/simdjson/dependencies/json/doc/avatars.png +0 -0
- data/vendor/simdjson/dependencies/json/doc/binary_formats.md +171 -0
- data/vendor/simdjson/dependencies/json/doc/css/mylayout.css +26 -0
- data/vendor/simdjson/dependencies/json/doc/css/mylayout_docset.css +27 -0
- data/vendor/simdjson/dependencies/json/doc/examples/README.cpp +39 -0
- data/vendor/simdjson/dependencies/json/doc/examples/README.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/README.output +27 -0
- data/vendor/simdjson/dependencies/json/doc/examples/array.cpp +19 -0
- data/vendor/simdjson/dependencies/json/doc/examples/array.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/array.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/at__object_t_key_type.cpp +48 -0
- data/vendor/simdjson/dependencies/json/doc/examples/at__object_t_key_type.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/at__object_t_key_type.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/at__object_t_key_type_const.cpp +42 -0
- data/vendor/simdjson/dependencies/json/doc/examples/at__object_t_key_type_const.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/at__object_t_key_type_const.output +3 -0
- data/vendor/simdjson/dependencies/json/doc/examples/at__size_type.cpp +43 -0
- data/vendor/simdjson/dependencies/json/doc/examples/at__size_type.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/at__size_type.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/at__size_type_const.cpp +37 -0
- data/vendor/simdjson/dependencies/json/doc/examples/at__size_type_const.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/at__size_type_const.output +3 -0
- data/vendor/simdjson/dependencies/json/doc/examples/at_json_pointer.cpp +103 -0
- data/vendor/simdjson/dependencies/json/doc/examples/at_json_pointer.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/at_json_pointer.output +12 -0
- data/vendor/simdjson/dependencies/json/doc/examples/at_json_pointer_const.cpp +79 -0
- data/vendor/simdjson/dependencies/json/doc/examples/at_json_pointer_const.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/at_json_pointer_const.output +9 -0
- data/vendor/simdjson/dependencies/json/doc/examples/back.cpp +38 -0
- data/vendor/simdjson/dependencies/json/doc/examples/back.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/back.output +7 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__CompatibleType.cpp +218 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__CompatibleType.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__CompatibleType.output +39 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__InputIt_InputIt.cpp +32 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__InputIt_InputIt.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__InputIt_InputIt.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__basic_json.cpp +17 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__basic_json.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__basic_json.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__copyassignment.cpp +18 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__copyassignment.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__copyassignment.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__list_init_t.cpp +21 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__list_init_t.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__list_init_t.output +5 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__moveconstructor.cpp +17 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__moveconstructor.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__moveconstructor.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__nullptr_t.cpp +16 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__nullptr_t.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__nullptr_t.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__size_type_basic_json.cpp +18 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__size_type_basic_json.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__size_type_basic_json.output +3 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__value.cpp +30 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__value.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__value.output +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__value_ptr.cpp +30 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__value_ptr.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__value_ptr.output +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__value_t.cpp +25 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__value_t.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/basic_json__value_t.output +7 -0
- data/vendor/simdjson/dependencies/json/doc/examples/begin.cpp +16 -0
- data/vendor/simdjson/dependencies/json/doc/examples/begin.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/begin.output +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/cbegin.cpp +16 -0
- data/vendor/simdjson/dependencies/json/doc/examples/cbegin.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/cbegin.output +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/cend.cpp +19 -0
- data/vendor/simdjson/dependencies/json/doc/examples/cend.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/cend.output +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/clear.cpp +34 -0
- data/vendor/simdjson/dependencies/json/doc/examples/clear.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/clear.output +7 -0
- data/vendor/simdjson/dependencies/json/doc/examples/contains.cpp +17 -0
- data/vendor/simdjson/dependencies/json/doc/examples/contains.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/contains.output +3 -0
- data/vendor/simdjson/dependencies/json/doc/examples/contains_json_pointer.cpp +45 -0
- data/vendor/simdjson/dependencies/json/doc/examples/contains_json_pointer.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/contains_json_pointer.output +10 -0
- data/vendor/simdjson/dependencies/json/doc/examples/count.cpp +18 -0
- data/vendor/simdjson/dependencies/json/doc/examples/count.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/count.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/crbegin.cpp +16 -0
- data/vendor/simdjson/dependencies/json/doc/examples/crbegin.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/crbegin.output +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/crend.cpp +19 -0
- data/vendor/simdjson/dependencies/json/doc/examples/crend.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/crend.output +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/diff.cpp +36 -0
- data/vendor/simdjson/dependencies/json/doc/examples/diff.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/diff.output +25 -0
- data/vendor/simdjson/dependencies/json/doc/examples/dump.cpp +48 -0
- data/vendor/simdjson/dependencies/json/doc/examples/dump.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/dump.output +55 -0
- data/vendor/simdjson/dependencies/json/doc/examples/emplace.cpp +31 -0
- data/vendor/simdjson/dependencies/json/doc/examples/emplace.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/emplace.output +6 -0
- data/vendor/simdjson/dependencies/json/doc/examples/emplace_back.cpp +24 -0
- data/vendor/simdjson/dependencies/json/doc/examples/emplace_back.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/emplace_back.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/empty.cpp +30 -0
- data/vendor/simdjson/dependencies/json/doc/examples/empty.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/empty.output +9 -0
- data/vendor/simdjson/dependencies/json/doc/examples/end.cpp +19 -0
- data/vendor/simdjson/dependencies/json/doc/examples/end.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/end.output +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/erase__IteratorType.cpp +31 -0
- data/vendor/simdjson/dependencies/json/doc/examples/erase__IteratorType.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/erase__IteratorType.output +6 -0
- data/vendor/simdjson/dependencies/json/doc/examples/erase__IteratorType_IteratorType.cpp +31 -0
- data/vendor/simdjson/dependencies/json/doc/examples/erase__IteratorType_IteratorType.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/erase__IteratorType_IteratorType.output +6 -0
- data/vendor/simdjson/dependencies/json/doc/examples/erase__key_type.cpp +18 -0
- data/vendor/simdjson/dependencies/json/doc/examples/erase__key_type.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/erase__key_type.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/erase__size_type.cpp +16 -0
- data/vendor/simdjson/dependencies/json/doc/examples/erase__size_type.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/erase__size_type.output +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/exception.cpp +20 -0
- data/vendor/simdjson/dependencies/json/doc/examples/exception.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/exception.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/find__key_type.cpp +20 -0
- data/vendor/simdjson/dependencies/json/doc/examples/find__key_type.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/find__key_type.output +3 -0
- data/vendor/simdjson/dependencies/json/doc/examples/flatten.cpp +32 -0
- data/vendor/simdjson/dependencies/json/doc/examples/flatten.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/flatten.output +12 -0
- data/vendor/simdjson/dependencies/json/doc/examples/from_bson.cpp +21 -0
- data/vendor/simdjson/dependencies/json/doc/examples/from_bson.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/from_bson.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/from_cbor.cpp +20 -0
- data/vendor/simdjson/dependencies/json/doc/examples/from_cbor.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/from_cbor.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/from_msgpack.cpp +20 -0
- data/vendor/simdjson/dependencies/json/doc/examples/from_msgpack.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/from_msgpack.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/from_ubjson.cpp +20 -0
- data/vendor/simdjson/dependencies/json/doc/examples/from_ubjson.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/from_ubjson.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/front.cpp +29 -0
- data/vendor/simdjson/dependencies/json/doc/examples/front.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/front.output +6 -0
- data/vendor/simdjson/dependencies/json/doc/examples/get__PointerType.cpp +21 -0
- data/vendor/simdjson/dependencies/json/doc/examples/get__PointerType.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/get__PointerType.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/get__ValueType_const.cpp +50 -0
- data/vendor/simdjson/dependencies/json/doc/examples/get__ValueType_const.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/get__ValueType_const.output +11 -0
- data/vendor/simdjson/dependencies/json/doc/examples/get_ptr.cpp +21 -0
- data/vendor/simdjson/dependencies/json/doc/examples/get_ptr.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/get_ptr.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/get_ref.cpp +27 -0
- data/vendor/simdjson/dependencies/json/doc/examples/get_ref.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/get_ref.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/get_to.cpp +60 -0
- data/vendor/simdjson/dependencies/json/doc/examples/get_to.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/get_to.output +11 -0
- data/vendor/simdjson/dependencies/json/doc/examples/insert.cpp +17 -0
- data/vendor/simdjson/dependencies/json/doc/examples/insert.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/insert.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/insert__count.cpp +17 -0
- data/vendor/simdjson/dependencies/json/doc/examples/insert__count.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/insert__count.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/insert__ilist.cpp +17 -0
- data/vendor/simdjson/dependencies/json/doc/examples/insert__ilist.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/insert__ilist.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/insert__range.cpp +20 -0
- data/vendor/simdjson/dependencies/json/doc/examples/insert__range.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/insert__range.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/insert__range_object.cpp +21 -0
- data/vendor/simdjson/dependencies/json/doc/examples/insert__range_object.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/insert__range_object.output +3 -0
- data/vendor/simdjson/dependencies/json/doc/examples/invalid_iterator.cpp +21 -0
- data/vendor/simdjson/dependencies/json/doc/examples/invalid_iterator.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/invalid_iterator.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_array.cpp +28 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_array.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_array.output +8 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_boolean.cpp +28 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_boolean.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_boolean.output +8 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_discarded.cpp +28 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_discarded.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_discarded.output +8 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_null.cpp +28 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_null.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_null.output +8 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_number.cpp +28 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_number.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_number.output +8 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_number_float.cpp +28 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_number_float.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_number_float.output +8 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_number_integer.cpp +28 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_number_integer.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_number_integer.output +8 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_number_unsigned.cpp +28 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_number_unsigned.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_number_unsigned.output +8 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_object.cpp +28 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_object.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_object.output +8 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_primitive.cpp +28 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_primitive.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_primitive.output +8 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_string.cpp +28 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_string.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_string.output +8 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_structured.cpp +28 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_structured.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/is_structured.output +8 -0
- data/vendor/simdjson/dependencies/json/doc/examples/items.cpp +23 -0
- data/vendor/simdjson/dependencies/json/doc/examples/items.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/items.output +7 -0
- data/vendor/simdjson/dependencies/json/doc/examples/iterator_wrapper.cpp +23 -0
- data/vendor/simdjson/dependencies/json/doc/examples/iterator_wrapper.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/iterator_wrapper.output +7 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer.cpp +47 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer.output +3 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__back.cpp +15 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__back.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__back.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__empty.cpp +20 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__empty.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__empty.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__operator_add.cpp +23 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__operator_add.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__operator_add.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__operator_add_binary.cpp +19 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__operator_add_binary.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__operator_add_binary.output +3 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__parent_pointer.cpp +18 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__parent_pointer.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__parent_pointer.output +3 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__pop_back.cpp +21 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__pop_back.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__pop_back.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__push_back.cpp +21 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__push_back.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__push_back.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__to_string.cpp +35 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__to_string.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/json_pointer__to_string.output +12 -0
- data/vendor/simdjson/dependencies/json/doc/examples/max_size.cpp +25 -0
- data/vendor/simdjson/dependencies/json/doc/examples/max_size.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/max_size.output +7 -0
- data/vendor/simdjson/dependencies/json/doc/examples/merge_patch.cpp +40 -0
- data/vendor/simdjson/dependencies/json/doc/examples/merge_patch.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/merge_patch.output +11 -0
- data/vendor/simdjson/dependencies/json/doc/examples/meta.cpp +11 -0
- data/vendor/simdjson/dependencies/json/doc/examples/meta.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/meta.output +17 -0
- data/vendor/simdjson/dependencies/json/doc/examples/object.cpp +28 -0
- data/vendor/simdjson/dependencies/json/doc/examples/object.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/object.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__ValueType.cpp +60 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__ValueType.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__ValueType.output +12 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__equal.cpp +24 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__equal.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__equal.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__equal__nullptr_t.cpp +22 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__equal__nullptr_t.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__equal__nullptr_t.output +5 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__greater.cpp +24 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__greater.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__greater.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__greaterequal.cpp +24 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__greaterequal.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__greaterequal.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__less.cpp +24 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__less.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__less.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__lessequal.cpp +24 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__lessequal.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__lessequal.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__notequal.cpp +24 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__notequal.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__notequal.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__notequal__nullptr_t.cpp +22 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__notequal__nullptr_t.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__notequal__nullptr_t.output +5 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__value_t.cpp +38 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__value_t.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator__value_t.output +8 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator_deserialize.cpp +26 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator_deserialize.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator_deserialize.output +13 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator_serialize.cpp +21 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator_serialize.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operator_serialize.output +22 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operatorarray__key_type.cpp +32 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operatorarray__key_type.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operatorarray__key_type.output +19 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operatorarray__key_type_const.cpp +16 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operatorarray__key_type_const.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operatorarray__key_type_const.output +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operatorarray__size_type.cpp +25 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operatorarray__size_type.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operatorarray__size_type.output +3 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operatorarray__size_type_const.cpp +13 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operatorarray__size_type_const.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operatorarray__size_type_const.output +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operatorjson_pointer.cpp +48 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operatorjson_pointer.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operatorjson_pointer.output +8 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operatorjson_pointer_const.cpp +24 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operatorjson_pointer_const.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/operatorjson_pointer_const.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/other_error.cpp +29 -0
- data/vendor/simdjson/dependencies/json/doc/examples/other_error.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/other_error.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/out_of_range.cpp +20 -0
- data/vendor/simdjson/dependencies/json/doc/examples/out_of_range.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/out_of_range.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/parse__array__parser_callback_t.cpp +30 -0
- data/vendor/simdjson/dependencies/json/doc/examples/parse__array__parser_callback_t.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/parse__array__parser_callback_t.output +20 -0
- data/vendor/simdjson/dependencies/json/doc/examples/parse__contiguouscontainer__parser_callback_t.cpp +15 -0
- data/vendor/simdjson/dependencies/json/doc/examples/parse__contiguouscontainer__parser_callback_t.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/parse__contiguouscontainer__parser_callback_t.output +6 -0
- data/vendor/simdjson/dependencies/json/doc/examples/parse__istream__parser_callback_t.cpp +58 -0
- data/vendor/simdjson/dependencies/json/doc/examples/parse__istream__parser_callback_t.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/parse__istream__parser_callback_t.output +34 -0
- data/vendor/simdjson/dependencies/json/doc/examples/parse__iteratortype__parser_callback_t.cpp +15 -0
- data/vendor/simdjson/dependencies/json/doc/examples/parse__iteratortype__parser_callback_t.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/parse__iteratortype__parser_callback_t.output +6 -0
- data/vendor/simdjson/dependencies/json/doc/examples/parse__string__parser_callback_t.cpp +49 -0
- data/vendor/simdjson/dependencies/json/doc/examples/parse__string__parser_callback_t.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/parse__string__parser_callback_t.output +34 -0
- data/vendor/simdjson/dependencies/json/doc/examples/parse_error.cpp +20 -0
- data/vendor/simdjson/dependencies/json/doc/examples/parse_error.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/parse_error.output +3 -0
- data/vendor/simdjson/dependencies/json/doc/examples/patch.cpp +32 -0
- data/vendor/simdjson/dependencies/json/doc/examples/patch.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/patch.output +11 -0
- data/vendor/simdjson/dependencies/json/doc/examples/push_back.cpp +25 -0
- data/vendor/simdjson/dependencies/json/doc/examples/push_back.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/push_back.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/push_back__initializer_list.cpp +27 -0
- data/vendor/simdjson/dependencies/json/doc/examples/push_back__initializer_list.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/push_back__initializer_list.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/push_back__object_t__value.cpp +25 -0
- data/vendor/simdjson/dependencies/json/doc/examples/push_back__object_t__value.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/push_back__object_t__value.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/rbegin.cpp +16 -0
- data/vendor/simdjson/dependencies/json/doc/examples/rbegin.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/rbegin.output +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/rend.cpp +19 -0
- data/vendor/simdjson/dependencies/json/doc/examples/rend.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/rend.output +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/sax_parse.cpp +124 -0
- data/vendor/simdjson/dependencies/json/doc/examples/sax_parse.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/sax_parse.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/size.cpp +29 -0
- data/vendor/simdjson/dependencies/json/doc/examples/size.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/size.output +9 -0
- data/vendor/simdjson/dependencies/json/doc/examples/swap__array_t.cpp +20 -0
- data/vendor/simdjson/dependencies/json/doc/examples/swap__array_t.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/swap__array_t.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/swap__object_t.cpp +20 -0
- data/vendor/simdjson/dependencies/json/doc/examples/swap__object_t.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/swap__object_t.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/swap__reference.cpp +18 -0
- data/vendor/simdjson/dependencies/json/doc/examples/swap__reference.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/swap__reference.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/swap__string_t.cpp +20 -0
- data/vendor/simdjson/dependencies/json/doc/examples/swap__string_t.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/swap__string_t.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/to_bson.cpp +21 -0
- data/vendor/simdjson/dependencies/json/doc/examples/to_bson.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/to_bson.output +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/to_cbor.cpp +21 -0
- data/vendor/simdjson/dependencies/json/doc/examples/to_cbor.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/to_cbor.output +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/to_msgpack.cpp +21 -0
- data/vendor/simdjson/dependencies/json/doc/examples/to_msgpack.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/to_msgpack.output +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/to_ubjson.cpp +63 -0
- data/vendor/simdjson/dependencies/json/doc/examples/to_ubjson.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/to_ubjson.output +4 -0
- data/vendor/simdjson/dependencies/json/doc/examples/type.cpp +28 -0
- data/vendor/simdjson/dependencies/json/doc/examples/type.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/type.output +8 -0
- data/vendor/simdjson/dependencies/json/doc/examples/type_error.cpp +20 -0
- data/vendor/simdjson/dependencies/json/doc/examples/type_error.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/type_error.output +2 -0
- data/vendor/simdjson/dependencies/json/doc/examples/type_name.cpp +27 -0
- data/vendor/simdjson/dependencies/json/doc/examples/type_name.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/type_name.output +8 -0
- data/vendor/simdjson/dependencies/json/doc/examples/unflatten.cpp +26 -0
- data/vendor/simdjson/dependencies/json/doc/examples/unflatten.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/unflatten.output +18 -0
- data/vendor/simdjson/dependencies/json/doc/examples/update.cpp +18 -0
- data/vendor/simdjson/dependencies/json/doc/examples/update.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/update.output +5 -0
- data/vendor/simdjson/dependencies/json/doc/examples/update__range.cpp +18 -0
- data/vendor/simdjson/dependencies/json/doc/examples/update__range.link +1 -0
- data/vendor/simdjson/dependencies/json/doc/examples/update__range.output +5 -0
- data/vendor/simdjson/dependencies/json/doc/faq.md +87 -0
- data/vendor/simdjson/dependencies/json/doc/images/binary.png +0 -0
- data/vendor/simdjson/dependencies/json/doc/images/callback_events.png +0 -0
- data/vendor/simdjson/dependencies/json/doc/images/range-begin-end.svg +435 -0
- data/vendor/simdjson/dependencies/json/doc/images/range-rbegin-rend.svg +1232 -0
- data/vendor/simdjson/dependencies/json/doc/index.md +332 -0
- data/vendor/simdjson/dependencies/json/doc/json.gif +0 -0
- data/vendor/simdjson/dependencies/json/doc/scripts/git-update-ghpages +193 -0
- data/vendor/simdjson/dependencies/json/doc/scripts/send_to_wandbox.py +120 -0
- data/vendor/simdjson/dependencies/json/doc/usages/ios.png +0 -0
- data/vendor/simdjson/dependencies/json/doc/usages/macos.png +0 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/adl_serializer.hpp +49 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/conversions/from_json.hpp +389 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/conversions/to_chars.hpp +1106 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/conversions/to_json.hpp +344 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/exceptions.hpp +356 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/input/binary_reader.hpp +1983 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/input/input_adapters.hpp +442 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/input/json_sax.hpp +701 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/input/lexer.hpp +1512 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/input/parser.hpp +498 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/input/position_t.hpp +27 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/iterators/internal_iterator.hpp +25 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/iterators/iter_impl.hpp +638 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/iterators/iteration_proxy.hpp +170 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/iterators/iterator_traits.hpp +51 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/iterators/json_reverse_iterator.hpp +119 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/iterators/primitive_iterator.hpp +120 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/json_pointer.hpp +1011 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/json_ref.hpp +69 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/macro_scope.hpp +121 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/macro_unscope.hpp +21 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/meta/cpp_future.hpp +63 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/meta/detected.hpp +58 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/meta/is_sax.hpp +142 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/meta/type_traits.hpp +361 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/meta/void_t.hpp +13 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/output/binary_writer.hpp +1336 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/output/output_adapters.hpp +123 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/output/serializer.hpp +840 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/detail/value_t.hpp +77 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/json.hpp +8134 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/json_fwd.hpp +64 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/thirdparty/hedley/hedley.hpp +1505 -0
- data/vendor/simdjson/dependencies/json/include/nlohmann/thirdparty/hedley/hedley_undef.hpp +121 -0
- data/vendor/simdjson/dependencies/json/meson.build +23 -0
- data/vendor/simdjson/dependencies/json/nlohmann_json.natvis +32 -0
- data/vendor/simdjson/dependencies/json/single_include/nlohmann/json.hpp +22684 -0
- data/vendor/simdjson/dependencies/json/test/CMakeLists.txt +150 -0
- data/vendor/simdjson/dependencies/json/test/Makefile +110 -0
- data/vendor/simdjson/dependencies/json/test/cmake_add_subdirectory/CMakeLists.txt +15 -0
- data/vendor/simdjson/dependencies/json/test/cmake_add_subdirectory/project/CMakeLists.txt +13 -0
- data/vendor/simdjson/dependencies/json/test/cmake_add_subdirectory/project/main.cpp +8 -0
- data/vendor/simdjson/dependencies/json/test/cmake_import/CMakeLists.txt +15 -0
- data/vendor/simdjson/dependencies/json/test/cmake_import/project/CMakeLists.txt +12 -0
- data/vendor/simdjson/dependencies/json/test/cmake_import/project/main.cpp +8 -0
- data/vendor/simdjson/dependencies/json/test/cmake_import_minver/CMakeLists.txt +15 -0
- data/vendor/simdjson/dependencies/json/test/cmake_import_minver/project/CMakeLists.txt +8 -0
- data/vendor/simdjson/dependencies/json/test/cmake_import_minver/project/main.cpp +8 -0
- data/vendor/simdjson/dependencies/json/test/data/big-list-of-naughty-strings/LICENSE +22 -0
- data/vendor/simdjson/dependencies/json/test/data/cbor_regression/test01 +1 -0
- data/vendor/simdjson/dependencies/json/test/data/cbor_regression/test02 +0 -0
- data/vendor/simdjson/dependencies/json/test/data/cbor_regression/test03 +0 -0
- data/vendor/simdjson/dependencies/json/test/data/cbor_regression/test04 +0 -0
- data/vendor/simdjson/dependencies/json/test/data/cbor_regression/test05 +0 -0
- data/vendor/simdjson/dependencies/json/test/data/cbor_regression/test06 +0 -0
- data/vendor/simdjson/dependencies/json/test/data/cbor_regression/test07 +0 -0
- data/vendor/simdjson/dependencies/json/test/data/cbor_regression/test08 +0 -0
- data/vendor/simdjson/dependencies/json/test/data/cbor_regression/test09 +0 -0
- data/vendor/simdjson/dependencies/json/test/data/cbor_regression/test10 +1 -0
- data/vendor/simdjson/dependencies/json/test/data/cbor_regression/test11 +0 -0
- data/vendor/simdjson/dependencies/json/test/data/cbor_regression/test12 +0 -0
- data/vendor/simdjson/dependencies/json/test/data/cbor_regression/test13 +0 -0
- data/vendor/simdjson/dependencies/json/test/data/cbor_regression/test14 +0 -0
- data/vendor/simdjson/dependencies/json/test/data/cbor_regression/test15 +0 -0
- data/vendor/simdjson/dependencies/json/test/data/cbor_regression/test16 +0 -0
- data/vendor/simdjson/dependencies/json/test/data/cbor_regression/test17 +0 -0
- data/vendor/simdjson/dependencies/json/test/data/cbor_regression/test18 +0 -0
- data/vendor/simdjson/dependencies/json/test/data/cbor_regression/test19 +0 -0
- data/vendor/simdjson/dependencies/json/test/data/cbor_regression/test20 +0 -0
- data/vendor/simdjson/dependencies/json/test/data/cbor_regression/test21 +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json-patch-tests/README.md +75 -0
- data/vendor/simdjson/dependencies/json/test/data/json.org/1.json.bson +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json.org/1.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json.org/1.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json.org/2.json.bson +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json.org/2.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json.org/2.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json.org/3.json.bson +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json.org/3.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json.org/3.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json.org/4.json.bson +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json.org/4.json.cbor +4 -0
- data/vendor/simdjson/dependencies/json/test/data/json.org/4.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json.org/5.json.bson +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json.org/5.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json.org/5.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_nlohmann_tests/all_unicode.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_nlohmann_tests/all_unicode.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip01.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip01.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip02.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip02.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip03.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip03.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip04.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip04.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip05.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip05.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip06.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip06.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip07.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip07.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip08.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip08.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip09.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip09.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip10.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip10.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip11.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip11.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip12.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip12.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip13.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip13.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip14.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip14.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip15.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip15.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip16.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip16.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip17.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip17.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip18.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip18.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip19.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip19.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip20.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip20.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip21.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip21.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip22.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip22.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip23.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip23.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip24.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip24.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip25.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip25.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip26.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip26.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip27.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip27.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip28.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip28.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip29.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip29.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip30.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip30.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip31.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip31.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip32.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_roundtrip/roundtrip32.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_tests/pass1.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_tests/pass1.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_tests/pass2.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_tests/pass2.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_tests/pass3.json.bson +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_tests/pass3.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_tests/pass3.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/json_testsuite/README.md +10 -0
- data/vendor/simdjson/dependencies/json/test/data/json_testsuite/sample.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/json_testsuite/sample.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/markus_kuhn/UTF-8-test.txt +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/LICENSE +21 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_array_arraysWithSpaces.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_array_arraysWithSpaces.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_array_empty-string.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_array_empty-string.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_array_empty.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_array_empty.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_array_ending_with_newline.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_array_ending_with_newline.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_array_false.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_array_false.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_array_heterogeneous.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_array_heterogeneous.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_array_null.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_array_null.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_array_with_1_and_newline.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_array_with_1_and_newline.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_array_with_leading_space.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_array_with_leading_space.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_array_with_several_null.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_array_with_several_null.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_array_with_trailing_space.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_array_with_trailing_space.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_0e+1.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_0e+1.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_0e1.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_0e1.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_after_space.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_after_space.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_double_close_to_zero.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_double_close_to_zero.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_double_huge_neg_exp.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_double_huge_neg_exp.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_huge_exp.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_huge_exp.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_int_with_exp.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_int_with_exp.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_minus_zero.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_minus_zero.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_negative_int.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_negative_int.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_negative_one.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_negative_one.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_negative_zero.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_negative_zero.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_real_capital_e.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_real_capital_e.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_real_capital_e_neg_exp.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_real_capital_e_neg_exp.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_real_capital_e_pos_exp.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_real_capital_e_pos_exp.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_real_exponent.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_real_exponent.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_real_fraction_exponent.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_real_fraction_exponent.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_real_neg_exp.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_real_neg_exp.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_real_neg_overflow.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_real_neg_overflow.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_real_pos_exponent.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_real_pos_exponent.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_real_pos_overflow.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_real_pos_overflow.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_real_underflow.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_real_underflow.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_simple_int.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_simple_int.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_simple_real.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_simple_real.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_number_too_big_neg_int.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object_basic.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object_basic.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object_duplicated_key.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object_duplicated_key.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object_duplicated_key_and_value.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object_duplicated_key_and_value.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object_empty.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object_empty.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object_empty_key.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object_empty_key.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object_escaped_null_in_key.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object_escaped_null_in_key.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object_extreme_numbers.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object_extreme_numbers.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object_long_strings.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object_long_strings.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object_simple.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object_simple.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object_string_unicode.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object_string_unicode.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object_with_newlines.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_object_with_newlines.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_1_2_3_bytes_UTF-8_sequences.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_1_2_3_bytes_UTF-8_sequences.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_UTF-16_Surrogates_U+1D11E_MUSICAL_SYMBOL_G_CLEF.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_UTF-16_Surrogates_U+1D11E_MUSICAL_SYMBOL_G_CLEF.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_accepted_surrogate_pair.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_accepted_surrogate_pair.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_accepted_surrogate_pairs.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_accepted_surrogate_pairs.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_allowed_escapes.json.cbor +2 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_allowed_escapes.json.msgpack +2 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_backslash_and_u_escaped_zero.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_backslash_and_u_escaped_zero.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_backslash_doublequotes.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_backslash_doublequotes.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_comments.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_comments.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_double_escape_a.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_double_escape_a.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_double_escape_n.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_double_escape_n.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_escaped_control_character.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_escaped_control_character.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_escaped_noncharacter.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_escaped_noncharacter.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_in_array.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_in_array.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_in_array_with_leading_space.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_in_array_with_leading_space.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_last_surrogates_1_and_2.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_last_surrogates_1_and_2.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_newline_uescaped.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_newline_uescaped.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_nonCharacterInUTF-8_U+10FFFF.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_nonCharacterInUTF-8_U+10FFFF.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_nonCharacterInUTF-8_U+1FFFF.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_nonCharacterInUTF-8_U+1FFFF.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_nonCharacterInUTF-8_U+FFFF.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_nonCharacterInUTF-8_U+FFFF.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_null_escape.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_null_escape.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_one-byte-utf-8.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_one-byte-utf-8.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_pi.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_pi.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_simple_ascii.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_simple_ascii.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_space.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_space.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_three-byte-utf-8.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_three-byte-utf-8.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_two-byte-utf-8.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_two-byte-utf-8.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_u+2028_line_sep.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_u+2028_line_sep.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_u+2029_par_sep.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_u+2029_par_sep.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_uEscape.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_uEscape.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_unescaped_char_delete.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_unescaped_char_delete.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_unicode.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_unicode.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_unicodeEscapedBackslash.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_unicodeEscapedBackslash.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_unicode_2.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_unicode_2.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_unicode_U+200B_ZERO_WIDTH_SPACE.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_unicode_U+200B_ZERO_WIDTH_SPACE.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_unicode_U+2064_invisible_plus.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_unicode_U+2064_invisible_plus.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_unicode_escaped_double_quote.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_unicode_escaped_double_quote.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_utf8.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_utf8.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_with_del_character.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_string_with_del_character.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_structure_lonely_false.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_structure_lonely_false.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_structure_lonely_int.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_structure_lonely_int.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_structure_lonely_negative_real.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_structure_lonely_negative_real.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_structure_lonely_null.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_structure_lonely_null.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_structure_lonely_string.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_structure_lonely_string.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_structure_lonely_true.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_structure_lonely_true.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_structure_string_empty.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_structure_string_empty.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_structure_trailing_newline.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_structure_trailing_newline.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_structure_true_in_array.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_structure_true_in_array.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_structure_whitespace_array.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite/test_parsing/y_structure_whitespace_array.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite2/LICENSE +21 -0
- data/vendor/simdjson/dependencies/json/test/data/nst_json_testsuite2/README.md +55 -0
- data/vendor/simdjson/dependencies/json/test/data/regression/floats.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/regression/floats.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/regression/signed_ints.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/regression/signed_ints.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/regression/unsigned_ints.json.cbor +0 -0
- data/vendor/simdjson/dependencies/json/test/data/regression/unsigned_ints.json.msgpack +0 -0
- data/vendor/simdjson/dependencies/json/test/data/regression/working_file.json.cbor +1 -0
- data/vendor/simdjson/dependencies/json/test/data/regression/working_file.json.msgpack +1 -0
- data/vendor/simdjson/dependencies/json/test/reports/2016-08-29-fuzz/exec_speed.png +0 -0
- data/vendor/simdjson/dependencies/json/test/reports/2016-08-29-fuzz/fuzz.tiff +0 -0
- data/vendor/simdjson/dependencies/json/test/reports/2016-08-29-fuzz/high_freq.png +0 -0
- data/vendor/simdjson/dependencies/json/test/reports/2016-08-29-fuzz/index.html +10 -0
- data/vendor/simdjson/dependencies/json/test/reports/2016-08-29-fuzz/low_freq.png +0 -0
- data/vendor/simdjson/dependencies/json/test/reports/2016-09-09-nativejson_benchmark/README.md +31 -0
- data/vendor/simdjson/dependencies/json/test/reports/2016-09-09-nativejson_benchmark/conformance_Nlohmann (C++11).md +670 -0
- data/vendor/simdjson/dependencies/json/test/reports/2016-09-09-nativejson_benchmark/conformance_overall_Result.png +0 -0
- data/vendor/simdjson/dependencies/json/test/reports/2016-09-09-nativejson_benchmark/performance_Corei7-4980HQ@2.80GHz_mac64_clang7.0_1._Parse_Memory_(byte).png +0 -0
- data/vendor/simdjson/dependencies/json/test/reports/2016-09-09-nativejson_benchmark/performance_Corei7-4980HQ@2.80GHz_mac64_clang7.0_1._Parse_Time_(ms).png +0 -0
- data/vendor/simdjson/dependencies/json/test/reports/2016-09-09-nativejson_benchmark/performance_Corei7-4980HQ@2.80GHz_mac64_clang7.0_2._Stringify_Time_(ms).png +0 -0
- data/vendor/simdjson/dependencies/json/test/reports/2016-09-09-nativejson_benchmark/performance_Corei7-4980HQ@2.80GHz_mac64_clang7.0_3._Prettify_Time_(ms).png +0 -0
- data/vendor/simdjson/dependencies/json/test/reports/2016-09-09-nativejson_benchmark/performance_Corei7-4980HQ@2.80GHz_mac64_clang7.0_7._Code_size_FileSize_(byte).png +0 -0
- data/vendor/simdjson/dependencies/json/test/reports/2016-10-02-fuzz/exec_speed.png +0 -0
- data/vendor/simdjson/dependencies/json/test/reports/2016-10-02-fuzz/fuzz.tiff +0 -0
- data/vendor/simdjson/dependencies/json/test/reports/2016-10-02-fuzz/high_freq.png +0 -0
- data/vendor/simdjson/dependencies/json/test/reports/2016-10-02-fuzz/index.html +10 -0
- data/vendor/simdjson/dependencies/json/test/reports/2016-10-02-fuzz/low_freq.png +0 -0
- data/vendor/simdjson/dependencies/json/test/src/fuzzer-driver_afl.cpp +38 -0
- data/vendor/simdjson/dependencies/json/test/src/fuzzer-parse_bson.cpp +73 -0
- data/vendor/simdjson/dependencies/json/test/src/fuzzer-parse_cbor.cpp +68 -0
- data/vendor/simdjson/dependencies/json/test/src/fuzzer-parse_json.cpp +69 -0
- data/vendor/simdjson/dependencies/json/test/src/fuzzer-parse_msgpack.cpp +68 -0
- data/vendor/simdjson/dependencies/json/test/src/fuzzer-parse_ubjson.cpp +68 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-algorithms.cpp +320 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-allocator.cpp +236 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-alt-string.cpp +264 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-bson.cpp +1254 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-capacity.cpp +563 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-cbor.cpp +2189 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-class_const_iterator.cpp +419 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-class_iterator.cpp +403 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-class_lexer.cpp +181 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-class_parser.cpp +1770 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-comparison.cpp +263 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-concepts.cpp +171 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-constructor1.cpp +1537 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-constructor2.cpp +192 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-convenience.cpp +117 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-conversions.cpp +1577 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-deserialization.cpp +1026 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-element_access1.cpp +974 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-element_access2.cpp +1109 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-inspection.cpp +442 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-items.cpp +1450 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-iterators1.cpp +1692 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-iterators2.cpp +906 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-json_patch.cpp +1295 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-json_pointer.cpp +646 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-merge_patch.cpp +262 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-meta.cpp +57 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-modifiers.cpp +941 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-msgpack.cpp +1607 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-noexcept.cpp +82 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-pointer_access.cpp +444 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-readme.cpp +327 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-reference_access.cpp +318 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-regression.cpp +1830 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-serialization.cpp +191 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-testsuites.cpp +1415 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-to_chars.cpp +537 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-ubjson.cpp +2295 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-udt.cpp +830 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-unicode.cpp +1610 -0
- data/vendor/simdjson/dependencies/json/test/src/unit-wstring.cpp +117 -0
- data/vendor/simdjson/dependencies/json/test/src/unit.cpp +31 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/CMakeLists.txt +45 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerCorpus.h +217 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerCrossOver.cpp +52 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerDefs.h +89 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerDictionary.h +124 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerDriver.cpp +545 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerExtFunctions.def +50 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerExtFunctions.h +35 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerExtFunctionsDlsym.cpp +52 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerExtFunctionsWeak.cpp +53 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerExtFunctionsWeakAlias.cpp +56 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerFlags.def +115 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerIO.cpp +117 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerIO.h +64 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerIOPosix.cpp +88 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerIOWindows.cpp +282 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerInterface.h +67 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerInternal.h +182 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerLoop.cpp +792 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerMain.cpp +21 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerMerge.cpp +261 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerMerge.h +70 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerMutate.cpp +527 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerMutate.h +145 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerOptions.h +68 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerRandom.h +36 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerSHA1.cpp +222 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerSHA1.h +33 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerTracePC.cpp +339 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerTracePC.h +158 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerTraceState.cpp +325 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerUtil.cpp +218 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerUtil.h +72 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerUtilDarwin.cpp +152 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerUtilLinux.cpp +24 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerUtilPosix.cpp +117 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerUtilWindows.cpp +182 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/FuzzerValueBitMap.h +87 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/README.txt +2 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/afl/afl_driver.cpp +295 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/build.sh +10 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/cxx.dict +122 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/standalone/StandaloneFuzzTargetMain.c +41 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/AFLDriverTest.cpp +22 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/AbsNegAndConstant64Test.cpp +23 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/AbsNegAndConstantTest.cpp +23 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/AccumulateAllocationsTest.cpp +17 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/BufferOverflowOnInput.cpp +23 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/CMakeLists.txt +217 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/CallerCalleeTest.cpp +59 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/CounterTest.cpp +18 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/CustomCrossOverTest.cpp +63 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/CustomMutatorTest.cpp +38 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/DSO1.cpp +12 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/DSO2.cpp +12 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/DSOTestExtra.cpp +11 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/DSOTestMain.cpp +31 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/DivTest.cpp +20 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/EmptyTest.cpp +11 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/FourIndependentBranchesTest.cpp +22 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/FullCoverageSetTest.cpp +24 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/FuzzerUnittest.cpp +738 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/InitializeTest.cpp +28 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/LeakTest.cpp +17 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/LeakTimeoutTest.cpp +17 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/LoadTest.cpp +22 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/MemcmpTest.cpp +31 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/NthRunCrashTest.cpp +18 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/NullDerefOnEmptyTest.cpp +19 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/NullDerefTest.cpp +26 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/OneHugeAllocTest.cpp +28 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/OutOfMemorySingleLargeMallocTest.cpp +27 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/OutOfMemoryTest.cpp +31 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/RepeatedBytesTest.cpp +29 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/RepeatedMemcmp.cpp +22 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/ShrinkControlFlowTest.cpp +28 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/ShrinkValueProfileTest.cpp +22 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/SignedIntOverflowTest.cpp +28 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/SimpleCmpTest.cpp +46 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/SimpleDictionaryTest.cpp +29 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/SimpleHashTest.cpp +40 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/SimpleTest.cpp +27 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/SimpleThreadedTest.cpp +25 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/SingleMemcmpTest.cpp +17 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/SingleStrcmpTest.cpp +17 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/SingleStrncmpTest.cpp +17 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/SpamyTest.cpp +21 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/StrcmpTest.cpp +32 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/StrncmpOOBTest.cpp +21 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/StrncmpTest.cpp +28 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/StrstrTest.cpp +28 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/SwapCmpTest.cpp +34 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/Switch2Test.cpp +35 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/SwitchTest.cpp +58 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/ThreadedLeakTest.cpp +18 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/ThreadedTest.cpp +26 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/TimeoutEmptyTest.cpp +14 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/TimeoutTest.cpp +26 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/TraceMallocTest.cpp +27 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/UninstrumentedTest.cpp +11 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/afl-driver-extra-stats.test +28 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/afl-driver-stderr.test +10 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/caller-callee.test +2 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/coverage.test +19 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/dict1.txt +4 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/dump_coverage.test +16 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/fuzzer-customcrossover.test +10 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/fuzzer-custommutator.test +4 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/fuzzer-dict.test +6 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/fuzzer-dirs.test +15 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/fuzzer-fdmask.test +30 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/fuzzer-finalstats.test +11 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/fuzzer-flags.test +10 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/fuzzer-jobs.test +29 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/fuzzer-leak.test +35 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/fuzzer-oom-with-profile.test +6 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/fuzzer-oom.test +11 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/fuzzer-printcovpcs.test +8 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/fuzzer-runs.test +8 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/fuzzer-seed.test +3 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/fuzzer-segv.test +5 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/fuzzer-singleinputs.test +16 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/fuzzer-threaded.test +7 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/fuzzer-timeout.test +19 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/fuzzer-traces-hooks.test +25 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/fuzzer-ubsan.test +4 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/fuzzer.test +57 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/hi.txt +1 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/lit.cfg +29 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/lit.site.cfg.in +4 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/merge.test +46 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/minimize_crash.test +6 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/no-coverage/CMakeLists.txt +29 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/repeated-bytes.test +2 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/shrink.test +7 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/simple-cmp.test +2 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/standalone.test +4 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/swap-cmp.test +2 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/trace-malloc.test +10 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/ubsan/CMakeLists.txt +15 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/ulimit.test +2 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/uninstrumented/CMakeLists.txt +16 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/unit/lit.cfg +7 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/unit/lit.site.cfg.in +2 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/value-profile-cmp.test +2 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/value-profile-cmp2.test +2 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/value-profile-cmp3.test +2 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/value-profile-cmp4.test +2 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/value-profile-div.test +3 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/value-profile-load.test +3 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/value-profile-mem.test +2 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/value-profile-set.test +3 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/value-profile-strcmp.test +2 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/value-profile-strncmp.test +2 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/Fuzzer/test/value-profile-switch.test +3 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/doctest/LICENSE.txt +21 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/doctest/doctest.h +6025 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/doctest/doctest_compatibility.h +37 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/fastcov/LICENSE +21 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/fastcov/README.md +46 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/fastcov/fastcov.py +372 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/fifo_map/LICENSE.MIT +21 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/fifo_map/fifo_map.hpp +530 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/imapdl/filterbr.py +109 -0
- data/vendor/simdjson/dependencies/json/test/thirdparty/imapdl/gpl-3.0.txt +674 -0
- data/vendor/simdjson/dependencies/json/third_party/amalgamate/CHANGES.md +10 -0
- data/vendor/simdjson/dependencies/json/third_party/amalgamate/LICENSE.md +27 -0
- data/vendor/simdjson/dependencies/json/third_party/amalgamate/README.md +66 -0
- data/vendor/simdjson/dependencies/json/third_party/amalgamate/amalgamate.py +299 -0
- data/vendor/simdjson/dependencies/json/third_party/cpplint/LICENSE +27 -0
- data/vendor/simdjson/dependencies/json/third_party/cpplint/README.rst +80 -0
- data/vendor/simdjson/dependencies/json/third_party/cpplint/cpplint.py +6583 -0
- data/vendor/simdjson/dependencies/json/third_party/cpplint/update.sh +5 -0
- data/vendor/simdjson/dependencies/json11/CMakeLists.txt +57 -0
- data/vendor/simdjson/dependencies/json11/LICENSE.txt +19 -0
- data/vendor/simdjson/dependencies/json11/Makefile +15 -0
- data/vendor/simdjson/dependencies/json11/README.md +42 -0
- data/vendor/simdjson/dependencies/json11/json11.cpp +788 -0
- data/vendor/simdjson/dependencies/json11/json11.hpp +232 -0
- data/vendor/simdjson/dependencies/json11/json11.pc.in +9 -0
- data/vendor/simdjson/dependencies/json11/test.cpp +281 -0
- data/vendor/simdjson/dependencies/jsoncpp/AUTHORS +111 -0
- data/vendor/simdjson/dependencies/jsoncpp/CMakeLists.txt +186 -0
- data/vendor/simdjson/dependencies/jsoncpp/CTestConfig.cmake +15 -0
- data/vendor/simdjson/dependencies/jsoncpp/LICENSE +55 -0
- data/vendor/simdjson/dependencies/jsoncpp/README.md +144 -0
- data/vendor/simdjson/dependencies/jsoncpp/amalgamate.py +155 -0
- data/vendor/simdjson/dependencies/jsoncpp/appveyor.yml +26 -0
- data/vendor/simdjson/dependencies/jsoncpp/dev.makefile +35 -0
- data/vendor/simdjson/dependencies/jsoncpp/devtools/__init__.py +6 -0
- data/vendor/simdjson/dependencies/jsoncpp/devtools/antglob.py +205 -0
- data/vendor/simdjson/dependencies/jsoncpp/devtools/batchbuild.py +278 -0
- data/vendor/simdjson/dependencies/jsoncpp/devtools/fixeol.py +70 -0
- data/vendor/simdjson/dependencies/jsoncpp/devtools/licenseupdater.py +94 -0
- data/vendor/simdjson/dependencies/jsoncpp/devtools/tarball.py +52 -0
- data/vendor/simdjson/dependencies/jsoncpp/doc/doxyfile.in +2302 -0
- data/vendor/simdjson/dependencies/jsoncpp/doc/footer.html +21 -0
- data/vendor/simdjson/dependencies/jsoncpp/doc/header.html +64 -0
- data/vendor/simdjson/dependencies/jsoncpp/doc/jsoncpp.dox +164 -0
- data/vendor/simdjson/dependencies/jsoncpp/doc/readme.txt +1 -0
- data/vendor/simdjson/dependencies/jsoncpp/doc/roadmap.dox +3 -0
- data/vendor/simdjson/dependencies/jsoncpp/doc/web_doxyfile.in +2290 -0
- data/vendor/simdjson/dependencies/jsoncpp/doxybuild.py +189 -0
- data/vendor/simdjson/dependencies/jsoncpp/include/CMakeLists.txt +2 -0
- data/vendor/simdjson/dependencies/jsoncpp/include/json/allocator.h +89 -0
- data/vendor/simdjson/dependencies/jsoncpp/include/json/assertions.h +59 -0
- data/vendor/simdjson/dependencies/jsoncpp/include/json/autolink.h +25 -0
- data/vendor/simdjson/dependencies/jsoncpp/include/json/config.h +198 -0
- data/vendor/simdjson/dependencies/jsoncpp/include/json/features.h +61 -0
- data/vendor/simdjson/dependencies/jsoncpp/include/json/forwards.h +37 -0
- data/vendor/simdjson/dependencies/jsoncpp/include/json/json.h +15 -0
- data/vendor/simdjson/dependencies/jsoncpp/include/json/reader.h +417 -0
- data/vendor/simdjson/dependencies/jsoncpp/include/json/value.h +909 -0
- data/vendor/simdjson/dependencies/jsoncpp/include/json/version.h +22 -0
- data/vendor/simdjson/dependencies/jsoncpp/include/json/writer.h +368 -0
- data/vendor/simdjson/dependencies/jsoncpp/makefiles/msvc2010/jsoncpp.sln +42 -0
- data/vendor/simdjson/dependencies/jsoncpp/makefiles/msvc2010/jsontest.vcxproj +96 -0
- data/vendor/simdjson/dependencies/jsoncpp/makefiles/msvc2010/jsontest.vcxproj.filters +13 -0
- data/vendor/simdjson/dependencies/jsoncpp/makefiles/msvc2010/lib_json.vcxproj +143 -0
- data/vendor/simdjson/dependencies/jsoncpp/makefiles/msvc2010/lib_json.vcxproj.filters +33 -0
- data/vendor/simdjson/dependencies/jsoncpp/makefiles/msvc2010/test_lib_json.vcxproj +109 -0
- data/vendor/simdjson/dependencies/jsoncpp/makefiles/msvc2010/test_lib_json.vcxproj.filters +24 -0
- data/vendor/simdjson/dependencies/jsoncpp/makefiles/msvc2017/jsoncpp.sln +64 -0
- data/vendor/simdjson/dependencies/jsoncpp/makefiles/msvc2017/jsontest.vcxproj +168 -0
- data/vendor/simdjson/dependencies/jsoncpp/makefiles/msvc2017/lib_json.vcxproj +258 -0
- data/vendor/simdjson/dependencies/jsoncpp/makefiles/msvc2017/test_lib_json.vcxproj +189 -0
- data/vendor/simdjson/dependencies/jsoncpp/makefiles/vs71/jsoncpp.sln +46 -0
- data/vendor/simdjson/dependencies/jsoncpp/makefiles/vs71/jsontest.vcproj +119 -0
- data/vendor/simdjson/dependencies/jsoncpp/makefiles/vs71/lib_json.vcproj +205 -0
- data/vendor/simdjson/dependencies/jsoncpp/makefiles/vs71/test_lib_json.vcproj +130 -0
- data/vendor/simdjson/dependencies/jsoncpp/makerelease.py +390 -0
- data/vendor/simdjson/dependencies/jsoncpp/meson.build +115 -0
- data/vendor/simdjson/dependencies/jsoncpp/pkg-config/jsoncpp.pc.in +9 -0
- data/vendor/simdjson/dependencies/jsoncpp/src/CMakeLists.txt +5 -0
- data/vendor/simdjson/dependencies/jsoncpp/src/jsontestrunner/CMakeLists.txt +36 -0
- data/vendor/simdjson/dependencies/jsoncpp/src/jsontestrunner/main.cpp +300 -0
- data/vendor/simdjson/dependencies/jsoncpp/src/lib_json/CMakeLists.txt +145 -0
- data/vendor/simdjson/dependencies/jsoncpp/src/lib_json/json_reader.cpp +2008 -0
- data/vendor/simdjson/dependencies/jsoncpp/src/lib_json/json_tool.h +134 -0
- data/vendor/simdjson/dependencies/jsoncpp/src/lib_json/json_value.cpp +1713 -0
- data/vendor/simdjson/dependencies/jsoncpp/src/lib_json/json_valueiterator.inl +159 -0
- data/vendor/simdjson/dependencies/jsoncpp/src/lib_json/json_writer.cpp +1253 -0
- data/vendor/simdjson/dependencies/jsoncpp/src/lib_json/version.h.in +20 -0
- data/vendor/simdjson/dependencies/jsoncpp/src/test_lib_json/CMakeLists.txt +40 -0
- data/vendor/simdjson/dependencies/jsoncpp/src/test_lib_json/jsontest.cpp +435 -0
- data/vendor/simdjson/dependencies/jsoncpp/src/test_lib_json/jsontest.h +276 -0
- data/vendor/simdjson/dependencies/jsoncpp/src/test_lib_json/main.cpp +2597 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/cleantests.py +16 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_array_01.expected +1 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_array_02.expected +2 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_array_03.expected +6 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_array_04.expected +5 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_array_05.expected +100 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_array_06.expected +5 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_array_07.expected +2122 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_basic_01.expected +1 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_basic_02.expected +1 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_basic_03.expected +3 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_basic_04.expected +2 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_basic_05.expected +2 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_basic_06.expected +2 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_basic_07.expected +2 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_basic_08.expected +3 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_basic_09.expected +4 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_comment_00.expected +4 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_comment_01.expected +10 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_comment_02.expected +23 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_complex_01.expected +20 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_integer_01.expected +2 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_integer_02.expected +2 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_integer_03.expected +2 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_integer_04.expected +3 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_integer_05.expected +2 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_integer_06_64bits.expected +1 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_integer_07_64bits.expected +1 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_integer_08_64bits.expected +1 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_large_01.expected +2122 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_object_01.expected +1 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_object_02.expected +2 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_object_03.expected +4 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_object_04.expected +2 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_preserve_comment_01.expected +11 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_real_01.expected +3 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_real_02.expected +3 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_real_03.expected +3 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_real_04.expected +3 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_real_05.expected +4 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_real_06.expected +4 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_real_07.expected +4 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_real_08.expected +4 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_real_09.expected +4 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_real_10.expected +4 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_real_11.expected +4 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_real_12.expected +2 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_string_01.expected +1 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_string_02.expected +1 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_string_03.expected +1 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_string_04.expected +2 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_string_05.expected +2 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_string_unicode_01.expected +1 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_string_unicode_02.expected +1 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_string_unicode_03.expected +1 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_string_unicode_04.expected +1 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/data/test_string_unicode_05.expected +2 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/generate_expected.py +17 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/jsonchecker/readme.txt +3 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/pyjsontestrunner.py +71 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/runjsontests.py +210 -0
- data/vendor/simdjson/dependencies/jsoncpp/test/rununittests.py +84 -0
- data/vendor/simdjson/dependencies/jsoncpp/version +1 -0
- data/vendor/simdjson/dependencies/jsoncpp/version.in +1 -0
- data/vendor/simdjson/dependencies/jsoncppdist/jsoncpp.cpp +8 -0
- data/vendor/simdjson/dependencies/rapidjson/CHANGELOG.md +158 -0
- data/vendor/simdjson/dependencies/rapidjson/CMakeLists.txt +221 -0
- data/vendor/simdjson/dependencies/rapidjson/CMakeModules/FindGTestSrc.cmake +30 -0
- data/vendor/simdjson/dependencies/rapidjson/RapidJSON.pc.in +7 -0
- data/vendor/simdjson/dependencies/rapidjson/RapidJSONConfig.cmake.in +15 -0
- data/vendor/simdjson/dependencies/rapidjson/RapidJSONConfigVersion.cmake.in +10 -0
- data/vendor/simdjson/dependencies/rapidjson/appveyor.yml +41 -0
- data/vendor/simdjson/dependencies/rapidjson/bin/data/readme.txt +1 -0
- data/vendor/simdjson/dependencies/rapidjson/bin/draft-04/schema +150 -0
- data/vendor/simdjson/dependencies/rapidjson/bin/jsonchecker/readme.txt +3 -0
- data/vendor/simdjson/dependencies/rapidjson/bin/jsonschema/LICENSE +19 -0
- data/vendor/simdjson/dependencies/rapidjson/bin/jsonschema/README.md +148 -0
- data/vendor/simdjson/dependencies/rapidjson/bin/jsonschema/bin/jsonschema_suite +283 -0
- data/vendor/simdjson/dependencies/rapidjson/bin/jsonschema/tox.ini +8 -0
- data/vendor/simdjson/dependencies/rapidjson/bin/types/readme.txt +1 -0
- data/vendor/simdjson/dependencies/rapidjson/contrib/natvis/LICENSE +45 -0
- data/vendor/simdjson/dependencies/rapidjson/contrib/natvis/README.md +7 -0
- data/vendor/simdjson/dependencies/rapidjson/contrib/natvis/rapidjson.natvis +38 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/CMakeLists.txt +27 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/Doxyfile.in +2369 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/Doxyfile.zh-cn.in +2369 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/diagram/architecture.dot +50 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/diagram/architecture.png +0 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/diagram/insituparsing.dot +65 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/diagram/insituparsing.png +0 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/diagram/iterative-parser-states-diagram.dot +62 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/diagram/iterative-parser-states-diagram.png +0 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/diagram/makefile +8 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/diagram/move1.dot +47 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/diagram/move1.png +0 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/diagram/move2.dot +62 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/diagram/move2.png +0 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/diagram/move3.dot +60 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/diagram/move3.png +0 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/diagram/normalparsing.dot +56 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/diagram/normalparsing.png +0 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/diagram/simpledom.dot +54 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/diagram/simpledom.png +0 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/diagram/tutorial.dot +58 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/diagram/tutorial.png +0 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/diagram/utilityclass.dot +73 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/diagram/utilityclass.png +0 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/dom.md +280 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/dom.zh-cn.md +284 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/encoding.md +146 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/encoding.zh-cn.md +152 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/faq.md +289 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/faq.zh-cn.md +290 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/features.md +104 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/features.zh-cn.md +103 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/internals.md +368 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/internals.zh-cn.md +363 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/logo/rapidjson.png +0 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/logo/rapidjson.svg +119 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/misc/DoxygenLayout.xml +194 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/misc/doxygenextra.css +274 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/misc/footer.html +11 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/misc/header.html +24 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/npm.md +31 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/performance.md +26 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/performance.zh-cn.md +26 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/pointer.md +234 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/pointer.zh-cn.md +234 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/sax.md +509 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/sax.zh-cn.md +487 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/schema.md +505 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/schema.zh-cn.md +237 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/stream.md +429 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/stream.zh-cn.md +429 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/tutorial.md +536 -0
- data/vendor/simdjson/dependencies/rapidjson/doc/tutorial.zh-cn.md +534 -0
- data/vendor/simdjson/dependencies/rapidjson/docker/debian/Dockerfile +8 -0
- data/vendor/simdjson/dependencies/rapidjson/example/CMakeLists.txt +45 -0
- data/vendor/simdjson/dependencies/rapidjson/example/archiver/archiver.cpp +292 -0
- data/vendor/simdjson/dependencies/rapidjson/example/archiver/archiver.h +145 -0
- data/vendor/simdjson/dependencies/rapidjson/example/archiver/archivertest.cpp +287 -0
- data/vendor/simdjson/dependencies/rapidjson/example/capitalize/capitalize.cpp +67 -0
- data/vendor/simdjson/dependencies/rapidjson/example/condense/condense.cpp +32 -0
- data/vendor/simdjson/dependencies/rapidjson/example/filterkey/filterkey.cpp +135 -0
- data/vendor/simdjson/dependencies/rapidjson/example/filterkeydom/filterkeydom.cpp +170 -0
- data/vendor/simdjson/dependencies/rapidjson/example/jsonx/jsonx.cpp +207 -0
- data/vendor/simdjson/dependencies/rapidjson/example/lookaheadparser/lookaheadparser.cpp +350 -0
- data/vendor/simdjson/dependencies/rapidjson/example/messagereader/messagereader.cpp +105 -0
- data/vendor/simdjson/dependencies/rapidjson/example/parsebyparts/parsebyparts.cpp +176 -0
- data/vendor/simdjson/dependencies/rapidjson/example/pretty/pretty.cpp +30 -0
- data/vendor/simdjson/dependencies/rapidjson/example/prettyauto/prettyauto.cpp +56 -0
- data/vendor/simdjson/dependencies/rapidjson/example/schemavalidator/schemavalidator.cpp +78 -0
- data/vendor/simdjson/dependencies/rapidjson/example/serialize/serialize.cpp +173 -0
- data/vendor/simdjson/dependencies/rapidjson/example/simpledom/simpledom.cpp +29 -0
- data/vendor/simdjson/dependencies/rapidjson/example/simplepullreader/simplepullreader.cpp +53 -0
- data/vendor/simdjson/dependencies/rapidjson/example/simplereader/simplereader.cpp +42 -0
- data/vendor/simdjson/dependencies/rapidjson/example/simplewriter/simplewriter.cpp +36 -0
- data/vendor/simdjson/dependencies/rapidjson/example/tutorial/tutorial.cpp +151 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/allocators.h +284 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/cursorstreamwrapper.h +78 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/document.h +2658 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/encodedstream.h +299 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/encodings.h +716 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/error/en.h +74 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/error/error.h +161 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/filereadstream.h +99 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/filewritestream.h +104 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/fwd.h +151 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/internal/biginteger.h +290 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/internal/diyfp.h +258 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/internal/dtoa.h +245 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/internal/ieee754.h +78 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/internal/itoa.h +309 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/internal/meta.h +186 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/internal/pow10.h +55 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/internal/regex.h +732 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/internal/stack.h +231 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/internal/strfunc.h +69 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/internal/strtod.h +269 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/internal/swap.h +46 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/istreamwrapper.h +113 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/memorybuffer.h +70 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/memorystream.h +71 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/msinttypes/inttypes.h +316 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/msinttypes/stdint.h +300 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/ostreamwrapper.h +81 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/pointer.h +1357 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/prettywriter.h +277 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/rapidjson.h +628 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/reader.h +2216 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/schema.h +2483 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/stream.h +223 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/stringbuffer.h +121 -0
- data/vendor/simdjson/dependencies/rapidjson/include/rapidjson/writer.h +710 -0
- data/vendor/simdjson/dependencies/rapidjson/include_dirs.js +2 -0
- data/vendor/simdjson/dependencies/rapidjson/license.txt +57 -0
- data/vendor/simdjson/dependencies/rapidjson/rapidjson.autopkg +77 -0
- data/vendor/simdjson/dependencies/rapidjson/readme.md +160 -0
- data/vendor/simdjson/dependencies/rapidjson/readme.zh-cn.md +152 -0
- data/vendor/simdjson/dependencies/rapidjson/test/CMakeLists.txt +20 -0
- data/vendor/simdjson/dependencies/rapidjson/test/perftest/CMakeLists.txt +28 -0
- data/vendor/simdjson/dependencies/rapidjson/test/perftest/misctest.cpp +974 -0
- data/vendor/simdjson/dependencies/rapidjson/test/perftest/perftest.cpp +24 -0
- data/vendor/simdjson/dependencies/rapidjson/test/perftest/perftest.h +185 -0
- data/vendor/simdjson/dependencies/rapidjson/test/perftest/platformtest.cpp +166 -0
- data/vendor/simdjson/dependencies/rapidjson/test/perftest/rapidjsontest.cpp +472 -0
- data/vendor/simdjson/dependencies/rapidjson/test/perftest/schematest.cpp +216 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/CMakeLists.txt +92 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/allocatorstest.cpp +102 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/bigintegertest.cpp +133 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/cursorstreamwrappertest.cpp +115 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/documenttest.cpp +672 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/dtoatest.cpp +98 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/encodedstreamtest.cpp +313 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/encodingstest.cpp +451 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/filestreamtest.cpp +112 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/fwdtest.cpp +230 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/istreamwrappertest.cpp +181 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/itoatest.cpp +160 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/jsoncheckertest.cpp +143 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/namespacetest.cpp +70 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/ostreamwrappertest.cpp +92 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/pointertest.cpp +1529 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/prettywritertest.cpp +344 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/readertest.cpp +1895 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/regextest.cpp +638 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/schematest.cpp +2045 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/simdtest.cpp +219 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/strfunctest.cpp +30 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/stringbuffertest.cpp +192 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/strtodtest.cpp +132 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/unittest.cpp +51 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/unittest.h +140 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/valuetest.cpp +1851 -0
- data/vendor/simdjson/dependencies/rapidjson/test/unittest/writertest.cpp +598 -0
- data/vendor/simdjson/dependencies/rapidjson/test/valgrind.supp +17 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/CMakeLists.txt +16 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/README.md +141 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/CHANGES +126 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/CMakeLists.txt +202 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/CONTRIBUTORS +40 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/LICENSE +28 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/Makefile.am +224 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/README.md +333 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/configure.ac +146 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/CheatSheet.md +562 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/CookBook.md +3675 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/DesignDoc.md +280 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/DevGuide.md +132 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/Documentation.md +12 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/ForDummies.md +439 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/FrequentlyAskedQuestions.md +628 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/KnownIssues.md +19 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/CheatSheet.md +525 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/CookBook.md +3250 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/Documentation.md +11 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/ForDummies.md +439 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/FrequentlyAskedQuestions.md +624 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/CheatSheet.md +534 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/CookBook.md +3342 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/Documentation.md +12 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/ForDummies.md +439 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/FrequentlyAskedQuestions.md +628 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/CheatSheet.md +556 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/CookBook.md +3432 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/Documentation.md +12 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/ForDummies.md +439 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/FrequentlyAskedQuestions.md +628 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-actions.h +1205 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-cardinalities.h +147 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-actions.h +2377 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-actions.h.pump +794 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-function-mockers.h +1095 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-function-mockers.h.pump +291 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-matchers.h +2179 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-matchers.h.pump +672 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-nice-strict.h +397 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-nice-strict.h.pump +161 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-matchers.h +4399 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-more-actions.h +246 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-more-matchers.h +58 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-spec-builders.h +1847 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock.h +94 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h +8 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h.pump +10 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-matchers.h +39 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-port.h +46 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h +279 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h.pump +136 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-internal-utils.h +511 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-port.h +91 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/make/Makefile +101 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock.sln +32 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock.vcproj +191 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock_config.vsprops +15 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock_main.vcproj +187 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock_test.vcproj +201 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock.sln +32 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock.vcxproj +82 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock_config.props +19 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock_main.vcxproj +88 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock_test.vcxproj +101 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock.sln +32 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock.vcxproj +84 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock_config.props +19 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock_main.vcxproj +90 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock_test.vcxproj +103 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/scripts/fuse_gmock_files.py +240 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/scripts/generator/LICENSE +203 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/scripts/generator/README +35 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/scripts/generator/README.cppclean +115 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/__init__.py +0 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/ast.py +1733 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/gmock_class.py +227 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/gmock_class_test.py +448 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/keywords.py +59 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/tokenize.py +287 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/utils.py +41 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/scripts/generator/gmock_gen.py +31 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/scripts/gmock-config.in +303 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/scripts/gmock_doctor.py +640 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/scripts/upload.py +1387 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/scripts/upload_gmock.py +78 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/src/gmock-all.cc +47 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/src/gmock-cardinalities.cc +156 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/src/gmock-internal-utils.cc +174 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/src/gmock-matchers.cc +498 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/src/gmock-spec-builders.cc +823 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/src/gmock.cc +183 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/src/gmock_main.cc +54 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock-actions_test.cc +1411 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock-cardinalities_test.cc +428 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-actions_test.cc +1228 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-function-mockers_test.cc +622 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-internal-utils_test.cc +127 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-matchers_test.cc +1286 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock-internal-utils_test.cc +699 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock-matchers_test.cc +5648 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock-more-actions_test.cc +708 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock-nice-strict_test.cc +424 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock-port_test.cc +43 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock-spec-builders_test.cc +2644 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock_all_test.cc +51 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock_ex_test.cc +81 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock_leak_test.py +108 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock_leak_test_.cc +100 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock_link2_test.cc +40 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock_link_test.cc +40 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock_link_test.h +669 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock_output_test.py +180 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock_output_test_.cc +291 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock_output_test_golden.txt +310 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock_stress_test.cc +322 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock_test.cc +220 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googlemock/test/gmock_test_utils.py +112 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/CHANGES +157 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/CMakeLists.txt +286 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/CONTRIBUTORS +37 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/LICENSE +28 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/Makefile.am +310 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/README.md +280 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/cmake/internal_utils.cmake +242 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/codegear/gtest.cbproj +138 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/codegear/gtest.groupproj +54 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/codegear/gtest_all.cc +38 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/codegear/gtest_link.cc +40 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/codegear/gtest_main.cbproj +82 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/codegear/gtest_unittest.cbproj +88 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/configure.ac +68 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/AdvancedGuide.md +2182 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/DevGuide.md +126 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/Documentation.md +14 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/FAQ.md +1087 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/Primer.md +502 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/PumpManual.md +177 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/Samples.md +14 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/V1_5_AdvancedGuide.md +2096 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/V1_5_Documentation.md +12 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/V1_5_FAQ.md +886 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/V1_5_Primer.md +497 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/V1_5_PumpManual.md +177 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/V1_5_XcodeGuide.md +93 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/V1_6_AdvancedGuide.md +2178 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/V1_6_Documentation.md +14 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/V1_6_FAQ.md +1038 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/V1_6_Primer.md +501 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/V1_6_PumpManual.md +177 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/V1_6_Samples.md +14 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/V1_6_XcodeGuide.md +93 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/V1_7_AdvancedGuide.md +2181 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/V1_7_Documentation.md +14 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/V1_7_FAQ.md +1082 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/V1_7_Primer.md +501 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/V1_7_PumpManual.md +177 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/V1_7_Samples.md +14 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/V1_7_XcodeGuide.md +93 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/docs/XcodeGuide.md +93 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-death-test.h +294 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-message.h +250 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-param-test.h +1444 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-param-test.h.pump +510 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-printers.h +993 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-spi.h +232 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-test-part.h +179 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-typed-test.h +263 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest.h +2236 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest_pred_impl.h +358 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest_prod.h +58 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/custom/gtest-port.h +69 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/custom/gtest-printers.h +42 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/custom/gtest.h +41 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-death-test-internal.h +319 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-filepath.h +206 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-internal.h +1238 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-linked_ptr.h +243 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-param-util-generated.h +5146 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-param-util-generated.h.pump +286 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-param-util.h +731 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-port-arch.h +93 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-port.h +2554 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-string.h +167 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-tuple.h +1020 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-tuple.h.pump +347 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-type-util.h +3331 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-type-util.h.pump +297 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/m4/acx_pthread.m4 +363 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/m4/gtest.m4 +74 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/make/Makefile +82 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/msvc/gtest-md.sln +45 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/msvc/gtest-md.vcproj +126 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/msvc/gtest.sln +45 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/msvc/gtest.vcproj +126 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/msvc/gtest_main-md.vcproj +129 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/msvc/gtest_main.vcproj +129 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/msvc/gtest_prod_test-md.vcproj +164 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/msvc/gtest_prod_test.vcproj +164 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/msvc/gtest_unittest-md.vcproj +147 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/msvc/gtest_unittest.vcproj +147 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/samples/prime_tables.h +123 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/samples/sample1.cc +68 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/samples/sample1.h +43 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/samples/sample10_unittest.cc +144 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/samples/sample1_unittest.cc +153 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/samples/sample2.cc +56 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/samples/sample2.h +85 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/samples/sample2_unittest.cc +109 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/samples/sample3-inl.h +172 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/samples/sample3_unittest.cc +151 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/samples/sample4.cc +46 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/samples/sample4.h +53 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/samples/sample4_unittest.cc +45 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/samples/sample5_unittest.cc +199 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/samples/sample6_unittest.cc +224 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/samples/sample7_unittest.cc +130 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/samples/sample8_unittest.cc +173 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/samples/sample9_unittest.cc +160 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/scripts/common.py +83 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/scripts/fuse_gtest_files.py +253 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/scripts/gen_gtest_pred_impl.py +730 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/scripts/gtest-config.in +274 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/scripts/pump.py +855 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/scripts/release_docs.py +158 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/scripts/test/Makefile +59 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/scripts/upload.py +1387 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/scripts/upload_gtest.py +78 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/src/gtest-all.cc +48 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/src/gtest-death-test.cc +1342 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/src/gtest-filepath.cc +387 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/src/gtest-internal-inl.h +1183 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/src/gtest-port.cc +1259 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/src/gtest-printers.cc +373 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/src/gtest-test-part.cc +110 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/src/gtest-typed-test.cc +118 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/src/gtest.cc +5388 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/src/gtest_main.cc +38 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest-death-test_ex_test.cc +93 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest-death-test_test.cc +1427 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest-filepath_test.cc +662 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest-linked_ptr_test.cc +154 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest-listener_test.cc +311 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest-message_test.cc +159 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest-options_test.cc +215 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest-param-test2_test.cc +65 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest-param-test_test.cc +1055 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest-param-test_test.h +57 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest-port_test.cc +1304 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest-printers_test.cc +1635 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest-test-part_test.cc +208 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest-tuple_test.cc +320 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest-typed-test2_test.cc +45 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest-typed-test_test.cc +380 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest-typed-test_test.h +66 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest-unittest-api_test.cc +341 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_all_test.cc +47 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_break_on_failure_unittest.py +212 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_break_on_failure_unittest_.cc +88 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_catch_exceptions_test.py +237 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_catch_exceptions_test_.cc +311 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_color_test.py +130 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_color_test_.cc +71 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_env_var_test.py +117 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_env_var_test_.cc +126 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_environment_test.cc +192 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_filter_unittest.py +636 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_filter_unittest_.cc +140 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_help_test.py +172 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_help_test_.cc +46 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_list_tests_unittest.py +207 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_list_tests_unittest_.cc +157 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_main_unittest.cc +45 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_no_test_unittest.cc +56 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_output_test.py +340 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_output_test_.cc +1062 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_output_test_golden_lin.txt +743 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_pred_impl_unittest.cc +2427 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_premature_exit_test.cc +127 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_prod_test.cc +57 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_repeat_test.cc +253 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_shuffle_test.py +325 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_shuffle_test_.cc +103 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_sole_header_test.cc +57 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_stress_test.cc +256 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_test_utils.py +320 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_throw_on_failure_ex_test.cc +92 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_throw_on_failure_test.py +171 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_throw_on_failure_test_.cc +72 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_uninitialized_test.py +70 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_uninitialized_test_.cc +43 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_unittest.cc +7706 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_outfile1_test_.cc +49 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_outfile2_test_.cc +49 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_outfiles_test.py +132 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_output_unittest.py +308 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_output_unittest_.cc +181 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_test_utils.py +194 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/production.cc +36 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/test/production.h +55 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/xcode/Config/DebugProject.xcconfig +30 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/xcode/Config/FrameworkTarget.xcconfig +17 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/xcode/Config/General.xcconfig +41 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/xcode/Config/ReleaseProject.xcconfig +32 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/xcode/Config/StaticLibraryTarget.xcconfig +18 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/xcode/Config/TestTarget.xcconfig +8 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/xcode/Resources/Info.plist +30 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/Info.plist +28 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/WidgetFramework.xcodeproj/project.pbxproj +457 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/runtests.sh +62 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/widget.cc +63 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/widget.h +59 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/widget_test.cc +68 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/xcode/Scripts/runtests.sh +65 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/xcode/Scripts/versiongenerate.py +100 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/googletest/xcode/gtest.xcodeproj/project.pbxproj +1135 -0
- data/vendor/simdjson/dependencies/rapidjson/thirdparty/gtest/travis.sh +15 -0
- data/vendor/simdjson/dependencies/rapidjson/travis-doxygen.sh +121 -0
- data/vendor/simdjson/dependencies/sajson/LICENSE.txt +7 -0
- data/vendor/simdjson/dependencies/sajson/README.md +73 -0
- data/vendor/simdjson/dependencies/sajson/SConscript +41 -0
- data/vendor/simdjson/dependencies/sajson/SConstruct +95 -0
- data/vendor/simdjson/dependencies/sajson/benchmark/benchmark.cpp +92 -0
- data/vendor/simdjson/dependencies/sajson/doc/doxygen.config +2427 -0
- data/vendor/simdjson/dependencies/sajson/example/main.cpp +127 -0
- data/vendor/simdjson/dependencies/sajson/example/zero-allocation.cpp +28 -0
- data/vendor/simdjson/dependencies/sajson/include/sajson.h +2493 -0
- data/vendor/simdjson/dependencies/sajson/include/sajson_ostream.h +20 -0
- data/vendor/simdjson/dependencies/sajson/s/bench +15 -0
- data/vendor/simdjson/dependencies/sajson/s/build +4 -0
- data/vendor/simdjson/dependencies/sajson/s/doxygen +4 -0
- data/vendor/simdjson/dependencies/sajson/s/test +21 -0
- data/vendor/simdjson/dependencies/sajson/sajson-fuzz/build.sh +4 -0
- data/vendor/simdjson/dependencies/sajson/sajson-fuzz/json.dict +44 -0
- data/vendor/simdjson/dependencies/sajson/sajson-fuzz/run-primary.sh +4 -0
- data/vendor/simdjson/dependencies/sajson/sajson-fuzz/run.sh +3 -0
- data/vendor/simdjson/dependencies/sajson/swift/sajson.xcodeproj/project.pbxproj +665 -0
- data/vendor/simdjson/dependencies/sajson/swift/sajson.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/vendor/simdjson/dependencies/sajson/swift/sajson.xcodeproj/xcshareddata/xcschemes/sajson-macOS.xcscheme +100 -0
- data/vendor/simdjson/dependencies/sajson/swift/sajson/Info.plist +24 -0
- data/vendor/simdjson/dependencies/sajson/swift/sajson/sajson-ffi.cpp +79 -0
- data/vendor/simdjson/dependencies/sajson/swift/sajson/sajson-swift/sajson-ffi.h +35 -0
- data/vendor/simdjson/dependencies/sajson/swift/sajson/sajson.swift +409 -0
- data/vendor/simdjson/dependencies/sajson/swift/sajson/sajson_swift.h +3 -0
- data/vendor/simdjson/dependencies/sajson/swift/sajsonTests/Info.plist +22 -0
- data/vendor/simdjson/dependencies/sajson/swift/sajsonTests/sajsonTests.swift +122 -0
- data/vendor/simdjson/dependencies/sajson/tests/test.cpp +1049 -0
- data/vendor/simdjson/dependencies/sajson/tests/test_no_stl.cpp +2 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/COPYING +20 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/Makefile +96 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/README +68 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/TestUnitTest++.vsnet2003.vcproj +174 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/TestUnitTest++.vsnet2005.vcproj +256 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/UnitTest++.vsnet2003.sln +30 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/UnitTest++.vsnet2003.vcproj +226 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/UnitTest++.vsnet2005.sln +29 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/UnitTest++.vsnet2005.vcproj +318 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/docs/UnitTest++.html +260 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/AssertException.cpp +34 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/AssertException.h +28 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/CheckMacros.h +122 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/Checks.cpp +50 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/Checks.h +158 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/Config.h +31 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/CurrentTest.cpp +18 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/CurrentTest.h +17 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/DeferredTestReporter.cpp +29 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/DeferredTestReporter.h +28 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/DeferredTestResult.cpp +25 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/DeferredTestResult.h +29 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/ExecuteTest.h +46 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/MemoryOutStream.cpp +149 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/MemoryOutStream.h +67 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/Posix/SignalTranslator.cpp +46 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/Posix/SignalTranslator.h +42 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/Posix/TimeHelpers.cpp +33 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/Posix/TimeHelpers.h +28 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/ReportAssert.cpp +10 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/ReportAssert.h +10 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/Test.cpp +41 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/Test.h +34 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/TestDetails.cpp +22 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/TestDetails.h +24 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/TestList.cpp +39 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/TestList.h +32 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/TestMacros.h +113 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/TestReporter.cpp +10 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/TestReporter.h +20 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/TestReporterStdout.cpp +41 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/TestReporterStdout.h +19 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/TestResults.cpp +60 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/TestResults.h +36 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/TestRunner.cpp +76 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/TestRunner.h +61 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/TestSuite.h +14 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/TimeConstraint.cpp +29 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/TimeConstraint.h +33 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/TimeHelpers.h +7 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/UnitTest++.h +18 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/Win32/TimeHelpers.cpp +50 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/Win32/TimeHelpers.h +48 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/XmlTestReporter.cpp +127 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/XmlTestReporter.h +34 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/tests/Main.cpp +8 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/tests/RecordingReporter.h +98 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/tests/ScopedCurrentTest.h +37 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/tests/TestAssertHandler.cpp +44 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/tests/TestCheckMacros.cpp +801 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/tests/TestChecks.cpp +293 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/tests/TestCurrentTest.cpp +38 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/tests/TestDeferredTestReporter.cpp +117 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/tests/TestMemoryOutStream.cpp +151 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/tests/TestTest.cpp +129 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/tests/TestTestList.cpp +50 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/tests/TestTestMacros.cpp +212 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/tests/TestTestResults.cpp +111 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/tests/TestTestRunner.cpp +307 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/tests/TestTestSuite.cpp +12 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/tests/TestTimeConstraint.cpp +69 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/tests/TestTimeConstraintMacro.cpp +35 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/tests/TestUnitTest++.cpp +156 -0
- data/vendor/simdjson/dependencies/sajson/third-party/UnitTest++/src/tests/TestXmlTestReporter.cpp +183 -0
- data/vendor/simdjson/dependencies/sajson/tools/genpow10.js +39 -0
- data/vendor/simdjson/dependencies/ujson4c/3rdparty/ultrajson.h +310 -0
- data/vendor/simdjson/dependencies/ujson4c/3rdparty/ultrajsondec.c +891 -0
- data/vendor/simdjson/dependencies/ujson4c/LICENSE.txt +31 -0
- data/vendor/simdjson/dependencies/ujson4c/README.rst +43 -0
- data/vendor/simdjson/dependencies/ujson4c/src/ujdecode.c +836 -0
- data/vendor/simdjson/dependencies/ujson4c/src/ujdecode.h +261 -0
- data/vendor/simdjson/dependencies/ujson4c/tests/benchmark.c +225 -0
- data/vendor/simdjson/dependencies/ujson4c/tests/tests.c +102 -0
- data/vendor/simdjson/doc/Multiline_JSON_Parse_Competition.png +0 -0
- data/vendor/simdjson/doc/basics.md +574 -0
- data/vendor/simdjson/doc/basics_doxygen.md +556 -0
- data/vendor/simdjson/doc/gbps.png +0 -0
- data/vendor/simdjson/doc/growing.png +0 -0
- data/vendor/simdjson/doc/implementation-selection.md +83 -0
- data/vendor/simdjson/doc/parse_many.md +160 -0
- data/vendor/simdjson/doc/performance.md +172 -0
- data/vendor/simdjson/{tape.md → doc/tape.md} +40 -38
- data/vendor/simdjson/examples/CMakeLists.txt +1 -0
- data/vendor/simdjson/examples/quickstart/CMakeLists.txt +60 -0
- data/vendor/simdjson/examples/quickstart/Makefile +32 -0
- data/vendor/simdjson/examples/quickstart/quickstart.cpp +7 -0
- data/vendor/simdjson/examples/quickstart/quickstart_noexceptions.cpp +16 -0
- data/vendor/simdjson/extra/dumpbits.h +19 -0
- data/vendor/simdjson/fuzz/CMakeLists.txt +63 -0
- data/vendor/simdjson/fuzz/Fuzzing.md +86 -0
- data/vendor/simdjson/fuzz/NullBuffer.h +21 -0
- data/vendor/simdjson/fuzz/build_corpus.sh +18 -0
- data/vendor/simdjson/fuzz/build_fuzzer_variants.sh +174 -0
- data/vendor/simdjson/fuzz/build_like_ossfuzz.sh +22 -0
- data/vendor/simdjson/fuzz/fuzz_dump.cpp +60 -0
- data/vendor/simdjson/fuzz/fuzz_dump_raw_tape.cpp +18 -0
- data/vendor/simdjson/fuzz/fuzz_minify.cpp +19 -0
- data/vendor/simdjson/fuzz/fuzz_parser.cpp +10 -0
- data/vendor/simdjson/fuzz/fuzz_print_json.cpp +18 -0
- data/vendor/simdjson/fuzz/main.cpp +26 -0
- data/vendor/simdjson/fuzz/measure_coverage.sh +34 -0
- data/vendor/simdjson/fuzz/ossfuzz.sh +44 -0
- data/vendor/simdjson/images/logotiny.png +0 -0
- data/vendor/simdjson/include/CMakeLists.txt +13 -0
- data/vendor/simdjson/include/simdjson.h +47 -0
- data/vendor/simdjson/include/simdjson/common_defs.h +177 -71
- data/vendor/simdjson/include/simdjson/compiler_check.h +35 -0
- data/vendor/simdjson/include/simdjson/dom/array.h +158 -0
- data/vendor/simdjson/include/simdjson/dom/document.h +78 -0
- data/vendor/simdjson/include/simdjson/dom/document_stream.h +261 -0
- data/vendor/simdjson/include/simdjson/dom/element.h +545 -0
- data/vendor/simdjson/include/simdjson/dom/jsonparser.h +117 -0
- data/vendor/simdjson/include/simdjson/dom/object.h +264 -0
- data/vendor/simdjson/include/simdjson/dom/parsedjson.h +17 -0
- data/vendor/simdjson/include/simdjson/dom/parsedjson_iterator.h +270 -0
- data/vendor/simdjson/include/simdjson/dom/parser.h +434 -0
- data/vendor/simdjson/include/simdjson/error.h +252 -0
- data/vendor/simdjson/include/simdjson/implementation.h +244 -0
- data/vendor/simdjson/include/simdjson/inline/array.h +153 -0
- data/vendor/simdjson/include/simdjson/inline/document.h +141 -0
- data/vendor/simdjson/include/simdjson/inline/document_stream.h +255 -0
- data/vendor/simdjson/include/simdjson/inline/element.h +535 -0
- data/vendor/simdjson/include/simdjson/inline/error.h +155 -0
- data/vendor/simdjson/include/simdjson/inline/object.h +255 -0
- data/vendor/simdjson/include/simdjson/inline/padded_string.h +150 -0
- data/vendor/simdjson/include/simdjson/inline/parsedjson_iterator.h +486 -0
- data/vendor/simdjson/include/simdjson/inline/parser.h +206 -0
- data/vendor/simdjson/include/simdjson/inline/tape_ref.h +105 -0
- data/vendor/simdjson/include/simdjson/internal/dom_parser_implementation.h +181 -0
- data/vendor/simdjson/include/simdjson/internal/jsonformatutils.h +65 -0
- data/vendor/simdjson/include/simdjson/internal/tape_ref.h +51 -0
- data/vendor/simdjson/include/simdjson/internal/tape_type.h +28 -0
- data/vendor/simdjson/include/simdjson/jsonioutil.h +10 -22
- data/vendor/simdjson/include/simdjson/minify.h +75 -0
- data/vendor/simdjson/include/simdjson/nonstd/string_view.hpp +1529 -0
- data/vendor/simdjson/include/simdjson/padded_string.h +144 -58
- data/vendor/simdjson/include/simdjson/portability.h +162 -93
- data/vendor/simdjson/include/simdjson/simdjson.h +9 -43
- data/vendor/simdjson/include/simdjson/simdjson_version.h +20 -7
- data/vendor/simdjson/jsonchecker/CMakeLists.txt +3 -0
- data/vendor/simdjson/jsonexamples/CMakeLists.txt +16 -0
- data/vendor/simdjson/jsonexamples/generated/CMakeLists.txt +18 -0
- data/vendor/simdjson/jsonexamples/generated/genfeaturejson.rb +117 -0
- data/vendor/simdjson/jsonexamples/generated/genfeaturejsonseed.rb +49 -0
- data/vendor/simdjson/jsonexamples/generated/miss-templates/128.txt +10000 -0
- data/vendor/simdjson/jsonexamples/generated/miss-templates/64.txt +10000 -0
- data/vendor/simdjson/jsonexamples/small/jsoniter_scala/README.md +25 -1
- data/vendor/simdjson/scripts/ruby/kostya_large.rb +32 -0
- data/vendor/simdjson/scripts/shootout.sh +32 -0
- data/vendor/simdjson/singleheader/CMakeLists.txt +151 -0
- data/vendor/simdjson/singleheader/README.md +2 -1
- data/vendor/simdjson/singleheader/amalgamate.sh +196 -0
- data/vendor/simdjson/singleheader/amalgamate_demo.cpp +46 -0
- data/vendor/simdjson/singleheader/simdjson.cpp +14045 -1541
- data/vendor/simdjson/singleheader/simdjson.h +7250 -39226
- data/vendor/simdjson/src/CMakeLists.txt +91 -50
- data/vendor/simdjson/src/arm64/bitmanipulation.h +73 -0
- data/vendor/simdjson/src/arm64/bitmask.h +43 -0
- data/vendor/simdjson/src/arm64/dom_parser_implementation.cpp +137 -0
- data/vendor/simdjson/src/arm64/dom_parser_implementation.h +15 -0
- data/vendor/simdjson/src/arm64/implementation.cpp +25 -0
- data/vendor/simdjson/src/arm64/implementation.h +27 -0
- data/vendor/simdjson/src/arm64/intrinsics.h +10 -0
- data/vendor/simdjson/src/arm64/numberparsing.h +39 -0
- data/vendor/simdjson/src/arm64/simd.h +522 -0
- data/vendor/simdjson/src/arm64/stringparsing.h +53 -0
- data/vendor/simdjson/src/error.cpp +34 -0
- data/vendor/simdjson/src/fallback/bitmanipulation.h +77 -0
- data/vendor/simdjson/src/fallback/dom_parser_implementation.cpp +335 -0
- data/vendor/simdjson/src/fallback/dom_parser_implementation.h +15 -0
- data/vendor/simdjson/src/fallback/implementation.cpp +25 -0
- data/vendor/simdjson/src/fallback/implementation.h +32 -0
- data/vendor/simdjson/src/fallback/numberparsing.h +35 -0
- data/vendor/simdjson/src/fallback/stringparsing.h +35 -0
- data/vendor/simdjson/src/generic/dom_parser_implementation.h +59 -0
- data/vendor/simdjson/src/generic/stage1/allocate.h +17 -0
- data/vendor/simdjson/src/generic/stage1/buf_block_reader.h +83 -0
- data/vendor/simdjson/src/generic/stage1/find_next_document_index.h +86 -0
- data/vendor/simdjson/src/generic/stage1/json_minifier.h +77 -0
- data/vendor/simdjson/src/generic/stage1/json_scanner.h +104 -0
- data/vendor/simdjson/src/generic/stage1/json_string_scanner.h +139 -0
- data/vendor/simdjson/src/generic/stage1/json_structural_indexer.h +198 -0
- data/vendor/simdjson/src/generic/stage1/utf8_fastvalidate_algorithm.h +178 -0
- data/vendor/simdjson/src/generic/stage1/utf8_lookup2_algorithm.h +218 -0
- data/vendor/simdjson/src/generic/stage1/utf8_lookup3_algorithm.h +230 -0
- data/vendor/simdjson/src/generic/stage1/utf8_lookup_algorithm.h +299 -0
- data/vendor/simdjson/src/generic/stage1/utf8_range_algorithm.h +180 -0
- data/vendor/simdjson/src/generic/stage1/utf8_validator.h +26 -0
- data/vendor/simdjson/src/generic/stage1/utf8_zwegner_algorithm.h +360 -0
- data/vendor/simdjson/src/generic/stage2/allocate.h +18 -0
- data/vendor/simdjson/src/generic/stage2/atomparsing.h +51 -0
- data/vendor/simdjson/src/generic/stage2/logger.h +64 -0
- data/vendor/simdjson/src/generic/stage2/numberparsing.h +572 -0
- data/vendor/simdjson/src/generic/stage2/streaming_structural_parser.h +168 -0
- data/vendor/simdjson/{include/simdjson → src/generic/stage2}/stringparsing.h +54 -36
- data/vendor/simdjson/src/generic/stage2/structural_iterator.h +70 -0
- data/vendor/simdjson/src/generic/stage2/structural_parser.h +474 -0
- data/vendor/simdjson/src/generic/stage2/tape_writer.h +95 -0
- data/vendor/simdjson/src/haswell/bitmanipulation.h +80 -0
- data/vendor/simdjson/src/haswell/bitmask.h +30 -0
- data/vendor/simdjson/src/haswell/dom_parser_implementation.cpp +127 -0
- data/vendor/simdjson/src/haswell/dom_parser_implementation.h +15 -0
- data/vendor/simdjson/src/haswell/implementation.cpp +25 -0
- data/vendor/simdjson/src/haswell/implementation.h +29 -0
- data/vendor/simdjson/src/haswell/intrinsics.h +54 -0
- data/vendor/simdjson/src/haswell/numberparsing.h +49 -0
- data/vendor/simdjson/src/haswell/simd.h +377 -0
- data/vendor/simdjson/src/haswell/stringparsing.h +50 -0
- data/vendor/simdjson/src/implementation.cpp +155 -0
- data/vendor/simdjson/{include/simdjson → src}/isadetection.h +26 -11
- data/vendor/simdjson/src/jsoncharutils.h +1336 -0
- data/vendor/simdjson/src/simdjson.cpp +30 -28
- data/vendor/simdjson/src/simdprune_tables.h +136 -0
- data/vendor/simdjson/src/westmere/bitmanipulation.h +89 -0
- data/vendor/simdjson/src/westmere/bitmask.h +29 -0
- data/vendor/simdjson/src/westmere/dom_parser_implementation.cpp +128 -0
- data/vendor/simdjson/src/westmere/dom_parser_implementation.h +15 -0
- data/vendor/simdjson/src/westmere/implementation.cpp +25 -0
- data/vendor/simdjson/src/westmere/implementation.h +28 -0
- data/vendor/simdjson/src/westmere/intrinsics.h +27 -0
- data/vendor/simdjson/src/westmere/numberparsing.h +50 -0
- data/vendor/simdjson/src/westmere/simd.h +362 -0
- data/vendor/simdjson/src/westmere/stringparsing.h +52 -0
- data/vendor/simdjson/tests/CMakeLists.txt +182 -11
- data/vendor/simdjson/tests/allparserscheckfile.cpp +24 -28
- data/vendor/simdjson/tests/basictests.cpp +1963 -54
- data/vendor/simdjson/tests/cast_tester.h +271 -0
- data/vendor/simdjson/tests/checkimplementation.cpp +23 -0
- data/vendor/simdjson/tests/compilation_failure_tests/CMakeLists.txt +25 -0
- data/vendor/simdjson/tests/compilation_failure_tests/dangling_parser_load.cpp +15 -0
- data/vendor/simdjson/tests/compilation_failure_tests/dangling_parser_parse_padstring.cpp +16 -0
- data/vendor/simdjson/tests/compilation_failure_tests/dangling_parser_parse_stdstring.cpp +16 -0
- data/vendor/simdjson/tests/compilation_failure_tests/dangling_parser_parse_uchar.cpp +17 -0
- data/vendor/simdjson/tests/compilation_failure_tests/dangling_parser_parse_uint8.cpp +17 -0
- data/vendor/simdjson/tests/compilation_failure_tests/example_compiletest.cpp +20 -0
- data/vendor/simdjson/tests/errortests.cpp +160 -0
- data/vendor/simdjson/tests/extracting_values_example.cpp +12 -0
- data/vendor/simdjson/tests/integer_tests.cpp +95 -0
- data/vendor/simdjson/{scripts → tests}/issue150.sh +1 -2
- data/vendor/simdjson/tests/jsoncheck.cpp +37 -29
- data/vendor/simdjson/tests/numberparsingcheck.cpp +35 -20
- data/vendor/simdjson/tests/parse_many_test.cpp +146 -0
- data/vendor/simdjson/tests/pointercheck.cpp +81 -33
- data/vendor/simdjson/tests/readme_examples.cpp +298 -0
- data/vendor/simdjson/tests/readme_examples_noexceptions.cpp +197 -0
- data/vendor/simdjson/tests/singleheadertest.cpp +8 -12
- data/vendor/simdjson/tests/staticchecks.cpp +29 -0
- data/vendor/simdjson/tests/stringparsingcheck.cpp +29 -30
- data/vendor/simdjson/tests/test_macros.h +55 -0
- data/vendor/simdjson/tests/testjson2json.sh +39 -0
- data/vendor/simdjson/tests/unicode_tests.cpp +246 -0
- data/vendor/simdjson/tools/CMakeLists.txt +9 -3
- data/vendor/simdjson/tools/json2json.cpp +56 -95
- data/vendor/simdjson/tools/jsonpointer.cpp +16 -64
- data/vendor/simdjson/tools/jsonstats.cpp +225 -85
- data/vendor/simdjson/tools/minify.cpp +70 -12
- data/vendor/simdjson/tools/release.py +92 -20
- data/vendor/simdjson/windows/CMakeLists.txt +6 -0
- data/vendor/simdjson/windows/dirent_portable.h +6 -1039
- data/vendor/simdjson/windows/getopt.h +658 -0
- data/vendor/simdjson/windows/toni_ronnko_dirent.h +1075 -0
- data/vendor/simdjson/windows/unistd.h +3 -0
- metadata +2544 -47
- data/vendor/simdjson/Makefile +0 -203
- data/vendor/simdjson/Notes.md +0 -85
- data/vendor/simdjson/amalgamation.sh +0 -158
- data/vendor/simdjson/include/simdjson/jsoncharutils.h +0 -301
- data/vendor/simdjson/include/simdjson/jsonformatutils.h +0 -202
- data/vendor/simdjson/include/simdjson/jsonminifier.h +0 -30
- data/vendor/simdjson/include/simdjson/jsonparser.h +0 -250
- data/vendor/simdjson/include/simdjson/numberparsing.h +0 -587
- data/vendor/simdjson/include/simdjson/parsedjson.h +0 -544
- data/vendor/simdjson/include/simdjson/simdprune_tables.h +0 -35074
- data/vendor/simdjson/include/simdjson/simdutf8check_arm64.h +0 -180
- data/vendor/simdjson/include/simdjson/simdutf8check_haswell.h +0 -198
- data/vendor/simdjson/include/simdjson/simdutf8check_westmere.h +0 -169
- data/vendor/simdjson/include/simdjson/stage1_find_marks.h +0 -121
- data/vendor/simdjson/include/simdjson/stage1_find_marks_arm64.h +0 -210
- data/vendor/simdjson/include/simdjson/stage1_find_marks_flatten.h +0 -93
- data/vendor/simdjson/include/simdjson/stage1_find_marks_flatten_haswell.h +0 -95
- data/vendor/simdjson/include/simdjson/stage1_find_marks_haswell.h +0 -210
- data/vendor/simdjson/include/simdjson/stage1_find_marks_macros.h +0 -239
- data/vendor/simdjson/include/simdjson/stage1_find_marks_westmere.h +0 -194
- data/vendor/simdjson/include/simdjson/stage2_build_tape.h +0 -85
- data/vendor/simdjson/include/simdjson/stringparsing_arm64.h +0 -56
- data/vendor/simdjson/include/simdjson/stringparsing_haswell.h +0 -43
- data/vendor/simdjson/include/simdjson/stringparsing_macros.h +0 -88
- data/vendor/simdjson/include/simdjson/stringparsing_westmere.h +0 -41
- data/vendor/simdjson/scripts/testjson2json.sh +0 -99
- data/vendor/simdjson/singleheader/amalgamation_demo.cpp +0 -20
- data/vendor/simdjson/src/jsonioutil.cpp +0 -35
- data/vendor/simdjson/src/jsonminifier.cpp +0 -285
- data/vendor/simdjson/src/jsonparser.cpp +0 -91
- data/vendor/simdjson/src/parsedjson.cpp +0 -323
- data/vendor/simdjson/src/parsedjsoniterator.cpp +0 -272
- data/vendor/simdjson/src/stage1_find_marks.cpp +0 -41
- data/vendor/simdjson/src/stage2_build_tape.cpp +0 -567
- data/vendor/simdjson/tools/cmake/FindCTargets.cmake +0 -15
- data/vendor/simdjson/tools/cmake/FindOptions.cmake +0 -52
@@ -0,0 +1,2236 @@
|
|
1
|
+
// Copyright 2005, Google Inc.
|
2
|
+
// All rights reserved.
|
3
|
+
//
|
4
|
+
// Redistribution and use in source and binary forms, with or without
|
5
|
+
// modification, are permitted provided that the following conditions are
|
6
|
+
// met:
|
7
|
+
//
|
8
|
+
// * Redistributions of source code must retain the above copyright
|
9
|
+
// notice, this list of conditions and the following disclaimer.
|
10
|
+
// * Redistributions in binary form must reproduce the above
|
11
|
+
// copyright notice, this list of conditions and the following disclaimer
|
12
|
+
// in the documentation and/or other materials provided with the
|
13
|
+
// distribution.
|
14
|
+
// * Neither the name of Google Inc. nor the names of its
|
15
|
+
// contributors may be used to endorse or promote products derived from
|
16
|
+
// this software without specific prior written permission.
|
17
|
+
//
|
18
|
+
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
19
|
+
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
20
|
+
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
21
|
+
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
22
|
+
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
23
|
+
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
24
|
+
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
25
|
+
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
26
|
+
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
27
|
+
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
28
|
+
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
29
|
+
//
|
30
|
+
// Author: wan@google.com (Zhanyong Wan)
|
31
|
+
//
|
32
|
+
// The Google C++ Testing Framework (Google Test)
|
33
|
+
//
|
34
|
+
// This header file defines the public API for Google Test. It should be
|
35
|
+
// included by any test program that uses Google Test.
|
36
|
+
//
|
37
|
+
// IMPORTANT NOTE: Due to limitation of the C++ language, we have to
|
38
|
+
// leave some internal implementation details in this header file.
|
39
|
+
// They are clearly marked by comments like this:
|
40
|
+
//
|
41
|
+
// // INTERNAL IMPLEMENTATION - DO NOT USE IN A USER PROGRAM.
|
42
|
+
//
|
43
|
+
// Such code is NOT meant to be used by a user directly, and is subject
|
44
|
+
// to CHANGE WITHOUT NOTICE. Therefore DO NOT DEPEND ON IT in a user
|
45
|
+
// program!
|
46
|
+
//
|
47
|
+
// Acknowledgment: Google Test borrowed the idea of automatic test
|
48
|
+
// registration from Barthelemy Dagenais' (barthelemy@prologique.com)
|
49
|
+
// easyUnit framework.
|
50
|
+
|
51
|
+
#ifndef GTEST_INCLUDE_GTEST_GTEST_H_
|
52
|
+
#define GTEST_INCLUDE_GTEST_GTEST_H_
|
53
|
+
|
54
|
+
#include <limits>
|
55
|
+
#include <ostream>
|
56
|
+
#include <vector>
|
57
|
+
|
58
|
+
#include "gtest/internal/gtest-internal.h"
|
59
|
+
#include "gtest/internal/gtest-string.h"
|
60
|
+
#include "gtest/gtest-death-test.h"
|
61
|
+
#include "gtest/gtest-message.h"
|
62
|
+
#include "gtest/gtest-param-test.h"
|
63
|
+
#include "gtest/gtest-printers.h"
|
64
|
+
#include "gtest/gtest_prod.h"
|
65
|
+
#include "gtest/gtest-test-part.h"
|
66
|
+
#include "gtest/gtest-typed-test.h"
|
67
|
+
|
68
|
+
// Depending on the platform, different string classes are available.
|
69
|
+
// On Linux, in addition to ::std::string, Google also makes use of
|
70
|
+
// class ::string, which has the same interface as ::std::string, but
|
71
|
+
// has a different implementation.
|
72
|
+
//
|
73
|
+
// You can define GTEST_HAS_GLOBAL_STRING to 1 to indicate that
|
74
|
+
// ::string is available AND is a distinct type to ::std::string, or
|
75
|
+
// define it to 0 to indicate otherwise.
|
76
|
+
//
|
77
|
+
// If ::std::string and ::string are the same class on your platform
|
78
|
+
// due to aliasing, you should define GTEST_HAS_GLOBAL_STRING to 0.
|
79
|
+
//
|
80
|
+
// If you do not define GTEST_HAS_GLOBAL_STRING, it is defined
|
81
|
+
// heuristically.
|
82
|
+
|
83
|
+
namespace testing {
|
84
|
+
|
85
|
+
// Declares the flags.
|
86
|
+
|
87
|
+
// This flag temporary enables the disabled tests.
|
88
|
+
GTEST_DECLARE_bool_(also_run_disabled_tests);
|
89
|
+
|
90
|
+
// This flag brings the debugger on an assertion failure.
|
91
|
+
GTEST_DECLARE_bool_(break_on_failure);
|
92
|
+
|
93
|
+
// This flag controls whether Google Test catches all test-thrown exceptions
|
94
|
+
// and logs them as failures.
|
95
|
+
GTEST_DECLARE_bool_(catch_exceptions);
|
96
|
+
|
97
|
+
// This flag enables using colors in terminal output. Available values are
|
98
|
+
// "yes" to enable colors, "no" (disable colors), or "auto" (the default)
|
99
|
+
// to let Google Test decide.
|
100
|
+
GTEST_DECLARE_string_(color);
|
101
|
+
|
102
|
+
// This flag sets up the filter to select by name using a glob pattern
|
103
|
+
// the tests to run. If the filter is not given all tests are executed.
|
104
|
+
GTEST_DECLARE_string_(filter);
|
105
|
+
|
106
|
+
// This flag causes the Google Test to list tests. None of the tests listed
|
107
|
+
// are actually run if the flag is provided.
|
108
|
+
GTEST_DECLARE_bool_(list_tests);
|
109
|
+
|
110
|
+
// This flag controls whether Google Test emits a detailed XML report to a file
|
111
|
+
// in addition to its normal textual output.
|
112
|
+
GTEST_DECLARE_string_(output);
|
113
|
+
|
114
|
+
// This flags control whether Google Test prints the elapsed time for each
|
115
|
+
// test.
|
116
|
+
GTEST_DECLARE_bool_(print_time);
|
117
|
+
|
118
|
+
// This flag specifies the random number seed.
|
119
|
+
GTEST_DECLARE_int32_(random_seed);
|
120
|
+
|
121
|
+
// This flag sets how many times the tests are repeated. The default value
|
122
|
+
// is 1. If the value is -1 the tests are repeating forever.
|
123
|
+
GTEST_DECLARE_int32_(repeat);
|
124
|
+
|
125
|
+
// This flag controls whether Google Test includes Google Test internal
|
126
|
+
// stack frames in failure stack traces.
|
127
|
+
GTEST_DECLARE_bool_(show_internal_stack_frames);
|
128
|
+
|
129
|
+
// When this flag is specified, tests' order is randomized on every iteration.
|
130
|
+
GTEST_DECLARE_bool_(shuffle);
|
131
|
+
|
132
|
+
// This flag specifies the maximum number of stack frames to be
|
133
|
+
// printed in a failure message.
|
134
|
+
GTEST_DECLARE_int32_(stack_trace_depth);
|
135
|
+
|
136
|
+
// When this flag is specified, a failed assertion will throw an
|
137
|
+
// exception if exceptions are enabled, or exit the program with a
|
138
|
+
// non-zero code otherwise.
|
139
|
+
GTEST_DECLARE_bool_(throw_on_failure);
|
140
|
+
|
141
|
+
// When this flag is set with a "host:port" string, on supported
|
142
|
+
// platforms test results are streamed to the specified port on
|
143
|
+
// the specified host machine.
|
144
|
+
GTEST_DECLARE_string_(stream_result_to);
|
145
|
+
|
146
|
+
// The upper limit for valid stack trace depths.
|
147
|
+
const int kMaxStackTraceDepth = 100;
|
148
|
+
|
149
|
+
namespace internal {
|
150
|
+
|
151
|
+
class AssertHelper;
|
152
|
+
class DefaultGlobalTestPartResultReporter;
|
153
|
+
class ExecDeathTest;
|
154
|
+
class NoExecDeathTest;
|
155
|
+
class FinalSuccessChecker;
|
156
|
+
class GTestFlagSaver;
|
157
|
+
class StreamingListenerTest;
|
158
|
+
class TestResultAccessor;
|
159
|
+
class TestEventListenersAccessor;
|
160
|
+
class TestEventRepeater;
|
161
|
+
class UnitTestRecordPropertyTestHelper;
|
162
|
+
class WindowsDeathTest;
|
163
|
+
class UnitTestImpl* GetUnitTestImpl();
|
164
|
+
void ReportFailureInUnknownLocation(TestPartResult::Type result_type,
|
165
|
+
const std::string& message);
|
166
|
+
|
167
|
+
} // namespace internal
|
168
|
+
|
169
|
+
// The friend relationship of some of these classes is cyclic.
|
170
|
+
// If we don't forward declare them the compiler might confuse the classes
|
171
|
+
// in friendship clauses with same named classes on the scope.
|
172
|
+
class Test;
|
173
|
+
class TestCase;
|
174
|
+
class TestInfo;
|
175
|
+
class UnitTest;
|
176
|
+
|
177
|
+
// A class for indicating whether an assertion was successful. When
|
178
|
+
// the assertion wasn't successful, the AssertionResult object
|
179
|
+
// remembers a non-empty message that describes how it failed.
|
180
|
+
//
|
181
|
+
// To create an instance of this class, use one of the factory functions
|
182
|
+
// (AssertionSuccess() and AssertionFailure()).
|
183
|
+
//
|
184
|
+
// This class is useful for two purposes:
|
185
|
+
// 1. Defining predicate functions to be used with Boolean test assertions
|
186
|
+
// EXPECT_TRUE/EXPECT_FALSE and their ASSERT_ counterparts
|
187
|
+
// 2. Defining predicate-format functions to be
|
188
|
+
// used with predicate assertions (ASSERT_PRED_FORMAT*, etc).
|
189
|
+
//
|
190
|
+
// For example, if you define IsEven predicate:
|
191
|
+
//
|
192
|
+
// testing::AssertionResult IsEven(int n) {
|
193
|
+
// if ((n % 2) == 0)
|
194
|
+
// return testing::AssertionSuccess();
|
195
|
+
// else
|
196
|
+
// return testing::AssertionFailure() << n << " is odd";
|
197
|
+
// }
|
198
|
+
//
|
199
|
+
// Then the failed expectation EXPECT_TRUE(IsEven(Fib(5)))
|
200
|
+
// will print the message
|
201
|
+
//
|
202
|
+
// Value of: IsEven(Fib(5))
|
203
|
+
// Actual: false (5 is odd)
|
204
|
+
// Expected: true
|
205
|
+
//
|
206
|
+
// instead of a more opaque
|
207
|
+
//
|
208
|
+
// Value of: IsEven(Fib(5))
|
209
|
+
// Actual: false
|
210
|
+
// Expected: true
|
211
|
+
//
|
212
|
+
// in case IsEven is a simple Boolean predicate.
|
213
|
+
//
|
214
|
+
// If you expect your predicate to be reused and want to support informative
|
215
|
+
// messages in EXPECT_FALSE and ASSERT_FALSE (negative assertions show up
|
216
|
+
// about half as often as positive ones in our tests), supply messages for
|
217
|
+
// both success and failure cases:
|
218
|
+
//
|
219
|
+
// testing::AssertionResult IsEven(int n) {
|
220
|
+
// if ((n % 2) == 0)
|
221
|
+
// return testing::AssertionSuccess() << n << " is even";
|
222
|
+
// else
|
223
|
+
// return testing::AssertionFailure() << n << " is odd";
|
224
|
+
// }
|
225
|
+
//
|
226
|
+
// Then a statement EXPECT_FALSE(IsEven(Fib(6))) will print
|
227
|
+
//
|
228
|
+
// Value of: IsEven(Fib(6))
|
229
|
+
// Actual: true (8 is even)
|
230
|
+
// Expected: false
|
231
|
+
//
|
232
|
+
// NB: Predicates that support negative Boolean assertions have reduced
|
233
|
+
// performance in positive ones so be careful not to use them in tests
|
234
|
+
// that have lots (tens of thousands) of positive Boolean assertions.
|
235
|
+
//
|
236
|
+
// To use this class with EXPECT_PRED_FORMAT assertions such as:
|
237
|
+
//
|
238
|
+
// // Verifies that Foo() returns an even number.
|
239
|
+
// EXPECT_PRED_FORMAT1(IsEven, Foo());
|
240
|
+
//
|
241
|
+
// you need to define:
|
242
|
+
//
|
243
|
+
// testing::AssertionResult IsEven(const char* expr, int n) {
|
244
|
+
// if ((n % 2) == 0)
|
245
|
+
// return testing::AssertionSuccess();
|
246
|
+
// else
|
247
|
+
// return testing::AssertionFailure()
|
248
|
+
// << "Expected: " << expr << " is even\n Actual: it's " << n;
|
249
|
+
// }
|
250
|
+
//
|
251
|
+
// If Foo() returns 5, you will see the following message:
|
252
|
+
//
|
253
|
+
// Expected: Foo() is even
|
254
|
+
// Actual: it's 5
|
255
|
+
//
|
256
|
+
class GTEST_API_ AssertionResult {
|
257
|
+
public:
|
258
|
+
// Copy constructor.
|
259
|
+
// Used in EXPECT_TRUE/FALSE(assertion_result).
|
260
|
+
AssertionResult(const AssertionResult& other);
|
261
|
+
|
262
|
+
GTEST_DISABLE_MSC_WARNINGS_PUSH_(4800 /* forcing value to bool */)
|
263
|
+
|
264
|
+
// Used in the EXPECT_TRUE/FALSE(bool_expression).
|
265
|
+
//
|
266
|
+
// T must be contextually convertible to bool.
|
267
|
+
//
|
268
|
+
// The second parameter prevents this overload from being considered if
|
269
|
+
// the argument is implicitly convertible to AssertionResult. In that case
|
270
|
+
// we want AssertionResult's copy constructor to be used.
|
271
|
+
template <typename T>
|
272
|
+
explicit AssertionResult(
|
273
|
+
const T& success,
|
274
|
+
typename internal::EnableIf<
|
275
|
+
!internal::ImplicitlyConvertible<T, AssertionResult>::value>::type*
|
276
|
+
/*enabler*/ = NULL)
|
277
|
+
: success_(success) {}
|
278
|
+
|
279
|
+
GTEST_DISABLE_MSC_WARNINGS_POP_()
|
280
|
+
|
281
|
+
// Assignment operator.
|
282
|
+
AssertionResult& operator=(AssertionResult other) {
|
283
|
+
swap(other);
|
284
|
+
return *this;
|
285
|
+
}
|
286
|
+
|
287
|
+
// Returns true iff the assertion succeeded.
|
288
|
+
operator bool() const { return success_; } // NOLINT
|
289
|
+
|
290
|
+
// Returns the assertion's negation. Used with EXPECT/ASSERT_FALSE.
|
291
|
+
AssertionResult operator!() const;
|
292
|
+
|
293
|
+
// Returns the text streamed into this AssertionResult. Test assertions
|
294
|
+
// use it when they fail (i.e., the predicate's outcome doesn't match the
|
295
|
+
// assertion's expectation). When nothing has been streamed into the
|
296
|
+
// object, returns an empty string.
|
297
|
+
const char* message() const {
|
298
|
+
return message_.get() != NULL ? message_->c_str() : "";
|
299
|
+
}
|
300
|
+
// TODO(vladl@google.com): Remove this after making sure no clients use it.
|
301
|
+
// Deprecated; please use message() instead.
|
302
|
+
const char* failure_message() const { return message(); }
|
303
|
+
|
304
|
+
// Streams a custom failure message into this object.
|
305
|
+
template <typename T> AssertionResult& operator<<(const T& value) {
|
306
|
+
AppendMessage(Message() << value);
|
307
|
+
return *this;
|
308
|
+
}
|
309
|
+
|
310
|
+
// Allows streaming basic output manipulators such as endl or flush into
|
311
|
+
// this object.
|
312
|
+
AssertionResult& operator<<(
|
313
|
+
::std::ostream& (*basic_manipulator)(::std::ostream& stream)) {
|
314
|
+
AppendMessage(Message() << basic_manipulator);
|
315
|
+
return *this;
|
316
|
+
}
|
317
|
+
|
318
|
+
private:
|
319
|
+
// Appends the contents of message to message_.
|
320
|
+
void AppendMessage(const Message& a_message) {
|
321
|
+
if (message_.get() == NULL)
|
322
|
+
message_.reset(new ::std::string);
|
323
|
+
message_->append(a_message.GetString().c_str());
|
324
|
+
}
|
325
|
+
|
326
|
+
// Swap the contents of this AssertionResult with other.
|
327
|
+
void swap(AssertionResult& other);
|
328
|
+
|
329
|
+
// Stores result of the assertion predicate.
|
330
|
+
bool success_;
|
331
|
+
// Stores the message describing the condition in case the expectation
|
332
|
+
// construct is not satisfied with the predicate's outcome.
|
333
|
+
// Referenced via a pointer to avoid taking too much stack frame space
|
334
|
+
// with test assertions.
|
335
|
+
internal::scoped_ptr< ::std::string> message_;
|
336
|
+
};
|
337
|
+
|
338
|
+
// Makes a successful assertion result.
|
339
|
+
GTEST_API_ AssertionResult AssertionSuccess();
|
340
|
+
|
341
|
+
// Makes a failed assertion result.
|
342
|
+
GTEST_API_ AssertionResult AssertionFailure();
|
343
|
+
|
344
|
+
// Makes a failed assertion result with the given failure message.
|
345
|
+
// Deprecated; use AssertionFailure() << msg.
|
346
|
+
GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
|
347
|
+
|
348
|
+
// The abstract class that all tests inherit from.
|
349
|
+
//
|
350
|
+
// In Google Test, a unit test program contains one or many TestCases, and
|
351
|
+
// each TestCase contains one or many Tests.
|
352
|
+
//
|
353
|
+
// When you define a test using the TEST macro, you don't need to
|
354
|
+
// explicitly derive from Test - the TEST macro automatically does
|
355
|
+
// this for you.
|
356
|
+
//
|
357
|
+
// The only time you derive from Test is when defining a test fixture
|
358
|
+
// to be used a TEST_F. For example:
|
359
|
+
//
|
360
|
+
// class FooTest : public testing::Test {
|
361
|
+
// protected:
|
362
|
+
// void SetUp() override { ... }
|
363
|
+
// void TearDown() override { ... }
|
364
|
+
// ...
|
365
|
+
// };
|
366
|
+
//
|
367
|
+
// TEST_F(FooTest, Bar) { ... }
|
368
|
+
// TEST_F(FooTest, Baz) { ... }
|
369
|
+
//
|
370
|
+
// Test is not copyable.
|
371
|
+
class GTEST_API_ Test {
|
372
|
+
public:
|
373
|
+
friend class TestInfo;
|
374
|
+
|
375
|
+
// Defines types for pointers to functions that set up and tear down
|
376
|
+
// a test case.
|
377
|
+
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc;
|
378
|
+
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc;
|
379
|
+
|
380
|
+
// The d'tor is virtual as we intend to inherit from Test.
|
381
|
+
virtual ~Test();
|
382
|
+
|
383
|
+
// Sets up the stuff shared by all tests in this test case.
|
384
|
+
//
|
385
|
+
// Google Test will call Foo::SetUpTestCase() before running the first
|
386
|
+
// test in test case Foo. Hence a sub-class can define its own
|
387
|
+
// SetUpTestCase() method to shadow the one defined in the super
|
388
|
+
// class.
|
389
|
+
static void SetUpTestCase() {}
|
390
|
+
|
391
|
+
// Tears down the stuff shared by all tests in this test case.
|
392
|
+
//
|
393
|
+
// Google Test will call Foo::TearDownTestCase() after running the last
|
394
|
+
// test in test case Foo. Hence a sub-class can define its own
|
395
|
+
// TearDownTestCase() method to shadow the one defined in the super
|
396
|
+
// class.
|
397
|
+
static void TearDownTestCase() {}
|
398
|
+
|
399
|
+
// Returns true iff the current test has a fatal failure.
|
400
|
+
static bool HasFatalFailure();
|
401
|
+
|
402
|
+
// Returns true iff the current test has a non-fatal failure.
|
403
|
+
static bool HasNonfatalFailure();
|
404
|
+
|
405
|
+
// Returns true iff the current test has a (either fatal or
|
406
|
+
// non-fatal) failure.
|
407
|
+
static bool HasFailure() { return HasFatalFailure() || HasNonfatalFailure(); }
|
408
|
+
|
409
|
+
// Logs a property for the current test, test case, or for the entire
|
410
|
+
// invocation of the test program when used outside of the context of a
|
411
|
+
// test case. Only the last value for a given key is remembered. These
|
412
|
+
// are public static so they can be called from utility functions that are
|
413
|
+
// not members of the test fixture. Calls to RecordProperty made during
|
414
|
+
// lifespan of the test (from the moment its constructor starts to the
|
415
|
+
// moment its destructor finishes) will be output in XML as attributes of
|
416
|
+
// the <testcase> element. Properties recorded from fixture's
|
417
|
+
// SetUpTestCase or TearDownTestCase are logged as attributes of the
|
418
|
+
// corresponding <testsuite> element. Calls to RecordProperty made in the
|
419
|
+
// global context (before or after invocation of RUN_ALL_TESTS and from
|
420
|
+
// SetUp/TearDown method of Environment objects registered with Google
|
421
|
+
// Test) will be output as attributes of the <testsuites> element.
|
422
|
+
static void RecordProperty(const std::string& key, const std::string& value);
|
423
|
+
static void RecordProperty(const std::string& key, int value);
|
424
|
+
|
425
|
+
protected:
|
426
|
+
// Creates a Test object.
|
427
|
+
Test();
|
428
|
+
|
429
|
+
// Sets up the test fixture.
|
430
|
+
virtual void SetUp();
|
431
|
+
|
432
|
+
// Tears down the test fixture.
|
433
|
+
virtual void TearDown();
|
434
|
+
|
435
|
+
private:
|
436
|
+
// Returns true iff the current test has the same fixture class as
|
437
|
+
// the first test in the current test case.
|
438
|
+
static bool HasSameFixtureClass();
|
439
|
+
|
440
|
+
// Runs the test after the test fixture has been set up.
|
441
|
+
//
|
442
|
+
// A sub-class must implement this to define the test logic.
|
443
|
+
//
|
444
|
+
// DO NOT OVERRIDE THIS FUNCTION DIRECTLY IN A USER PROGRAM.
|
445
|
+
// Instead, use the TEST or TEST_F macro.
|
446
|
+
virtual void TestBody() = 0;
|
447
|
+
|
448
|
+
// Sets up, executes, and tears down the test.
|
449
|
+
void Run();
|
450
|
+
|
451
|
+
// Deletes self. We deliberately pick an unusual name for this
|
452
|
+
// internal method to avoid clashing with names used in user TESTs.
|
453
|
+
void DeleteSelf_() { delete this; }
|
454
|
+
|
455
|
+
const internal::scoped_ptr< GTEST_FLAG_SAVER_ > gtest_flag_saver_;
|
456
|
+
|
457
|
+
// Often a user misspells SetUp() as Setup() and spends a long time
|
458
|
+
// wondering why it is never called by Google Test. The declaration of
|
459
|
+
// the following method is solely for catching such an error at
|
460
|
+
// compile time:
|
461
|
+
//
|
462
|
+
// - The return type is deliberately chosen to be not void, so it
|
463
|
+
// will be a conflict if void Setup() is declared in the user's
|
464
|
+
// test fixture.
|
465
|
+
//
|
466
|
+
// - This method is private, so it will be another compiler error
|
467
|
+
// if the method is called from the user's test fixture.
|
468
|
+
//
|
469
|
+
// DO NOT OVERRIDE THIS FUNCTION.
|
470
|
+
//
|
471
|
+
// If you see an error about overriding the following function or
|
472
|
+
// about it being private, you have mis-spelled SetUp() as Setup().
|
473
|
+
struct Setup_should_be_spelled_SetUp {};
|
474
|
+
virtual Setup_should_be_spelled_SetUp* Setup() { return NULL; }
|
475
|
+
|
476
|
+
// We disallow copying Tests.
|
477
|
+
GTEST_DISALLOW_COPY_AND_ASSIGN_(Test);
|
478
|
+
};
|
479
|
+
|
480
|
+
typedef internal::TimeInMillis TimeInMillis;
|
481
|
+
|
482
|
+
// A copyable object representing a user specified test property which can be
|
483
|
+
// output as a key/value string pair.
|
484
|
+
//
|
485
|
+
// Don't inherit from TestProperty as its destructor is not virtual.
|
486
|
+
class TestProperty {
|
487
|
+
public:
|
488
|
+
// C'tor. TestProperty does NOT have a default constructor.
|
489
|
+
// Always use this constructor (with parameters) to create a
|
490
|
+
// TestProperty object.
|
491
|
+
TestProperty(const std::string& a_key, const std::string& a_value) :
|
492
|
+
key_(a_key), value_(a_value) {
|
493
|
+
}
|
494
|
+
|
495
|
+
// Gets the user supplied key.
|
496
|
+
const char* key() const {
|
497
|
+
return key_.c_str();
|
498
|
+
}
|
499
|
+
|
500
|
+
// Gets the user supplied value.
|
501
|
+
const char* value() const {
|
502
|
+
return value_.c_str();
|
503
|
+
}
|
504
|
+
|
505
|
+
// Sets a new value, overriding the one supplied in the constructor.
|
506
|
+
void SetValue(const std::string& new_value) {
|
507
|
+
value_ = new_value;
|
508
|
+
}
|
509
|
+
|
510
|
+
private:
|
511
|
+
// The key supplied by the user.
|
512
|
+
std::string key_;
|
513
|
+
// The value supplied by the user.
|
514
|
+
std::string value_;
|
515
|
+
};
|
516
|
+
|
517
|
+
// The result of a single Test. This includes a list of
|
518
|
+
// TestPartResults, a list of TestProperties, a count of how many
|
519
|
+
// death tests there are in the Test, and how much time it took to run
|
520
|
+
// the Test.
|
521
|
+
//
|
522
|
+
// TestResult is not copyable.
|
523
|
+
class GTEST_API_ TestResult {
|
524
|
+
public:
|
525
|
+
// Creates an empty TestResult.
|
526
|
+
TestResult();
|
527
|
+
|
528
|
+
// D'tor. Do not inherit from TestResult.
|
529
|
+
~TestResult();
|
530
|
+
|
531
|
+
// Gets the number of all test parts. This is the sum of the number
|
532
|
+
// of successful test parts and the number of failed test parts.
|
533
|
+
int total_part_count() const;
|
534
|
+
|
535
|
+
// Returns the number of the test properties.
|
536
|
+
int test_property_count() const;
|
537
|
+
|
538
|
+
// Returns true iff the test passed (i.e. no test part failed).
|
539
|
+
bool Passed() const { return !Failed(); }
|
540
|
+
|
541
|
+
// Returns true iff the test failed.
|
542
|
+
bool Failed() const;
|
543
|
+
|
544
|
+
// Returns true iff the test fatally failed.
|
545
|
+
bool HasFatalFailure() const;
|
546
|
+
|
547
|
+
// Returns true iff the test has a non-fatal failure.
|
548
|
+
bool HasNonfatalFailure() const;
|
549
|
+
|
550
|
+
// Returns the elapsed time, in milliseconds.
|
551
|
+
TimeInMillis elapsed_time() const { return elapsed_time_; }
|
552
|
+
|
553
|
+
// Returns the i-th test part result among all the results. i can range
|
554
|
+
// from 0 to test_property_count() - 1. If i is not in that range, aborts
|
555
|
+
// the program.
|
556
|
+
const TestPartResult& GetTestPartResult(int i) const;
|
557
|
+
|
558
|
+
// Returns the i-th test property. i can range from 0 to
|
559
|
+
// test_property_count() - 1. If i is not in that range, aborts the
|
560
|
+
// program.
|
561
|
+
const TestProperty& GetTestProperty(int i) const;
|
562
|
+
|
563
|
+
private:
|
564
|
+
friend class TestInfo;
|
565
|
+
friend class TestCase;
|
566
|
+
friend class UnitTest;
|
567
|
+
friend class internal::DefaultGlobalTestPartResultReporter;
|
568
|
+
friend class internal::ExecDeathTest;
|
569
|
+
friend class internal::TestResultAccessor;
|
570
|
+
friend class internal::UnitTestImpl;
|
571
|
+
friend class internal::WindowsDeathTest;
|
572
|
+
|
573
|
+
// Gets the vector of TestPartResults.
|
574
|
+
const std::vector<TestPartResult>& test_part_results() const {
|
575
|
+
return test_part_results_;
|
576
|
+
}
|
577
|
+
|
578
|
+
// Gets the vector of TestProperties.
|
579
|
+
const std::vector<TestProperty>& test_properties() const {
|
580
|
+
return test_properties_;
|
581
|
+
}
|
582
|
+
|
583
|
+
// Sets the elapsed time.
|
584
|
+
void set_elapsed_time(TimeInMillis elapsed) { elapsed_time_ = elapsed; }
|
585
|
+
|
586
|
+
// Adds a test property to the list. The property is validated and may add
|
587
|
+
// a non-fatal failure if invalid (e.g., if it conflicts with reserved
|
588
|
+
// key names). If a property is already recorded for the same key, the
|
589
|
+
// value will be updated, rather than storing multiple values for the same
|
590
|
+
// key. xml_element specifies the element for which the property is being
|
591
|
+
// recorded and is used for validation.
|
592
|
+
void RecordProperty(const std::string& xml_element,
|
593
|
+
const TestProperty& test_property);
|
594
|
+
|
595
|
+
// Adds a failure if the key is a reserved attribute of Google Test
|
596
|
+
// testcase tags. Returns true if the property is valid.
|
597
|
+
// TODO(russr): Validate attribute names are legal and human readable.
|
598
|
+
static bool ValidateTestProperty(const std::string& xml_element,
|
599
|
+
const TestProperty& test_property);
|
600
|
+
|
601
|
+
// Adds a test part result to the list.
|
602
|
+
void AddTestPartResult(const TestPartResult& test_part_result);
|
603
|
+
|
604
|
+
// Returns the death test count.
|
605
|
+
int death_test_count() const { return death_test_count_; }
|
606
|
+
|
607
|
+
// Increments the death test count, returning the new count.
|
608
|
+
int increment_death_test_count() { return ++death_test_count_; }
|
609
|
+
|
610
|
+
// Clears the test part results.
|
611
|
+
void ClearTestPartResults();
|
612
|
+
|
613
|
+
// Clears the object.
|
614
|
+
void Clear();
|
615
|
+
|
616
|
+
// Protects mutable state of the property vector and of owned
|
617
|
+
// properties, whose values may be updated.
|
618
|
+
internal::Mutex test_properites_mutex_;
|
619
|
+
|
620
|
+
// The vector of TestPartResults
|
621
|
+
std::vector<TestPartResult> test_part_results_;
|
622
|
+
// The vector of TestProperties
|
623
|
+
std::vector<TestProperty> test_properties_;
|
624
|
+
// Running count of death tests.
|
625
|
+
int death_test_count_;
|
626
|
+
// The elapsed time, in milliseconds.
|
627
|
+
TimeInMillis elapsed_time_;
|
628
|
+
|
629
|
+
// We disallow copying TestResult.
|
630
|
+
GTEST_DISALLOW_COPY_AND_ASSIGN_(TestResult);
|
631
|
+
}; // class TestResult
|
632
|
+
|
633
|
+
// A TestInfo object stores the following information about a test:
|
634
|
+
//
|
635
|
+
// Test case name
|
636
|
+
// Test name
|
637
|
+
// Whether the test should be run
|
638
|
+
// A function pointer that creates the test object when invoked
|
639
|
+
// Test result
|
640
|
+
//
|
641
|
+
// The constructor of TestInfo registers itself with the UnitTest
|
642
|
+
// singleton such that the RUN_ALL_TESTS() macro knows which tests to
|
643
|
+
// run.
|
644
|
+
class GTEST_API_ TestInfo {
|
645
|
+
public:
|
646
|
+
// Destructs a TestInfo object. This function is not virtual, so
|
647
|
+
// don't inherit from TestInfo.
|
648
|
+
~TestInfo();
|
649
|
+
|
650
|
+
// Returns the test case name.
|
651
|
+
const char* test_case_name() const { return test_case_name_.c_str(); }
|
652
|
+
|
653
|
+
// Returns the test name.
|
654
|
+
const char* name() const { return name_.c_str(); }
|
655
|
+
|
656
|
+
// Returns the name of the parameter type, or NULL if this is not a typed
|
657
|
+
// or a type-parameterized test.
|
658
|
+
const char* type_param() const {
|
659
|
+
if (type_param_.get() != NULL)
|
660
|
+
return type_param_->c_str();
|
661
|
+
return NULL;
|
662
|
+
}
|
663
|
+
|
664
|
+
// Returns the text representation of the value parameter, or NULL if this
|
665
|
+
// is not a value-parameterized test.
|
666
|
+
const char* value_param() const {
|
667
|
+
if (value_param_.get() != NULL)
|
668
|
+
return value_param_->c_str();
|
669
|
+
return NULL;
|
670
|
+
}
|
671
|
+
|
672
|
+
// Returns the file name where this test is defined.
|
673
|
+
const char* file() const { return location_.file.c_str(); }
|
674
|
+
|
675
|
+
// Returns the line where this test is defined.
|
676
|
+
int line() const { return location_.line; }
|
677
|
+
|
678
|
+
// Returns true if this test should run, that is if the test is not
|
679
|
+
// disabled (or it is disabled but the also_run_disabled_tests flag has
|
680
|
+
// been specified) and its full name matches the user-specified filter.
|
681
|
+
//
|
682
|
+
// Google Test allows the user to filter the tests by their full names.
|
683
|
+
// The full name of a test Bar in test case Foo is defined as
|
684
|
+
// "Foo.Bar". Only the tests that match the filter will run.
|
685
|
+
//
|
686
|
+
// A filter is a colon-separated list of glob (not regex) patterns,
|
687
|
+
// optionally followed by a '-' and a colon-separated list of
|
688
|
+
// negative patterns (tests to exclude). A test is run if it
|
689
|
+
// matches one of the positive patterns and does not match any of
|
690
|
+
// the negative patterns.
|
691
|
+
//
|
692
|
+
// For example, *A*:Foo.* is a filter that matches any string that
|
693
|
+
// contains the character 'A' or starts with "Foo.".
|
694
|
+
bool should_run() const { return should_run_; }
|
695
|
+
|
696
|
+
// Returns true iff this test will appear in the XML report.
|
697
|
+
bool is_reportable() const {
|
698
|
+
// For now, the XML report includes all tests matching the filter.
|
699
|
+
// In the future, we may trim tests that are excluded because of
|
700
|
+
// sharding.
|
701
|
+
return matches_filter_;
|
702
|
+
}
|
703
|
+
|
704
|
+
// Returns the result of the test.
|
705
|
+
const TestResult* result() const { return &result_; }
|
706
|
+
|
707
|
+
private:
|
708
|
+
#if GTEST_HAS_DEATH_TEST
|
709
|
+
friend class internal::DefaultDeathTestFactory;
|
710
|
+
#endif // GTEST_HAS_DEATH_TEST
|
711
|
+
friend class Test;
|
712
|
+
friend class TestCase;
|
713
|
+
friend class internal::UnitTestImpl;
|
714
|
+
friend class internal::StreamingListenerTest;
|
715
|
+
friend TestInfo* internal::MakeAndRegisterTestInfo(
|
716
|
+
const char* test_case_name,
|
717
|
+
const char* name,
|
718
|
+
const char* type_param,
|
719
|
+
const char* value_param,
|
720
|
+
internal::CodeLocation code_location,
|
721
|
+
internal::TypeId fixture_class_id,
|
722
|
+
Test::SetUpTestCaseFunc set_up_tc,
|
723
|
+
Test::TearDownTestCaseFunc tear_down_tc,
|
724
|
+
internal::TestFactoryBase* factory);
|
725
|
+
|
726
|
+
// Constructs a TestInfo object. The newly constructed instance assumes
|
727
|
+
// ownership of the factory object.
|
728
|
+
TestInfo(const std::string& test_case_name,
|
729
|
+
const std::string& name,
|
730
|
+
const char* a_type_param, // NULL if not a type-parameterized test
|
731
|
+
const char* a_value_param, // NULL if not a value-parameterized test
|
732
|
+
internal::CodeLocation a_code_location,
|
733
|
+
internal::TypeId fixture_class_id,
|
734
|
+
internal::TestFactoryBase* factory);
|
735
|
+
|
736
|
+
// Increments the number of death tests encountered in this test so
|
737
|
+
// far.
|
738
|
+
int increment_death_test_count() {
|
739
|
+
return result_.increment_death_test_count();
|
740
|
+
}
|
741
|
+
|
742
|
+
// Creates the test object, runs it, records its result, and then
|
743
|
+
// deletes it.
|
744
|
+
void Run();
|
745
|
+
|
746
|
+
static void ClearTestResult(TestInfo* test_info) {
|
747
|
+
test_info->result_.Clear();
|
748
|
+
}
|
749
|
+
|
750
|
+
// These fields are immutable properties of the test.
|
751
|
+
const std::string test_case_name_; // Test case name
|
752
|
+
const std::string name_; // Test name
|
753
|
+
// Name of the parameter type, or NULL if this is not a typed or a
|
754
|
+
// type-parameterized test.
|
755
|
+
const internal::scoped_ptr<const ::std::string> type_param_;
|
756
|
+
// Text representation of the value parameter, or NULL if this is not a
|
757
|
+
// value-parameterized test.
|
758
|
+
const internal::scoped_ptr<const ::std::string> value_param_;
|
759
|
+
internal::CodeLocation location_;
|
760
|
+
const internal::TypeId fixture_class_id_; // ID of the test fixture class
|
761
|
+
bool should_run_; // True iff this test should run
|
762
|
+
bool is_disabled_; // True iff this test is disabled
|
763
|
+
bool matches_filter_; // True if this test matches the
|
764
|
+
// user-specified filter.
|
765
|
+
internal::TestFactoryBase* const factory_; // The factory that creates
|
766
|
+
// the test object
|
767
|
+
|
768
|
+
// This field is mutable and needs to be reset before running the
|
769
|
+
// test for the second time.
|
770
|
+
TestResult result_;
|
771
|
+
|
772
|
+
GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
|
773
|
+
};
|
774
|
+
|
775
|
+
// A test case, which consists of a vector of TestInfos.
|
776
|
+
//
|
777
|
+
// TestCase is not copyable.
|
778
|
+
class GTEST_API_ TestCase {
|
779
|
+
public:
|
780
|
+
// Creates a TestCase with the given name.
|
781
|
+
//
|
782
|
+
// TestCase does NOT have a default constructor. Always use this
|
783
|
+
// constructor to create a TestCase object.
|
784
|
+
//
|
785
|
+
// Arguments:
|
786
|
+
//
|
787
|
+
// name: name of the test case
|
788
|
+
// a_type_param: the name of the test's type parameter, or NULL if
|
789
|
+
// this is not a type-parameterized test.
|
790
|
+
// set_up_tc: pointer to the function that sets up the test case
|
791
|
+
// tear_down_tc: pointer to the function that tears down the test case
|
792
|
+
TestCase(const char* name, const char* a_type_param,
|
793
|
+
Test::SetUpTestCaseFunc set_up_tc,
|
794
|
+
Test::TearDownTestCaseFunc tear_down_tc);
|
795
|
+
|
796
|
+
// Destructor of TestCase.
|
797
|
+
virtual ~TestCase();
|
798
|
+
|
799
|
+
// Gets the name of the TestCase.
|
800
|
+
const char* name() const { return name_.c_str(); }
|
801
|
+
|
802
|
+
// Returns the name of the parameter type, or NULL if this is not a
|
803
|
+
// type-parameterized test case.
|
804
|
+
const char* type_param() const {
|
805
|
+
if (type_param_.get() != NULL)
|
806
|
+
return type_param_->c_str();
|
807
|
+
return NULL;
|
808
|
+
}
|
809
|
+
|
810
|
+
// Returns true if any test in this test case should run.
|
811
|
+
bool should_run() const { return should_run_; }
|
812
|
+
|
813
|
+
// Gets the number of successful tests in this test case.
|
814
|
+
int successful_test_count() const;
|
815
|
+
|
816
|
+
// Gets the number of failed tests in this test case.
|
817
|
+
int failed_test_count() const;
|
818
|
+
|
819
|
+
// Gets the number of disabled tests that will be reported in the XML report.
|
820
|
+
int reportable_disabled_test_count() const;
|
821
|
+
|
822
|
+
// Gets the number of disabled tests in this test case.
|
823
|
+
int disabled_test_count() const;
|
824
|
+
|
825
|
+
// Gets the number of tests to be printed in the XML report.
|
826
|
+
int reportable_test_count() const;
|
827
|
+
|
828
|
+
// Get the number of tests in this test case that should run.
|
829
|
+
int test_to_run_count() const;
|
830
|
+
|
831
|
+
// Gets the number of all tests in this test case.
|
832
|
+
int total_test_count() const;
|
833
|
+
|
834
|
+
// Returns true iff the test case passed.
|
835
|
+
bool Passed() const { return !Failed(); }
|
836
|
+
|
837
|
+
// Returns true iff the test case failed.
|
838
|
+
bool Failed() const { return failed_test_count() > 0; }
|
839
|
+
|
840
|
+
// Returns the elapsed time, in milliseconds.
|
841
|
+
TimeInMillis elapsed_time() const { return elapsed_time_; }
|
842
|
+
|
843
|
+
// Returns the i-th test among all the tests. i can range from 0 to
|
844
|
+
// total_test_count() - 1. If i is not in that range, returns NULL.
|
845
|
+
const TestInfo* GetTestInfo(int i) const;
|
846
|
+
|
847
|
+
// Returns the TestResult that holds test properties recorded during
|
848
|
+
// execution of SetUpTestCase and TearDownTestCase.
|
849
|
+
const TestResult& ad_hoc_test_result() const { return ad_hoc_test_result_; }
|
850
|
+
|
851
|
+
private:
|
852
|
+
friend class Test;
|
853
|
+
friend class internal::UnitTestImpl;
|
854
|
+
|
855
|
+
// Gets the (mutable) vector of TestInfos in this TestCase.
|
856
|
+
std::vector<TestInfo*>& test_info_list() { return test_info_list_; }
|
857
|
+
|
858
|
+
// Gets the (immutable) vector of TestInfos in this TestCase.
|
859
|
+
const std::vector<TestInfo*>& test_info_list() const {
|
860
|
+
return test_info_list_;
|
861
|
+
}
|
862
|
+
|
863
|
+
// Returns the i-th test among all the tests. i can range from 0 to
|
864
|
+
// total_test_count() - 1. If i is not in that range, returns NULL.
|
865
|
+
TestInfo* GetMutableTestInfo(int i);
|
866
|
+
|
867
|
+
// Sets the should_run member.
|
868
|
+
void set_should_run(bool should) { should_run_ = should; }
|
869
|
+
|
870
|
+
// Adds a TestInfo to this test case. Will delete the TestInfo upon
|
871
|
+
// destruction of the TestCase object.
|
872
|
+
void AddTestInfo(TestInfo * test_info);
|
873
|
+
|
874
|
+
// Clears the results of all tests in this test case.
|
875
|
+
void ClearResult();
|
876
|
+
|
877
|
+
// Clears the results of all tests in the given test case.
|
878
|
+
static void ClearTestCaseResult(TestCase* test_case) {
|
879
|
+
test_case->ClearResult();
|
880
|
+
}
|
881
|
+
|
882
|
+
// Runs every test in this TestCase.
|
883
|
+
void Run();
|
884
|
+
|
885
|
+
// Runs SetUpTestCase() for this TestCase. This wrapper is needed
|
886
|
+
// for catching exceptions thrown from SetUpTestCase().
|
887
|
+
void RunSetUpTestCase() { (*set_up_tc_)(); }
|
888
|
+
|
889
|
+
// Runs TearDownTestCase() for this TestCase. This wrapper is
|
890
|
+
// needed for catching exceptions thrown from TearDownTestCase().
|
891
|
+
void RunTearDownTestCase() { (*tear_down_tc_)(); }
|
892
|
+
|
893
|
+
// Returns true iff test passed.
|
894
|
+
static bool TestPassed(const TestInfo* test_info) {
|
895
|
+
return test_info->should_run() && test_info->result()->Passed();
|
896
|
+
}
|
897
|
+
|
898
|
+
// Returns true iff test failed.
|
899
|
+
static bool TestFailed(const TestInfo* test_info) {
|
900
|
+
return test_info->should_run() && test_info->result()->Failed();
|
901
|
+
}
|
902
|
+
|
903
|
+
// Returns true iff the test is disabled and will be reported in the XML
|
904
|
+
// report.
|
905
|
+
static bool TestReportableDisabled(const TestInfo* test_info) {
|
906
|
+
return test_info->is_reportable() && test_info->is_disabled_;
|
907
|
+
}
|
908
|
+
|
909
|
+
// Returns true iff test is disabled.
|
910
|
+
static bool TestDisabled(const TestInfo* test_info) {
|
911
|
+
return test_info->is_disabled_;
|
912
|
+
}
|
913
|
+
|
914
|
+
// Returns true iff this test will appear in the XML report.
|
915
|
+
static bool TestReportable(const TestInfo* test_info) {
|
916
|
+
return test_info->is_reportable();
|
917
|
+
}
|
918
|
+
|
919
|
+
// Returns true if the given test should run.
|
920
|
+
static bool ShouldRunTest(const TestInfo* test_info) {
|
921
|
+
return test_info->should_run();
|
922
|
+
}
|
923
|
+
|
924
|
+
// Shuffles the tests in this test case.
|
925
|
+
void ShuffleTests(internal::Random* random);
|
926
|
+
|
927
|
+
// Restores the test order to before the first shuffle.
|
928
|
+
void UnshuffleTests();
|
929
|
+
|
930
|
+
// Name of the test case.
|
931
|
+
std::string name_;
|
932
|
+
// Name of the parameter type, or NULL if this is not a typed or a
|
933
|
+
// type-parameterized test.
|
934
|
+
const internal::scoped_ptr<const ::std::string> type_param_;
|
935
|
+
// The vector of TestInfos in their original order. It owns the
|
936
|
+
// elements in the vector.
|
937
|
+
std::vector<TestInfo*> test_info_list_;
|
938
|
+
// Provides a level of indirection for the test list to allow easy
|
939
|
+
// shuffling and restoring the test order. The i-th element in this
|
940
|
+
// vector is the index of the i-th test in the shuffled test list.
|
941
|
+
std::vector<int> test_indices_;
|
942
|
+
// Pointer to the function that sets up the test case.
|
943
|
+
Test::SetUpTestCaseFunc set_up_tc_;
|
944
|
+
// Pointer to the function that tears down the test case.
|
945
|
+
Test::TearDownTestCaseFunc tear_down_tc_;
|
946
|
+
// True iff any test in this test case should run.
|
947
|
+
bool should_run_;
|
948
|
+
// Elapsed time, in milliseconds.
|
949
|
+
TimeInMillis elapsed_time_;
|
950
|
+
// Holds test properties recorded during execution of SetUpTestCase and
|
951
|
+
// TearDownTestCase.
|
952
|
+
TestResult ad_hoc_test_result_;
|
953
|
+
|
954
|
+
// We disallow copying TestCases.
|
955
|
+
GTEST_DISALLOW_COPY_AND_ASSIGN_(TestCase);
|
956
|
+
};
|
957
|
+
|
958
|
+
// An Environment object is capable of setting up and tearing down an
|
959
|
+
// environment. You should subclass this to define your own
|
960
|
+
// environment(s).
|
961
|
+
//
|
962
|
+
// An Environment object does the set-up and tear-down in virtual
|
963
|
+
// methods SetUp() and TearDown() instead of the constructor and the
|
964
|
+
// destructor, as:
|
965
|
+
//
|
966
|
+
// 1. You cannot safely throw from a destructor. This is a problem
|
967
|
+
// as in some cases Google Test is used where exceptions are enabled, and
|
968
|
+
// we may want to implement ASSERT_* using exceptions where they are
|
969
|
+
// available.
|
970
|
+
// 2. You cannot use ASSERT_* directly in a constructor or
|
971
|
+
// destructor.
|
972
|
+
class Environment {
|
973
|
+
public:
|
974
|
+
// The d'tor is virtual as we need to subclass Environment.
|
975
|
+
virtual ~Environment() {}
|
976
|
+
|
977
|
+
// Override this to define how to set up the environment.
|
978
|
+
virtual void SetUp() {}
|
979
|
+
|
980
|
+
// Override this to define how to tear down the environment.
|
981
|
+
virtual void TearDown() {}
|
982
|
+
private:
|
983
|
+
// If you see an error about overriding the following function or
|
984
|
+
// about it being private, you have mis-spelled SetUp() as Setup().
|
985
|
+
struct Setup_should_be_spelled_SetUp {};
|
986
|
+
virtual Setup_should_be_spelled_SetUp* Setup() { return NULL; }
|
987
|
+
};
|
988
|
+
|
989
|
+
// The interface for tracing execution of tests. The methods are organized in
|
990
|
+
// the order the corresponding events are fired.
|
991
|
+
class TestEventListener {
|
992
|
+
public:
|
993
|
+
virtual ~TestEventListener() {}
|
994
|
+
|
995
|
+
// Fired before any test activity starts.
|
996
|
+
virtual void OnTestProgramStart(const UnitTest& unit_test) = 0;
|
997
|
+
|
998
|
+
// Fired before each iteration of tests starts. There may be more than
|
999
|
+
// one iteration if GTEST_FLAG(repeat) is set. iteration is the iteration
|
1000
|
+
// index, starting from 0.
|
1001
|
+
virtual void OnTestIterationStart(const UnitTest& unit_test,
|
1002
|
+
int iteration) = 0;
|
1003
|
+
|
1004
|
+
// Fired before environment set-up for each iteration of tests starts.
|
1005
|
+
virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test) = 0;
|
1006
|
+
|
1007
|
+
// Fired after environment set-up for each iteration of tests ends.
|
1008
|
+
virtual void OnEnvironmentsSetUpEnd(const UnitTest& unit_test) = 0;
|
1009
|
+
|
1010
|
+
// Fired before the test case starts.
|
1011
|
+
virtual void OnTestCaseStart(const TestCase& test_case) = 0;
|
1012
|
+
|
1013
|
+
// Fired before the test starts.
|
1014
|
+
virtual void OnTestStart(const TestInfo& test_info) = 0;
|
1015
|
+
|
1016
|
+
// Fired after a failed assertion or a SUCCEED() invocation.
|
1017
|
+
virtual void OnTestPartResult(const TestPartResult& test_part_result) = 0;
|
1018
|
+
|
1019
|
+
// Fired after the test ends.
|
1020
|
+
virtual void OnTestEnd(const TestInfo& test_info) = 0;
|
1021
|
+
|
1022
|
+
// Fired after the test case ends.
|
1023
|
+
virtual void OnTestCaseEnd(const TestCase& test_case) = 0;
|
1024
|
+
|
1025
|
+
// Fired before environment tear-down for each iteration of tests starts.
|
1026
|
+
virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test) = 0;
|
1027
|
+
|
1028
|
+
// Fired after environment tear-down for each iteration of tests ends.
|
1029
|
+
virtual void OnEnvironmentsTearDownEnd(const UnitTest& unit_test) = 0;
|
1030
|
+
|
1031
|
+
// Fired after each iteration of tests finishes.
|
1032
|
+
virtual void OnTestIterationEnd(const UnitTest& unit_test,
|
1033
|
+
int iteration) = 0;
|
1034
|
+
|
1035
|
+
// Fired after all test activities have ended.
|
1036
|
+
virtual void OnTestProgramEnd(const UnitTest& unit_test) = 0;
|
1037
|
+
};
|
1038
|
+
|
1039
|
+
// The convenience class for users who need to override just one or two
|
1040
|
+
// methods and are not concerned that a possible change to a signature of
|
1041
|
+
// the methods they override will not be caught during the build. For
|
1042
|
+
// comments about each method please see the definition of TestEventListener
|
1043
|
+
// above.
|
1044
|
+
class EmptyTestEventListener : public TestEventListener {
|
1045
|
+
public:
|
1046
|
+
virtual void OnTestProgramStart(const UnitTest& /*unit_test*/) {}
|
1047
|
+
virtual void OnTestIterationStart(const UnitTest& /*unit_test*/,
|
1048
|
+
int /*iteration*/) {}
|
1049
|
+
virtual void OnEnvironmentsSetUpStart(const UnitTest& /*unit_test*/) {}
|
1050
|
+
virtual void OnEnvironmentsSetUpEnd(const UnitTest& /*unit_test*/) {}
|
1051
|
+
virtual void OnTestCaseStart(const TestCase& /*test_case*/) {}
|
1052
|
+
virtual void OnTestStart(const TestInfo& /*test_info*/) {}
|
1053
|
+
virtual void OnTestPartResult(const TestPartResult& /*test_part_result*/) {}
|
1054
|
+
virtual void OnTestEnd(const TestInfo& /*test_info*/) {}
|
1055
|
+
virtual void OnTestCaseEnd(const TestCase& /*test_case*/) {}
|
1056
|
+
virtual void OnEnvironmentsTearDownStart(const UnitTest& /*unit_test*/) {}
|
1057
|
+
virtual void OnEnvironmentsTearDownEnd(const UnitTest& /*unit_test*/) {}
|
1058
|
+
virtual void OnTestIterationEnd(const UnitTest& /*unit_test*/,
|
1059
|
+
int /*iteration*/) {}
|
1060
|
+
virtual void OnTestProgramEnd(const UnitTest& /*unit_test*/) {}
|
1061
|
+
};
|
1062
|
+
|
1063
|
+
// TestEventListeners lets users add listeners to track events in Google Test.
|
1064
|
+
class GTEST_API_ TestEventListeners {
|
1065
|
+
public:
|
1066
|
+
TestEventListeners();
|
1067
|
+
~TestEventListeners();
|
1068
|
+
|
1069
|
+
// Appends an event listener to the end of the list. Google Test assumes
|
1070
|
+
// the ownership of the listener (i.e. it will delete the listener when
|
1071
|
+
// the test program finishes).
|
1072
|
+
void Append(TestEventListener* listener);
|
1073
|
+
|
1074
|
+
// Removes the given event listener from the list and returns it. It then
|
1075
|
+
// becomes the caller's responsibility to delete the listener. Returns
|
1076
|
+
// NULL if the listener is not found in the list.
|
1077
|
+
TestEventListener* Release(TestEventListener* listener);
|
1078
|
+
|
1079
|
+
// Returns the standard listener responsible for the default console
|
1080
|
+
// output. Can be removed from the listeners list to shut down default
|
1081
|
+
// console output. Note that removing this object from the listener list
|
1082
|
+
// with Release transfers its ownership to the caller and makes this
|
1083
|
+
// function return NULL the next time.
|
1084
|
+
TestEventListener* default_result_printer() const {
|
1085
|
+
return default_result_printer_;
|
1086
|
+
}
|
1087
|
+
|
1088
|
+
// Returns the standard listener responsible for the default XML output
|
1089
|
+
// controlled by the --gtest_output=xml flag. Can be removed from the
|
1090
|
+
// listeners list by users who want to shut down the default XML output
|
1091
|
+
// controlled by this flag and substitute it with custom one. Note that
|
1092
|
+
// removing this object from the listener list with Release transfers its
|
1093
|
+
// ownership to the caller and makes this function return NULL the next
|
1094
|
+
// time.
|
1095
|
+
TestEventListener* default_xml_generator() const {
|
1096
|
+
return default_xml_generator_;
|
1097
|
+
}
|
1098
|
+
|
1099
|
+
private:
|
1100
|
+
friend class TestCase;
|
1101
|
+
friend class TestInfo;
|
1102
|
+
friend class internal::DefaultGlobalTestPartResultReporter;
|
1103
|
+
friend class internal::NoExecDeathTest;
|
1104
|
+
friend class internal::TestEventListenersAccessor;
|
1105
|
+
friend class internal::UnitTestImpl;
|
1106
|
+
|
1107
|
+
// Returns repeater that broadcasts the TestEventListener events to all
|
1108
|
+
// subscribers.
|
1109
|
+
TestEventListener* repeater();
|
1110
|
+
|
1111
|
+
// Sets the default_result_printer attribute to the provided listener.
|
1112
|
+
// The listener is also added to the listener list and previous
|
1113
|
+
// default_result_printer is removed from it and deleted. The listener can
|
1114
|
+
// also be NULL in which case it will not be added to the list. Does
|
1115
|
+
// nothing if the previous and the current listener objects are the same.
|
1116
|
+
void SetDefaultResultPrinter(TestEventListener* listener);
|
1117
|
+
|
1118
|
+
// Sets the default_xml_generator attribute to the provided listener. The
|
1119
|
+
// listener is also added to the listener list and previous
|
1120
|
+
// default_xml_generator is removed from it and deleted. The listener can
|
1121
|
+
// also be NULL in which case it will not be added to the list. Does
|
1122
|
+
// nothing if the previous and the current listener objects are the same.
|
1123
|
+
void SetDefaultXmlGenerator(TestEventListener* listener);
|
1124
|
+
|
1125
|
+
// Controls whether events will be forwarded by the repeater to the
|
1126
|
+
// listeners in the list.
|
1127
|
+
bool EventForwardingEnabled() const;
|
1128
|
+
void SuppressEventForwarding();
|
1129
|
+
|
1130
|
+
// The actual list of listeners.
|
1131
|
+
internal::TestEventRepeater* repeater_;
|
1132
|
+
// Listener responsible for the standard result output.
|
1133
|
+
TestEventListener* default_result_printer_;
|
1134
|
+
// Listener responsible for the creation of the XML output file.
|
1135
|
+
TestEventListener* default_xml_generator_;
|
1136
|
+
|
1137
|
+
// We disallow copying TestEventListeners.
|
1138
|
+
GTEST_DISALLOW_COPY_AND_ASSIGN_(TestEventListeners);
|
1139
|
+
};
|
1140
|
+
|
1141
|
+
// A UnitTest consists of a vector of TestCases.
|
1142
|
+
//
|
1143
|
+
// This is a singleton class. The only instance of UnitTest is
|
1144
|
+
// created when UnitTest::GetInstance() is first called. This
|
1145
|
+
// instance is never deleted.
|
1146
|
+
//
|
1147
|
+
// UnitTest is not copyable.
|
1148
|
+
//
|
1149
|
+
// This class is thread-safe as long as the methods are called
|
1150
|
+
// according to their specification.
|
1151
|
+
class GTEST_API_ UnitTest {
|
1152
|
+
public:
|
1153
|
+
// Gets the singleton UnitTest object. The first time this method
|
1154
|
+
// is called, a UnitTest object is constructed and returned.
|
1155
|
+
// Consecutive calls will return the same object.
|
1156
|
+
static UnitTest* GetInstance();
|
1157
|
+
|
1158
|
+
// Runs all tests in this UnitTest object and prints the result.
|
1159
|
+
// Returns 0 if successful, or 1 otherwise.
|
1160
|
+
//
|
1161
|
+
// This method can only be called from the main thread.
|
1162
|
+
//
|
1163
|
+
// INTERNAL IMPLEMENTATION - DO NOT USE IN A USER PROGRAM.
|
1164
|
+
int Run() GTEST_MUST_USE_RESULT_;
|
1165
|
+
|
1166
|
+
// Returns the working directory when the first TEST() or TEST_F()
|
1167
|
+
// was executed. The UnitTest object owns the string.
|
1168
|
+
const char* original_working_dir() const;
|
1169
|
+
|
1170
|
+
// Returns the TestCase object for the test that's currently running,
|
1171
|
+
// or NULL if no test is running.
|
1172
|
+
const TestCase* current_test_case() const
|
1173
|
+
GTEST_LOCK_EXCLUDED_(mutex_);
|
1174
|
+
|
1175
|
+
// Returns the TestInfo object for the test that's currently running,
|
1176
|
+
// or NULL if no test is running.
|
1177
|
+
const TestInfo* current_test_info() const
|
1178
|
+
GTEST_LOCK_EXCLUDED_(mutex_);
|
1179
|
+
|
1180
|
+
// Returns the random seed used at the start of the current test run.
|
1181
|
+
int random_seed() const;
|
1182
|
+
|
1183
|
+
#if GTEST_HAS_PARAM_TEST
|
1184
|
+
// Returns the ParameterizedTestCaseRegistry object used to keep track of
|
1185
|
+
// value-parameterized tests and instantiate and register them.
|
1186
|
+
//
|
1187
|
+
// INTERNAL IMPLEMENTATION - DO NOT USE IN A USER PROGRAM.
|
1188
|
+
internal::ParameterizedTestCaseRegistry& parameterized_test_registry()
|
1189
|
+
GTEST_LOCK_EXCLUDED_(mutex_);
|
1190
|
+
#endif // GTEST_HAS_PARAM_TEST
|
1191
|
+
|
1192
|
+
// Gets the number of successful test cases.
|
1193
|
+
int successful_test_case_count() const;
|
1194
|
+
|
1195
|
+
// Gets the number of failed test cases.
|
1196
|
+
int failed_test_case_count() const;
|
1197
|
+
|
1198
|
+
// Gets the number of all test cases.
|
1199
|
+
int total_test_case_count() const;
|
1200
|
+
|
1201
|
+
// Gets the number of all test cases that contain at least one test
|
1202
|
+
// that should run.
|
1203
|
+
int test_case_to_run_count() const;
|
1204
|
+
|
1205
|
+
// Gets the number of successful tests.
|
1206
|
+
int successful_test_count() const;
|
1207
|
+
|
1208
|
+
// Gets the number of failed tests.
|
1209
|
+
int failed_test_count() const;
|
1210
|
+
|
1211
|
+
// Gets the number of disabled tests that will be reported in the XML report.
|
1212
|
+
int reportable_disabled_test_count() const;
|
1213
|
+
|
1214
|
+
// Gets the number of disabled tests.
|
1215
|
+
int disabled_test_count() const;
|
1216
|
+
|
1217
|
+
// Gets the number of tests to be printed in the XML report.
|
1218
|
+
int reportable_test_count() const;
|
1219
|
+
|
1220
|
+
// Gets the number of all tests.
|
1221
|
+
int total_test_count() const;
|
1222
|
+
|
1223
|
+
// Gets the number of tests that should run.
|
1224
|
+
int test_to_run_count() const;
|
1225
|
+
|
1226
|
+
// Gets the time of the test program start, in ms from the start of the
|
1227
|
+
// UNIX epoch.
|
1228
|
+
TimeInMillis start_timestamp() const;
|
1229
|
+
|
1230
|
+
// Gets the elapsed time, in milliseconds.
|
1231
|
+
TimeInMillis elapsed_time() const;
|
1232
|
+
|
1233
|
+
// Returns true iff the unit test passed (i.e. all test cases passed).
|
1234
|
+
bool Passed() const;
|
1235
|
+
|
1236
|
+
// Returns true iff the unit test failed (i.e. some test case failed
|
1237
|
+
// or something outside of all tests failed).
|
1238
|
+
bool Failed() const;
|
1239
|
+
|
1240
|
+
// Gets the i-th test case among all the test cases. i can range from 0 to
|
1241
|
+
// total_test_case_count() - 1. If i is not in that range, returns NULL.
|
1242
|
+
const TestCase* GetTestCase(int i) const;
|
1243
|
+
|
1244
|
+
// Returns the TestResult containing information on test failures and
|
1245
|
+
// properties logged outside of individual test cases.
|
1246
|
+
const TestResult& ad_hoc_test_result() const;
|
1247
|
+
|
1248
|
+
// Returns the list of event listeners that can be used to track events
|
1249
|
+
// inside Google Test.
|
1250
|
+
TestEventListeners& listeners();
|
1251
|
+
|
1252
|
+
private:
|
1253
|
+
// Registers and returns a global test environment. When a test
|
1254
|
+
// program is run, all global test environments will be set-up in
|
1255
|
+
// the order they were registered. After all tests in the program
|
1256
|
+
// have finished, all global test environments will be torn-down in
|
1257
|
+
// the *reverse* order they were registered.
|
1258
|
+
//
|
1259
|
+
// The UnitTest object takes ownership of the given environment.
|
1260
|
+
//
|
1261
|
+
// This method can only be called from the main thread.
|
1262
|
+
Environment* AddEnvironment(Environment* env);
|
1263
|
+
|
1264
|
+
// Adds a TestPartResult to the current TestResult object. All
|
1265
|
+
// Google Test assertion macros (e.g. ASSERT_TRUE, EXPECT_EQ, etc)
|
1266
|
+
// eventually call this to report their results. The user code
|
1267
|
+
// should use the assertion macros instead of calling this directly.
|
1268
|
+
void AddTestPartResult(TestPartResult::Type result_type,
|
1269
|
+
const char* file_name,
|
1270
|
+
int line_number,
|
1271
|
+
const std::string& message,
|
1272
|
+
const std::string& os_stack_trace)
|
1273
|
+
GTEST_LOCK_EXCLUDED_(mutex_);
|
1274
|
+
|
1275
|
+
// Adds a TestProperty to the current TestResult object when invoked from
|
1276
|
+
// inside a test, to current TestCase's ad_hoc_test_result_ when invoked
|
1277
|
+
// from SetUpTestCase or TearDownTestCase, or to the global property set
|
1278
|
+
// when invoked elsewhere. If the result already contains a property with
|
1279
|
+
// the same key, the value will be updated.
|
1280
|
+
void RecordProperty(const std::string& key, const std::string& value);
|
1281
|
+
|
1282
|
+
// Gets the i-th test case among all the test cases. i can range from 0 to
|
1283
|
+
// total_test_case_count() - 1. If i is not in that range, returns NULL.
|
1284
|
+
TestCase* GetMutableTestCase(int i);
|
1285
|
+
|
1286
|
+
// Accessors for the implementation object.
|
1287
|
+
internal::UnitTestImpl* impl() { return impl_; }
|
1288
|
+
const internal::UnitTestImpl* impl() const { return impl_; }
|
1289
|
+
|
1290
|
+
// These classes and funcions are friends as they need to access private
|
1291
|
+
// members of UnitTest.
|
1292
|
+
friend class Test;
|
1293
|
+
friend class internal::AssertHelper;
|
1294
|
+
friend class internal::ScopedTrace;
|
1295
|
+
friend class internal::StreamingListenerTest;
|
1296
|
+
friend class internal::UnitTestRecordPropertyTestHelper;
|
1297
|
+
friend Environment* AddGlobalTestEnvironment(Environment* env);
|
1298
|
+
friend internal::UnitTestImpl* internal::GetUnitTestImpl();
|
1299
|
+
friend void internal::ReportFailureInUnknownLocation(
|
1300
|
+
TestPartResult::Type result_type,
|
1301
|
+
const std::string& message);
|
1302
|
+
|
1303
|
+
// Creates an empty UnitTest.
|
1304
|
+
UnitTest();
|
1305
|
+
|
1306
|
+
// D'tor
|
1307
|
+
virtual ~UnitTest();
|
1308
|
+
|
1309
|
+
// Pushes a trace defined by SCOPED_TRACE() on to the per-thread
|
1310
|
+
// Google Test trace stack.
|
1311
|
+
void PushGTestTrace(const internal::TraceInfo& trace)
|
1312
|
+
GTEST_LOCK_EXCLUDED_(mutex_);
|
1313
|
+
|
1314
|
+
// Pops a trace from the per-thread Google Test trace stack.
|
1315
|
+
void PopGTestTrace()
|
1316
|
+
GTEST_LOCK_EXCLUDED_(mutex_);
|
1317
|
+
|
1318
|
+
// Protects mutable state in *impl_. This is mutable as some const
|
1319
|
+
// methods need to lock it too.
|
1320
|
+
mutable internal::Mutex mutex_;
|
1321
|
+
|
1322
|
+
// Opaque implementation object. This field is never changed once
|
1323
|
+
// the object is constructed. We don't mark it as const here, as
|
1324
|
+
// doing so will cause a warning in the constructor of UnitTest.
|
1325
|
+
// Mutable state in *impl_ is protected by mutex_.
|
1326
|
+
internal::UnitTestImpl* impl_;
|
1327
|
+
|
1328
|
+
// We disallow copying UnitTest.
|
1329
|
+
GTEST_DISALLOW_COPY_AND_ASSIGN_(UnitTest);
|
1330
|
+
};
|
1331
|
+
|
1332
|
+
// A convenient wrapper for adding an environment for the test
|
1333
|
+
// program.
|
1334
|
+
//
|
1335
|
+
// You should call this before RUN_ALL_TESTS() is called, probably in
|
1336
|
+
// main(). If you use gtest_main, you need to call this before main()
|
1337
|
+
// starts for it to take effect. For example, you can define a global
|
1338
|
+
// variable like this:
|
1339
|
+
//
|
1340
|
+
// testing::Environment* const foo_env =
|
1341
|
+
// testing::AddGlobalTestEnvironment(new FooEnvironment);
|
1342
|
+
//
|
1343
|
+
// However, we strongly recommend you to write your own main() and
|
1344
|
+
// call AddGlobalTestEnvironment() there, as relying on initialization
|
1345
|
+
// of global variables makes the code harder to read and may cause
|
1346
|
+
// problems when you register multiple environments from different
|
1347
|
+
// translation units and the environments have dependencies among them
|
1348
|
+
// (remember that the compiler doesn't guarantee the order in which
|
1349
|
+
// global variables from different translation units are initialized).
|
1350
|
+
inline Environment* AddGlobalTestEnvironment(Environment* env) {
|
1351
|
+
return UnitTest::GetInstance()->AddEnvironment(env);
|
1352
|
+
}
|
1353
|
+
|
1354
|
+
// Initializes Google Test. This must be called before calling
|
1355
|
+
// RUN_ALL_TESTS(). In particular, it parses a command line for the
|
1356
|
+
// flags that Google Test recognizes. Whenever a Google Test flag is
|
1357
|
+
// seen, it is removed from argv, and *argc is decremented.
|
1358
|
+
//
|
1359
|
+
// No value is returned. Instead, the Google Test flag variables are
|
1360
|
+
// updated.
|
1361
|
+
//
|
1362
|
+
// Calling the function for the second time has no user-visible effect.
|
1363
|
+
GTEST_API_ void InitGoogleTest(int* argc, char** argv);
|
1364
|
+
|
1365
|
+
// This overloaded version can be used in Windows programs compiled in
|
1366
|
+
// UNICODE mode.
|
1367
|
+
GTEST_API_ void InitGoogleTest(int* argc, wchar_t** argv);
|
1368
|
+
|
1369
|
+
namespace internal {
|
1370
|
+
|
1371
|
+
// Separate the error generating code from the code path to reduce the stack
|
1372
|
+
// frame size of CmpHelperEQ. This helps reduce the overhead of some sanitizers
|
1373
|
+
// when calling EXPECT_* in a tight loop.
|
1374
|
+
template <typename T1, typename T2>
|
1375
|
+
AssertionResult CmpHelperEQFailure(const char* lhs_expression,
|
1376
|
+
const char* rhs_expression,
|
1377
|
+
const T1& lhs, const T2& rhs) {
|
1378
|
+
return EqFailure(lhs_expression,
|
1379
|
+
rhs_expression,
|
1380
|
+
FormatForComparisonFailureMessage(lhs, rhs),
|
1381
|
+
FormatForComparisonFailureMessage(rhs, lhs),
|
1382
|
+
false);
|
1383
|
+
}
|
1384
|
+
|
1385
|
+
// The helper function for {ASSERT|EXPECT}_EQ.
|
1386
|
+
template <typename T1, typename T2>
|
1387
|
+
AssertionResult CmpHelperEQ(const char* lhs_expression,
|
1388
|
+
const char* rhs_expression,
|
1389
|
+
const T1& lhs,
|
1390
|
+
const T2& rhs) {
|
1391
|
+
GTEST_DISABLE_MSC_WARNINGS_PUSH_(4389 /* signed/unsigned mismatch */)
|
1392
|
+
if (lhs == rhs) {
|
1393
|
+
return AssertionSuccess();
|
1394
|
+
}
|
1395
|
+
GTEST_DISABLE_MSC_WARNINGS_POP_()
|
1396
|
+
|
1397
|
+
return CmpHelperEQFailure(lhs_expression, rhs_expression, lhs, rhs);
|
1398
|
+
}
|
1399
|
+
|
1400
|
+
// With this overloaded version, we allow anonymous enums to be used
|
1401
|
+
// in {ASSERT|EXPECT}_EQ when compiled with gcc 4, as anonymous enums
|
1402
|
+
// can be implicitly cast to BiggestInt.
|
1403
|
+
GTEST_API_ AssertionResult CmpHelperEQ(const char* lhs_expression,
|
1404
|
+
const char* rhs_expression,
|
1405
|
+
BiggestInt lhs,
|
1406
|
+
BiggestInt rhs);
|
1407
|
+
|
1408
|
+
// The helper class for {ASSERT|EXPECT}_EQ. The template argument
|
1409
|
+
// lhs_is_null_literal is true iff the first argument to ASSERT_EQ()
|
1410
|
+
// is a null pointer literal. The following default implementation is
|
1411
|
+
// for lhs_is_null_literal being false.
|
1412
|
+
template <bool lhs_is_null_literal>
|
1413
|
+
class EqHelper {
|
1414
|
+
public:
|
1415
|
+
// This templatized version is for the general case.
|
1416
|
+
template <typename T1, typename T2>
|
1417
|
+
static AssertionResult Compare(const char* lhs_expression,
|
1418
|
+
const char* rhs_expression,
|
1419
|
+
const T1& lhs,
|
1420
|
+
const T2& rhs) {
|
1421
|
+
return CmpHelperEQ(lhs_expression, rhs_expression, lhs, rhs);
|
1422
|
+
}
|
1423
|
+
|
1424
|
+
// With this overloaded version, we allow anonymous enums to be used
|
1425
|
+
// in {ASSERT|EXPECT}_EQ when compiled with gcc 4, as anonymous
|
1426
|
+
// enums can be implicitly cast to BiggestInt.
|
1427
|
+
//
|
1428
|
+
// Even though its body looks the same as the above version, we
|
1429
|
+
// cannot merge the two, as it will make anonymous enums unhappy.
|
1430
|
+
static AssertionResult Compare(const char* lhs_expression,
|
1431
|
+
const char* rhs_expression,
|
1432
|
+
BiggestInt lhs,
|
1433
|
+
BiggestInt rhs) {
|
1434
|
+
return CmpHelperEQ(lhs_expression, rhs_expression, lhs, rhs);
|
1435
|
+
}
|
1436
|
+
};
|
1437
|
+
|
1438
|
+
// This specialization is used when the first argument to ASSERT_EQ()
|
1439
|
+
// is a null pointer literal, like NULL, false, or 0.
|
1440
|
+
template <>
|
1441
|
+
class EqHelper<true> {
|
1442
|
+
public:
|
1443
|
+
// We define two overloaded versions of Compare(). The first
|
1444
|
+
// version will be picked when the second argument to ASSERT_EQ() is
|
1445
|
+
// NOT a pointer, e.g. ASSERT_EQ(0, AnIntFunction()) or
|
1446
|
+
// EXPECT_EQ(false, a_bool).
|
1447
|
+
template <typename T1, typename T2>
|
1448
|
+
static AssertionResult Compare(
|
1449
|
+
const char* lhs_expression,
|
1450
|
+
const char* rhs_expression,
|
1451
|
+
const T1& lhs,
|
1452
|
+
const T2& rhs,
|
1453
|
+
// The following line prevents this overload from being considered if T2
|
1454
|
+
// is not a pointer type. We need this because ASSERT_EQ(NULL, my_ptr)
|
1455
|
+
// expands to Compare("", "", NULL, my_ptr), which requires a conversion
|
1456
|
+
// to match the Secret* in the other overload, which would otherwise make
|
1457
|
+
// this template match better.
|
1458
|
+
typename EnableIf<!is_pointer<T2>::value>::type* = 0) {
|
1459
|
+
return CmpHelperEQ(lhs_expression, rhs_expression, lhs, rhs);
|
1460
|
+
}
|
1461
|
+
|
1462
|
+
// This version will be picked when the second argument to ASSERT_EQ() is a
|
1463
|
+
// pointer, e.g. ASSERT_EQ(NULL, a_pointer).
|
1464
|
+
template <typename T>
|
1465
|
+
static AssertionResult Compare(
|
1466
|
+
const char* lhs_expression,
|
1467
|
+
const char* rhs_expression,
|
1468
|
+
// We used to have a second template parameter instead of Secret*. That
|
1469
|
+
// template parameter would deduce to 'long', making this a better match
|
1470
|
+
// than the first overload even without the first overload's EnableIf.
|
1471
|
+
// Unfortunately, gcc with -Wconversion-null warns when "passing NULL to
|
1472
|
+
// non-pointer argument" (even a deduced integral argument), so the old
|
1473
|
+
// implementation caused warnings in user code.
|
1474
|
+
Secret* /* lhs (NULL) */,
|
1475
|
+
T* rhs) {
|
1476
|
+
// We already know that 'lhs' is a null pointer.
|
1477
|
+
return CmpHelperEQ(lhs_expression, rhs_expression,
|
1478
|
+
static_cast<T*>(NULL), rhs);
|
1479
|
+
}
|
1480
|
+
};
|
1481
|
+
|
1482
|
+
// Separate the error generating code from the code path to reduce the stack
|
1483
|
+
// frame size of CmpHelperOP. This helps reduce the overhead of some sanitizers
|
1484
|
+
// when calling EXPECT_OP in a tight loop.
|
1485
|
+
template <typename T1, typename T2>
|
1486
|
+
AssertionResult CmpHelperOpFailure(const char* expr1, const char* expr2,
|
1487
|
+
const T1& val1, const T2& val2,
|
1488
|
+
const char* op) {
|
1489
|
+
return AssertionFailure()
|
1490
|
+
<< "Expected: (" << expr1 << ") " << op << " (" << expr2
|
1491
|
+
<< "), actual: " << FormatForComparisonFailureMessage(val1, val2)
|
1492
|
+
<< " vs " << FormatForComparisonFailureMessage(val2, val1);
|
1493
|
+
}
|
1494
|
+
|
1495
|
+
// A macro for implementing the helper functions needed to implement
|
1496
|
+
// ASSERT_?? and EXPECT_??. It is here just to avoid copy-and-paste
|
1497
|
+
// of similar code.
|
1498
|
+
//
|
1499
|
+
// For each templatized helper function, we also define an overloaded
|
1500
|
+
// version for BiggestInt in order to reduce code bloat and allow
|
1501
|
+
// anonymous enums to be used with {ASSERT|EXPECT}_?? when compiled
|
1502
|
+
// with gcc 4.
|
1503
|
+
//
|
1504
|
+
// INTERNAL IMPLEMENTATION - DO NOT USE IN A USER PROGRAM.
|
1505
|
+
|
1506
|
+
#define GTEST_IMPL_CMP_HELPER_(op_name, op)\
|
1507
|
+
template <typename T1, typename T2>\
|
1508
|
+
AssertionResult CmpHelper##op_name(const char* expr1, const char* expr2, \
|
1509
|
+
const T1& val1, const T2& val2) {\
|
1510
|
+
if (val1 op val2) {\
|
1511
|
+
return AssertionSuccess();\
|
1512
|
+
} else {\
|
1513
|
+
return CmpHelperOpFailure(expr1, expr2, val1, val2, #op);\
|
1514
|
+
}\
|
1515
|
+
}\
|
1516
|
+
GTEST_API_ AssertionResult CmpHelper##op_name(\
|
1517
|
+
const char* expr1, const char* expr2, BiggestInt val1, BiggestInt val2)
|
1518
|
+
|
1519
|
+
// INTERNAL IMPLEMENTATION - DO NOT USE IN A USER PROGRAM.
|
1520
|
+
|
1521
|
+
// Implements the helper function for {ASSERT|EXPECT}_NE
|
1522
|
+
GTEST_IMPL_CMP_HELPER_(NE, !=);
|
1523
|
+
// Implements the helper function for {ASSERT|EXPECT}_LE
|
1524
|
+
GTEST_IMPL_CMP_HELPER_(LE, <=);
|
1525
|
+
// Implements the helper function for {ASSERT|EXPECT}_LT
|
1526
|
+
GTEST_IMPL_CMP_HELPER_(LT, <);
|
1527
|
+
// Implements the helper function for {ASSERT|EXPECT}_GE
|
1528
|
+
GTEST_IMPL_CMP_HELPER_(GE, >=);
|
1529
|
+
// Implements the helper function for {ASSERT|EXPECT}_GT
|
1530
|
+
GTEST_IMPL_CMP_HELPER_(GT, >);
|
1531
|
+
|
1532
|
+
#undef GTEST_IMPL_CMP_HELPER_
|
1533
|
+
|
1534
|
+
// The helper function for {ASSERT|EXPECT}_STREQ.
|
1535
|
+
//
|
1536
|
+
// INTERNAL IMPLEMENTATION - DO NOT USE IN A USER PROGRAM.
|
1537
|
+
GTEST_API_ AssertionResult CmpHelperSTREQ(const char* s1_expression,
|
1538
|
+
const char* s2_expression,
|
1539
|
+
const char* s1,
|
1540
|
+
const char* s2);
|
1541
|
+
|
1542
|
+
// The helper function for {ASSERT|EXPECT}_STRCASEEQ.
|
1543
|
+
//
|
1544
|
+
// INTERNAL IMPLEMENTATION - DO NOT USE IN A USER PROGRAM.
|
1545
|
+
GTEST_API_ AssertionResult CmpHelperSTRCASEEQ(const char* s1_expression,
|
1546
|
+
const char* s2_expression,
|
1547
|
+
const char* s1,
|
1548
|
+
const char* s2);
|
1549
|
+
|
1550
|
+
// The helper function for {ASSERT|EXPECT}_STRNE.
|
1551
|
+
//
|
1552
|
+
// INTERNAL IMPLEMENTATION - DO NOT USE IN A USER PROGRAM.
|
1553
|
+
GTEST_API_ AssertionResult CmpHelperSTRNE(const char* s1_expression,
|
1554
|
+
const char* s2_expression,
|
1555
|
+
const char* s1,
|
1556
|
+
const char* s2);
|
1557
|
+
|
1558
|
+
// The helper function for {ASSERT|EXPECT}_STRCASENE.
|
1559
|
+
//
|
1560
|
+
// INTERNAL IMPLEMENTATION - DO NOT USE IN A USER PROGRAM.
|
1561
|
+
GTEST_API_ AssertionResult CmpHelperSTRCASENE(const char* s1_expression,
|
1562
|
+
const char* s2_expression,
|
1563
|
+
const char* s1,
|
1564
|
+
const char* s2);
|
1565
|
+
|
1566
|
+
|
1567
|
+
// Helper function for *_STREQ on wide strings.
|
1568
|
+
//
|
1569
|
+
// INTERNAL IMPLEMENTATION - DO NOT USE IN A USER PROGRAM.
|
1570
|
+
GTEST_API_ AssertionResult CmpHelperSTREQ(const char* s1_expression,
|
1571
|
+
const char* s2_expression,
|
1572
|
+
const wchar_t* s1,
|
1573
|
+
const wchar_t* s2);
|
1574
|
+
|
1575
|
+
// Helper function for *_STRNE on wide strings.
|
1576
|
+
//
|
1577
|
+
// INTERNAL IMPLEMENTATION - DO NOT USE IN A USER PROGRAM.
|
1578
|
+
GTEST_API_ AssertionResult CmpHelperSTRNE(const char* s1_expression,
|
1579
|
+
const char* s2_expression,
|
1580
|
+
const wchar_t* s1,
|
1581
|
+
const wchar_t* s2);
|
1582
|
+
|
1583
|
+
} // namespace internal
|
1584
|
+
|
1585
|
+
// IsSubstring() and IsNotSubstring() are intended to be used as the
|
1586
|
+
// first argument to {EXPECT,ASSERT}_PRED_FORMAT2(), not by
|
1587
|
+
// themselves. They check whether needle is a substring of haystack
|
1588
|
+
// (NULL is considered a substring of itself only), and return an
|
1589
|
+
// appropriate error message when they fail.
|
1590
|
+
//
|
1591
|
+
// The {needle,haystack}_expr arguments are the stringified
|
1592
|
+
// expressions that generated the two real arguments.
|
1593
|
+
GTEST_API_ AssertionResult IsSubstring(
|
1594
|
+
const char* needle_expr, const char* haystack_expr,
|
1595
|
+
const char* needle, const char* haystack);
|
1596
|
+
GTEST_API_ AssertionResult IsSubstring(
|
1597
|
+
const char* needle_expr, const char* haystack_expr,
|
1598
|
+
const wchar_t* needle, const wchar_t* haystack);
|
1599
|
+
GTEST_API_ AssertionResult IsNotSubstring(
|
1600
|
+
const char* needle_expr, const char* haystack_expr,
|
1601
|
+
const char* needle, const char* haystack);
|
1602
|
+
GTEST_API_ AssertionResult IsNotSubstring(
|
1603
|
+
const char* needle_expr, const char* haystack_expr,
|
1604
|
+
const wchar_t* needle, const wchar_t* haystack);
|
1605
|
+
GTEST_API_ AssertionResult IsSubstring(
|
1606
|
+
const char* needle_expr, const char* haystack_expr,
|
1607
|
+
const ::std::string& needle, const ::std::string& haystack);
|
1608
|
+
GTEST_API_ AssertionResult IsNotSubstring(
|
1609
|
+
const char* needle_expr, const char* haystack_expr,
|
1610
|
+
const ::std::string& needle, const ::std::string& haystack);
|
1611
|
+
|
1612
|
+
#if GTEST_HAS_STD_WSTRING
|
1613
|
+
GTEST_API_ AssertionResult IsSubstring(
|
1614
|
+
const char* needle_expr, const char* haystack_expr,
|
1615
|
+
const ::std::wstring& needle, const ::std::wstring& haystack);
|
1616
|
+
GTEST_API_ AssertionResult IsNotSubstring(
|
1617
|
+
const char* needle_expr, const char* haystack_expr,
|
1618
|
+
const ::std::wstring& needle, const ::std::wstring& haystack);
|
1619
|
+
#endif // GTEST_HAS_STD_WSTRING
|
1620
|
+
|
1621
|
+
namespace internal {
|
1622
|
+
|
1623
|
+
// Helper template function for comparing floating-points.
|
1624
|
+
//
|
1625
|
+
// Template parameter:
|
1626
|
+
//
|
1627
|
+
// RawType: the raw floating-point type (either float or double)
|
1628
|
+
//
|
1629
|
+
// INTERNAL IMPLEMENTATION - DO NOT USE IN A USER PROGRAM.
|
1630
|
+
template <typename RawType>
|
1631
|
+
AssertionResult CmpHelperFloatingPointEQ(const char* lhs_expression,
|
1632
|
+
const char* rhs_expression,
|
1633
|
+
RawType lhs_value,
|
1634
|
+
RawType rhs_value) {
|
1635
|
+
const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value);
|
1636
|
+
|
1637
|
+
if (lhs.AlmostEquals(rhs)) {
|
1638
|
+
return AssertionSuccess();
|
1639
|
+
}
|
1640
|
+
|
1641
|
+
::std::stringstream lhs_ss;
|
1642
|
+
lhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
|
1643
|
+
<< lhs_value;
|
1644
|
+
|
1645
|
+
::std::stringstream rhs_ss;
|
1646
|
+
rhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
|
1647
|
+
<< rhs_value;
|
1648
|
+
|
1649
|
+
return EqFailure(lhs_expression,
|
1650
|
+
rhs_expression,
|
1651
|
+
StringStreamToString(&lhs_ss),
|
1652
|
+
StringStreamToString(&rhs_ss),
|
1653
|
+
false);
|
1654
|
+
}
|
1655
|
+
|
1656
|
+
// Helper function for implementing ASSERT_NEAR.
|
1657
|
+
//
|
1658
|
+
// INTERNAL IMPLEMENTATION - DO NOT USE IN A USER PROGRAM.
|
1659
|
+
GTEST_API_ AssertionResult DoubleNearPredFormat(const char* expr1,
|
1660
|
+
const char* expr2,
|
1661
|
+
const char* abs_error_expr,
|
1662
|
+
double val1,
|
1663
|
+
double val2,
|
1664
|
+
double abs_error);
|
1665
|
+
|
1666
|
+
// INTERNAL IMPLEMENTATION - DO NOT USE IN USER CODE.
|
1667
|
+
// A class that enables one to stream messages to assertion macros
|
1668
|
+
class GTEST_API_ AssertHelper {
|
1669
|
+
public:
|
1670
|
+
// Constructor.
|
1671
|
+
AssertHelper(TestPartResult::Type type,
|
1672
|
+
const char* file,
|
1673
|
+
int line,
|
1674
|
+
const char* message);
|
1675
|
+
~AssertHelper();
|
1676
|
+
|
1677
|
+
// Message assignment is a semantic trick to enable assertion
|
1678
|
+
// streaming; see the GTEST_MESSAGE_ macro below.
|
1679
|
+
void operator=(const Message& message) const;
|
1680
|
+
|
1681
|
+
private:
|
1682
|
+
// We put our data in a struct so that the size of the AssertHelper class can
|
1683
|
+
// be as small as possible. This is important because gcc is incapable of
|
1684
|
+
// re-using stack space even for temporary variables, so every EXPECT_EQ
|
1685
|
+
// reserves stack space for another AssertHelper.
|
1686
|
+
struct AssertHelperData {
|
1687
|
+
AssertHelperData(TestPartResult::Type t,
|
1688
|
+
const char* srcfile,
|
1689
|
+
int line_num,
|
1690
|
+
const char* msg)
|
1691
|
+
: type(t), file(srcfile), line(line_num), message(msg) { }
|
1692
|
+
|
1693
|
+
TestPartResult::Type const type;
|
1694
|
+
const char* const file;
|
1695
|
+
int const line;
|
1696
|
+
std::string const message;
|
1697
|
+
|
1698
|
+
private:
|
1699
|
+
GTEST_DISALLOW_COPY_AND_ASSIGN_(AssertHelperData);
|
1700
|
+
};
|
1701
|
+
|
1702
|
+
AssertHelperData* const data_;
|
1703
|
+
|
1704
|
+
GTEST_DISALLOW_COPY_AND_ASSIGN_(AssertHelper);
|
1705
|
+
};
|
1706
|
+
|
1707
|
+
} // namespace internal
|
1708
|
+
|
1709
|
+
#if GTEST_HAS_PARAM_TEST
|
1710
|
+
// The pure interface class that all value-parameterized tests inherit from.
|
1711
|
+
// A value-parameterized class must inherit from both ::testing::Test and
|
1712
|
+
// ::testing::WithParamInterface. In most cases that just means inheriting
|
1713
|
+
// from ::testing::TestWithParam, but more complicated test hierarchies
|
1714
|
+
// may need to inherit from Test and WithParamInterface at different levels.
|
1715
|
+
//
|
1716
|
+
// This interface has support for accessing the test parameter value via
|
1717
|
+
// the GetParam() method.
|
1718
|
+
//
|
1719
|
+
// Use it with one of the parameter generator defining functions, like Range(),
|
1720
|
+
// Values(), ValuesIn(), Bool(), and Combine().
|
1721
|
+
//
|
1722
|
+
// class FooTest : public ::testing::TestWithParam<int> {
|
1723
|
+
// protected:
|
1724
|
+
// FooTest() {
|
1725
|
+
// // Can use GetParam() here.
|
1726
|
+
// }
|
1727
|
+
// virtual ~FooTest() {
|
1728
|
+
// // Can use GetParam() here.
|
1729
|
+
// }
|
1730
|
+
// virtual void SetUp() {
|
1731
|
+
// // Can use GetParam() here.
|
1732
|
+
// }
|
1733
|
+
// virtual void TearDown {
|
1734
|
+
// // Can use GetParam() here.
|
1735
|
+
// }
|
1736
|
+
// };
|
1737
|
+
// TEST_P(FooTest, DoesBar) {
|
1738
|
+
// // Can use GetParam() method here.
|
1739
|
+
// Foo foo;
|
1740
|
+
// ASSERT_TRUE(foo.DoesBar(GetParam()));
|
1741
|
+
// }
|
1742
|
+
// INSTANTIATE_TEST_CASE_P(OneToTenRange, FooTest, ::testing::Range(1, 10));
|
1743
|
+
|
1744
|
+
template <typename T>
|
1745
|
+
class WithParamInterface {
|
1746
|
+
public:
|
1747
|
+
typedef T ParamType;
|
1748
|
+
virtual ~WithParamInterface() {}
|
1749
|
+
|
1750
|
+
// The current parameter value. Is also available in the test fixture's
|
1751
|
+
// constructor. This member function is non-static, even though it only
|
1752
|
+
// references static data, to reduce the opportunity for incorrect uses
|
1753
|
+
// like writing 'WithParamInterface<bool>::GetParam()' for a test that
|
1754
|
+
// uses a fixture whose parameter type is int.
|
1755
|
+
const ParamType& GetParam() const {
|
1756
|
+
GTEST_CHECK_(parameter_ != NULL)
|
1757
|
+
<< "GetParam() can only be called inside a value-parameterized test "
|
1758
|
+
<< "-- did you intend to write TEST_P instead of TEST_F?";
|
1759
|
+
return *parameter_;
|
1760
|
+
}
|
1761
|
+
|
1762
|
+
private:
|
1763
|
+
// Sets parameter value. The caller is responsible for making sure the value
|
1764
|
+
// remains alive and unchanged throughout the current test.
|
1765
|
+
static void SetParam(const ParamType* parameter) {
|
1766
|
+
parameter_ = parameter;
|
1767
|
+
}
|
1768
|
+
|
1769
|
+
// Static value used for accessing parameter during a test lifetime.
|
1770
|
+
static const ParamType* parameter_;
|
1771
|
+
|
1772
|
+
// TestClass must be a subclass of WithParamInterface<T> and Test.
|
1773
|
+
template <class TestClass> friend class internal::ParameterizedTestFactory;
|
1774
|
+
};
|
1775
|
+
|
1776
|
+
template <typename T>
|
1777
|
+
const T* WithParamInterface<T>::parameter_ = NULL;
|
1778
|
+
|
1779
|
+
// Most value-parameterized classes can ignore the existence of
|
1780
|
+
// WithParamInterface, and can just inherit from ::testing::TestWithParam.
|
1781
|
+
|
1782
|
+
template <typename T>
|
1783
|
+
class TestWithParam : public Test, public WithParamInterface<T> {
|
1784
|
+
};
|
1785
|
+
|
1786
|
+
#endif // GTEST_HAS_PARAM_TEST
|
1787
|
+
|
1788
|
+
// Macros for indicating success/failure in test code.
|
1789
|
+
|
1790
|
+
// ADD_FAILURE unconditionally adds a failure to the current test.
|
1791
|
+
// SUCCEED generates a success - it doesn't automatically make the
|
1792
|
+
// current test successful, as a test is only successful when it has
|
1793
|
+
// no failure.
|
1794
|
+
//
|
1795
|
+
// EXPECT_* verifies that a certain condition is satisfied. If not,
|
1796
|
+
// it behaves like ADD_FAILURE. In particular:
|
1797
|
+
//
|
1798
|
+
// EXPECT_TRUE verifies that a Boolean condition is true.
|
1799
|
+
// EXPECT_FALSE verifies that a Boolean condition is false.
|
1800
|
+
//
|
1801
|
+
// FAIL and ASSERT_* are similar to ADD_FAILURE and EXPECT_*, except
|
1802
|
+
// that they will also abort the current function on failure. People
|
1803
|
+
// usually want the fail-fast behavior of FAIL and ASSERT_*, but those
|
1804
|
+
// writing data-driven tests often find themselves using ADD_FAILURE
|
1805
|
+
// and EXPECT_* more.
|
1806
|
+
|
1807
|
+
// Generates a nonfatal failure with a generic message.
|
1808
|
+
#define ADD_FAILURE() GTEST_NONFATAL_FAILURE_("Failed")
|
1809
|
+
|
1810
|
+
// Generates a nonfatal failure at the given source file location with
|
1811
|
+
// a generic message.
|
1812
|
+
#define ADD_FAILURE_AT(file, line) \
|
1813
|
+
GTEST_MESSAGE_AT_(file, line, "Failed", \
|
1814
|
+
::testing::TestPartResult::kNonFatalFailure)
|
1815
|
+
|
1816
|
+
// Generates a fatal failure with a generic message.
|
1817
|
+
#define GTEST_FAIL() GTEST_FATAL_FAILURE_("Failed")
|
1818
|
+
|
1819
|
+
// Define this macro to 1 to omit the definition of FAIL(), which is a
|
1820
|
+
// generic name and clashes with some other libraries.
|
1821
|
+
#if !GTEST_DONT_DEFINE_FAIL
|
1822
|
+
# define FAIL() GTEST_FAIL()
|
1823
|
+
#endif
|
1824
|
+
|
1825
|
+
// Generates a success with a generic message.
|
1826
|
+
#define GTEST_SUCCEED() GTEST_SUCCESS_("Succeeded")
|
1827
|
+
|
1828
|
+
// Define this macro to 1 to omit the definition of SUCCEED(), which
|
1829
|
+
// is a generic name and clashes with some other libraries.
|
1830
|
+
#if !GTEST_DONT_DEFINE_SUCCEED
|
1831
|
+
# define SUCCEED() GTEST_SUCCEED()
|
1832
|
+
#endif
|
1833
|
+
|
1834
|
+
// Macros for testing exceptions.
|
1835
|
+
//
|
1836
|
+
// * {ASSERT|EXPECT}_THROW(statement, expected_exception):
|
1837
|
+
// Tests that the statement throws the expected exception.
|
1838
|
+
// * {ASSERT|EXPECT}_NO_THROW(statement):
|
1839
|
+
// Tests that the statement doesn't throw any exception.
|
1840
|
+
// * {ASSERT|EXPECT}_ANY_THROW(statement):
|
1841
|
+
// Tests that the statement throws an exception.
|
1842
|
+
|
1843
|
+
#define EXPECT_THROW(statement, expected_exception) \
|
1844
|
+
GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
|
1845
|
+
#define EXPECT_NO_THROW(statement) \
|
1846
|
+
GTEST_TEST_NO_THROW_(statement, GTEST_NONFATAL_FAILURE_)
|
1847
|
+
#define EXPECT_ANY_THROW(statement) \
|
1848
|
+
GTEST_TEST_ANY_THROW_(statement, GTEST_NONFATAL_FAILURE_)
|
1849
|
+
#define ASSERT_THROW(statement, expected_exception) \
|
1850
|
+
GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
|
1851
|
+
#define ASSERT_NO_THROW(statement) \
|
1852
|
+
GTEST_TEST_NO_THROW_(statement, GTEST_FATAL_FAILURE_)
|
1853
|
+
#define ASSERT_ANY_THROW(statement) \
|
1854
|
+
GTEST_TEST_ANY_THROW_(statement, GTEST_FATAL_FAILURE_)
|
1855
|
+
|
1856
|
+
// Boolean assertions. Condition can be either a Boolean expression or an
|
1857
|
+
// AssertionResult. For more information on how to use AssertionResult with
|
1858
|
+
// these macros see comments on that class.
|
1859
|
+
#define EXPECT_TRUE(condition) \
|
1860
|
+
GTEST_TEST_BOOLEAN_(condition, #condition, false, true, \
|
1861
|
+
GTEST_NONFATAL_FAILURE_)
|
1862
|
+
#define EXPECT_FALSE(condition) \
|
1863
|
+
GTEST_TEST_BOOLEAN_(!(condition), #condition, true, false, \
|
1864
|
+
GTEST_NONFATAL_FAILURE_)
|
1865
|
+
#define ASSERT_TRUE(condition) \
|
1866
|
+
GTEST_TEST_BOOLEAN_(condition, #condition, false, true, \
|
1867
|
+
GTEST_FATAL_FAILURE_)
|
1868
|
+
#define ASSERT_FALSE(condition) \
|
1869
|
+
GTEST_TEST_BOOLEAN_(!(condition), #condition, true, false, \
|
1870
|
+
GTEST_FATAL_FAILURE_)
|
1871
|
+
|
1872
|
+
// Includes the auto-generated header that implements a family of
|
1873
|
+
// generic predicate assertion macros.
|
1874
|
+
#include "gtest/gtest_pred_impl.h"
|
1875
|
+
|
1876
|
+
// Macros for testing equalities and inequalities.
|
1877
|
+
//
|
1878
|
+
// * {ASSERT|EXPECT}_EQ(v1, v2): Tests that v1 == v2
|
1879
|
+
// * {ASSERT|EXPECT}_NE(v1, v2): Tests that v1 != v2
|
1880
|
+
// * {ASSERT|EXPECT}_LT(v1, v2): Tests that v1 < v2
|
1881
|
+
// * {ASSERT|EXPECT}_LE(v1, v2): Tests that v1 <= v2
|
1882
|
+
// * {ASSERT|EXPECT}_GT(v1, v2): Tests that v1 > v2
|
1883
|
+
// * {ASSERT|EXPECT}_GE(v1, v2): Tests that v1 >= v2
|
1884
|
+
//
|
1885
|
+
// When they are not, Google Test prints both the tested expressions and
|
1886
|
+
// their actual values. The values must be compatible built-in types,
|
1887
|
+
// or you will get a compiler error. By "compatible" we mean that the
|
1888
|
+
// values can be compared by the respective operator.
|
1889
|
+
//
|
1890
|
+
// Note:
|
1891
|
+
//
|
1892
|
+
// 1. It is possible to make a user-defined type work with
|
1893
|
+
// {ASSERT|EXPECT}_??(), but that requires overloading the
|
1894
|
+
// comparison operators and is thus discouraged by the Google C++
|
1895
|
+
// Usage Guide. Therefore, you are advised to use the
|
1896
|
+
// {ASSERT|EXPECT}_TRUE() macro to assert that two objects are
|
1897
|
+
// equal.
|
1898
|
+
//
|
1899
|
+
// 2. The {ASSERT|EXPECT}_??() macros do pointer comparisons on
|
1900
|
+
// pointers (in particular, C strings). Therefore, if you use it
|
1901
|
+
// with two C strings, you are testing how their locations in memory
|
1902
|
+
// are related, not how their content is related. To compare two C
|
1903
|
+
// strings by content, use {ASSERT|EXPECT}_STR*().
|
1904
|
+
//
|
1905
|
+
// 3. {ASSERT|EXPECT}_EQ(v1, v2) is preferred to
|
1906
|
+
// {ASSERT|EXPECT}_TRUE(v1 == v2), as the former tells you
|
1907
|
+
// what the actual value is when it fails, and similarly for the
|
1908
|
+
// other comparisons.
|
1909
|
+
//
|
1910
|
+
// 4. Do not depend on the order in which {ASSERT|EXPECT}_??()
|
1911
|
+
// evaluate their arguments, which is undefined.
|
1912
|
+
//
|
1913
|
+
// 5. These macros evaluate their arguments exactly once.
|
1914
|
+
//
|
1915
|
+
// Examples:
|
1916
|
+
//
|
1917
|
+
// EXPECT_NE(5, Foo());
|
1918
|
+
// EXPECT_EQ(NULL, a_pointer);
|
1919
|
+
// ASSERT_LT(i, array_size);
|
1920
|
+
// ASSERT_GT(records.size(), 0) << "There is no record left.";
|
1921
|
+
|
1922
|
+
#define EXPECT_EQ(val1, val2) \
|
1923
|
+
EXPECT_PRED_FORMAT2(::testing::internal:: \
|
1924
|
+
EqHelper<GTEST_IS_NULL_LITERAL_(val1)>::Compare, \
|
1925
|
+
val1, val2)
|
1926
|
+
#define EXPECT_NE(val1, val2) \
|
1927
|
+
EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperNE, val1, val2)
|
1928
|
+
#define EXPECT_LE(val1, val2) \
|
1929
|
+
EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLE, val1, val2)
|
1930
|
+
#define EXPECT_LT(val1, val2) \
|
1931
|
+
EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLT, val1, val2)
|
1932
|
+
#define EXPECT_GE(val1, val2) \
|
1933
|
+
EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGE, val1, val2)
|
1934
|
+
#define EXPECT_GT(val1, val2) \
|
1935
|
+
EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGT, val1, val2)
|
1936
|
+
|
1937
|
+
#define GTEST_ASSERT_EQ(val1, val2) \
|
1938
|
+
ASSERT_PRED_FORMAT2(::testing::internal:: \
|
1939
|
+
EqHelper<GTEST_IS_NULL_LITERAL_(val1)>::Compare, \
|
1940
|
+
val1, val2)
|
1941
|
+
#define GTEST_ASSERT_NE(val1, val2) \
|
1942
|
+
ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperNE, val1, val2)
|
1943
|
+
#define GTEST_ASSERT_LE(val1, val2) \
|
1944
|
+
ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperLE, val1, val2)
|
1945
|
+
#define GTEST_ASSERT_LT(val1, val2) \
|
1946
|
+
ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperLT, val1, val2)
|
1947
|
+
#define GTEST_ASSERT_GE(val1, val2) \
|
1948
|
+
ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperGE, val1, val2)
|
1949
|
+
#define GTEST_ASSERT_GT(val1, val2) \
|
1950
|
+
ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperGT, val1, val2)
|
1951
|
+
|
1952
|
+
// Define macro GTEST_DONT_DEFINE_ASSERT_XY to 1 to omit the definition of
|
1953
|
+
// ASSERT_XY(), which clashes with some users' own code.
|
1954
|
+
|
1955
|
+
#if !GTEST_DONT_DEFINE_ASSERT_EQ
|
1956
|
+
# define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2)
|
1957
|
+
#endif
|
1958
|
+
|
1959
|
+
#if !GTEST_DONT_DEFINE_ASSERT_NE
|
1960
|
+
# define ASSERT_NE(val1, val2) GTEST_ASSERT_NE(val1, val2)
|
1961
|
+
#endif
|
1962
|
+
|
1963
|
+
#if !GTEST_DONT_DEFINE_ASSERT_LE
|
1964
|
+
# define ASSERT_LE(val1, val2) GTEST_ASSERT_LE(val1, val2)
|
1965
|
+
#endif
|
1966
|
+
|
1967
|
+
#if !GTEST_DONT_DEFINE_ASSERT_LT
|
1968
|
+
# define ASSERT_LT(val1, val2) GTEST_ASSERT_LT(val1, val2)
|
1969
|
+
#endif
|
1970
|
+
|
1971
|
+
#if !GTEST_DONT_DEFINE_ASSERT_GE
|
1972
|
+
# define ASSERT_GE(val1, val2) GTEST_ASSERT_GE(val1, val2)
|
1973
|
+
#endif
|
1974
|
+
|
1975
|
+
#if !GTEST_DONT_DEFINE_ASSERT_GT
|
1976
|
+
# define ASSERT_GT(val1, val2) GTEST_ASSERT_GT(val1, val2)
|
1977
|
+
#endif
|
1978
|
+
|
1979
|
+
// C-string Comparisons. All tests treat NULL and any non-NULL string
|
1980
|
+
// as different. Two NULLs are equal.
|
1981
|
+
//
|
1982
|
+
// * {ASSERT|EXPECT}_STREQ(s1, s2): Tests that s1 == s2
|
1983
|
+
// * {ASSERT|EXPECT}_STRNE(s1, s2): Tests that s1 != s2
|
1984
|
+
// * {ASSERT|EXPECT}_STRCASEEQ(s1, s2): Tests that s1 == s2, ignoring case
|
1985
|
+
// * {ASSERT|EXPECT}_STRCASENE(s1, s2): Tests that s1 != s2, ignoring case
|
1986
|
+
//
|
1987
|
+
// For wide or narrow string objects, you can use the
|
1988
|
+
// {ASSERT|EXPECT}_??() macros.
|
1989
|
+
//
|
1990
|
+
// Don't depend on the order in which the arguments are evaluated,
|
1991
|
+
// which is undefined.
|
1992
|
+
//
|
1993
|
+
// These macros evaluate their arguments exactly once.
|
1994
|
+
|
1995
|
+
#define EXPECT_STREQ(s1, s2) \
|
1996
|
+
EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTREQ, s1, s2)
|
1997
|
+
#define EXPECT_STRNE(s1, s2) \
|
1998
|
+
EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTRNE, s1, s2)
|
1999
|
+
#define EXPECT_STRCASEEQ(s1, s2) \
|
2000
|
+
EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTRCASEEQ, s1, s2)
|
2001
|
+
#define EXPECT_STRCASENE(s1, s2)\
|
2002
|
+
EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTRCASENE, s1, s2)
|
2003
|
+
|
2004
|
+
#define ASSERT_STREQ(s1, s2) \
|
2005
|
+
ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperSTREQ, s1, s2)
|
2006
|
+
#define ASSERT_STRNE(s1, s2) \
|
2007
|
+
ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperSTRNE, s1, s2)
|
2008
|
+
#define ASSERT_STRCASEEQ(s1, s2) \
|
2009
|
+
ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperSTRCASEEQ, s1, s2)
|
2010
|
+
#define ASSERT_STRCASENE(s1, s2)\
|
2011
|
+
ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperSTRCASENE, s1, s2)
|
2012
|
+
|
2013
|
+
// Macros for comparing floating-point numbers.
|
2014
|
+
//
|
2015
|
+
// * {ASSERT|EXPECT}_FLOAT_EQ(val1, val2):
|
2016
|
+
// Tests that two float values are almost equal.
|
2017
|
+
// * {ASSERT|EXPECT}_DOUBLE_EQ(val1, val2):
|
2018
|
+
// Tests that two double values are almost equal.
|
2019
|
+
// * {ASSERT|EXPECT}_NEAR(v1, v2, abs_error):
|
2020
|
+
// Tests that v1 and v2 are within the given distance to each other.
|
2021
|
+
//
|
2022
|
+
// Google Test uses ULP-based comparison to automatically pick a default
|
2023
|
+
// error bound that is appropriate for the operands. See the
|
2024
|
+
// FloatingPoint template class in gtest-internal.h if you are
|
2025
|
+
// interested in the implementation details.
|
2026
|
+
|
2027
|
+
#define EXPECT_FLOAT_EQ(val1, val2)\
|
2028
|
+
EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperFloatingPointEQ<float>, \
|
2029
|
+
val1, val2)
|
2030
|
+
|
2031
|
+
#define EXPECT_DOUBLE_EQ(val1, val2)\
|
2032
|
+
EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperFloatingPointEQ<double>, \
|
2033
|
+
val1, val2)
|
2034
|
+
|
2035
|
+
#define ASSERT_FLOAT_EQ(val1, val2)\
|
2036
|
+
ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperFloatingPointEQ<float>, \
|
2037
|
+
val1, val2)
|
2038
|
+
|
2039
|
+
#define ASSERT_DOUBLE_EQ(val1, val2)\
|
2040
|
+
ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperFloatingPointEQ<double>, \
|
2041
|
+
val1, val2)
|
2042
|
+
|
2043
|
+
#define EXPECT_NEAR(val1, val2, abs_error)\
|
2044
|
+
EXPECT_PRED_FORMAT3(::testing::internal::DoubleNearPredFormat, \
|
2045
|
+
val1, val2, abs_error)
|
2046
|
+
|
2047
|
+
#define ASSERT_NEAR(val1, val2, abs_error)\
|
2048
|
+
ASSERT_PRED_FORMAT3(::testing::internal::DoubleNearPredFormat, \
|
2049
|
+
val1, val2, abs_error)
|
2050
|
+
|
2051
|
+
// These predicate format functions work on floating-point values, and
|
2052
|
+
// can be used in {ASSERT|EXPECT}_PRED_FORMAT2*(), e.g.
|
2053
|
+
//
|
2054
|
+
// EXPECT_PRED_FORMAT2(testing::DoubleLE, Foo(), 5.0);
|
2055
|
+
|
2056
|
+
// Asserts that val1 is less than, or almost equal to, val2. Fails
|
2057
|
+
// otherwise. In particular, it fails if either val1 or val2 is NaN.
|
2058
|
+
GTEST_API_ AssertionResult FloatLE(const char* expr1, const char* expr2,
|
2059
|
+
float val1, float val2);
|
2060
|
+
GTEST_API_ AssertionResult DoubleLE(const char* expr1, const char* expr2,
|
2061
|
+
double val1, double val2);
|
2062
|
+
|
2063
|
+
|
2064
|
+
#if GTEST_OS_WINDOWS
|
2065
|
+
|
2066
|
+
// Macros that test for HRESULT failure and success, these are only useful
|
2067
|
+
// on Windows, and rely on Windows SDK macros and APIs to compile.
|
2068
|
+
//
|
2069
|
+
// * {ASSERT|EXPECT}_HRESULT_{SUCCEEDED|FAILED}(expr)
|
2070
|
+
//
|
2071
|
+
// When expr unexpectedly fails or succeeds, Google Test prints the
|
2072
|
+
// expected result and the actual result with both a human-readable
|
2073
|
+
// string representation of the error, if available, as well as the
|
2074
|
+
// hex result code.
|
2075
|
+
# define EXPECT_HRESULT_SUCCEEDED(expr) \
|
2076
|
+
EXPECT_PRED_FORMAT1(::testing::internal::IsHRESULTSuccess, (expr))
|
2077
|
+
|
2078
|
+
# define ASSERT_HRESULT_SUCCEEDED(expr) \
|
2079
|
+
ASSERT_PRED_FORMAT1(::testing::internal::IsHRESULTSuccess, (expr))
|
2080
|
+
|
2081
|
+
# define EXPECT_HRESULT_FAILED(expr) \
|
2082
|
+
EXPECT_PRED_FORMAT1(::testing::internal::IsHRESULTFailure, (expr))
|
2083
|
+
|
2084
|
+
# define ASSERT_HRESULT_FAILED(expr) \
|
2085
|
+
ASSERT_PRED_FORMAT1(::testing::internal::IsHRESULTFailure, (expr))
|
2086
|
+
|
2087
|
+
#endif // GTEST_OS_WINDOWS
|
2088
|
+
|
2089
|
+
// Macros that execute statement and check that it doesn't generate new fatal
|
2090
|
+
// failures in the current thread.
|
2091
|
+
//
|
2092
|
+
// * {ASSERT|EXPECT}_NO_FATAL_FAILURE(statement);
|
2093
|
+
//
|
2094
|
+
// Examples:
|
2095
|
+
//
|
2096
|
+
// EXPECT_NO_FATAL_FAILURE(Process());
|
2097
|
+
// ASSERT_NO_FATAL_FAILURE(Process()) << "Process() failed";
|
2098
|
+
//
|
2099
|
+
#define ASSERT_NO_FATAL_FAILURE(statement) \
|
2100
|
+
GTEST_TEST_NO_FATAL_FAILURE_(statement, GTEST_FATAL_FAILURE_)
|
2101
|
+
#define EXPECT_NO_FATAL_FAILURE(statement) \
|
2102
|
+
GTEST_TEST_NO_FATAL_FAILURE_(statement, GTEST_NONFATAL_FAILURE_)
|
2103
|
+
|
2104
|
+
// Causes a trace (including the source file path, the current line
|
2105
|
+
// number, and the given message) to be included in every test failure
|
2106
|
+
// message generated by code in the current scope. The effect is
|
2107
|
+
// undone when the control leaves the current scope.
|
2108
|
+
//
|
2109
|
+
// The message argument can be anything streamable to std::ostream.
|
2110
|
+
//
|
2111
|
+
// In the implementation, we include the current line number as part
|
2112
|
+
// of the dummy variable name, thus allowing multiple SCOPED_TRACE()s
|
2113
|
+
// to appear in the same block - as long as they are on different
|
2114
|
+
// lines.
|
2115
|
+
#define SCOPED_TRACE(message) \
|
2116
|
+
::testing::internal::ScopedTrace GTEST_CONCAT_TOKEN_(gtest_trace_, __LINE__)(\
|
2117
|
+
__FILE__, __LINE__, ::testing::Message() << (message))
|
2118
|
+
|
2119
|
+
// Compile-time assertion for type equality.
|
2120
|
+
// StaticAssertTypeEq<type1, type2>() compiles iff type1 and type2 are
|
2121
|
+
// the same type. The value it returns is not interesting.
|
2122
|
+
//
|
2123
|
+
// Instead of making StaticAssertTypeEq a class template, we make it a
|
2124
|
+
// function template that invokes a helper class template. This
|
2125
|
+
// prevents a user from misusing StaticAssertTypeEq<T1, T2> by
|
2126
|
+
// defining objects of that type.
|
2127
|
+
//
|
2128
|
+
// CAVEAT:
|
2129
|
+
//
|
2130
|
+
// When used inside a method of a class template,
|
2131
|
+
// StaticAssertTypeEq<T1, T2>() is effective ONLY IF the method is
|
2132
|
+
// instantiated. For example, given:
|
2133
|
+
//
|
2134
|
+
// template <typename T> class Foo {
|
2135
|
+
// public:
|
2136
|
+
// void Bar() { testing::StaticAssertTypeEq<int, T>(); }
|
2137
|
+
// };
|
2138
|
+
//
|
2139
|
+
// the code:
|
2140
|
+
//
|
2141
|
+
// void Test1() { Foo<bool> foo; }
|
2142
|
+
//
|
2143
|
+
// will NOT generate a compiler error, as Foo<bool>::Bar() is never
|
2144
|
+
// actually instantiated. Instead, you need:
|
2145
|
+
//
|
2146
|
+
// void Test2() { Foo<bool> foo; foo.Bar(); }
|
2147
|
+
//
|
2148
|
+
// to cause a compiler error.
|
2149
|
+
template <typename T1, typename T2>
|
2150
|
+
bool StaticAssertTypeEq() {
|
2151
|
+
(void)internal::StaticAssertTypeEqHelper<T1, T2>();
|
2152
|
+
return true;
|
2153
|
+
}
|
2154
|
+
|
2155
|
+
// Defines a test.
|
2156
|
+
//
|
2157
|
+
// The first parameter is the name of the test case, and the second
|
2158
|
+
// parameter is the name of the test within the test case.
|
2159
|
+
//
|
2160
|
+
// The convention is to end the test case name with "Test". For
|
2161
|
+
// example, a test case for the Foo class can be named FooTest.
|
2162
|
+
//
|
2163
|
+
// Test code should appear between braces after an invocation of
|
2164
|
+
// this macro. Example:
|
2165
|
+
//
|
2166
|
+
// TEST(FooTest, InitializesCorrectly) {
|
2167
|
+
// Foo foo;
|
2168
|
+
// EXPECT_TRUE(foo.StatusIsOK());
|
2169
|
+
// }
|
2170
|
+
|
2171
|
+
// Note that we call GetTestTypeId() instead of GetTypeId<
|
2172
|
+
// ::testing::Test>() here to get the type ID of testing::Test. This
|
2173
|
+
// is to work around a suspected linker bug when using Google Test as
|
2174
|
+
// a framework on Mac OS X. The bug causes GetTypeId<
|
2175
|
+
// ::testing::Test>() to return different values depending on whether
|
2176
|
+
// the call is from the Google Test framework itself or from user test
|
2177
|
+
// code. GetTestTypeId() is guaranteed to always return the same
|
2178
|
+
// value, as it always calls GetTypeId<>() from the Google Test
|
2179
|
+
// framework.
|
2180
|
+
#define GTEST_TEST(test_case_name, test_name)\
|
2181
|
+
GTEST_TEST_(test_case_name, test_name, \
|
2182
|
+
::testing::Test, ::testing::internal::GetTestTypeId())
|
2183
|
+
|
2184
|
+
// Define this macro to 1 to omit the definition of TEST(), which
|
2185
|
+
// is a generic name and clashes with some other libraries.
|
2186
|
+
#if !GTEST_DONT_DEFINE_TEST
|
2187
|
+
# define TEST(test_case_name, test_name) GTEST_TEST(test_case_name, test_name)
|
2188
|
+
#endif
|
2189
|
+
|
2190
|
+
// Defines a test that uses a test fixture.
|
2191
|
+
//
|
2192
|
+
// The first parameter is the name of the test fixture class, which
|
2193
|
+
// also doubles as the test case name. The second parameter is the
|
2194
|
+
// name of the test within the test case.
|
2195
|
+
//
|
2196
|
+
// A test fixture class must be declared earlier. The user should put
|
2197
|
+
// his test code between braces after using this macro. Example:
|
2198
|
+
//
|
2199
|
+
// class FooTest : public testing::Test {
|
2200
|
+
// protected:
|
2201
|
+
// virtual void SetUp() { b_.AddElement(3); }
|
2202
|
+
//
|
2203
|
+
// Foo a_;
|
2204
|
+
// Foo b_;
|
2205
|
+
// };
|
2206
|
+
//
|
2207
|
+
// TEST_F(FooTest, InitializesCorrectly) {
|
2208
|
+
// EXPECT_TRUE(a_.StatusIsOK());
|
2209
|
+
// }
|
2210
|
+
//
|
2211
|
+
// TEST_F(FooTest, ReturnsElementCountCorrectly) {
|
2212
|
+
// EXPECT_EQ(0, a_.size());
|
2213
|
+
// EXPECT_EQ(1, b_.size());
|
2214
|
+
// }
|
2215
|
+
|
2216
|
+
#define TEST_F(test_fixture, test_name)\
|
2217
|
+
GTEST_TEST_(test_fixture, test_name, test_fixture, \
|
2218
|
+
::testing::internal::GetTypeId<test_fixture>())
|
2219
|
+
|
2220
|
+
} // namespace testing
|
2221
|
+
|
2222
|
+
// Use this function in main() to run all tests. It returns 0 if all
|
2223
|
+
// tests are successful, or 1 otherwise.
|
2224
|
+
//
|
2225
|
+
// RUN_ALL_TESTS() should be invoked after the command line has been
|
2226
|
+
// parsed by InitGoogleTest().
|
2227
|
+
//
|
2228
|
+
// This function was formerly a macro; thus, it is in the global
|
2229
|
+
// namespace and has an all-caps name.
|
2230
|
+
int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_;
|
2231
|
+
|
2232
|
+
inline int RUN_ALL_TESTS() {
|
2233
|
+
return ::testing::UnitTest::GetInstance()->Run();
|
2234
|
+
}
|
2235
|
+
|
2236
|
+
#endif // GTEST_INCLUDE_GTEST_GTEST_H_
|