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.
Files changed (323) hide show
  1. checksums.yaml +5 -5
  2. data/Rakefile +4 -0
  3. data/ext/rj_schema/rapidjson/thirdparty/gtest/CMakeLists.txt +16 -0
  4. data/ext/rj_schema/rapidjson/thirdparty/gtest/README.md +141 -0
  5. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/CHANGES +126 -0
  6. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/CMakeLists.txt +202 -0
  7. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/CONTRIBUTORS +40 -0
  8. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/LICENSE +28 -0
  9. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/Makefile.am +224 -0
  10. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/README.md +333 -0
  11. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/configure.ac +146 -0
  12. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/CheatSheet.md +562 -0
  13. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/CookBook.md +3675 -0
  14. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/DesignDoc.md +280 -0
  15. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/DevGuide.md +132 -0
  16. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/Documentation.md +12 -0
  17. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/ForDummies.md +439 -0
  18. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/FrequentlyAskedQuestions.md +628 -0
  19. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/KnownIssues.md +19 -0
  20. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/CheatSheet.md +525 -0
  21. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/CookBook.md +3250 -0
  22. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/Documentation.md +11 -0
  23. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/ForDummies.md +439 -0
  24. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/FrequentlyAskedQuestions.md +624 -0
  25. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/CheatSheet.md +534 -0
  26. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/CookBook.md +3342 -0
  27. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/Documentation.md +12 -0
  28. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/ForDummies.md +439 -0
  29. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/FrequentlyAskedQuestions.md +628 -0
  30. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/CheatSheet.md +556 -0
  31. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/CookBook.md +3432 -0
  32. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/Documentation.md +12 -0
  33. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/ForDummies.md +439 -0
  34. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/FrequentlyAskedQuestions.md +628 -0
  35. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-actions.h +1205 -0
  36. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-cardinalities.h +147 -0
  37. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-actions.h +2377 -0
  38. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-actions.h.pump +794 -0
  39. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-function-mockers.h +1095 -0
  40. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-function-mockers.h.pump +291 -0
  41. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-matchers.h +2179 -0
  42. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-matchers.h.pump +672 -0
  43. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-nice-strict.h +397 -0
  44. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-nice-strict.h.pump +161 -0
  45. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-matchers.h +4399 -0
  46. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-more-actions.h +246 -0
  47. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-more-matchers.h +58 -0
  48. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-spec-builders.h +1847 -0
  49. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock.h +94 -0
  50. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h +8 -0
  51. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h.pump +10 -0
  52. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-matchers.h +39 -0
  53. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-port.h +46 -0
  54. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h +279 -0
  55. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h.pump +136 -0
  56. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-internal-utils.h +511 -0
  57. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-port.h +91 -0
  58. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/make/Makefile +101 -0
  59. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock.sln +32 -0
  60. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock.vcproj +191 -0
  61. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock_config.vsprops +15 -0
  62. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock_main.vcproj +187 -0
  63. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock_test.vcproj +201 -0
  64. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock.sln +32 -0
  65. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock.vcxproj +82 -0
  66. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock_config.props +19 -0
  67. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock_main.vcxproj +88 -0
  68. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock_test.vcxproj +101 -0
  69. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock.sln +32 -0
  70. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock.vcxproj +84 -0
  71. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock_config.props +19 -0
  72. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock_main.vcxproj +90 -0
  73. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock_test.vcxproj +103 -0
  74. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/fuse_gmock_files.py +240 -0
  75. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/LICENSE +203 -0
  76. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/README +35 -0
  77. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/README.cppclean +115 -0
  78. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/__init__.py +0 -0
  79. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/ast.py +1733 -0
  80. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/gmock_class.py +227 -0
  81. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/gmock_class_test.py +448 -0
  82. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/keywords.py +59 -0
  83. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/tokenize.py +287 -0
  84. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/utils.py +41 -0
  85. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/gmock_gen.py +31 -0
  86. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/gmock-config.in +303 -0
  87. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/gmock_doctor.py +640 -0
  88. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/upload.py +1387 -0
  89. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/upload_gmock.py +78 -0
  90. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-all.cc +47 -0
  91. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-cardinalities.cc +156 -0
  92. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-internal-utils.cc +174 -0
  93. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-matchers.cc +498 -0
  94. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-spec-builders.cc +823 -0
  95. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock.cc +183 -0
  96. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock_main.cc +54 -0
  97. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-actions_test.cc +1411 -0
  98. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-cardinalities_test.cc +428 -0
  99. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-actions_test.cc +1228 -0
  100. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-function-mockers_test.cc +622 -0
  101. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-internal-utils_test.cc +127 -0
  102. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-matchers_test.cc +1286 -0
  103. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-internal-utils_test.cc +699 -0
  104. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-matchers_test.cc +5648 -0
  105. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-more-actions_test.cc +708 -0
  106. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-nice-strict_test.cc +424 -0
  107. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-port_test.cc +43 -0
  108. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-spec-builders_test.cc +2644 -0
  109. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_all_test.cc +51 -0
  110. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_ex_test.cc +81 -0
  111. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_leak_test.py +108 -0
  112. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_leak_test_.cc +100 -0
  113. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_link2_test.cc +40 -0
  114. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_link_test.cc +40 -0
  115. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_link_test.h +669 -0
  116. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_output_test.py +180 -0
  117. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_output_test_.cc +291 -0
  118. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_output_test_golden.txt +310 -0
  119. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_stress_test.cc +322 -0
  120. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_test.cc +220 -0
  121. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_test_utils.py +112 -0
  122. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/CHANGES +157 -0
  123. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/CMakeLists.txt +286 -0
  124. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/CONTRIBUTORS +37 -0
  125. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/LICENSE +28 -0
  126. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/Makefile.am +310 -0
  127. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/README.md +280 -0
  128. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/cmake/internal_utils.cmake +242 -0
  129. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest.cbproj +138 -0
  130. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest.groupproj +54 -0
  131. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest_all.cc +38 -0
  132. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest_link.cc +40 -0
  133. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest_main.cbproj +82 -0
  134. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest_unittest.cbproj +88 -0
  135. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/configure.ac +68 -0
  136. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/AdvancedGuide.md +2182 -0
  137. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/DevGuide.md +126 -0
  138. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/Documentation.md +14 -0
  139. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/FAQ.md +1087 -0
  140. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/Primer.md +502 -0
  141. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/PumpManual.md +177 -0
  142. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/Samples.md +14 -0
  143. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_AdvancedGuide.md +2096 -0
  144. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_Documentation.md +12 -0
  145. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_FAQ.md +886 -0
  146. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_Primer.md +497 -0
  147. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_PumpManual.md +177 -0
  148. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_XcodeGuide.md +93 -0
  149. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_AdvancedGuide.md +2178 -0
  150. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_Documentation.md +14 -0
  151. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_FAQ.md +1038 -0
  152. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_Primer.md +501 -0
  153. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_PumpManual.md +177 -0
  154. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_Samples.md +14 -0
  155. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_XcodeGuide.md +93 -0
  156. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_AdvancedGuide.md +2181 -0
  157. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_Documentation.md +14 -0
  158. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_FAQ.md +1082 -0
  159. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_Primer.md +501 -0
  160. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_PumpManual.md +177 -0
  161. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_Samples.md +14 -0
  162. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_XcodeGuide.md +93 -0
  163. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/XcodeGuide.md +93 -0
  164. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-death-test.h +294 -0
  165. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-message.h +250 -0
  166. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-param-test.h +1444 -0
  167. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-param-test.h.pump +510 -0
  168. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-printers.h +993 -0
  169. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-spi.h +232 -0
  170. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-test-part.h +179 -0
  171. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-typed-test.h +263 -0
  172. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest.h +2236 -0
  173. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest_pred_impl.h +358 -0
  174. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest_prod.h +58 -0
  175. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/custom/gtest-port.h +69 -0
  176. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/custom/gtest-printers.h +42 -0
  177. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/custom/gtest.h +41 -0
  178. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-death-test-internal.h +319 -0
  179. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-filepath.h +206 -0
  180. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-internal.h +1238 -0
  181. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-linked_ptr.h +243 -0
  182. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-param-util-generated.h +5146 -0
  183. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-param-util-generated.h.pump +286 -0
  184. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-param-util.h +731 -0
  185. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-port-arch.h +93 -0
  186. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-port.h +2554 -0
  187. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-string.h +167 -0
  188. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-tuple.h +1020 -0
  189. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-tuple.h.pump +347 -0
  190. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-type-util.h +3331 -0
  191. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-type-util.h.pump +297 -0
  192. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/m4/acx_pthread.m4 +363 -0
  193. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/m4/gtest.m4 +74 -0
  194. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/make/Makefile +82 -0
  195. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest-md.sln +45 -0
  196. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest-md.vcproj +126 -0
  197. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest.sln +45 -0
  198. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest.vcproj +126 -0
  199. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_main-md.vcproj +129 -0
  200. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_main.vcproj +129 -0
  201. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_prod_test-md.vcproj +164 -0
  202. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_prod_test.vcproj +164 -0
  203. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_unittest-md.vcproj +147 -0
  204. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_unittest.vcproj +147 -0
  205. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/prime_tables.h +123 -0
  206. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample1.cc +68 -0
  207. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample1.h +43 -0
  208. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample10_unittest.cc +144 -0
  209. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample1_unittest.cc +153 -0
  210. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample2.cc +56 -0
  211. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample2.h +85 -0
  212. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample2_unittest.cc +109 -0
  213. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample3-inl.h +172 -0
  214. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample3_unittest.cc +151 -0
  215. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample4.cc +46 -0
  216. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample4.h +53 -0
  217. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample4_unittest.cc +45 -0
  218. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample5_unittest.cc +199 -0
  219. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample6_unittest.cc +224 -0
  220. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample7_unittest.cc +130 -0
  221. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample8_unittest.cc +173 -0
  222. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample9_unittest.cc +160 -0
  223. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/common.py +83 -0
  224. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/fuse_gtest_files.py +253 -0
  225. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/gen_gtest_pred_impl.py +730 -0
  226. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/gtest-config.in +274 -0
  227. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/pump.py +855 -0
  228. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/release_docs.py +158 -0
  229. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/test/Makefile +59 -0
  230. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/upload.py +1387 -0
  231. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/upload_gtest.py +78 -0
  232. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-all.cc +48 -0
  233. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-death-test.cc +1342 -0
  234. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-filepath.cc +387 -0
  235. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-internal-inl.h +1183 -0
  236. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-port.cc +1259 -0
  237. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-printers.cc +373 -0
  238. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-test-part.cc +110 -0
  239. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-typed-test.cc +118 -0
  240. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest.cc +5388 -0
  241. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest_main.cc +38 -0
  242. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-death-test_ex_test.cc +93 -0
  243. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-death-test_test.cc +1427 -0
  244. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-filepath_test.cc +662 -0
  245. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-linked_ptr_test.cc +154 -0
  246. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-listener_test.cc +311 -0
  247. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-message_test.cc +159 -0
  248. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-options_test.cc +215 -0
  249. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-param-test2_test.cc +65 -0
  250. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-param-test_test.cc +1055 -0
  251. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-param-test_test.h +57 -0
  252. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-port_test.cc +1304 -0
  253. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-printers_test.cc +1635 -0
  254. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-test-part_test.cc +208 -0
  255. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-tuple_test.cc +320 -0
  256. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-typed-test2_test.cc +45 -0
  257. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-typed-test_test.cc +380 -0
  258. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-typed-test_test.h +66 -0
  259. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-unittest-api_test.cc +341 -0
  260. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_all_test.cc +47 -0
  261. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_break_on_failure_unittest.py +212 -0
  262. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_break_on_failure_unittest_.cc +88 -0
  263. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_catch_exceptions_test.py +237 -0
  264. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_catch_exceptions_test_.cc +311 -0
  265. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_color_test.py +130 -0
  266. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_color_test_.cc +71 -0
  267. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_env_var_test.py +117 -0
  268. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_env_var_test_.cc +126 -0
  269. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_environment_test.cc +192 -0
  270. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_filter_unittest.py +636 -0
  271. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_filter_unittest_.cc +140 -0
  272. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_help_test.py +172 -0
  273. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_help_test_.cc +46 -0
  274. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_list_tests_unittest.py +207 -0
  275. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_list_tests_unittest_.cc +157 -0
  276. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_main_unittest.cc +45 -0
  277. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_no_test_unittest.cc +56 -0
  278. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_output_test.py +340 -0
  279. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_output_test_.cc +1062 -0
  280. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_output_test_golden_lin.txt +743 -0
  281. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_pred_impl_unittest.cc +2427 -0
  282. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_premature_exit_test.cc +127 -0
  283. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_prod_test.cc +57 -0
  284. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_repeat_test.cc +253 -0
  285. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_shuffle_test.py +325 -0
  286. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_shuffle_test_.cc +103 -0
  287. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_sole_header_test.cc +57 -0
  288. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_stress_test.cc +256 -0
  289. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_test_utils.py +320 -0
  290. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_throw_on_failure_ex_test.cc +92 -0
  291. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_throw_on_failure_test.py +171 -0
  292. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_throw_on_failure_test_.cc +72 -0
  293. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_uninitialized_test.py +70 -0
  294. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_uninitialized_test_.cc +43 -0
  295. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_unittest.cc +7706 -0
  296. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_outfile1_test_.cc +49 -0
  297. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_outfile2_test_.cc +49 -0
  298. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_outfiles_test.py +132 -0
  299. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_output_unittest.py +308 -0
  300. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_output_unittest_.cc +181 -0
  301. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_test_utils.py +194 -0
  302. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/production.cc +36 -0
  303. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/production.h +55 -0
  304. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/DebugProject.xcconfig +30 -0
  305. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/FrameworkTarget.xcconfig +17 -0
  306. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/General.xcconfig +41 -0
  307. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/ReleaseProject.xcconfig +32 -0
  308. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/StaticLibraryTarget.xcconfig +18 -0
  309. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/TestTarget.xcconfig +8 -0
  310. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Resources/Info.plist +30 -0
  311. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/Info.plist +28 -0
  312. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/WidgetFramework.xcodeproj/project.pbxproj +457 -0
  313. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/runtests.sh +62 -0
  314. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/widget.cc +63 -0
  315. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/widget.h +59 -0
  316. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/widget_test.cc +68 -0
  317. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Scripts/runtests.sh +65 -0
  318. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Scripts/versiongenerate.py +100 -0
  319. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/gtest.xcodeproj/project.pbxproj +1135 -0
  320. data/ext/rj_schema/rapidjson/thirdparty/gtest/travis.sh +15 -0
  321. data/ext/rj_schema/rj_schema.cpp +64 -41
  322. data/lib/rj_schema.rb +1 -1
  323. metadata +378 -5
@@ -0,0 +1,40 @@
1
+ # This file contains a list of people who've made non-trivial
2
+ # contribution to the Google C++ Mocking 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
+ Benoit Sigoure <tsuna@google.com>
7
+ Bogdan Piloca <boo@google.com>
8
+ Chandler Carruth <chandlerc@google.com>
9
+ Dave MacLachlan <dmaclach@gmail.com>
10
+ David Anderson <danderson@google.com>
11
+ Dean Sturtevant
12
+ Gene Volovich <gv@cite.com>
13
+ Hal Burch <gmock@hburch.com>
14
+ Jeffrey Yasskin <jyasskin@google.com>
15
+ Jim Keller <jimkeller@google.com>
16
+ Joe Walnes <joe@truemesh.com>
17
+ Jon Wray <jwray@google.com>
18
+ Keir Mierle <mierle@gmail.com>
19
+ Keith Ray <keith.ray@gmail.com>
20
+ Kostya Serebryany <kcc@google.com>
21
+ Lev Makhlis
22
+ Manuel Klimek <klimek@google.com>
23
+ Mario Tanev <radix@google.com>
24
+ Mark Paskin
25
+ Markus Heule <markus.heule@gmail.com>
26
+ Matthew Simmons <simmonmt@acm.org>
27
+ Mike Bland <mbland@google.com>
28
+ Neal Norwitz <nnorwitz@gmail.com>
29
+ Nermin Ozkiranartli <nermin@google.com>
30
+ Owen Carlsen <ocarlsen@google.com>
31
+ Paneendra Ba <paneendra@google.com>
32
+ Paul Menage <menage@google.com>
33
+ Piotr Kaminski <piotrk@google.com>
34
+ Russ Rufer <russ@pentad.com>
35
+ Sverre Sundsdal <sundsdal@gmail.com>
36
+ Takeshi Yoshino <tyoshino@google.com>
37
+ Vadim Berman <vadimb@google.com>
38
+ Vlad Losev <vladl@google.com>
39
+ Wolfgang Klier <wklier@google.com>
40
+ 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,224 @@
1
+ # Automake file
2
+
3
+ # Nonstandard package files for distribution.
4
+ EXTRA_DIST = LICENSE
5
+
6
+ # We may need to build our internally packaged gtest. If so, it will be
7
+ # included in the 'subdirs' variable.
8
+ SUBDIRS = $(subdirs)
9
+
10
+ # This is generated by the configure script, so clean it for distribution.
11
+ DISTCLEANFILES = scripts/gmock-config
12
+
13
+ # We define the global AM_CPPFLAGS as everything we compile includes from these
14
+ # directories.
15
+ AM_CPPFLAGS = $(GTEST_CPPFLAGS) -I$(srcdir)/include
16
+
17
+ # Modifies compiler and linker flags for pthreads compatibility.
18
+ if HAVE_PTHREADS
19
+ AM_CXXFLAGS = @PTHREAD_CFLAGS@ -DGTEST_HAS_PTHREAD=1
20
+ AM_LIBS = @PTHREAD_LIBS@
21
+ endif
22
+
23
+ # Build rules for libraries.
24
+ lib_LTLIBRARIES = lib/libgmock.la lib/libgmock_main.la
25
+
26
+ lib_libgmock_la_SOURCES = src/gmock-all.cc
27
+
28
+ pkginclude_HEADERS = \
29
+ include/gmock/gmock-actions.h \
30
+ include/gmock/gmock-cardinalities.h \
31
+ include/gmock/gmock-generated-actions.h \
32
+ include/gmock/gmock-generated-function-mockers.h \
33
+ include/gmock/gmock-generated-matchers.h \
34
+ include/gmock/gmock-generated-nice-strict.h \
35
+ include/gmock/gmock-matchers.h \
36
+ include/gmock/gmock-more-actions.h \
37
+ include/gmock/gmock-more-matchers.h \
38
+ include/gmock/gmock-spec-builders.h \
39
+ include/gmock/gmock.h
40
+
41
+ pkginclude_internaldir = $(pkgincludedir)/internal
42
+ pkginclude_internal_HEADERS = \
43
+ include/gmock/internal/gmock-generated-internal-utils.h \
44
+ include/gmock/internal/gmock-internal-utils.h \
45
+ include/gmock/internal/gmock-port.h \
46
+ include/gmock/internal/custom/gmock-generated-actions.h \
47
+ include/gmock/internal/custom/gmock-matchers.h \
48
+ include/gmock/internal/custom/gmock-port.h
49
+
50
+ lib_libgmock_main_la_SOURCES = src/gmock_main.cc
51
+ lib_libgmock_main_la_LIBADD = lib/libgmock.la
52
+
53
+ # Build rules for tests. Automake's naming for some of these variables isn't
54
+ # terribly obvious, so this is a brief reference:
55
+ #
56
+ # TESTS -- Programs run automatically by "make check"
57
+ # check_PROGRAMS -- Programs built by "make check" but not necessarily run
58
+
59
+ TESTS=
60
+ check_PROGRAMS=
61
+ AM_LDFLAGS = $(GTEST_LDFLAGS)
62
+
63
+ # This exercises all major components of Google Mock. It also
64
+ # verifies that libgmock works.
65
+ TESTS += test/gmock-spec-builders_test
66
+ check_PROGRAMS += test/gmock-spec-builders_test
67
+ test_gmock_spec_builders_test_SOURCES = test/gmock-spec-builders_test.cc
68
+ test_gmock_spec_builders_test_LDADD = $(GTEST_LIBS) lib/libgmock.la
69
+
70
+ # This tests using Google Mock in multiple translation units. It also
71
+ # verifies that libgmock_main and libgmock work.
72
+ TESTS += test/gmock_link_test
73
+ check_PROGRAMS += test/gmock_link_test
74
+ test_gmock_link_test_SOURCES = \
75
+ test/gmock_link2_test.cc \
76
+ test/gmock_link_test.cc \
77
+ test/gmock_link_test.h
78
+ test_gmock_link_test_LDADD = $(GTEST_LIBS) lib/libgmock_main.la lib/libgmock.la
79
+
80
+ if HAVE_PYTHON
81
+ # Tests that fused gmock files compile and work.
82
+ TESTS += test/gmock_fused_test
83
+ check_PROGRAMS += test/gmock_fused_test
84
+ test_gmock_fused_test_SOURCES = \
85
+ fused-src/gmock-gtest-all.cc \
86
+ fused-src/gmock/gmock.h \
87
+ fused-src/gmock_main.cc \
88
+ fused-src/gtest/gtest.h \
89
+ test/gmock_test.cc
90
+ test_gmock_fused_test_CPPFLAGS = -I"$(srcdir)/fused-src"
91
+ endif
92
+
93
+ # Google Mock source files that we don't compile directly.
94
+ GMOCK_SOURCE_INGLUDES = \
95
+ src/gmock-cardinalities.cc \
96
+ src/gmock-internal-utils.cc \
97
+ src/gmock-matchers.cc \
98
+ src/gmock-spec-builders.cc \
99
+ src/gmock.cc
100
+
101
+ EXTRA_DIST += $(GMOCK_SOURCE_INGLUDES)
102
+
103
+ # C++ tests that we don't compile using autotools.
104
+ EXTRA_DIST += \
105
+ test/gmock-actions_test.cc \
106
+ test/gmock_all_test.cc \
107
+ test/gmock-cardinalities_test.cc \
108
+ test/gmock_ex_test.cc \
109
+ test/gmock-generated-actions_test.cc \
110
+ test/gmock-generated-function-mockers_test.cc \
111
+ test/gmock-generated-internal-utils_test.cc \
112
+ test/gmock-generated-matchers_test.cc \
113
+ test/gmock-internal-utils_test.cc \
114
+ test/gmock-matchers_test.cc \
115
+ test/gmock-more-actions_test.cc \
116
+ test/gmock-nice-strict_test.cc \
117
+ test/gmock-port_test.cc \
118
+ test/gmock_stress_test.cc
119
+
120
+ # Python tests, which we don't run using autotools.
121
+ EXTRA_DIST += \
122
+ test/gmock_leak_test.py \
123
+ test/gmock_leak_test_.cc \
124
+ test/gmock_output_test.py \
125
+ test/gmock_output_test_.cc \
126
+ test/gmock_output_test_golden.txt \
127
+ test/gmock_test_utils.py
128
+
129
+ # Nonstandard package files for distribution.
130
+ EXTRA_DIST += \
131
+ CHANGES \
132
+ CONTRIBUTORS \
133
+ make/Makefile
134
+
135
+ # Pump scripts for generating Google Mock headers.
136
+ # TODO(chandlerc@google.com): automate the generation of *.h from *.h.pump.
137
+ EXTRA_DIST += \
138
+ include/gmock/gmock-generated-actions.h.pump \
139
+ include/gmock/gmock-generated-function-mockers.h.pump \
140
+ include/gmock/gmock-generated-matchers.h.pump \
141
+ include/gmock/gmock-generated-nice-strict.h.pump \
142
+ include/gmock/internal/gmock-generated-internal-utils.h.pump \
143
+ include/gmock/internal/custom/gmock-generated-actions.h.pump
144
+
145
+ # Script for fusing Google Mock and Google Test source files.
146
+ EXTRA_DIST += scripts/fuse_gmock_files.py
147
+
148
+ # The Google Mock Generator tool from the cppclean project.
149
+ EXTRA_DIST += \
150
+ scripts/generator/LICENSE \
151
+ scripts/generator/README \
152
+ scripts/generator/README.cppclean \
153
+ scripts/generator/cpp/__init__.py \
154
+ scripts/generator/cpp/ast.py \
155
+ scripts/generator/cpp/gmock_class.py \
156
+ scripts/generator/cpp/keywords.py \
157
+ scripts/generator/cpp/tokenize.py \
158
+ scripts/generator/cpp/utils.py \
159
+ scripts/generator/gmock_gen.py
160
+
161
+ # Script for diagnosing compiler errors in programs that use Google
162
+ # Mock.
163
+ EXTRA_DIST += scripts/gmock_doctor.py
164
+
165
+ # CMake scripts.
166
+ EXTRA_DIST += \
167
+ CMakeLists.txt
168
+
169
+ # Microsoft Visual Studio 2005 projects.
170
+ EXTRA_DIST += \
171
+ msvc/2005/gmock.sln \
172
+ msvc/2005/gmock.vcproj \
173
+ msvc/2005/gmock_config.vsprops \
174
+ msvc/2005/gmock_main.vcproj \
175
+ msvc/2005/gmock_test.vcproj
176
+
177
+ # Microsoft Visual Studio 2010 projects.
178
+ EXTRA_DIST += \
179
+ msvc/2010/gmock.sln \
180
+ msvc/2010/gmock.vcxproj \
181
+ msvc/2010/gmock_config.props \
182
+ msvc/2010/gmock_main.vcxproj \
183
+ msvc/2010/gmock_test.vcxproj
184
+
185
+ if HAVE_PYTHON
186
+ # gmock_test.cc does not really depend on files generated by the
187
+ # fused-gmock-internal rule. However, gmock_test.o does, and it is
188
+ # important to include test/gmock_test.cc as part of this rule in order to
189
+ # prevent compiling gmock_test.o until all dependent files have been
190
+ # generated.
191
+ $(test_gmock_fused_test_SOURCES): fused-gmock-internal
192
+
193
+ # TODO(vladl@google.com): Find a way to add Google Tests's sources here.
194
+ fused-gmock-internal: $(pkginclude_HEADERS) $(pkginclude_internal_HEADERS) \
195
+ $(lib_libgmock_la_SOURCES) $(GMOCK_SOURCE_INGLUDES) \
196
+ $(lib_libgmock_main_la_SOURCES) \
197
+ scripts/fuse_gmock_files.py
198
+ mkdir -p "$(srcdir)/fused-src"
199
+ chmod -R u+w "$(srcdir)/fused-src"
200
+ rm -f "$(srcdir)/fused-src/gtest/gtest.h"
201
+ rm -f "$(srcdir)/fused-src/gmock/gmock.h"
202
+ rm -f "$(srcdir)/fused-src/gmock-gtest-all.cc"
203
+ "$(srcdir)/scripts/fuse_gmock_files.py" "$(srcdir)/fused-src"
204
+ cp -f "$(srcdir)/src/gmock_main.cc" "$(srcdir)/fused-src"
205
+
206
+ maintainer-clean-local:
207
+ rm -rf "$(srcdir)/fused-src"
208
+ endif
209
+
210
+ # Death tests may produce core dumps in the build directory. In case
211
+ # this happens, clean them to keep distcleancheck happy.
212
+ CLEANFILES = core
213
+
214
+ # Disables 'make install' as installing a compiled version of Google
215
+ # Mock can lead to undefined behavior due to violation of the
216
+ # One-Definition Rule.
217
+
218
+ install-exec-local:
219
+ echo "'make install' is dangerous and not supported. Instead, see README for how to integrate Google Mock into your build system."
220
+ false
221
+
222
+ install-data-local:
223
+ echo "'make install' is dangerous and not supported. Instead, see README for how to integrate Google Mock into your build system."
224
+ false
@@ -0,0 +1,333 @@
1
+ ## Google Mock ##
2
+
3
+ The Google C++ mocking framework.
4
+
5
+ ### Overview ###
6
+
7
+ Google's framework for writing and using C++ mock classes.
8
+ It can help you derive better designs of your system and write better tests.
9
+
10
+ It is inspired by:
11
+
12
+ * [jMock](http://www.jmock.org/),
13
+ * [EasyMock](http://www.easymock.org/), and
14
+ * [Hamcrest](http://code.google.com/p/hamcrest/),
15
+
16
+ and designed with C++'s specifics in mind.
17
+
18
+ Google mock:
19
+
20
+ * lets you create mock classes trivially using simple macros.
21
+ * supports a rich set of matchers and actions.
22
+ * handles unordered, partially ordered, or completely ordered expectations.
23
+ * is extensible by users.
24
+
25
+ We hope you find it useful!
26
+
27
+ ### Features ###
28
+
29
+ * Provides a declarative syntax for defining mocks.
30
+ * Can easily define partial (hybrid) mocks, which are a cross of real
31
+ and mock objects.
32
+ * Handles functions of arbitrary types and overloaded functions.
33
+ * Comes with a rich set of matchers for validating function arguments.
34
+ * Uses an intuitive syntax for controlling the behavior of a mock.
35
+ * Does automatic verification of expectations (no record-and-replay needed).
36
+ * Allows arbitrary (partial) ordering constraints on
37
+ function calls to be expressed,.
38
+ * Lets a user extend it by defining new matchers and actions.
39
+ * Does not use exceptions.
40
+ * Is easy to learn and use.
41
+
42
+ Please see the project page above for more information as well as the
43
+ mailing list for questions, discussions, and development. There is
44
+ also an IRC channel on OFTC (irc.oftc.net) #gtest available. Please
45
+ join us!
46
+
47
+ Please note that code under [scripts/generator](scripts/generator/) is
48
+ from [cppclean](http://code.google.com/p/cppclean/) and released under
49
+ the Apache License, which is different from Google Mock's license.
50
+
51
+ ## Getting Started ##
52
+
53
+ If you are new to the project, we suggest that you read the user
54
+ documentation in the following order:
55
+
56
+ * Learn the [basics](../googletest/docs/Primer.md) of
57
+ Google Test, if you choose to use Google Mock with it (recommended).
58
+ * Read [Google Mock for Dummies](docs/ForDummies.md).
59
+ * Read the instructions below on how to build Google Mock.
60
+
61
+ You can also watch Zhanyong's [talk](http://www.youtube.com/watch?v=sYpCyLI47rM) on Google Mock's usage and implementation.
62
+
63
+ Once you understand the basics, check out the rest of the docs:
64
+
65
+ * [CheatSheet](docs/CheatSheet.md) - all the commonly used stuff
66
+ at a glance.
67
+ * [CookBook](docs/CookBook.md) - recipes for getting things done,
68
+ including advanced techniques.
69
+
70
+ If you need help, please check the
71
+ [KnownIssues](docs/KnownIssues.md) and
72
+ [FrequentlyAskedQuestions](docs/FrequentlyAskedQuestions.md) before
73
+ posting a question on the
74
+ [discussion group](http://groups.google.com/group/googlemock).
75
+
76
+
77
+ ### Using Google Mock Without Google Test ###
78
+
79
+ Google Mock is not a testing framework itself. Instead, it needs a
80
+ testing framework for writing tests. Google Mock works seamlessly
81
+ with [Google Test](http://code.google.com/p/googletest/), but
82
+ you can also use it with [any C++ testing framework](googlemock/ForDummies.md#Using_Google_Mock_with_Any_Testing_Framework).
83
+
84
+ ### Requirements for End Users ###
85
+
86
+ Google Mock is implemented on top of [Google Test](
87
+ http://github.com/google/googletest/), and depends on it.
88
+ You must use the bundled version of Google Test when using Google Mock.
89
+
90
+ You can also easily configure Google Mock to work with another testing
91
+ framework, although it will still need Google Test. Please read
92
+ ["Using_Google_Mock_with_Any_Testing_Framework"](
93
+ docs/ForDummies.md#Using_Google_Mock_with_Any_Testing_Framework)
94
+ for instructions.
95
+
96
+ Google Mock depends on advanced C++ features and thus requires a more
97
+ modern compiler. The following are needed to use Google Mock:
98
+
99
+ #### Linux Requirements ####
100
+
101
+ * GNU-compatible Make or "gmake"
102
+ * POSIX-standard shell
103
+ * POSIX(-2) Regular Expressions (regex.h)
104
+ * C++98-standard-compliant compiler (e.g. GCC 3.4 or newer)
105
+
106
+ #### Windows Requirements ####
107
+
108
+ * Microsoft Visual C++ 8.0 SP1 or newer
109
+
110
+ #### Mac OS X Requirements ####
111
+
112
+ * Mac OS X 10.4 Tiger or newer
113
+ * Developer Tools Installed
114
+
115
+ ### Requirements for Contributors ###
116
+
117
+ We welcome patches. If you plan to contribute a patch, you need to
118
+ build Google Mock and its tests, which has further requirements:
119
+
120
+ * Automake version 1.9 or newer
121
+ * Autoconf version 2.59 or newer
122
+ * Libtool / Libtoolize
123
+ * Python version 2.3 or newer (for running some of the tests and
124
+ re-generating certain source files from templates)
125
+
126
+ ### Building Google Mock ###
127
+
128
+ #### Preparing to Build (Unix only) ####
129
+
130
+ If you are using a Unix system and plan to use the GNU Autotools build
131
+ system to build Google Mock (described below), you'll need to
132
+ configure it now.
133
+
134
+ To prepare the Autotools build system:
135
+
136
+ cd googlemock
137
+ autoreconf -fvi
138
+
139
+ To build Google Mock and your tests that use it, you need to tell your
140
+ build system where to find its headers and source files. The exact
141
+ way to do it depends on which build system you use, and is usually
142
+ straightforward.
143
+
144
+ This section shows how you can integrate Google Mock into your
145
+ existing build system.
146
+
147
+ Suppose you put Google Mock in directory `${GMOCK_DIR}` and Google Test
148
+ in `${GTEST_DIR}` (the latter is `${GMOCK_DIR}/gtest` by default). To
149
+ build Google Mock, create a library build target (or a project as
150
+ called by Visual Studio and Xcode) to compile
151
+
152
+ ${GTEST_DIR}/src/gtest-all.cc and ${GMOCK_DIR}/src/gmock-all.cc
153
+
154
+ with
155
+
156
+ ${GTEST_DIR}/include and ${GMOCK_DIR}/include
157
+
158
+ in the system header search path, and
159
+
160
+ ${GTEST_DIR} and ${GMOCK_DIR}
161
+
162
+ in the normal header search path. Assuming a Linux-like system and gcc,
163
+ something like the following will do:
164
+
165
+ g++ -isystem ${GTEST_DIR}/include -I${GTEST_DIR} \
166
+ -isystem ${GMOCK_DIR}/include -I${GMOCK_DIR} \
167
+ -pthread -c ${GTEST_DIR}/src/gtest-all.cc
168
+ g++ -isystem ${GTEST_DIR}/include -I${GTEST_DIR} \
169
+ -isystem ${GMOCK_DIR}/include -I${GMOCK_DIR} \
170
+ -pthread -c ${GMOCK_DIR}/src/gmock-all.cc
171
+ ar -rv libgmock.a gtest-all.o gmock-all.o
172
+
173
+ (We need -pthread as Google Test and Google Mock use threads.)
174
+
175
+ Next, you should compile your test source file with
176
+ ${GTEST\_DIR}/include and ${GMOCK\_DIR}/include in the header search
177
+ path, and link it with gmock and any other necessary libraries:
178
+
179
+ g++ -isystem ${GTEST_DIR}/include -isystem ${GMOCK_DIR}/include \
180
+ -pthread path/to/your_test.cc libgmock.a -o your_test
181
+
182
+ As an example, the make/ directory contains a Makefile that you can
183
+ use to build Google Mock on systems where GNU make is available
184
+ (e.g. Linux, Mac OS X, and Cygwin). It doesn't try to build Google
185
+ Mock's own tests. Instead, it just builds the Google Mock library and
186
+ a sample test. You can use it as a starting point for your own build
187
+ script.
188
+
189
+ If the default settings are correct for your environment, the
190
+ following commands should succeed:
191
+
192
+ cd ${GMOCK_DIR}/make
193
+ make
194
+ ./gmock_test
195
+
196
+ If you see errors, try to tweak the contents of
197
+ [make/Makefile](make/Makefile) to make them go away.
198
+
199
+ ### Windows ###
200
+
201
+ The msvc/2005 directory contains VC++ 2005 projects and the msvc/2010
202
+ directory contains VC++ 2010 projects for building Google Mock and
203
+ selected tests.
204
+
205
+ Change to the appropriate directory and run "msbuild gmock.sln" to
206
+ build the library and tests (or open the gmock.sln in the MSVC IDE).
207
+ If you want to create your own project to use with Google Mock, you'll
208
+ have to configure it to use the `gmock_config` propety sheet. For that:
209
+
210
+ * Open the Property Manager window (View | Other Windows | Property Manager)
211
+ * Right-click on your project and select "Add Existing Property Sheet..."
212
+ * Navigate to `gmock_config.vsprops` or `gmock_config.props` and select it.
213
+ * In Project Properties | Configuration Properties | General | Additional
214
+ Include Directories, type <path to Google Mock>/include.
215
+
216
+ ### Tweaking Google Mock ###
217
+
218
+ Google Mock can be used in diverse environments. The default
219
+ configuration may not work (or may not work well) out of the box in
220
+ some environments. However, you can easily tweak Google Mock by
221
+ defining control macros on the compiler command line. Generally,
222
+ these macros are named like `GTEST_XYZ` and you define them to either 1
223
+ or 0 to enable or disable a certain feature.
224
+
225
+ We list the most frequently used macros below. For a complete list,
226
+ see file [${GTEST\_DIR}/include/gtest/internal/gtest-port.h](
227
+ ../googletest/include/gtest/internal/gtest-port.h).
228
+
229
+ ### Choosing a TR1 Tuple Library ###
230
+
231
+ Google Mock uses the C++ Technical Report 1 (TR1) tuple library
232
+ heavily. Unfortunately TR1 tuple is not yet widely available with all
233
+ compilers. The good news is that Google Test 1.4.0+ implements a
234
+ subset of TR1 tuple that's enough for Google Mock's need. Google Mock
235
+ will automatically use that implementation when the compiler doesn't
236
+ provide TR1 tuple.
237
+
238
+ Usually you don't need to care about which tuple library Google Test
239
+ and Google Mock use. However, if your project already uses TR1 tuple,
240
+ you need to tell Google Test and Google Mock to use the same TR1 tuple
241
+ library the rest of your project uses, or the two tuple
242
+ implementations will clash. To do that, add
243
+
244
+ -DGTEST_USE_OWN_TR1_TUPLE=0
245
+
246
+ to the compiler flags while compiling Google Test, Google Mock, and
247
+ your tests. If you want to force Google Test and Google Mock to use
248
+ their own tuple library, just add
249
+
250
+ -DGTEST_USE_OWN_TR1_TUPLE=1
251
+
252
+ to the compiler flags instead.
253
+
254
+ If you want to use Boost's TR1 tuple library with Google Mock, please
255
+ refer to the Boost website (http://www.boost.org/) for how to obtain
256
+ it and set it up.
257
+
258
+ ### As a Shared Library (DLL) ###
259
+
260
+ Google Mock is compact, so most users can build and link it as a static
261
+ library for the simplicity. Google Mock can be used as a DLL, but the
262
+ same DLL must contain Google Test as well. See
263
+ [Google Test's README][gtest_readme]
264
+ for instructions on how to set up necessary compiler settings.
265
+
266
+ ### Tweaking Google Mock ###
267
+
268
+ Most of Google Test's control macros apply to Google Mock as well.
269
+ Please see [Google Test's README][gtest_readme] for how to tweak them.
270
+
271
+ ### Upgrading from an Earlier Version ###
272
+
273
+ We strive to keep Google Mock releases backward compatible.
274
+ Sometimes, though, we have to make some breaking changes for the
275
+ users' long-term benefits. This section describes what you'll need to
276
+ do if you are upgrading from an earlier version of Google Mock.
277
+
278
+ #### Upgrading from 1.1.0 or Earlier ####
279
+
280
+ You may need to explicitly enable or disable Google Test's own TR1
281
+ tuple library. See the instructions in section "[Choosing a TR1 Tuple
282
+ Library](../googletest/#choosing-a-tr1-tuple-library)".
283
+
284
+ #### Upgrading from 1.4.0 or Earlier ####
285
+
286
+ On platforms where the pthread library is available, Google Test and
287
+ Google Mock use it in order to be thread-safe. For this to work, you
288
+ may need to tweak your compiler and/or linker flags. Please see the
289
+ "[Multi-threaded Tests](../googletest#multi-threaded-tests
290
+ )" section in file Google Test's README for what you may need to do.
291
+
292
+ If you have custom matchers defined using `MatcherInterface` or
293
+ `MakePolymorphicMatcher()`, you'll need to update their definitions to
294
+ use the new matcher API (
295
+ [monomorphic](http://code.google.com/p/googlemock/wiki/CookBook#Writing_New_Monomorphic_Matchers),
296
+ [polymorphic](http://code.google.com/p/googlemock/wiki/CookBook#Writing_New_Polymorphic_Matchers)).
297
+ Matchers defined using `MATCHER()` or `MATCHER_P*()` aren't affected.
298
+
299
+ ### Developing Google Mock ###
300
+
301
+ This section discusses how to make your own changes to Google Mock.
302
+
303
+ #### Testing Google Mock Itself ####
304
+
305
+ To make sure your changes work as intended and don't break existing
306
+ functionality, you'll want to compile and run Google Test's own tests.
307
+ For that you'll need Autotools. First, make sure you have followed
308
+ the instructions above to configure Google Mock.
309
+ Then, create a build output directory and enter it. Next,
310
+
311
+ ${GMOCK_DIR}/configure # try --help for more info
312
+
313
+ Once you have successfully configured Google Mock, the build steps are
314
+ standard for GNU-style OSS packages.
315
+
316
+ make # Standard makefile following GNU conventions
317
+ make check # Builds and runs all tests - all should pass.
318
+
319
+ Note that when building your project against Google Mock, you are building
320
+ against Google Test as well. There is no need to configure Google Test
321
+ separately.
322
+
323
+ #### Contributing a Patch ####
324
+
325
+ We welcome patches.
326
+ Please read the [Developer's Guide](docs/DevGuide.md)
327
+ for how you can contribute. In particular, make sure you have signed
328
+ the Contributor License Agreement, or we won't be able to accept the
329
+ patch.
330
+
331
+ Happy testing!
332
+
333
+ [gtest_readme]: ../googletest/README.md "googletest"