rj_schema 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/Rakefile +4 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/CMakeLists.txt +16 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/README.md +141 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/CHANGES +126 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/CMakeLists.txt +202 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/CONTRIBUTORS +40 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/LICENSE +28 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/Makefile.am +224 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/README.md +333 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/configure.ac +146 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/CheatSheet.md +562 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/CookBook.md +3675 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/DesignDoc.md +280 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/DevGuide.md +132 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/Documentation.md +12 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/ForDummies.md +439 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/FrequentlyAskedQuestions.md +628 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/KnownIssues.md +19 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/CheatSheet.md +525 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/CookBook.md +3250 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/Documentation.md +11 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/ForDummies.md +439 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/FrequentlyAskedQuestions.md +624 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/CheatSheet.md +534 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/CookBook.md +3342 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/Documentation.md +12 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/ForDummies.md +439 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/FrequentlyAskedQuestions.md +628 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/CheatSheet.md +556 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/CookBook.md +3432 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/Documentation.md +12 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/ForDummies.md +439 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/FrequentlyAskedQuestions.md +628 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-actions.h +1205 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-cardinalities.h +147 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-actions.h +2377 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-actions.h.pump +794 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-function-mockers.h +1095 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-function-mockers.h.pump +291 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-matchers.h +2179 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-matchers.h.pump +672 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-nice-strict.h +397 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-nice-strict.h.pump +161 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-matchers.h +4399 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-more-actions.h +246 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-more-matchers.h +58 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-spec-builders.h +1847 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock.h +94 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h +8 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h.pump +10 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-matchers.h +39 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-port.h +46 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h +279 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h.pump +136 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-internal-utils.h +511 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-port.h +91 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/make/Makefile +101 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock.sln +32 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock.vcproj +191 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock_config.vsprops +15 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock_main.vcproj +187 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock_test.vcproj +201 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock.sln +32 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock.vcxproj +82 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock_config.props +19 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock_main.vcxproj +88 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock_test.vcxproj +101 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock.sln +32 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock.vcxproj +84 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock_config.props +19 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock_main.vcxproj +90 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock_test.vcxproj +103 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/fuse_gmock_files.py +240 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/LICENSE +203 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/README +35 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/README.cppclean +115 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/__init__.py +0 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/ast.py +1733 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/gmock_class.py +227 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/gmock_class_test.py +448 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/keywords.py +59 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/tokenize.py +287 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/utils.py +41 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/gmock_gen.py +31 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/gmock-config.in +303 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/gmock_doctor.py +640 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/upload.py +1387 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/upload_gmock.py +78 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-all.cc +47 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-cardinalities.cc +156 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-internal-utils.cc +174 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-matchers.cc +498 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-spec-builders.cc +823 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock.cc +183 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock_main.cc +54 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-actions_test.cc +1411 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-cardinalities_test.cc +428 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-actions_test.cc +1228 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-function-mockers_test.cc +622 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-internal-utils_test.cc +127 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-matchers_test.cc +1286 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-internal-utils_test.cc +699 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-matchers_test.cc +5648 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-more-actions_test.cc +708 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-nice-strict_test.cc +424 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-port_test.cc +43 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-spec-builders_test.cc +2644 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_all_test.cc +51 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_ex_test.cc +81 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_leak_test.py +108 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_leak_test_.cc +100 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_link2_test.cc +40 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_link_test.cc +40 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_link_test.h +669 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_output_test.py +180 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_output_test_.cc +291 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_output_test_golden.txt +310 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_stress_test.cc +322 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_test.cc +220 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_test_utils.py +112 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/CHANGES +157 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/CMakeLists.txt +286 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/CONTRIBUTORS +37 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/LICENSE +28 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/Makefile.am +310 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/README.md +280 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/cmake/internal_utils.cmake +242 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest.cbproj +138 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest.groupproj +54 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest_all.cc +38 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest_link.cc +40 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest_main.cbproj +82 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest_unittest.cbproj +88 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/configure.ac +68 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/AdvancedGuide.md +2182 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/DevGuide.md +126 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/Documentation.md +14 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/FAQ.md +1087 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/Primer.md +502 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/PumpManual.md +177 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/Samples.md +14 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_AdvancedGuide.md +2096 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_Documentation.md +12 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_FAQ.md +886 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_Primer.md +497 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_PumpManual.md +177 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_XcodeGuide.md +93 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_AdvancedGuide.md +2178 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_Documentation.md +14 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_FAQ.md +1038 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_Primer.md +501 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_PumpManual.md +177 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_Samples.md +14 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_XcodeGuide.md +93 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_AdvancedGuide.md +2181 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_Documentation.md +14 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_FAQ.md +1082 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_Primer.md +501 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_PumpManual.md +177 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_Samples.md +14 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_XcodeGuide.md +93 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/XcodeGuide.md +93 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-death-test.h +294 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-message.h +250 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-param-test.h +1444 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-param-test.h.pump +510 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-printers.h +993 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-spi.h +232 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-test-part.h +179 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-typed-test.h +263 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest.h +2236 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest_pred_impl.h +358 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest_prod.h +58 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/custom/gtest-port.h +69 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/custom/gtest-printers.h +42 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/custom/gtest.h +41 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-death-test-internal.h +319 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-filepath.h +206 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-internal.h +1238 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-linked_ptr.h +243 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-param-util-generated.h +5146 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-param-util-generated.h.pump +286 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-param-util.h +731 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-port-arch.h +93 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-port.h +2554 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-string.h +167 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-tuple.h +1020 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-tuple.h.pump +347 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-type-util.h +3331 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-type-util.h.pump +297 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/m4/acx_pthread.m4 +363 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/m4/gtest.m4 +74 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/make/Makefile +82 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest-md.sln +45 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest-md.vcproj +126 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest.sln +45 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest.vcproj +126 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_main-md.vcproj +129 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_main.vcproj +129 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_prod_test-md.vcproj +164 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_prod_test.vcproj +164 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_unittest-md.vcproj +147 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_unittest.vcproj +147 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/prime_tables.h +123 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample1.cc +68 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample1.h +43 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample10_unittest.cc +144 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample1_unittest.cc +153 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample2.cc +56 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample2.h +85 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample2_unittest.cc +109 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample3-inl.h +172 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample3_unittest.cc +151 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample4.cc +46 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample4.h +53 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample4_unittest.cc +45 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample5_unittest.cc +199 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample6_unittest.cc +224 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample7_unittest.cc +130 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample8_unittest.cc +173 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample9_unittest.cc +160 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/common.py +83 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/fuse_gtest_files.py +253 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/gen_gtest_pred_impl.py +730 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/gtest-config.in +274 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/pump.py +855 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/release_docs.py +158 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/test/Makefile +59 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/upload.py +1387 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/upload_gtest.py +78 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-all.cc +48 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-death-test.cc +1342 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-filepath.cc +387 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-internal-inl.h +1183 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-port.cc +1259 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-printers.cc +373 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-test-part.cc +110 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-typed-test.cc +118 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest.cc +5388 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest_main.cc +38 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-death-test_ex_test.cc +93 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-death-test_test.cc +1427 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-filepath_test.cc +662 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-linked_ptr_test.cc +154 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-listener_test.cc +311 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-message_test.cc +159 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-options_test.cc +215 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-param-test2_test.cc +65 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-param-test_test.cc +1055 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-param-test_test.h +57 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-port_test.cc +1304 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-printers_test.cc +1635 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-test-part_test.cc +208 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-tuple_test.cc +320 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-typed-test2_test.cc +45 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-typed-test_test.cc +380 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-typed-test_test.h +66 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-unittest-api_test.cc +341 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_all_test.cc +47 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_break_on_failure_unittest.py +212 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_break_on_failure_unittest_.cc +88 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_catch_exceptions_test.py +237 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_catch_exceptions_test_.cc +311 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_color_test.py +130 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_color_test_.cc +71 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_env_var_test.py +117 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_env_var_test_.cc +126 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_environment_test.cc +192 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_filter_unittest.py +636 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_filter_unittest_.cc +140 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_help_test.py +172 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_help_test_.cc +46 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_list_tests_unittest.py +207 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_list_tests_unittest_.cc +157 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_main_unittest.cc +45 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_no_test_unittest.cc +56 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_output_test.py +340 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_output_test_.cc +1062 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_output_test_golden_lin.txt +743 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_pred_impl_unittest.cc +2427 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_premature_exit_test.cc +127 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_prod_test.cc +57 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_repeat_test.cc +253 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_shuffle_test.py +325 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_shuffle_test_.cc +103 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_sole_header_test.cc +57 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_stress_test.cc +256 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_test_utils.py +320 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_throw_on_failure_ex_test.cc +92 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_throw_on_failure_test.py +171 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_throw_on_failure_test_.cc +72 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_uninitialized_test.py +70 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_uninitialized_test_.cc +43 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_unittest.cc +7706 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_outfile1_test_.cc +49 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_outfile2_test_.cc +49 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_outfiles_test.py +132 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_output_unittest.py +308 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_output_unittest_.cc +181 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_test_utils.py +194 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/production.cc +36 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/production.h +55 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/DebugProject.xcconfig +30 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/FrameworkTarget.xcconfig +17 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/General.xcconfig +41 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/ReleaseProject.xcconfig +32 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/StaticLibraryTarget.xcconfig +18 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/TestTarget.xcconfig +8 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Resources/Info.plist +30 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/Info.plist +28 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/WidgetFramework.xcodeproj/project.pbxproj +457 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/runtests.sh +62 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/widget.cc +63 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/widget.h +59 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/widget_test.cc +68 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Scripts/runtests.sh +65 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Scripts/versiongenerate.py +100 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/gtest.xcodeproj/project.pbxproj +1135 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/travis.sh +15 -0
- data/ext/rj_schema/rj_schema.cpp +64 -41
- data/lib/rj_schema.rb +1 -1
- metadata +378 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 1a67416e1ea1608900c2cb2eaaa4171700b66cc2ba041ff0c3b1238f4987a57b
|
|
4
|
+
data.tar.gz: faca49b0027dc70baf288ef5a2895db4515cf4caadbbbdf1be7ecb5f48741bcd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 732c91fc1e727478782f5f8570cb610f03a0f3c7f5b99d08935acb3c887255a853b1dd03e7a74e1c8014a2bf23787569d34978fe27743aa02f6f3a7549506b42
|
|
7
|
+
data.tar.gz: d16a2f482a2365dd15aae15240e726a8ffffeb148a56f81e8410cede5ca1fd033c928da902fa1e95b6984b4d078827b47b203086724ffca8ad9955bf252bf346
|
data/Rakefile
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
cmake_minimum_required(VERSION 2.6.2)
|
|
2
|
+
|
|
3
|
+
project( googletest-distribution )
|
|
4
|
+
|
|
5
|
+
enable_testing()
|
|
6
|
+
|
|
7
|
+
option(BUILD_GTEST "Builds the googletest subproject" OFF)
|
|
8
|
+
|
|
9
|
+
#Note that googlemock target already builds googletest
|
|
10
|
+
option(BUILD_GMOCK "Builds the googlemock subproject" ON)
|
|
11
|
+
|
|
12
|
+
if(BUILD_GMOCK)
|
|
13
|
+
add_subdirectory( googlemock )
|
|
14
|
+
elseif(BUILD_GTEST)
|
|
15
|
+
add_subdirectory( googletest )
|
|
16
|
+
endif()
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
|
|
2
|
+
# Google Test #
|
|
3
|
+
|
|
4
|
+
[](https://travis-ci.org/google/googletest)
|
|
5
|
+
|
|
6
|
+
Welcome to **Google Test**, Google's C++ test framework!
|
|
7
|
+
|
|
8
|
+
This repository is a merger of the formerly separate GoogleTest and
|
|
9
|
+
GoogleMock projects. These were so closely related that it makes sense to
|
|
10
|
+
maintain and release them together.
|
|
11
|
+
|
|
12
|
+
Please see the project page above for more information as well as the
|
|
13
|
+
mailing list for questions, discussions, and development. There is
|
|
14
|
+
also an IRC channel on OFTC (irc.oftc.net) #gtest available. Please
|
|
15
|
+
join us!
|
|
16
|
+
|
|
17
|
+
Getting started information for **Google Test** is available in the
|
|
18
|
+
[Google Test Primer](googletest/docs/Primer.md) documentation.
|
|
19
|
+
|
|
20
|
+
**Google Mock** is an extension to Google Test for writing and using C++ mock
|
|
21
|
+
classes. See the separate [Google Mock documentation](googlemock/README.md).
|
|
22
|
+
|
|
23
|
+
More detailed documentation for googletest (including build instructions) are
|
|
24
|
+
in its interior [googletest/README.md](googletest/README.md) file.
|
|
25
|
+
|
|
26
|
+
## Features ##
|
|
27
|
+
|
|
28
|
+
* An [XUnit](https://en.wikipedia.org/wiki/XUnit) test framework.
|
|
29
|
+
* Test discovery.
|
|
30
|
+
* A rich set of assertions.
|
|
31
|
+
* User-defined assertions.
|
|
32
|
+
* Death tests.
|
|
33
|
+
* Fatal and non-fatal failures.
|
|
34
|
+
* Value-parameterized tests.
|
|
35
|
+
* Type-parameterized tests.
|
|
36
|
+
* Various options for running the tests.
|
|
37
|
+
* XML test report generation.
|
|
38
|
+
|
|
39
|
+
## Platforms ##
|
|
40
|
+
|
|
41
|
+
Google test has been used on a variety of platforms:
|
|
42
|
+
|
|
43
|
+
* Linux
|
|
44
|
+
* Mac OS X
|
|
45
|
+
* Windows
|
|
46
|
+
* Cygwin
|
|
47
|
+
* MinGW
|
|
48
|
+
* Windows Mobile
|
|
49
|
+
* Symbian
|
|
50
|
+
|
|
51
|
+
## Who Is Using Google Test? ##
|
|
52
|
+
|
|
53
|
+
In addition to many internal projects at Google, Google Test is also used by
|
|
54
|
+
the following notable projects:
|
|
55
|
+
|
|
56
|
+
* The [Chromium projects](http://www.chromium.org/) (behind the Chrome
|
|
57
|
+
browser and Chrome OS).
|
|
58
|
+
* The [LLVM](http://llvm.org/) compiler.
|
|
59
|
+
* [Protocol Buffers](https://github.com/google/protobuf), Google's data
|
|
60
|
+
interchange format.
|
|
61
|
+
* The [OpenCV](http://opencv.org/) computer vision library.
|
|
62
|
+
|
|
63
|
+
## Related Open Source Projects ##
|
|
64
|
+
|
|
65
|
+
[Google Test UI](https://github.com/ospector/gtest-gbar) is test runner that runs
|
|
66
|
+
your test binary, allows you to track its progress via a progress bar, and
|
|
67
|
+
displays a list of test failures. Clicking on one shows failure text. Google
|
|
68
|
+
Test UI is written in C#.
|
|
69
|
+
|
|
70
|
+
[GTest TAP Listener](https://github.com/kinow/gtest-tap-listener) is an event
|
|
71
|
+
listener for Google Test that implements the
|
|
72
|
+
[TAP protocol](https://en.wikipedia.org/wiki/Test_Anything_Protocol) for test
|
|
73
|
+
result output. If your test runner understands TAP, you may find it useful.
|
|
74
|
+
|
|
75
|
+
## Requirements ##
|
|
76
|
+
|
|
77
|
+
Google Test is designed to have fairly minimal requirements to build
|
|
78
|
+
and use with your projects, but there are some. Currently, we support
|
|
79
|
+
Linux, Windows, Mac OS X, and Cygwin. We will also make our best
|
|
80
|
+
effort to support other platforms (e.g. Solaris, AIX, and z/OS).
|
|
81
|
+
However, since core members of the Google Test project have no access
|
|
82
|
+
to these platforms, Google Test may have outstanding issues there. If
|
|
83
|
+
you notice any problems on your platform, please notify
|
|
84
|
+
<googletestframework@googlegroups.com>. Patches for fixing them are
|
|
85
|
+
even more welcome!
|
|
86
|
+
|
|
87
|
+
### Linux Requirements ###
|
|
88
|
+
|
|
89
|
+
These are the base requirements to build and use Google Test from a source
|
|
90
|
+
package (as described below):
|
|
91
|
+
|
|
92
|
+
* GNU-compatible Make or gmake
|
|
93
|
+
* POSIX-standard shell
|
|
94
|
+
* POSIX(-2) Regular Expressions (regex.h)
|
|
95
|
+
* A C++98-standard-compliant compiler
|
|
96
|
+
|
|
97
|
+
### Windows Requirements ###
|
|
98
|
+
|
|
99
|
+
* Microsoft Visual C++ v7.1 or newer
|
|
100
|
+
|
|
101
|
+
### Cygwin Requirements ###
|
|
102
|
+
|
|
103
|
+
* Cygwin v1.5.25-14 or newer
|
|
104
|
+
|
|
105
|
+
### Mac OS X Requirements ###
|
|
106
|
+
|
|
107
|
+
* Mac OS X v10.4 Tiger or newer
|
|
108
|
+
* Xcode Developer Tools
|
|
109
|
+
|
|
110
|
+
### Requirements for Contributors ###
|
|
111
|
+
|
|
112
|
+
We welcome patches. If you plan to contribute a patch, you need to
|
|
113
|
+
build Google Test and its own tests from a git checkout (described
|
|
114
|
+
below), which has further requirements:
|
|
115
|
+
|
|
116
|
+
* [Python](https://www.python.org/) v2.3 or newer (for running some of
|
|
117
|
+
the tests and re-generating certain source files from templates)
|
|
118
|
+
* [CMake](https://cmake.org/) v2.6.4 or newer
|
|
119
|
+
|
|
120
|
+
## Regenerating Source Files ##
|
|
121
|
+
|
|
122
|
+
Some of Google Test's source files are generated from templates (not
|
|
123
|
+
in the C++ sense) using a script.
|
|
124
|
+
For example, the
|
|
125
|
+
file include/gtest/internal/gtest-type-util.h.pump is used to generate
|
|
126
|
+
gtest-type-util.h in the same directory.
|
|
127
|
+
|
|
128
|
+
You don't need to worry about regenerating the source files
|
|
129
|
+
unless you need to modify them. You would then modify the
|
|
130
|
+
corresponding `.pump` files and run the '[pump.py](googletest/scripts/pump.py)'
|
|
131
|
+
generator script. See the [Pump Manual](googletest/docs/PumpManual.md).
|
|
132
|
+
|
|
133
|
+
### Contributing Code ###
|
|
134
|
+
|
|
135
|
+
We welcome patches. Please read the
|
|
136
|
+
[Developer's Guide](googletest/docs/DevGuide.md)
|
|
137
|
+
for how you can contribute. In particular, make sure you have signed
|
|
138
|
+
the Contributor License Agreement, or we won't be able to accept the
|
|
139
|
+
patch.
|
|
140
|
+
|
|
141
|
+
Happy testing!
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
Changes for 1.7.0:
|
|
2
|
+
|
|
3
|
+
* All new improvements in Google Test 1.7.0.
|
|
4
|
+
* New feature: matchers DoubleNear(), FloatNear(),
|
|
5
|
+
NanSensitiveDoubleNear(), NanSensitiveFloatNear(),
|
|
6
|
+
UnorderedElementsAre(), UnorderedElementsAreArray(), WhenSorted(),
|
|
7
|
+
WhenSortedBy(), IsEmpty(), and SizeIs().
|
|
8
|
+
* Improvement: Google Mock can now be built as a DLL.
|
|
9
|
+
* Improvement: when compiled by a C++11 compiler, matchers AllOf()
|
|
10
|
+
and AnyOf() can accept an arbitrary number of matchers.
|
|
11
|
+
* Improvement: when compiled by a C++11 compiler, matchers
|
|
12
|
+
ElementsAreArray() can accept an initializer list.
|
|
13
|
+
* Improvement: when exceptions are enabled, a mock method with no
|
|
14
|
+
default action now throws instead crashing the test.
|
|
15
|
+
* Improvement: added class testing::StringMatchResultListener to aid
|
|
16
|
+
definition of composite matchers.
|
|
17
|
+
* Improvement: function return types used in MOCK_METHOD*() macros can
|
|
18
|
+
now contain unprotected commas.
|
|
19
|
+
* Improvement (potentially breaking): EXPECT_THAT() and ASSERT_THAT()
|
|
20
|
+
are now more strict in ensuring that the value type and the matcher
|
|
21
|
+
type are compatible, catching potential bugs in tests.
|
|
22
|
+
* Improvement: Pointee() now works on an optional<T>.
|
|
23
|
+
* Improvement: the ElementsAreArray() matcher can now take a vector or
|
|
24
|
+
iterator range as input, and makes a copy of its input elements
|
|
25
|
+
before the conversion to a Matcher.
|
|
26
|
+
* Improvement: the Google Mock Generator can now generate mocks for
|
|
27
|
+
some class templates.
|
|
28
|
+
* Bug fix: mock object destruction triggerred by another mock object's
|
|
29
|
+
destruction no longer hangs.
|
|
30
|
+
* Improvement: Google Mock Doctor works better with newer Clang and
|
|
31
|
+
GCC now.
|
|
32
|
+
* Compatibility fixes.
|
|
33
|
+
* Bug/warning fixes.
|
|
34
|
+
|
|
35
|
+
Changes for 1.6.0:
|
|
36
|
+
|
|
37
|
+
* Compilation is much faster and uses much less memory, especially
|
|
38
|
+
when the constructor and destructor of a mock class are moved out of
|
|
39
|
+
the class body.
|
|
40
|
+
* New matchers: Pointwise(), Each().
|
|
41
|
+
* New actions: ReturnPointee() and ReturnRefOfCopy().
|
|
42
|
+
* CMake support.
|
|
43
|
+
* Project files for Visual Studio 2010.
|
|
44
|
+
* AllOf() and AnyOf() can handle up-to 10 arguments now.
|
|
45
|
+
* Google Mock doctor understands Clang error messages now.
|
|
46
|
+
* SetArgPointee<> now accepts string literals.
|
|
47
|
+
* gmock_gen.py handles storage specifier macros and template return
|
|
48
|
+
types now.
|
|
49
|
+
* Compatibility fixes.
|
|
50
|
+
* Bug fixes and implementation clean-ups.
|
|
51
|
+
* Potentially incompatible changes: disables the harmful 'make install'
|
|
52
|
+
command in autotools.
|
|
53
|
+
|
|
54
|
+
Potentially breaking changes:
|
|
55
|
+
|
|
56
|
+
* The description string for MATCHER*() changes from Python-style
|
|
57
|
+
interpolation to an ordinary C++ string expression.
|
|
58
|
+
* SetArgumentPointee is deprecated in favor of SetArgPointee.
|
|
59
|
+
* Some non-essential project files for Visual Studio 2005 are removed.
|
|
60
|
+
|
|
61
|
+
Changes for 1.5.0:
|
|
62
|
+
|
|
63
|
+
* New feature: Google Mock can be safely used in multi-threaded tests
|
|
64
|
+
on platforms having pthreads.
|
|
65
|
+
* New feature: function for printing a value of arbitrary type.
|
|
66
|
+
* New feature: function ExplainMatchResult() for easy definition of
|
|
67
|
+
composite matchers.
|
|
68
|
+
* The new matcher API lets user-defined matchers generate custom
|
|
69
|
+
explanations more directly and efficiently.
|
|
70
|
+
* Better failure messages all around.
|
|
71
|
+
* NotNull() and IsNull() now work with smart pointers.
|
|
72
|
+
* Field() and Property() now work when the matcher argument is a pointer
|
|
73
|
+
passed by reference.
|
|
74
|
+
* Regular expression matchers on all platforms.
|
|
75
|
+
* Added GCC 4.0 support for Google Mock Doctor.
|
|
76
|
+
* Added gmock_all_test.cc for compiling most Google Mock tests
|
|
77
|
+
in a single file.
|
|
78
|
+
* Significantly cleaned up compiler warnings.
|
|
79
|
+
* Bug fixes, better test coverage, and implementation clean-ups.
|
|
80
|
+
|
|
81
|
+
Potentially breaking changes:
|
|
82
|
+
|
|
83
|
+
* Custom matchers defined using MatcherInterface or MakePolymorphicMatcher()
|
|
84
|
+
need to be updated after upgrading to Google Mock 1.5.0; matchers defined
|
|
85
|
+
using MATCHER or MATCHER_P* aren't affected.
|
|
86
|
+
* Dropped support for 'make install'.
|
|
87
|
+
|
|
88
|
+
Changes for 1.4.0 (we skipped 1.2.* and 1.3.* to match the version of
|
|
89
|
+
Google Test):
|
|
90
|
+
|
|
91
|
+
* Works in more environments: Symbian and minGW, Visual C++ 7.1.
|
|
92
|
+
* Lighter weight: comes with our own implementation of TR1 tuple (no
|
|
93
|
+
more dependency on Boost!).
|
|
94
|
+
* New feature: --gmock_catch_leaked_mocks for detecting leaked mocks.
|
|
95
|
+
* New feature: ACTION_TEMPLATE for defining templatized actions.
|
|
96
|
+
* New feature: the .After() clause for specifying expectation order.
|
|
97
|
+
* New feature: the .With() clause for for specifying inter-argument
|
|
98
|
+
constraints.
|
|
99
|
+
* New feature: actions ReturnArg<k>(), ReturnNew<T>(...), and
|
|
100
|
+
DeleteArg<k>().
|
|
101
|
+
* New feature: matchers Key(), Pair(), Args<...>(), AllArgs(), IsNull(),
|
|
102
|
+
and Contains().
|
|
103
|
+
* New feature: utility class MockFunction<F>, useful for checkpoints, etc.
|
|
104
|
+
* New feature: functions Value(x, m) and SafeMatcherCast<T>(m).
|
|
105
|
+
* New feature: copying a mock object is rejected at compile time.
|
|
106
|
+
* New feature: a script for fusing all Google Mock and Google Test
|
|
107
|
+
source files for easy deployment.
|
|
108
|
+
* Improved the Google Mock doctor to diagnose more diseases.
|
|
109
|
+
* Improved the Google Mock generator script.
|
|
110
|
+
* Compatibility fixes for Mac OS X and gcc.
|
|
111
|
+
* Bug fixes and implementation clean-ups.
|
|
112
|
+
|
|
113
|
+
Changes for 1.1.0:
|
|
114
|
+
|
|
115
|
+
* New feature: ability to use Google Mock with any testing framework.
|
|
116
|
+
* New feature: macros for easily defining new matchers
|
|
117
|
+
* New feature: macros for easily defining new actions.
|
|
118
|
+
* New feature: more container matchers.
|
|
119
|
+
* New feature: actions for accessing function arguments and throwing
|
|
120
|
+
exceptions.
|
|
121
|
+
* Improved the Google Mock doctor script for diagnosing compiler errors.
|
|
122
|
+
* Bug fixes and implementation clean-ups.
|
|
123
|
+
|
|
124
|
+
Changes for 1.0.0:
|
|
125
|
+
|
|
126
|
+
* Initial Open Source release of Google Mock
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
########################################################################
|
|
2
|
+
# CMake build script for Google Mock.
|
|
3
|
+
#
|
|
4
|
+
# To run the tests for Google Mock itself on Linux, use 'make test' or
|
|
5
|
+
# ctest. You can select which tests to run using 'ctest -R regex'.
|
|
6
|
+
# For more options, run 'ctest --help'.
|
|
7
|
+
|
|
8
|
+
# BUILD_SHARED_LIBS is a standard CMake variable, but we declare it here to
|
|
9
|
+
# make it prominent in the GUI.
|
|
10
|
+
option(BUILD_SHARED_LIBS "Build shared libraries (DLLs)." OFF)
|
|
11
|
+
|
|
12
|
+
option(gmock_build_tests "Build all of Google Mock's own tests." OFF)
|
|
13
|
+
|
|
14
|
+
# A directory to find Google Test sources.
|
|
15
|
+
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/gtest/CMakeLists.txt")
|
|
16
|
+
set(gtest_dir gtest)
|
|
17
|
+
else()
|
|
18
|
+
set(gtest_dir ../googletest)
|
|
19
|
+
endif()
|
|
20
|
+
|
|
21
|
+
# Defines pre_project_set_up_hermetic_build() and set_up_hermetic_build().
|
|
22
|
+
include("${gtest_dir}/cmake/hermetic_build.cmake" OPTIONAL)
|
|
23
|
+
|
|
24
|
+
if (COMMAND pre_project_set_up_hermetic_build)
|
|
25
|
+
# Google Test also calls hermetic setup functions from add_subdirectory,
|
|
26
|
+
# although its changes will not affect things at the current scope.
|
|
27
|
+
pre_project_set_up_hermetic_build()
|
|
28
|
+
endif()
|
|
29
|
+
|
|
30
|
+
########################################################################
|
|
31
|
+
#
|
|
32
|
+
# Project-wide settings
|
|
33
|
+
|
|
34
|
+
# Name of the project.
|
|
35
|
+
#
|
|
36
|
+
# CMake files in this project can refer to the root source directory
|
|
37
|
+
# as ${gmock_SOURCE_DIR} and to the root binary directory as
|
|
38
|
+
# ${gmock_BINARY_DIR}.
|
|
39
|
+
# Language "C" is required for find_package(Threads).
|
|
40
|
+
project(gmock CXX C)
|
|
41
|
+
cmake_minimum_required(VERSION 2.6.2)
|
|
42
|
+
|
|
43
|
+
if (COMMAND set_up_hermetic_build)
|
|
44
|
+
set_up_hermetic_build()
|
|
45
|
+
endif()
|
|
46
|
+
|
|
47
|
+
# Instructs CMake to process Google Test's CMakeLists.txt and add its
|
|
48
|
+
# targets to the current scope. We are placing Google Test's binary
|
|
49
|
+
# directory in a subdirectory of our own as VC compilation may break
|
|
50
|
+
# if they are the same (the default).
|
|
51
|
+
add_subdirectory("${gtest_dir}" "${gmock_BINARY_DIR}/gtest")
|
|
52
|
+
|
|
53
|
+
# Although Google Test's CMakeLists.txt calls this function, the
|
|
54
|
+
# changes there don't affect the current scope. Therefore we have to
|
|
55
|
+
# call it again here.
|
|
56
|
+
config_compiler_and_linker() # from ${gtest_dir}/cmake/internal_utils.cmake
|
|
57
|
+
|
|
58
|
+
# Adds Google Mock's and Google Test's header directories to the search path.
|
|
59
|
+
include_directories("${gmock_SOURCE_DIR}/include"
|
|
60
|
+
"${gmock_SOURCE_DIR}"
|
|
61
|
+
"${gtest_SOURCE_DIR}/include"
|
|
62
|
+
# This directory is needed to build directly from Google
|
|
63
|
+
# Test sources.
|
|
64
|
+
"${gtest_SOURCE_DIR}")
|
|
65
|
+
|
|
66
|
+
# Summary of tuple support for Microsoft Visual Studio:
|
|
67
|
+
# Compiler version(MS) version(cmake) Support
|
|
68
|
+
# ---------- ----------- -------------- -----------------------------
|
|
69
|
+
# <= VS 2010 <= 10 <= 1600 Use Google Tests's own tuple.
|
|
70
|
+
# VS 2012 11 1700 std::tr1::tuple + _VARIADIC_MAX=10
|
|
71
|
+
# VS 2013 12 1800 std::tr1::tuple
|
|
72
|
+
if (MSVC AND MSVC_VERSION EQUAL 1700)
|
|
73
|
+
add_definitions(/D _VARIADIC_MAX=10)
|
|
74
|
+
endif()
|
|
75
|
+
|
|
76
|
+
########################################################################
|
|
77
|
+
#
|
|
78
|
+
# Defines the gmock & gmock_main libraries. User tests should link
|
|
79
|
+
# with one of them.
|
|
80
|
+
|
|
81
|
+
# Google Mock libraries. We build them using more strict warnings than what
|
|
82
|
+
# are used for other targets, to ensure that Google Mock can be compiled by
|
|
83
|
+
# a user aggressive about warnings.
|
|
84
|
+
cxx_library(gmock
|
|
85
|
+
"${cxx_strict}"
|
|
86
|
+
"${gtest_dir}/src/gtest-all.cc"
|
|
87
|
+
src/gmock-all.cc)
|
|
88
|
+
|
|
89
|
+
cxx_library(gmock_main
|
|
90
|
+
"${cxx_strict}"
|
|
91
|
+
"${gtest_dir}/src/gtest-all.cc"
|
|
92
|
+
src/gmock-all.cc
|
|
93
|
+
src/gmock_main.cc)
|
|
94
|
+
|
|
95
|
+
# If the CMake version supports it, attach header directory information
|
|
96
|
+
# to the targets for when we are part of a parent build (ie being pulled
|
|
97
|
+
# in via add_subdirectory() rather than being a standalone build).
|
|
98
|
+
if (DEFINED CMAKE_VERSION AND NOT "${CMAKE_VERSION}" VERSION_LESS "2.8.11")
|
|
99
|
+
target_include_directories(gmock INTERFACE "${gmock_SOURCE_DIR}/include")
|
|
100
|
+
target_include_directories(gmock_main INTERFACE "${gmock_SOURCE_DIR}/include")
|
|
101
|
+
endif()
|
|
102
|
+
|
|
103
|
+
########################################################################
|
|
104
|
+
#
|
|
105
|
+
# Install rules
|
|
106
|
+
install(TARGETS gmock gmock_main
|
|
107
|
+
DESTINATION lib)
|
|
108
|
+
install(DIRECTORY ${gmock_SOURCE_DIR}/include/gmock
|
|
109
|
+
DESTINATION include)
|
|
110
|
+
|
|
111
|
+
########################################################################
|
|
112
|
+
#
|
|
113
|
+
# Google Mock's own tests.
|
|
114
|
+
#
|
|
115
|
+
# You can skip this section if you aren't interested in testing
|
|
116
|
+
# Google Mock itself.
|
|
117
|
+
#
|
|
118
|
+
# The tests are not built by default. To build them, set the
|
|
119
|
+
# gmock_build_tests option to ON. You can do it by running ccmake
|
|
120
|
+
# or specifying the -Dgmock_build_tests=ON flag when running cmake.
|
|
121
|
+
|
|
122
|
+
if (gmock_build_tests)
|
|
123
|
+
# This must be set in the root directory for the tests to be run by
|
|
124
|
+
# 'make test' or ctest.
|
|
125
|
+
enable_testing()
|
|
126
|
+
|
|
127
|
+
############################################################
|
|
128
|
+
# C++ tests built with standard compiler flags.
|
|
129
|
+
|
|
130
|
+
cxx_test(gmock-actions_test gmock_main)
|
|
131
|
+
cxx_test(gmock-cardinalities_test gmock_main)
|
|
132
|
+
cxx_test(gmock_ex_test gmock_main)
|
|
133
|
+
cxx_test(gmock-generated-actions_test gmock_main)
|
|
134
|
+
cxx_test(gmock-generated-function-mockers_test gmock_main)
|
|
135
|
+
cxx_test(gmock-generated-internal-utils_test gmock_main)
|
|
136
|
+
cxx_test(gmock-generated-matchers_test gmock_main)
|
|
137
|
+
cxx_test(gmock-internal-utils_test gmock_main)
|
|
138
|
+
cxx_test(gmock-matchers_test gmock_main)
|
|
139
|
+
cxx_test(gmock-more-actions_test gmock_main)
|
|
140
|
+
cxx_test(gmock-nice-strict_test gmock_main)
|
|
141
|
+
cxx_test(gmock-port_test gmock_main)
|
|
142
|
+
cxx_test(gmock-spec-builders_test gmock_main)
|
|
143
|
+
cxx_test(gmock_link_test gmock_main test/gmock_link2_test.cc)
|
|
144
|
+
cxx_test(gmock_test gmock_main)
|
|
145
|
+
|
|
146
|
+
if (CMAKE_USE_PTHREADS_INIT)
|
|
147
|
+
cxx_test(gmock_stress_test gmock)
|
|
148
|
+
endif()
|
|
149
|
+
|
|
150
|
+
# gmock_all_test is commented to save time building and running tests.
|
|
151
|
+
# Uncomment if necessary.
|
|
152
|
+
# cxx_test(gmock_all_test gmock_main)
|
|
153
|
+
|
|
154
|
+
############################################################
|
|
155
|
+
# C++ tests built with non-standard compiler flags.
|
|
156
|
+
|
|
157
|
+
cxx_library(gmock_main_no_exception "${cxx_no_exception}"
|
|
158
|
+
"${gtest_dir}/src/gtest-all.cc" src/gmock-all.cc src/gmock_main.cc)
|
|
159
|
+
|
|
160
|
+
cxx_library(gmock_main_no_rtti "${cxx_no_rtti}"
|
|
161
|
+
"${gtest_dir}/src/gtest-all.cc" src/gmock-all.cc src/gmock_main.cc)
|
|
162
|
+
|
|
163
|
+
if (NOT MSVC OR MSVC_VERSION LESS 1600) # 1600 is Visual Studio 2010.
|
|
164
|
+
# Visual Studio 2010, 2012, and 2013 define symbols in std::tr1 that
|
|
165
|
+
# conflict with our own definitions. Therefore using our own tuple does not
|
|
166
|
+
# work on those compilers.
|
|
167
|
+
cxx_library(gmock_main_use_own_tuple "${cxx_use_own_tuple}"
|
|
168
|
+
"${gtest_dir}/src/gtest-all.cc" src/gmock-all.cc src/gmock_main.cc)
|
|
169
|
+
|
|
170
|
+
cxx_test_with_flags(gmock_use_own_tuple_test "${cxx_use_own_tuple}"
|
|
171
|
+
gmock_main_use_own_tuple test/gmock-spec-builders_test.cc)
|
|
172
|
+
endif()
|
|
173
|
+
|
|
174
|
+
cxx_test_with_flags(gmock-more-actions_no_exception_test "${cxx_no_exception}"
|
|
175
|
+
gmock_main_no_exception test/gmock-more-actions_test.cc)
|
|
176
|
+
|
|
177
|
+
cxx_test_with_flags(gmock_no_rtti_test "${cxx_no_rtti}"
|
|
178
|
+
gmock_main_no_rtti test/gmock-spec-builders_test.cc)
|
|
179
|
+
|
|
180
|
+
cxx_shared_library(shared_gmock_main "${cxx_default}"
|
|
181
|
+
"${gtest_dir}/src/gtest-all.cc" src/gmock-all.cc src/gmock_main.cc)
|
|
182
|
+
|
|
183
|
+
# Tests that a binary can be built with Google Mock as a shared library. On
|
|
184
|
+
# some system configurations, it may not possible to run the binary without
|
|
185
|
+
# knowing more details about the system configurations. We do not try to run
|
|
186
|
+
# this binary. To get a more robust shared library coverage, configure with
|
|
187
|
+
# -DBUILD_SHARED_LIBS=ON.
|
|
188
|
+
cxx_executable_with_flags(shared_gmock_test_ "${cxx_default}"
|
|
189
|
+
shared_gmock_main test/gmock-spec-builders_test.cc)
|
|
190
|
+
set_target_properties(shared_gmock_test_
|
|
191
|
+
PROPERTIES
|
|
192
|
+
COMPILE_DEFINITIONS "GTEST_LINKED_AS_SHARED_LIBRARY=1")
|
|
193
|
+
|
|
194
|
+
############################################################
|
|
195
|
+
# Python tests.
|
|
196
|
+
|
|
197
|
+
cxx_executable(gmock_leak_test_ test gmock_main)
|
|
198
|
+
py_test(gmock_leak_test)
|
|
199
|
+
|
|
200
|
+
cxx_executable(gmock_output_test_ test gmock)
|
|
201
|
+
py_test(gmock_output_test)
|
|
202
|
+
endif()
|