rj_schema 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -0,0 +1,286 @@
|
|
1
|
+
########################################################################
|
2
|
+
# CMake build script for Google Test.
|
3
|
+
#
|
4
|
+
# To run the tests for Google Test 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
|
+
# When other libraries are using a shared version of runtime libraries,
|
13
|
+
# Google Test also has to use one.
|
14
|
+
option(
|
15
|
+
gtest_force_shared_crt
|
16
|
+
"Use shared (DLL) run-time lib even when Google Test is built as static lib."
|
17
|
+
OFF)
|
18
|
+
|
19
|
+
option(gtest_build_tests "Build all of gtest's own tests." OFF)
|
20
|
+
|
21
|
+
option(gtest_build_samples "Build gtest's sample programs." OFF)
|
22
|
+
|
23
|
+
option(gtest_disable_pthreads "Disable uses of pthreads in gtest." OFF)
|
24
|
+
|
25
|
+
option(
|
26
|
+
gtest_hide_internal_symbols
|
27
|
+
"Build gtest with internal symbols hidden in shared libraries."
|
28
|
+
OFF)
|
29
|
+
|
30
|
+
# Defines pre_project_set_up_hermetic_build() and set_up_hermetic_build().
|
31
|
+
include(cmake/hermetic_build.cmake OPTIONAL)
|
32
|
+
|
33
|
+
if (COMMAND pre_project_set_up_hermetic_build)
|
34
|
+
pre_project_set_up_hermetic_build()
|
35
|
+
endif()
|
36
|
+
|
37
|
+
########################################################################
|
38
|
+
#
|
39
|
+
# Project-wide settings
|
40
|
+
|
41
|
+
# Name of the project.
|
42
|
+
#
|
43
|
+
# CMake files in this project can refer to the root source directory
|
44
|
+
# as ${gtest_SOURCE_DIR} and to the root binary directory as
|
45
|
+
# ${gtest_BINARY_DIR}.
|
46
|
+
# Language "C" is required for find_package(Threads).
|
47
|
+
project(gtest CXX C)
|
48
|
+
cmake_minimum_required(VERSION 2.6.2)
|
49
|
+
|
50
|
+
if (COMMAND set_up_hermetic_build)
|
51
|
+
set_up_hermetic_build()
|
52
|
+
endif()
|
53
|
+
|
54
|
+
if (gtest_hide_internal_symbols)
|
55
|
+
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
|
56
|
+
set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
|
57
|
+
endif()
|
58
|
+
|
59
|
+
# Define helper functions and macros used by Google Test.
|
60
|
+
include(cmake/internal_utils.cmake)
|
61
|
+
|
62
|
+
config_compiler_and_linker() # Defined in internal_utils.cmake.
|
63
|
+
|
64
|
+
# Where Google Test's .h files can be found.
|
65
|
+
include_directories(
|
66
|
+
${gtest_SOURCE_DIR}/include
|
67
|
+
${gtest_SOURCE_DIR})
|
68
|
+
|
69
|
+
# Where Google Test's libraries can be found.
|
70
|
+
link_directories(${gtest_BINARY_DIR}/src)
|
71
|
+
|
72
|
+
# Summary of tuple support for Microsoft Visual Studio:
|
73
|
+
# Compiler version(MS) version(cmake) Support
|
74
|
+
# ---------- ----------- -------------- -----------------------------
|
75
|
+
# <= VS 2010 <= 10 <= 1600 Use Google Tests's own tuple.
|
76
|
+
# VS 2012 11 1700 std::tr1::tuple + _VARIADIC_MAX=10
|
77
|
+
# VS 2013 12 1800 std::tr1::tuple
|
78
|
+
if (MSVC AND MSVC_VERSION EQUAL 1700)
|
79
|
+
add_definitions(/D _VARIADIC_MAX=10)
|
80
|
+
endif()
|
81
|
+
|
82
|
+
########################################################################
|
83
|
+
#
|
84
|
+
# Defines the gtest & gtest_main libraries. User tests should link
|
85
|
+
# with one of them.
|
86
|
+
|
87
|
+
# Google Test libraries. We build them using more strict warnings than what
|
88
|
+
# are used for other targets, to ensure that gtest can be compiled by a user
|
89
|
+
# aggressive about warnings.
|
90
|
+
cxx_library(gtest "${cxx_strict}" src/gtest-all.cc)
|
91
|
+
cxx_library(gtest_main "${cxx_strict}" src/gtest_main.cc)
|
92
|
+
target_link_libraries(gtest_main gtest)
|
93
|
+
|
94
|
+
# If the CMake version supports it, attach header directory information
|
95
|
+
# to the targets for when we are part of a parent build (ie being pulled
|
96
|
+
# in via add_subdirectory() rather than being a standalone build).
|
97
|
+
if (DEFINED CMAKE_VERSION AND NOT "${CMAKE_VERSION}" VERSION_LESS "2.8.11")
|
98
|
+
target_include_directories(gtest INTERFACE "${gtest_SOURCE_DIR}/include")
|
99
|
+
target_include_directories(gtest_main INTERFACE "${gtest_SOURCE_DIR}/include")
|
100
|
+
endif()
|
101
|
+
|
102
|
+
########################################################################
|
103
|
+
#
|
104
|
+
# Install rules
|
105
|
+
install(TARGETS gtest gtest_main
|
106
|
+
DESTINATION lib)
|
107
|
+
install(DIRECTORY ${gtest_SOURCE_DIR}/include/gtest
|
108
|
+
DESTINATION include)
|
109
|
+
|
110
|
+
########################################################################
|
111
|
+
#
|
112
|
+
# Samples on how to link user tests with gtest or gtest_main.
|
113
|
+
#
|
114
|
+
# They are not built by default. To build them, set the
|
115
|
+
# gtest_build_samples option to ON. You can do it by running ccmake
|
116
|
+
# or specifying the -Dgtest_build_samples=ON flag when running cmake.
|
117
|
+
|
118
|
+
if (gtest_build_samples)
|
119
|
+
cxx_executable(sample1_unittest samples gtest_main samples/sample1.cc)
|
120
|
+
cxx_executable(sample2_unittest samples gtest_main samples/sample2.cc)
|
121
|
+
cxx_executable(sample3_unittest samples gtest_main)
|
122
|
+
cxx_executable(sample4_unittest samples gtest_main samples/sample4.cc)
|
123
|
+
cxx_executable(sample5_unittest samples gtest_main samples/sample1.cc)
|
124
|
+
cxx_executable(sample6_unittest samples gtest_main)
|
125
|
+
cxx_executable(sample7_unittest samples gtest_main)
|
126
|
+
cxx_executable(sample8_unittest samples gtest_main)
|
127
|
+
cxx_executable(sample9_unittest samples gtest)
|
128
|
+
cxx_executable(sample10_unittest samples gtest)
|
129
|
+
endif()
|
130
|
+
|
131
|
+
########################################################################
|
132
|
+
#
|
133
|
+
# Google Test's own tests.
|
134
|
+
#
|
135
|
+
# You can skip this section if you aren't interested in testing
|
136
|
+
# Google Test itself.
|
137
|
+
#
|
138
|
+
# The tests are not built by default. To build them, set the
|
139
|
+
# gtest_build_tests option to ON. You can do it by running ccmake
|
140
|
+
# or specifying the -Dgtest_build_tests=ON flag when running cmake.
|
141
|
+
|
142
|
+
if (gtest_build_tests)
|
143
|
+
# This must be set in the root directory for the tests to be run by
|
144
|
+
# 'make test' or ctest.
|
145
|
+
enable_testing()
|
146
|
+
|
147
|
+
############################################################
|
148
|
+
# C++ tests built with standard compiler flags.
|
149
|
+
|
150
|
+
cxx_test(gtest-death-test_test gtest_main)
|
151
|
+
cxx_test(gtest_environment_test gtest)
|
152
|
+
cxx_test(gtest-filepath_test gtest_main)
|
153
|
+
cxx_test(gtest-linked_ptr_test gtest_main)
|
154
|
+
cxx_test(gtest-listener_test gtest_main)
|
155
|
+
cxx_test(gtest_main_unittest gtest_main)
|
156
|
+
cxx_test(gtest-message_test gtest_main)
|
157
|
+
cxx_test(gtest_no_test_unittest gtest)
|
158
|
+
cxx_test(gtest-options_test gtest_main)
|
159
|
+
cxx_test(gtest-param-test_test gtest
|
160
|
+
test/gtest-param-test2_test.cc)
|
161
|
+
cxx_test(gtest-port_test gtest_main)
|
162
|
+
cxx_test(gtest_pred_impl_unittest gtest_main)
|
163
|
+
cxx_test(gtest_premature_exit_test gtest
|
164
|
+
test/gtest_premature_exit_test.cc)
|
165
|
+
cxx_test(gtest-printers_test gtest_main)
|
166
|
+
cxx_test(gtest_prod_test gtest_main
|
167
|
+
test/production.cc)
|
168
|
+
cxx_test(gtest_repeat_test gtest)
|
169
|
+
cxx_test(gtest_sole_header_test gtest_main)
|
170
|
+
cxx_test(gtest_stress_test gtest)
|
171
|
+
cxx_test(gtest-test-part_test gtest_main)
|
172
|
+
cxx_test(gtest_throw_on_failure_ex_test gtest)
|
173
|
+
cxx_test(gtest-typed-test_test gtest_main
|
174
|
+
test/gtest-typed-test2_test.cc)
|
175
|
+
cxx_test(gtest_unittest gtest_main)
|
176
|
+
cxx_test(gtest-unittest-api_test gtest)
|
177
|
+
|
178
|
+
############################################################
|
179
|
+
# C++ tests built with non-standard compiler flags.
|
180
|
+
|
181
|
+
# MSVC 7.1 does not support STL with exceptions disabled.
|
182
|
+
if (NOT MSVC OR MSVC_VERSION GREATER 1310)
|
183
|
+
cxx_library(gtest_no_exception "${cxx_no_exception}"
|
184
|
+
src/gtest-all.cc)
|
185
|
+
cxx_library(gtest_main_no_exception "${cxx_no_exception}"
|
186
|
+
src/gtest-all.cc src/gtest_main.cc)
|
187
|
+
endif()
|
188
|
+
cxx_library(gtest_main_no_rtti "${cxx_no_rtti}"
|
189
|
+
src/gtest-all.cc src/gtest_main.cc)
|
190
|
+
|
191
|
+
cxx_test_with_flags(gtest-death-test_ex_nocatch_test
|
192
|
+
"${cxx_exception} -DGTEST_ENABLE_CATCH_EXCEPTIONS_=0"
|
193
|
+
gtest test/gtest-death-test_ex_test.cc)
|
194
|
+
cxx_test_with_flags(gtest-death-test_ex_catch_test
|
195
|
+
"${cxx_exception} -DGTEST_ENABLE_CATCH_EXCEPTIONS_=1"
|
196
|
+
gtest test/gtest-death-test_ex_test.cc)
|
197
|
+
|
198
|
+
cxx_test_with_flags(gtest_no_rtti_unittest "${cxx_no_rtti}"
|
199
|
+
gtest_main_no_rtti test/gtest_unittest.cc)
|
200
|
+
|
201
|
+
cxx_shared_library(gtest_dll "${cxx_default}"
|
202
|
+
src/gtest-all.cc src/gtest_main.cc)
|
203
|
+
|
204
|
+
cxx_executable_with_flags(gtest_dll_test_ "${cxx_default}"
|
205
|
+
gtest_dll test/gtest_all_test.cc)
|
206
|
+
set_target_properties(gtest_dll_test_
|
207
|
+
PROPERTIES
|
208
|
+
COMPILE_DEFINITIONS "GTEST_LINKED_AS_SHARED_LIBRARY=1")
|
209
|
+
|
210
|
+
if (NOT MSVC OR MSVC_VERSION LESS 1600) # 1600 is Visual Studio 2010.
|
211
|
+
# Visual Studio 2010, 2012, and 2013 define symbols in std::tr1 that
|
212
|
+
# conflict with our own definitions. Therefore using our own tuple does not
|
213
|
+
# work on those compilers.
|
214
|
+
cxx_library(gtest_main_use_own_tuple "${cxx_use_own_tuple}"
|
215
|
+
src/gtest-all.cc src/gtest_main.cc)
|
216
|
+
|
217
|
+
cxx_test_with_flags(gtest-tuple_test "${cxx_use_own_tuple}"
|
218
|
+
gtest_main_use_own_tuple test/gtest-tuple_test.cc)
|
219
|
+
|
220
|
+
cxx_test_with_flags(gtest_use_own_tuple_test "${cxx_use_own_tuple}"
|
221
|
+
gtest_main_use_own_tuple
|
222
|
+
test/gtest-param-test_test.cc test/gtest-param-test2_test.cc)
|
223
|
+
endif()
|
224
|
+
|
225
|
+
############################################################
|
226
|
+
# Python tests.
|
227
|
+
|
228
|
+
cxx_executable(gtest_break_on_failure_unittest_ test gtest)
|
229
|
+
py_test(gtest_break_on_failure_unittest)
|
230
|
+
|
231
|
+
# Visual Studio .NET 2003 does not support STL with exceptions disabled.
|
232
|
+
if (NOT MSVC OR MSVC_VERSION GREATER 1310) # 1310 is Visual Studio .NET 2003
|
233
|
+
cxx_executable_with_flags(
|
234
|
+
gtest_catch_exceptions_no_ex_test_
|
235
|
+
"${cxx_no_exception}"
|
236
|
+
gtest_main_no_exception
|
237
|
+
test/gtest_catch_exceptions_test_.cc)
|
238
|
+
endif()
|
239
|
+
|
240
|
+
cxx_executable_with_flags(
|
241
|
+
gtest_catch_exceptions_ex_test_
|
242
|
+
"${cxx_exception}"
|
243
|
+
gtest_main
|
244
|
+
test/gtest_catch_exceptions_test_.cc)
|
245
|
+
py_test(gtest_catch_exceptions_test)
|
246
|
+
|
247
|
+
cxx_executable(gtest_color_test_ test gtest)
|
248
|
+
py_test(gtest_color_test)
|
249
|
+
|
250
|
+
cxx_executable(gtest_env_var_test_ test gtest)
|
251
|
+
py_test(gtest_env_var_test)
|
252
|
+
|
253
|
+
cxx_executable(gtest_filter_unittest_ test gtest)
|
254
|
+
py_test(gtest_filter_unittest)
|
255
|
+
|
256
|
+
cxx_executable(gtest_help_test_ test gtest_main)
|
257
|
+
py_test(gtest_help_test)
|
258
|
+
|
259
|
+
cxx_executable(gtest_list_tests_unittest_ test gtest)
|
260
|
+
py_test(gtest_list_tests_unittest)
|
261
|
+
|
262
|
+
cxx_executable(gtest_output_test_ test gtest)
|
263
|
+
py_test(gtest_output_test)
|
264
|
+
|
265
|
+
cxx_executable(gtest_shuffle_test_ test gtest)
|
266
|
+
py_test(gtest_shuffle_test)
|
267
|
+
|
268
|
+
# MSVC 7.1 does not support STL with exceptions disabled.
|
269
|
+
if (NOT MSVC OR MSVC_VERSION GREATER 1310)
|
270
|
+
cxx_executable(gtest_throw_on_failure_test_ test gtest_no_exception)
|
271
|
+
set_target_properties(gtest_throw_on_failure_test_
|
272
|
+
PROPERTIES
|
273
|
+
COMPILE_FLAGS "${cxx_no_exception}")
|
274
|
+
py_test(gtest_throw_on_failure_test)
|
275
|
+
endif()
|
276
|
+
|
277
|
+
cxx_executable(gtest_uninitialized_test_ test gtest)
|
278
|
+
py_test(gtest_uninitialized_test)
|
279
|
+
|
280
|
+
cxx_executable(gtest_xml_outfile1_test_ test gtest_main)
|
281
|
+
cxx_executable(gtest_xml_outfile2_test_ test gtest_main)
|
282
|
+
py_test(gtest_xml_outfiles_test)
|
283
|
+
|
284
|
+
cxx_executable(gtest_xml_output_unittest_ test gtest)
|
285
|
+
py_test(gtest_xml_output_unittest)
|
286
|
+
endif()
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# This file contains a list of people who've made non-trivial
|
2
|
+
# contribution to the Google C++ Testing Framework project. People
|
3
|
+
# who commit code to the project are encouraged to add their names
|
4
|
+
# here. Please keep the list sorted by first names.
|
5
|
+
|
6
|
+
Ajay Joshi <jaj@google.com>
|
7
|
+
Balázs Dán <balazs.dan@gmail.com>
|
8
|
+
Bharat Mediratta <bharat@menalto.com>
|
9
|
+
Chandler Carruth <chandlerc@google.com>
|
10
|
+
Chris Prince <cprince@google.com>
|
11
|
+
Chris Taylor <taylorc@google.com>
|
12
|
+
Dan Egnor <egnor@google.com>
|
13
|
+
Eric Roman <eroman@chromium.org>
|
14
|
+
Hady Zalek <hady.zalek@gmail.com>
|
15
|
+
Jeffrey Yasskin <jyasskin@google.com>
|
16
|
+
Jói Sigurðsson <joi@google.com>
|
17
|
+
Keir Mierle <mierle@gmail.com>
|
18
|
+
Keith Ray <keith.ray@gmail.com>
|
19
|
+
Kenton Varda <kenton@google.com>
|
20
|
+
Manuel Klimek <klimek@google.com>
|
21
|
+
Markus Heule <markus.heule@gmail.com>
|
22
|
+
Mika Raento <mikie@iki.fi>
|
23
|
+
Miklós Fazekas <mfazekas@szemafor.com>
|
24
|
+
Pasi Valminen <pasi.valminen@gmail.com>
|
25
|
+
Patrick Hanna <phanna@google.com>
|
26
|
+
Patrick Riley <pfr@google.com>
|
27
|
+
Peter Kaminski <piotrk@google.com>
|
28
|
+
Preston Jackson <preston.a.jackson@gmail.com>
|
29
|
+
Rainer Klaffenboeck <rainer.klaffenboeck@dynatrace.com>
|
30
|
+
Russ Cox <rsc@google.com>
|
31
|
+
Russ Rufer <russ@pentad.com>
|
32
|
+
Sean Mcafee <eefacm@gmail.com>
|
33
|
+
Sigurður Ásgeirsson <siggi@google.com>
|
34
|
+
Tracy Bialik <tracy@pentad.com>
|
35
|
+
Vadim Berman <vadimb@google.com>
|
36
|
+
Vlad Losev <vladl@google.com>
|
37
|
+
Zhanyong Wan <wan@google.com>
|
@@ -0,0 +1,28 @@
|
|
1
|
+
Copyright 2008, 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.
|
@@ -0,0 +1,310 @@
|
|
1
|
+
# Automake file
|
2
|
+
|
3
|
+
ACLOCAL_AMFLAGS = -I m4
|
4
|
+
|
5
|
+
# Nonstandard package files for distribution
|
6
|
+
EXTRA_DIST = \
|
7
|
+
CHANGES \
|
8
|
+
CONTRIBUTORS \
|
9
|
+
LICENSE \
|
10
|
+
include/gtest/gtest-param-test.h.pump \
|
11
|
+
include/gtest/internal/gtest-param-util-generated.h.pump \
|
12
|
+
include/gtest/internal/gtest-tuple.h.pump \
|
13
|
+
include/gtest/internal/gtest-type-util.h.pump \
|
14
|
+
make/Makefile \
|
15
|
+
scripts/fuse_gtest_files.py \
|
16
|
+
scripts/gen_gtest_pred_impl.py \
|
17
|
+
scripts/pump.py \
|
18
|
+
scripts/test/Makefile
|
19
|
+
|
20
|
+
# gtest source files that we don't compile directly. They are
|
21
|
+
# #included by gtest-all.cc.
|
22
|
+
GTEST_SRC = \
|
23
|
+
src/gtest-death-test.cc \
|
24
|
+
src/gtest-filepath.cc \
|
25
|
+
src/gtest-internal-inl.h \
|
26
|
+
src/gtest-port.cc \
|
27
|
+
src/gtest-printers.cc \
|
28
|
+
src/gtest-test-part.cc \
|
29
|
+
src/gtest-typed-test.cc \
|
30
|
+
src/gtest.cc
|
31
|
+
|
32
|
+
EXTRA_DIST += $(GTEST_SRC)
|
33
|
+
|
34
|
+
# Sample files that we don't compile.
|
35
|
+
EXTRA_DIST += \
|
36
|
+
samples/prime_tables.h \
|
37
|
+
samples/sample2_unittest.cc \
|
38
|
+
samples/sample3_unittest.cc \
|
39
|
+
samples/sample4_unittest.cc \
|
40
|
+
samples/sample5_unittest.cc \
|
41
|
+
samples/sample6_unittest.cc \
|
42
|
+
samples/sample7_unittest.cc \
|
43
|
+
samples/sample8_unittest.cc \
|
44
|
+
samples/sample9_unittest.cc
|
45
|
+
|
46
|
+
# C++ test files that we don't compile directly.
|
47
|
+
EXTRA_DIST += \
|
48
|
+
test/gtest-death-test_ex_test.cc \
|
49
|
+
test/gtest-death-test_test.cc \
|
50
|
+
test/gtest-filepath_test.cc \
|
51
|
+
test/gtest-linked_ptr_test.cc \
|
52
|
+
test/gtest-listener_test.cc \
|
53
|
+
test/gtest-message_test.cc \
|
54
|
+
test/gtest-options_test.cc \
|
55
|
+
test/gtest-param-test2_test.cc \
|
56
|
+
test/gtest-param-test2_test.cc \
|
57
|
+
test/gtest-param-test_test.cc \
|
58
|
+
test/gtest-param-test_test.cc \
|
59
|
+
test/gtest-param-test_test.h \
|
60
|
+
test/gtest-port_test.cc \
|
61
|
+
test/gtest_premature_exit_test.cc \
|
62
|
+
test/gtest-printers_test.cc \
|
63
|
+
test/gtest-test-part_test.cc \
|
64
|
+
test/gtest-tuple_test.cc \
|
65
|
+
test/gtest-typed-test2_test.cc \
|
66
|
+
test/gtest-typed-test_test.cc \
|
67
|
+
test/gtest-typed-test_test.h \
|
68
|
+
test/gtest-unittest-api_test.cc \
|
69
|
+
test/gtest_break_on_failure_unittest_.cc \
|
70
|
+
test/gtest_catch_exceptions_test_.cc \
|
71
|
+
test/gtest_color_test_.cc \
|
72
|
+
test/gtest_env_var_test_.cc \
|
73
|
+
test/gtest_environment_test.cc \
|
74
|
+
test/gtest_filter_unittest_.cc \
|
75
|
+
test/gtest_help_test_.cc \
|
76
|
+
test/gtest_list_tests_unittest_.cc \
|
77
|
+
test/gtest_main_unittest.cc \
|
78
|
+
test/gtest_no_test_unittest.cc \
|
79
|
+
test/gtest_output_test_.cc \
|
80
|
+
test/gtest_pred_impl_unittest.cc \
|
81
|
+
test/gtest_prod_test.cc \
|
82
|
+
test/gtest_repeat_test.cc \
|
83
|
+
test/gtest_shuffle_test_.cc \
|
84
|
+
test/gtest_sole_header_test.cc \
|
85
|
+
test/gtest_stress_test.cc \
|
86
|
+
test/gtest_throw_on_failure_ex_test.cc \
|
87
|
+
test/gtest_throw_on_failure_test_.cc \
|
88
|
+
test/gtest_uninitialized_test_.cc \
|
89
|
+
test/gtest_unittest.cc \
|
90
|
+
test/gtest_unittest.cc \
|
91
|
+
test/gtest_xml_outfile1_test_.cc \
|
92
|
+
test/gtest_xml_outfile2_test_.cc \
|
93
|
+
test/gtest_xml_output_unittest_.cc \
|
94
|
+
test/production.cc \
|
95
|
+
test/production.h
|
96
|
+
|
97
|
+
# Python tests that we don't run.
|
98
|
+
EXTRA_DIST += \
|
99
|
+
test/gtest_break_on_failure_unittest.py \
|
100
|
+
test/gtest_catch_exceptions_test.py \
|
101
|
+
test/gtest_color_test.py \
|
102
|
+
test/gtest_env_var_test.py \
|
103
|
+
test/gtest_filter_unittest.py \
|
104
|
+
test/gtest_help_test.py \
|
105
|
+
test/gtest_list_tests_unittest.py \
|
106
|
+
test/gtest_output_test.py \
|
107
|
+
test/gtest_output_test_golden_lin.txt \
|
108
|
+
test/gtest_shuffle_test.py \
|
109
|
+
test/gtest_test_utils.py \
|
110
|
+
test/gtest_throw_on_failure_test.py \
|
111
|
+
test/gtest_uninitialized_test.py \
|
112
|
+
test/gtest_xml_outfiles_test.py \
|
113
|
+
test/gtest_xml_output_unittest.py \
|
114
|
+
test/gtest_xml_test_utils.py
|
115
|
+
|
116
|
+
# CMake script
|
117
|
+
EXTRA_DIST += \
|
118
|
+
CMakeLists.txt \
|
119
|
+
cmake/internal_utils.cmake
|
120
|
+
|
121
|
+
# MSVC project files
|
122
|
+
EXTRA_DIST += \
|
123
|
+
msvc/gtest-md.sln \
|
124
|
+
msvc/gtest-md.vcproj \
|
125
|
+
msvc/gtest.sln \
|
126
|
+
msvc/gtest.vcproj \
|
127
|
+
msvc/gtest_main-md.vcproj \
|
128
|
+
msvc/gtest_main.vcproj \
|
129
|
+
msvc/gtest_prod_test-md.vcproj \
|
130
|
+
msvc/gtest_prod_test.vcproj \
|
131
|
+
msvc/gtest_unittest-md.vcproj \
|
132
|
+
msvc/gtest_unittest.vcproj
|
133
|
+
|
134
|
+
# xcode project files
|
135
|
+
EXTRA_DIST += \
|
136
|
+
xcode/Config/DebugProject.xcconfig \
|
137
|
+
xcode/Config/FrameworkTarget.xcconfig \
|
138
|
+
xcode/Config/General.xcconfig \
|
139
|
+
xcode/Config/ReleaseProject.xcconfig \
|
140
|
+
xcode/Config/StaticLibraryTarget.xcconfig \
|
141
|
+
xcode/Config/TestTarget.xcconfig \
|
142
|
+
xcode/Resources/Info.plist \
|
143
|
+
xcode/Scripts/runtests.sh \
|
144
|
+
xcode/Scripts/versiongenerate.py \
|
145
|
+
xcode/gtest.xcodeproj/project.pbxproj
|
146
|
+
|
147
|
+
# xcode sample files
|
148
|
+
EXTRA_DIST += \
|
149
|
+
xcode/Samples/FrameworkSample/Info.plist \
|
150
|
+
xcode/Samples/FrameworkSample/WidgetFramework.xcodeproj/project.pbxproj \
|
151
|
+
xcode/Samples/FrameworkSample/runtests.sh \
|
152
|
+
xcode/Samples/FrameworkSample/widget.cc \
|
153
|
+
xcode/Samples/FrameworkSample/widget.h \
|
154
|
+
xcode/Samples/FrameworkSample/widget_test.cc
|
155
|
+
|
156
|
+
# C++Builder project files
|
157
|
+
EXTRA_DIST += \
|
158
|
+
codegear/gtest.cbproj \
|
159
|
+
codegear/gtest.groupproj \
|
160
|
+
codegear/gtest_all.cc \
|
161
|
+
codegear/gtest_link.cc \
|
162
|
+
codegear/gtest_main.cbproj \
|
163
|
+
codegear/gtest_unittest.cbproj
|
164
|
+
|
165
|
+
# Distribute and install M4 macro
|
166
|
+
m4datadir = $(datadir)/aclocal
|
167
|
+
m4data_DATA = m4/gtest.m4
|
168
|
+
EXTRA_DIST += $(m4data_DATA)
|
169
|
+
|
170
|
+
# We define the global AM_CPPFLAGS as everything we compile includes from these
|
171
|
+
# directories.
|
172
|
+
AM_CPPFLAGS = -I$(srcdir) -I$(srcdir)/include
|
173
|
+
|
174
|
+
# Modifies compiler and linker flags for pthreads compatibility.
|
175
|
+
if HAVE_PTHREADS
|
176
|
+
AM_CXXFLAGS = @PTHREAD_CFLAGS@ -DGTEST_HAS_PTHREAD=1
|
177
|
+
AM_LIBS = @PTHREAD_LIBS@
|
178
|
+
else
|
179
|
+
AM_CXXFLAGS = -DGTEST_HAS_PTHREAD=0
|
180
|
+
endif
|
181
|
+
|
182
|
+
# Build rules for libraries.
|
183
|
+
lib_LTLIBRARIES = lib/libgtest.la lib/libgtest_main.la
|
184
|
+
|
185
|
+
lib_libgtest_la_SOURCES = src/gtest-all.cc
|
186
|
+
|
187
|
+
pkginclude_HEADERS = \
|
188
|
+
include/gtest/gtest-death-test.h \
|
189
|
+
include/gtest/gtest-message.h \
|
190
|
+
include/gtest/gtest-param-test.h \
|
191
|
+
include/gtest/gtest-printers.h \
|
192
|
+
include/gtest/gtest-spi.h \
|
193
|
+
include/gtest/gtest-test-part.h \
|
194
|
+
include/gtest/gtest-typed-test.h \
|
195
|
+
include/gtest/gtest.h \
|
196
|
+
include/gtest/gtest_pred_impl.h \
|
197
|
+
include/gtest/gtest_prod.h
|
198
|
+
|
199
|
+
pkginclude_internaldir = $(pkgincludedir)/internal
|
200
|
+
pkginclude_internal_HEADERS = \
|
201
|
+
include/gtest/internal/gtest-death-test-internal.h \
|
202
|
+
include/gtest/internal/gtest-filepath.h \
|
203
|
+
include/gtest/internal/gtest-internal.h \
|
204
|
+
include/gtest/internal/gtest-linked_ptr.h \
|
205
|
+
include/gtest/internal/gtest-param-util-generated.h \
|
206
|
+
include/gtest/internal/gtest-param-util.h \
|
207
|
+
include/gtest/internal/gtest-port.h \
|
208
|
+
include/gtest/internal/gtest-port-arch.h \
|
209
|
+
include/gtest/internal/gtest-string.h \
|
210
|
+
include/gtest/internal/gtest-tuple.h \
|
211
|
+
include/gtest/internal/gtest-type-util.h \
|
212
|
+
include/gtest/internal/custom/gtest.h \
|
213
|
+
include/gtest/internal/custom/gtest-port.h \
|
214
|
+
include/gtest/internal/custom/gtest-printers.h
|
215
|
+
|
216
|
+
lib_libgtest_main_la_SOURCES = src/gtest_main.cc
|
217
|
+
lib_libgtest_main_la_LIBADD = lib/libgtest.la
|
218
|
+
|
219
|
+
# Bulid rules for samples and tests. Automake's naming for some of
|
220
|
+
# these variables isn't terribly obvious, so this is a brief
|
221
|
+
# reference:
|
222
|
+
#
|
223
|
+
# TESTS -- Programs run automatically by "make check"
|
224
|
+
# check_PROGRAMS -- Programs built by "make check" but not necessarily run
|
225
|
+
|
226
|
+
noinst_LTLIBRARIES = samples/libsamples.la
|
227
|
+
|
228
|
+
samples_libsamples_la_SOURCES = \
|
229
|
+
samples/sample1.cc \
|
230
|
+
samples/sample1.h \
|
231
|
+
samples/sample2.cc \
|
232
|
+
samples/sample2.h \
|
233
|
+
samples/sample3-inl.h \
|
234
|
+
samples/sample4.cc \
|
235
|
+
samples/sample4.h
|
236
|
+
|
237
|
+
TESTS=
|
238
|
+
TESTS_ENVIRONMENT = GTEST_SOURCE_DIR="$(srcdir)/test" \
|
239
|
+
GTEST_BUILD_DIR="$(top_builddir)/test"
|
240
|
+
check_PROGRAMS=
|
241
|
+
|
242
|
+
# A simple sample on using gtest.
|
243
|
+
TESTS += samples/sample1_unittest
|
244
|
+
check_PROGRAMS += samples/sample1_unittest
|
245
|
+
samples_sample1_unittest_SOURCES = samples/sample1_unittest.cc
|
246
|
+
samples_sample1_unittest_LDADD = lib/libgtest_main.la \
|
247
|
+
lib/libgtest.la \
|
248
|
+
samples/libsamples.la
|
249
|
+
|
250
|
+
# Another sample. It also verifies that libgtest works.
|
251
|
+
TESTS += samples/sample10_unittest
|
252
|
+
check_PROGRAMS += samples/sample10_unittest
|
253
|
+
samples_sample10_unittest_SOURCES = samples/sample10_unittest.cc
|
254
|
+
samples_sample10_unittest_LDADD = lib/libgtest.la
|
255
|
+
|
256
|
+
# This tests most constructs of gtest and verifies that libgtest_main
|
257
|
+
# and libgtest work.
|
258
|
+
TESTS += test/gtest_all_test
|
259
|
+
check_PROGRAMS += test/gtest_all_test
|
260
|
+
test_gtest_all_test_SOURCES = test/gtest_all_test.cc
|
261
|
+
test_gtest_all_test_LDADD = lib/libgtest_main.la \
|
262
|
+
lib/libgtest.la
|
263
|
+
|
264
|
+
# Tests that fused gtest files compile and work.
|
265
|
+
FUSED_GTEST_SRC = \
|
266
|
+
fused-src/gtest/gtest-all.cc \
|
267
|
+
fused-src/gtest/gtest.h \
|
268
|
+
fused-src/gtest/gtest_main.cc
|
269
|
+
|
270
|
+
if HAVE_PYTHON
|
271
|
+
TESTS += test/fused_gtest_test
|
272
|
+
check_PROGRAMS += test/fused_gtest_test
|
273
|
+
test_fused_gtest_test_SOURCES = $(FUSED_GTEST_SRC) \
|
274
|
+
samples/sample1.cc samples/sample1_unittest.cc
|
275
|
+
test_fused_gtest_test_CPPFLAGS = -I"$(srcdir)/fused-src"
|
276
|
+
|
277
|
+
# Build rules for putting fused Google Test files into the distribution
|
278
|
+
# package. The user can also create those files by manually running
|
279
|
+
# scripts/fuse_gtest_files.py.
|
280
|
+
$(test_fused_gtest_test_SOURCES): fused-gtest
|
281
|
+
|
282
|
+
fused-gtest: $(pkginclude_HEADERS) $(pkginclude_internal_HEADERS) \
|
283
|
+
$(GTEST_SRC) src/gtest-all.cc src/gtest_main.cc \
|
284
|
+
scripts/fuse_gtest_files.py
|
285
|
+
mkdir -p "$(srcdir)/fused-src"
|
286
|
+
chmod -R u+w "$(srcdir)/fused-src"
|
287
|
+
rm -f "$(srcdir)/fused-src/gtest/gtest-all.cc"
|
288
|
+
rm -f "$(srcdir)/fused-src/gtest/gtest.h"
|
289
|
+
"$(srcdir)/scripts/fuse_gtest_files.py" "$(srcdir)/fused-src"
|
290
|
+
cp -f "$(srcdir)/src/gtest_main.cc" "$(srcdir)/fused-src/gtest/"
|
291
|
+
|
292
|
+
maintainer-clean-local:
|
293
|
+
rm -rf "$(srcdir)/fused-src"
|
294
|
+
endif
|
295
|
+
|
296
|
+
# Death tests may produce core dumps in the build directory. In case
|
297
|
+
# this happens, clean them to keep distcleancheck happy.
|
298
|
+
CLEANFILES = core
|
299
|
+
|
300
|
+
# Disables 'make install' as installing a compiled version of Google
|
301
|
+
# Test can lead to undefined behavior due to violation of the
|
302
|
+
# One-Definition Rule.
|
303
|
+
|
304
|
+
install-exec-local:
|
305
|
+
echo "'make install' is dangerous and not supported. Instead, see README for how to integrate Google Test into your build system."
|
306
|
+
false
|
307
|
+
|
308
|
+
install-data-local:
|
309
|
+
echo "'make install' is dangerous and not supported. Instead, see README for how to integrate Google Test into your build system."
|
310
|
+
false
|