script_core 0.0.6 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2211) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +7 -1
  3. data/.ruby-version +1 -1
  4. data/.travis.yml +1 -1
  5. data/Gemfile +8 -1
  6. data/{LICENSE → MIT-LICENSE} +0 -0
  7. data/bootstrap.sh +1 -1
  8. data/dev.yml +1 -2
  9. data/ext/enterprise_script_service/Rakefile +7 -1
  10. data/ext/enterprise_script_service/data.cpp +21 -11
  11. data/ext/enterprise_script_service/libseccomp/.gitignore +4 -0
  12. data/ext/enterprise_script_service/libseccomp/.mailmap +10 -0
  13. data/ext/enterprise_script_service/libseccomp/.travis.yml +71 -0
  14. data/ext/enterprise_script_service/libseccomp/CHANGELOG +33 -0
  15. data/ext/enterprise_script_service/libseccomp/CONTRIBUTING.md +134 -0
  16. data/ext/enterprise_script_service/libseccomp/CREDITS +16 -1
  17. data/ext/enterprise_script_service/libseccomp/Makefile.am +32 -1
  18. data/ext/enterprise_script_service/libseccomp/README.md +113 -0
  19. data/ext/enterprise_script_service/libseccomp/RELEASE_PROCESS.md +97 -0
  20. data/ext/enterprise_script_service/libseccomp/configure.ac +8 -1
  21. data/ext/enterprise_script_service/libseccomp/doc/Makefile.am +3 -1
  22. data/ext/enterprise_script_service/libseccomp/doc/credits_updater +35 -0
  23. data/ext/enterprise_script_service/libseccomp/doc/man/man1/scmp_sys_resolver.1 +3 -1
  24. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_api_get.3 +101 -0
  25. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_api_set.3 +1 -0
  26. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_arch_add.3 +1 -1
  27. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_attr_set.3 +23 -4
  28. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_init.3 +9 -0
  29. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_merge.3 +2 -2
  30. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_rule_add.3 +80 -15
  31. data/ext/enterprise_script_service/libseccomp/doc/man/man3/seccomp_syscall_resolve_name.3 +15 -1
  32. data/ext/enterprise_script_service/libseccomp/include/seccomp.h.in +185 -22
  33. data/ext/enterprise_script_service/libseccomp/src/Makefile.am +13 -4
  34. data/ext/enterprise_script_service/libseccomp/src/api.c +87 -8
  35. data/ext/enterprise_script_service/libseccomp/src/arch-aarch64-syscalls.c +18 -7
  36. data/ext/enterprise_script_service/libseccomp/src/arch-aarch64.h +2 -1
  37. data/ext/enterprise_script_service/libseccomp/src/arch-arm-syscalls.c +17 -6
  38. data/ext/enterprise_script_service/libseccomp/src/arch-arm.h +1 -1
  39. data/ext/enterprise_script_service/libseccomp/src/arch-mips-syscalls.c +17 -6
  40. data/ext/enterprise_script_service/libseccomp/src/arch-mips.h +1 -1
  41. data/ext/enterprise_script_service/libseccomp/src/arch-mips64-syscalls.c +17 -6
  42. data/ext/enterprise_script_service/libseccomp/src/arch-mips64.h +1 -1
  43. data/ext/enterprise_script_service/libseccomp/src/arch-mips64n32-syscalls.c +17 -6
  44. data/ext/enterprise_script_service/libseccomp/src/arch-mips64n32.h +1 -1
  45. data/ext/enterprise_script_service/libseccomp/src/arch-parisc-syscalls.c +510 -0
  46. data/ext/enterprise_script_service/libseccomp/src/arch-parisc.c +22 -0
  47. data/ext/enterprise_script_service/libseccomp/src/arch-parisc.h +38 -0
  48. data/ext/enterprise_script_service/libseccomp/src/arch-parisc64.c +22 -0
  49. data/ext/enterprise_script_service/libseccomp/src/arch-ppc-syscalls.c +18 -7
  50. data/ext/enterprise_script_service/libseccomp/src/arch-ppc.h +1 -1
  51. data/ext/enterprise_script_service/libseccomp/src/arch-ppc64-syscalls.c +18 -7
  52. data/ext/enterprise_script_service/libseccomp/src/arch-ppc64.h +1 -1
  53. data/ext/enterprise_script_service/libseccomp/src/arch-s390-syscalls.c +19 -7
  54. data/ext/enterprise_script_service/libseccomp/src/arch-s390.c +43 -45
  55. data/ext/enterprise_script_service/libseccomp/src/arch-s390.h +2 -3
  56. data/ext/enterprise_script_service/libseccomp/src/arch-s390x-syscalls.c +18 -7
  57. data/ext/enterprise_script_service/libseccomp/src/arch-s390x.c +43 -45
  58. data/ext/enterprise_script_service/libseccomp/src/arch-s390x.h +2 -3
  59. data/ext/enterprise_script_service/libseccomp/src/arch-syscall-check.c +56 -53
  60. data/ext/enterprise_script_service/libseccomp/src/arch-syscall-dump.c +23 -18
  61. data/ext/enterprise_script_service/libseccomp/src/arch-syscall-validate +52 -49
  62. data/ext/enterprise_script_service/libseccomp/src/arch-x32-syscalls.c +17 -6
  63. data/ext/enterprise_script_service/libseccomp/src/arch-x32.h +1 -1
  64. data/ext/enterprise_script_service/libseccomp/src/arch-x86-syscalls.c +18 -7
  65. data/ext/enterprise_script_service/libseccomp/src/arch-x86.c +41 -45
  66. data/ext/enterprise_script_service/libseccomp/src/arch-x86.h +2 -3
  67. data/ext/enterprise_script_service/libseccomp/src/arch-x86_64-syscalls.c +17 -6
  68. data/ext/enterprise_script_service/libseccomp/src/arch-x86_64.h +1 -1
  69. data/ext/enterprise_script_service/libseccomp/src/arch.c +48 -83
  70. data/ext/enterprise_script_service/libseccomp/src/arch.h +4 -21
  71. data/ext/enterprise_script_service/libseccomp/src/db.c +1184 -541
  72. data/ext/enterprise_script_service/libseccomp/src/db.h +12 -32
  73. data/ext/enterprise_script_service/libseccomp/src/gen_bpf.c +43 -24
  74. data/ext/enterprise_script_service/libseccomp/src/gen_pfc.c +20 -7
  75. data/ext/enterprise_script_service/libseccomp/src/hash.c +65 -649
  76. data/ext/enterprise_script_service/libseccomp/src/hash.h +3 -13
  77. data/ext/enterprise_script_service/libseccomp/src/helper.c +49 -0
  78. data/ext/enterprise_script_service/libseccomp/src/helper.h +27 -0
  79. data/ext/enterprise_script_service/libseccomp/src/python/Makefile.am +9 -4
  80. data/ext/enterprise_script_service/libseccomp/src/python/libseccomp.pxd +9 -0
  81. data/ext/enterprise_script_service/libseccomp/src/python/seccomp.pyx +72 -8
  82. data/ext/enterprise_script_service/libseccomp/src/python/setup.py +0 -0
  83. data/ext/enterprise_script_service/libseccomp/src/system.c +137 -4
  84. data/ext/enterprise_script_service/libseccomp/src/system.h +32 -2
  85. data/ext/enterprise_script_service/libseccomp/tests/.gitignore +17 -0
  86. data/ext/enterprise_script_service/libseccomp/tests/01-sim-allow.tests +2 -2
  87. data/ext/enterprise_script_service/libseccomp/tests/05-sim-long_jumps.tests +18 -18
  88. data/ext/enterprise_script_service/libseccomp/tests/06-sim-actions.c +12 -0
  89. data/ext/enterprise_script_service/libseccomp/tests/06-sim-actions.py +4 -0
  90. data/ext/enterprise_script_service/libseccomp/tests/06-sim-actions.tests +13 -8
  91. data/ext/enterprise_script_service/libseccomp/tests/08-sim-subtree_checks.c +2 -2
  92. data/ext/enterprise_script_service/libseccomp/tests/08-sim-subtree_checks.py +2 -2
  93. data/ext/enterprise_script_service/libseccomp/tests/08-sim-subtree_checks.tests +27 -27
  94. data/ext/enterprise_script_service/libseccomp/tests/09-sim-syscall_priority_pre.tests +7 -7
  95. data/ext/enterprise_script_service/libseccomp/tests/10-sim-syscall_priority_post.tests +7 -7
  96. data/ext/enterprise_script_service/libseccomp/tests/11-basic-basic_errors.c +12 -0
  97. data/ext/enterprise_script_service/libseccomp/tests/12-sim-basic_masked_ops.tests +29 -29
  98. data/ext/enterprise_script_service/libseccomp/tests/13-basic-attrs.c +37 -0
  99. data/ext/enterprise_script_service/libseccomp/tests/13-basic-attrs.py +10 -0
  100. data/ext/enterprise_script_service/libseccomp/tests/15-basic-resolver.c +79 -21
  101. data/ext/enterprise_script_service/libseccomp/tests/15-basic-resolver.py +2 -2
  102. data/ext/enterprise_script_service/libseccomp/tests/16-sim-arch_basic.c +44 -0
  103. data/ext/enterprise_script_service/libseccomp/tests/16-sim-arch_basic.py +4 -0
  104. data/ext/enterprise_script_service/libseccomp/tests/18-sim-basic_whitelist.c +6 -6
  105. data/ext/enterprise_script_service/libseccomp/tests/18-sim-basic_whitelist.py +6 -6
  106. data/ext/enterprise_script_service/libseccomp/tests/18-sim-basic_whitelist.tests +12 -12
  107. data/ext/enterprise_script_service/libseccomp/tests/20-live-basic_die.py +1 -0
  108. data/ext/enterprise_script_service/libseccomp/tests/20-live-basic_die.tests +4 -4
  109. data/ext/enterprise_script_service/libseccomp/tests/21-live-basic_allow.py +2 -0
  110. data/ext/enterprise_script_service/libseccomp/tests/21-live-basic_allow.tests +2 -2
  111. data/ext/enterprise_script_service/libseccomp/tests/24-live-arg_allow.py +3 -2
  112. data/ext/enterprise_script_service/libseccomp/tests/24-live-arg_allow.tests +2 -2
  113. data/ext/enterprise_script_service/libseccomp/tests/25-sim-multilevel_chains_adv.tests +6 -6
  114. data/ext/enterprise_script_service/libseccomp/tests/26-sim-arch_all_be_basic.c +6 -0
  115. data/ext/enterprise_script_service/libseccomp/tests/26-sim-arch_all_be_basic.py +2 -0
  116. data/ext/enterprise_script_service/libseccomp/tests/27-sim-bpf_blk_state.tests +5 -5
  117. data/ext/enterprise_script_service/libseccomp/tests/28-sim-arch_x86.py +0 -0
  118. data/ext/enterprise_script_service/libseccomp/tests/29-sim-pseudo_syscall.py +0 -0
  119. data/ext/enterprise_script_service/libseccomp/tests/32-live-tsync_allow.py +1 -0
  120. data/ext/enterprise_script_service/libseccomp/tests/32-live-tsync_allow.tests +2 -2
  121. data/ext/enterprise_script_service/libseccomp/tests/34-sim-basic_blacklist.c +74 -0
  122. data/ext/enterprise_script_service/libseccomp/tests/34-sim-basic_blacklist.py +45 -0
  123. data/ext/enterprise_script_service/libseccomp/tests/34-sim-basic_blacklist.tests +32 -0
  124. data/ext/enterprise_script_service/libseccomp/tests/35-sim-negative_one.c +73 -0
  125. data/ext/enterprise_script_service/libseccomp/tests/35-sim-negative_one.py +46 -0
  126. data/ext/enterprise_script_service/libseccomp/tests/35-sim-negative_one.tests +18 -0
  127. data/ext/enterprise_script_service/libseccomp/tests/36-sim-ipc_syscalls.c +112 -0
  128. data/ext/enterprise_script_service/libseccomp/tests/36-sim-ipc_syscalls.py +56 -0
  129. data/ext/enterprise_script_service/libseccomp/tests/36-sim-ipc_syscalls.tests +39 -0
  130. data/ext/enterprise_script_service/libseccomp/tests/37-sim-ipc_syscalls_be.c +109 -0
  131. data/ext/enterprise_script_service/libseccomp/tests/37-sim-ipc_syscalls_be.py +55 -0
  132. data/ext/enterprise_script_service/libseccomp/tests/37-sim-ipc_syscalls_be.tests +27 -0
  133. data/ext/enterprise_script_service/libseccomp/tests/38-basic-pfc_coverage.c +104 -0
  134. data/ext/enterprise_script_service/libseccomp/tests/38-basic-pfc_coverage.sh +46 -0
  135. data/ext/enterprise_script_service/libseccomp/tests/38-basic-pfc_coverage.tests +11 -0
  136. data/ext/enterprise_script_service/libseccomp/tests/39-basic-api_level.c +67 -0
  137. data/ext/enterprise_script_service/libseccomp/tests/39-basic-api_level.py +68 -0
  138. data/ext/enterprise_script_service/libseccomp/tests/39-basic-api_level.tests +11 -0
  139. data/ext/enterprise_script_service/libseccomp/tests/40-sim-log.c +59 -0
  140. data/ext/enterprise_script_service/libseccomp/tests/40-sim-log.py +47 -0
  141. data/ext/enterprise_script_service/libseccomp/tests/40-sim-log.tests +21 -0
  142. data/ext/enterprise_script_service/libseccomp/tests/41-sim-syscall_priority_arch.c +63 -0
  143. data/ext/enterprise_script_service/libseccomp/tests/41-sim-syscall_priority_arch.py +44 -0
  144. data/ext/enterprise_script_service/libseccomp/tests/41-sim-syscall_priority_arch.tests +19 -0
  145. data/ext/enterprise_script_service/libseccomp/tests/42-sim-adv_chains.c +198 -0
  146. data/ext/enterprise_script_service/libseccomp/tests/42-sim-adv_chains.py +128 -0
  147. data/ext/enterprise_script_service/libseccomp/tests/42-sim-adv_chains.tests +54 -0
  148. data/ext/enterprise_script_service/libseccomp/tests/43-sim-a2_order.c +132 -0
  149. data/ext/enterprise_script_service/libseccomp/tests/43-sim-a2_order.py +62 -0
  150. data/ext/enterprise_script_service/libseccomp/tests/43-sim-a2_order.tests +55 -0
  151. data/ext/enterprise_script_service/libseccomp/tests/44-live-a2_order.c +178 -0
  152. data/ext/enterprise_script_service/libseccomp/tests/44-live-a2_order.py +107 -0
  153. data/ext/enterprise_script_service/libseccomp/tests/44-live-a2_order.tests +11 -0
  154. data/ext/enterprise_script_service/libseccomp/tests/45-sim-chain_code_coverage.c +108 -0
  155. data/ext/enterprise_script_service/libseccomp/tests/45-sim-chain_code_coverage.py +48 -0
  156. data/ext/enterprise_script_service/libseccomp/tests/45-sim-chain_code_coverage.tests +16 -0
  157. data/ext/enterprise_script_service/libseccomp/tests/46-sim-kill_process.c +78 -0
  158. data/ext/enterprise_script_service/libseccomp/tests/46-sim-kill_process.py +47 -0
  159. data/ext/enterprise_script_service/libseccomp/tests/46-sim-kill_process.tests +16 -0
  160. data/ext/enterprise_script_service/libseccomp/tests/47-live-kill_process.c +102 -0
  161. data/ext/enterprise_script_service/libseccomp/tests/47-live-kill_process.py +68 -0
  162. data/ext/enterprise_script_service/libseccomp/tests/47-live-kill_process.tests +11 -0
  163. data/ext/enterprise_script_service/libseccomp/tests/48-sim-32b_args.c +84 -0
  164. data/ext/enterprise_script_service/libseccomp/tests/48-sim-32b_args.py +50 -0
  165. data/ext/enterprise_script_service/libseccomp/tests/48-sim-32b_args.tests +38 -0
  166. data/ext/enterprise_script_service/libseccomp/tests/49-sim-64b_comparisons.c +56 -0
  167. data/ext/enterprise_script_service/libseccomp/tests/49-sim-64b_comparisons.py +45 -0
  168. data/ext/enterprise_script_service/libseccomp/tests/49-sim-64b_comparisons.tests +25 -0
  169. data/ext/enterprise_script_service/libseccomp/tests/Makefile.am +68 -6
  170. data/ext/enterprise_script_service/libseccomp/tests/miniseq.c +3 -2
  171. data/ext/enterprise_script_service/libseccomp/tests/regression +102 -10
  172. data/ext/enterprise_script_service/libseccomp/tests/util.c +4 -0
  173. data/ext/enterprise_script_service/libseccomp/tests/util.py +2 -2
  174. data/ext/enterprise_script_service/libseccomp/tools/.gitignore +1 -0
  175. data/ext/enterprise_script_service/libseccomp/tools/Makefile.am +5 -1
  176. data/ext/enterprise_script_service/libseccomp/tools/bpf.h +8 -1
  177. data/ext/enterprise_script_service/libseccomp/tools/scmp_api_level.c +39 -0
  178. data/ext/enterprise_script_service/libseccomp/tools/scmp_arch_detect.c +6 -0
  179. data/ext/enterprise_script_service/libseccomp/tools/scmp_bpf_disasm.c +14 -2
  180. data/ext/enterprise_script_service/libseccomp/tools/scmp_bpf_sim.c +12 -2
  181. data/ext/enterprise_script_service/libseccomp/tools/util.c +4 -0
  182. data/ext/enterprise_script_service/mruby/.gitignore +15 -8
  183. data/ext/enterprise_script_service/mruby/.travis.yml +3 -4
  184. data/ext/enterprise_script_service/mruby/.yardopts +1 -1
  185. data/ext/enterprise_script_service/mruby/AUTHORS +6 -2
  186. data/ext/enterprise_script_service/mruby/LEGAL +1 -1
  187. data/ext/enterprise_script_service/mruby/LICENSE +20 -0
  188. data/ext/enterprise_script_service/mruby/README.md +2 -2
  189. data/ext/enterprise_script_service/mruby/Rakefile +28 -12
  190. data/ext/enterprise_script_service/mruby/TODO +0 -2
  191. data/ext/enterprise_script_service/mruby/appveyor.yml +11 -7
  192. data/ext/enterprise_script_service/mruby/benchmark/bm_app_lc_fizzbuzz.rb +1 -2
  193. data/ext/enterprise_script_service/mruby/build_config.rb +3 -2
  194. data/ext/enterprise_script_service/mruby/doc/guides/debugger.md +1 -1
  195. data/ext/enterprise_script_service/mruby/doc/guides/mrbgems.md +7 -2
  196. data/ext/enterprise_script_service/mruby/doc/limitations.md +69 -7
  197. data/ext/enterprise_script_service/mruby/doc/opcode.md +127 -0
  198. data/ext/enterprise_script_service/mruby/examples/targets/build_config_android_arm64-v8a.rb +2 -2
  199. data/ext/enterprise_script_service/mruby/examples/targets/build_config_android_armeabi.rb +2 -2
  200. data/ext/enterprise_script_service/mruby/include/mrbconf.h +9 -3
  201. data/ext/enterprise_script_service/mruby/include/mruby.h +45 -34
  202. data/ext/enterprise_script_service/mruby/include/mruby/array.h +17 -0
  203. data/ext/enterprise_script_service/mruby/include/mruby/boxing_nan.h +1 -1
  204. data/ext/enterprise_script_service/mruby/include/mruby/boxing_word.h +12 -4
  205. data/ext/enterprise_script_service/mruby/include/mruby/class.h +18 -15
  206. data/ext/enterprise_script_service/mruby/include/mruby/common.h +6 -1
  207. data/ext/enterprise_script_service/mruby/include/mruby/compile.h +6 -5
  208. data/ext/enterprise_script_service/mruby/include/mruby/data.h +5 -4
  209. data/ext/enterprise_script_service/mruby/include/mruby/debug.h +5 -5
  210. data/ext/enterprise_script_service/mruby/include/mruby/dump.h +2 -2
  211. data/ext/enterprise_script_service/mruby/include/mruby/error.h +1 -1
  212. data/ext/enterprise_script_service/mruby/include/mruby/hash.h +56 -9
  213. data/ext/enterprise_script_service/mruby/include/mruby/irep.h +17 -4
  214. data/ext/enterprise_script_service/mruby/include/mruby/object.h +5 -6
  215. data/ext/enterprise_script_service/mruby/include/mruby/opcode.h +47 -139
  216. data/ext/enterprise_script_service/mruby/include/mruby/ops.h +117 -0
  217. data/ext/enterprise_script_service/mruby/include/mruby/proc.h +8 -8
  218. data/ext/enterprise_script_service/mruby/include/mruby/range.h +29 -5
  219. data/ext/enterprise_script_service/mruby/include/mruby/string.h +20 -10
  220. data/ext/enterprise_script_service/mruby/include/mruby/throw.h +4 -4
  221. data/ext/enterprise_script_service/mruby/include/mruby/value.h +4 -0
  222. data/ext/enterprise_script_service/mruby/include/mruby/variable.h +7 -4
  223. data/ext/enterprise_script_service/mruby/include/mruby/version.h +7 -7
  224. data/ext/enterprise_script_service/mruby/lib/mruby-core-ext.rb +23 -17
  225. data/ext/enterprise_script_service/mruby/lib/mruby/build.rb +35 -9
  226. data/ext/enterprise_script_service/mruby/lib/mruby/build/command.rb +5 -5
  227. data/ext/enterprise_script_service/mruby/lib/mruby/build/load_gems.rb +5 -3
  228. data/ext/enterprise_script_service/mruby/lib/mruby/gem.rb +26 -27
  229. data/ext/enterprise_script_service/mruby/minirake +136 -15
  230. data/ext/enterprise_script_service/mruby/mrbgems/default.gembox +9 -0
  231. data/ext/enterprise_script_service/mruby/mrbgems/mruby-array-ext/mrblib/array.rb +54 -50
  232. data/ext/enterprise_script_service/mruby/mrbgems/mruby-array-ext/src/array.c +3 -46
  233. data/ext/enterprise_script_service/mruby/mrbgems/mruby-array-ext/test/array.rb +9 -24
  234. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-config/mrbgem.rake +23 -0
  235. data/ext/enterprise_script_service/mruby/mrbgems/{mruby-bin-mruby-config → mruby-bin-config}/mruby-config +0 -0
  236. data/ext/enterprise_script_service/mruby/mrbgems/{mruby-bin-mruby-config → mruby-bin-config}/mruby-config.bat +0 -0
  237. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/bintest/print.rb +13 -13
  238. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.c +9 -7
  239. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c +1 -1
  240. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apiprint.c +7 -2
  241. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/apiprint.h +1 -1
  242. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c +3 -3
  243. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdmisc.c +7 -1
  244. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdprint.c +24 -1
  245. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/cmdrun.c +1 -1
  246. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c +8 -5
  247. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.h +2 -0
  248. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mirb/bintest/mirb.rb +22 -0
  249. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c +84 -17
  250. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mrbc/mrbgem.rake +1 -1
  251. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c +9 -0
  252. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mruby/bintest/mruby.rb +38 -1
  253. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mruby/mrbgem.rake +1 -0
  254. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mruby/tools/mruby/mruby.c +60 -7
  255. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-strip/bintest/mruby-strip.rb +3 -3
  256. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c +1 -17
  257. data/ext/enterprise_script_service/mruby/mrbgems/mruby-class-ext/mrblib/module.rb +89 -0
  258. data/ext/enterprise_script_service/mruby/mrbgems/mruby-class-ext/test/module.rb +55 -1
  259. data/ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/core/codegen.c +918 -767
  260. data/ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/core/node.h +4 -20
  261. data/ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/core/parse.y +552 -273
  262. data/ext/enterprise_script_service/mruby/mrbgems/mruby-compiler/mrbgem.rake +3 -3
  263. data/ext/enterprise_script_service/mruby/mrbgems/mruby-enum-chain/mrbgem.rake +6 -0
  264. data/ext/enterprise_script_service/mruby/mrbgems/mruby-enum-chain/mrblib/chain.rb +60 -0
  265. data/ext/enterprise_script_service/mruby/mrbgems/mruby-enum-chain/test/enum_chain.rb +76 -0
  266. data/ext/enterprise_script_service/mruby/mrbgems/mruby-enum-ext/mrblib/enum.rb +57 -37
  267. data/ext/enterprise_script_service/mruby/mrbgems/mruby-enum-ext/test/enum.rb +10 -2
  268. data/ext/enterprise_script_service/mruby/mrbgems/mruby-enum-lazy/mrblib/lazy.rb +1 -1
  269. data/ext/enterprise_script_service/mruby/mrbgems/mruby-enum-lazy/test/lazy.rb +1 -1
  270. data/ext/enterprise_script_service/mruby/mrbgems/mruby-enumerator/mrblib/enumerator.rb +47 -35
  271. data/ext/enterprise_script_service/mruby/mrbgems/mruby-enumerator/test/enumerator.rb +22 -17
  272. data/ext/enterprise_script_service/mruby/mrbgems/mruby-eval/src/eval.c +90 -40
  273. data/ext/enterprise_script_service/mruby/mrbgems/mruby-eval/test/eval.rb +33 -2
  274. data/ext/enterprise_script_service/mruby/mrbgems/mruby-fiber/src/fiber.c +15 -12
  275. data/ext/enterprise_script_service/mruby/mrbgems/mruby-hash-ext/mrblib/hash.rb +42 -47
  276. data/ext/enterprise_script_service/mruby/mrbgems/mruby-hash-ext/src/hash-ext.c +4 -47
  277. data/ext/enterprise_script_service/mruby/mrbgems/mruby-hash-ext/test/hash.rb +0 -6
  278. data/ext/enterprise_script_service/mruby/mrbgems/mruby-inline-struct/test/inline.c +12 -10
  279. data/ext/enterprise_script_service/mruby/mrbgems/mruby-inline-struct/test/inline.rb +17 -50
  280. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/mrbgem.rake +2 -1
  281. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/mrblib/io.rb +3 -2
  282. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/src/file.c +11 -8
  283. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/src/io.c +128 -117
  284. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/test/file.rb +17 -21
  285. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/test/file_test.rb +4 -4
  286. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/test/io.rb +16 -53
  287. data/ext/enterprise_script_service/mruby/mrbgems/mruby-kernel-ext/mrblib/kernel.rb +2 -0
  288. data/ext/enterprise_script_service/mruby/mrbgems/mruby-kernel-ext/src/kernel.c +12 -30
  289. data/ext/enterprise_script_service/mruby/mrbgems/mruby-kernel-ext/test/kernel.rb +4 -2
  290. data/ext/enterprise_script_service/mruby/mrbgems/mruby-math/src/math.c +7 -10
  291. data/ext/enterprise_script_service/mruby/mrbgems/mruby-math/test/math.rb +31 -51
  292. data/ext/enterprise_script_service/mruby/mrbgems/mruby-metaprog/mrbgem.rake +5 -0
  293. data/ext/enterprise_script_service/mruby/mrbgems/mruby-metaprog/src/metaprog.c +702 -0
  294. data/ext/enterprise_script_service/mruby/mrbgems/mruby-metaprog/test/metaprog.rb +369 -0
  295. data/ext/enterprise_script_service/mruby/mrbgems/mruby-method/mrblib/kernel.rb +3 -2
  296. data/ext/enterprise_script_service/mruby/mrbgems/mruby-method/mrblib/method.rb +8 -0
  297. data/ext/enterprise_script_service/mruby/mrbgems/mruby-method/src/method.c +4 -4
  298. data/ext/enterprise_script_service/mruby/mrbgems/mruby-method/test/method.rb +27 -9
  299. data/ext/enterprise_script_service/mruby/mrbgems/mruby-numeric-ext/src/numeric_ext.c +7 -10
  300. data/ext/enterprise_script_service/mruby/mrbgems/mruby-numeric-ext/test/numeric.rb +2 -1
  301. data/ext/enterprise_script_service/mruby/mrbgems/mruby-object-ext/test/nil.rb +2 -1
  302. data/ext/enterprise_script_service/mruby/mrbgems/mruby-objectspace/src/mruby_objectspace.c +1 -1
  303. data/ext/enterprise_script_service/mruby/mrbgems/mruby-objectspace/test/objectspace.rb +1 -1
  304. data/ext/enterprise_script_service/mruby/mrbgems/mruby-pack/src/pack.c +126 -79
  305. data/ext/enterprise_script_service/mruby/mrbgems/mruby-pack/test/pack.rb +2 -2
  306. data/ext/enterprise_script_service/mruby/mrbgems/mruby-print/mrblib/print.rb +1 -4
  307. data/ext/enterprise_script_service/mruby/mrbgems/mruby-print/src/print.c +0 -1
  308. data/ext/enterprise_script_service/mruby/mrbgems/mruby-proc-ext/mrblib/proc.rb +9 -1
  309. data/ext/enterprise_script_service/mruby/mrbgems/mruby-proc-ext/src/proc.c +34 -19
  310. data/ext/enterprise_script_service/mruby/mrbgems/mruby-proc-ext/test/proc.rb +18 -0
  311. data/ext/enterprise_script_service/mruby/mrbgems/mruby-random/src/random.c +7 -7
  312. data/ext/enterprise_script_service/mruby/mrbgems/mruby-random/test/random.rb +0 -12
  313. data/ext/enterprise_script_service/mruby/mrbgems/mruby-range-ext/mrblib/range.rb +1 -4
  314. data/ext/enterprise_script_service/mruby/mrbgems/mruby-range-ext/src/range.c +13 -14
  315. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sleep/.gitignore +4 -0
  316. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sleep/.travis.yml +29 -0
  317. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sleep/.travis_build_config.rb +6 -0
  318. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sleep/README.md +27 -0
  319. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sleep/Rakefile +29 -0
  320. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sleep/example/sleep.rb +3 -0
  321. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sleep/mrbgem.rake +5 -0
  322. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sleep/src/mrb_sleep.c +135 -0
  323. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sleep/test/sleep_test.rb +29 -0
  324. data/ext/enterprise_script_service/mruby/mrbgems/mruby-socket/mrbgem.rake +1 -0
  325. data/ext/enterprise_script_service/mruby/mrbgems/mruby-socket/mrblib/socket.rb +3 -3
  326. data/ext/enterprise_script_service/mruby/mrbgems/mruby-socket/src/const.cstub +6 -0
  327. data/ext/enterprise_script_service/mruby/mrbgems/mruby-socket/src/const.def +2 -0
  328. data/ext/enterprise_script_service/mruby/mrbgems/mruby-socket/src/socket.c +48 -20
  329. data/ext/enterprise_script_service/mruby/mrbgems/mruby-socket/test/addrinfo.rb +5 -5
  330. data/ext/enterprise_script_service/mruby/mrbgems/mruby-socket/test/socket.rb +2 -2
  331. data/ext/enterprise_script_service/mruby/mrbgems/mruby-socket/test/sockettest.c +1 -0
  332. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sprintf/src/sprintf.c +14 -13
  333. data/ext/enterprise_script_service/mruby/mrbgems/mruby-sprintf/test/sprintf.rb +6 -3
  334. data/ext/enterprise_script_service/mruby/mrbgems/mruby-string-ext/mrblib/string.rb +96 -21
  335. data/ext/enterprise_script_service/mruby/mrbgems/mruby-string-ext/src/string.c +626 -190
  336. data/ext/enterprise_script_service/mruby/mrbgems/mruby-string-ext/test/string.rb +102 -59
  337. data/ext/enterprise_script_service/mruby/mrbgems/mruby-struct/mrblib/struct.rb +15 -16
  338. data/ext/enterprise_script_service/mruby/mrbgems/mruby-struct/src/struct.c +16 -15
  339. data/ext/enterprise_script_service/mruby/mrbgems/mruby-struct/test/struct.rb +2 -2
  340. data/ext/enterprise_script_service/mruby/mrbgems/mruby-symbol-ext/mrblib/symbol.rb +0 -6
  341. data/ext/enterprise_script_service/mruby/mrbgems/mruby-symbol-ext/src/symbol.c +13 -6
  342. data/ext/enterprise_script_service/mruby/mrbgems/mruby-symbol-ext/test/symbol.rb +21 -13
  343. data/ext/enterprise_script_service/mruby/mrbgems/mruby-test/driver.c +22 -39
  344. data/ext/enterprise_script_service/mruby/mrbgems/mruby-test/mrbgem.rake +22 -23
  345. data/ext/enterprise_script_service/mruby/mrbgems/mruby-time/include/mruby/time.h +25 -0
  346. data/ext/enterprise_script_service/mruby/mrbgems/mruby-time/src/time.c +26 -22
  347. data/ext/enterprise_script_service/mruby/mrbgems/mruby-toplevel-ext/test/toplevel.rb +2 -2
  348. data/ext/enterprise_script_service/mruby/mrblib/array.rb +70 -40
  349. data/ext/enterprise_script_service/mruby/mrblib/enum.rb +4 -3
  350. data/ext/enterprise_script_service/mruby/mrblib/hash.rb +17 -46
  351. data/ext/enterprise_script_service/mruby/mrblib/kernel.rb +1 -1
  352. data/ext/enterprise_script_service/mruby/mrblib/mrblib.rake +1 -4
  353. data/ext/enterprise_script_service/mruby/mrblib/numeric.rb +2 -2
  354. data/ext/enterprise_script_service/mruby/mrblib/string.rb +7 -8
  355. data/ext/enterprise_script_service/mruby/mrblib/symbol.rb +7 -0
  356. data/ext/enterprise_script_service/mruby/src/array.c +97 -44
  357. data/ext/enterprise_script_service/mruby/src/backtrace.c +14 -16
  358. data/ext/enterprise_script_service/mruby/src/class.c +156 -464
  359. data/ext/enterprise_script_service/mruby/src/codedump.c +436 -364
  360. data/ext/enterprise_script_service/mruby/src/debug.c +42 -45
  361. data/ext/enterprise_script_service/mruby/src/dump.c +27 -152
  362. data/ext/enterprise_script_service/mruby/src/enum.c +18 -2
  363. data/ext/enterprise_script_service/mruby/src/error.c +5 -4
  364. data/ext/enterprise_script_service/mruby/src/etc.c +1 -0
  365. data/ext/enterprise_script_service/mruby/src/fmt_fp.c +15 -1
  366. data/ext/enterprise_script_service/mruby/src/gc.c +76 -30
  367. data/ext/enterprise_script_service/mruby/src/hash.c +768 -256
  368. data/ext/enterprise_script_service/mruby/src/kernel.c +24 -446
  369. data/ext/enterprise_script_service/mruby/src/load.c +35 -35
  370. data/ext/enterprise_script_service/mruby/src/mruby_core.rake +2 -3
  371. data/ext/enterprise_script_service/mruby/src/numeric.c +96 -32
  372. data/ext/enterprise_script_service/mruby/src/object.c +88 -43
  373. data/ext/enterprise_script_service/mruby/src/proc.c +16 -14
  374. data/ext/enterprise_script_service/mruby/src/range.c +186 -176
  375. data/ext/enterprise_script_service/mruby/src/state.c +5 -5
  376. data/ext/enterprise_script_service/mruby/src/string.c +79 -93
  377. data/ext/enterprise_script_service/mruby/src/symbol.c +173 -85
  378. data/ext/enterprise_script_service/mruby/src/variable.c +283 -177
  379. data/ext/enterprise_script_service/mruby/src/vm.c +711 -688
  380. data/ext/enterprise_script_service/mruby/tasks/libmruby.rake +4 -3
  381. data/ext/enterprise_script_service/mruby/tasks/mrbgems.rake +3 -2
  382. data/ext/enterprise_script_service/mruby/tasks/toolchains/android.rake +1 -0
  383. data/ext/enterprise_script_service/mruby/tasks/toolchains/clang.rake +1 -1
  384. data/ext/enterprise_script_service/mruby/tasks/toolchains/gcc.rake +4 -6
  385. data/ext/enterprise_script_service/mruby/tasks/toolchains/openwrt.rake +0 -2
  386. data/ext/enterprise_script_service/mruby/tasks/toolchains/visualcpp.rake +12 -11
  387. data/ext/enterprise_script_service/mruby/test/assert.rb +114 -121
  388. data/ext/enterprise_script_service/mruby/test/bintest.rb +10 -1
  389. data/ext/enterprise_script_service/mruby/test/t/array.rb +11 -11
  390. data/ext/enterprise_script_service/mruby/test/t/bs_block.rb +32 -31
  391. data/ext/enterprise_script_service/mruby/test/t/class.rb +11 -23
  392. data/ext/enterprise_script_service/mruby/test/t/codegen.rb +3 -3
  393. data/ext/enterprise_script_service/mruby/test/t/enumerable.rb +1 -1
  394. data/ext/enterprise_script_service/mruby/test/t/exception.rb +2 -2
  395. data/ext/enterprise_script_service/mruby/test/t/float.rb +41 -2
  396. data/ext/enterprise_script_service/mruby/test/t/hash.rb +6 -5
  397. data/ext/enterprise_script_service/mruby/test/t/integer.rb +26 -44
  398. data/ext/enterprise_script_service/mruby/test/t/kernel.rb +7 -119
  399. data/ext/enterprise_script_service/mruby/test/t/literals.rb +1 -1
  400. data/ext/enterprise_script_service/mruby/test/t/module.rb +93 -282
  401. data/ext/enterprise_script_service/mruby/test/t/numeric.rb +40 -11
  402. data/ext/enterprise_script_service/mruby/test/t/proc.rb +1 -1
  403. data/ext/enterprise_script_service/mruby/test/t/range.rb +19 -2
  404. data/ext/enterprise_script_service/mruby/test/t/string.rb +17 -24
  405. data/ext/enterprise_script_service/mruby/test/t/symbol.rb +6 -2
  406. data/ext/enterprise_script_service/mruby/test/t/syntax.rb +191 -3
  407. data/ext/enterprise_script_service/mruby/travis_config.rb +1 -1
  408. data/ext/enterprise_script_service/mruby_engine.cpp +1 -1
  409. data/ext/enterprise_script_service/mruby_engine.gembox +1 -0
  410. data/ext/enterprise_script_service/msgpack/.travis.yml +77 -44
  411. data/ext/enterprise_script_service/msgpack/CHANGELOG.md +75 -0
  412. data/ext/enterprise_script_service/msgpack/CMakeLists.txt +187 -50
  413. data/ext/enterprise_script_service/msgpack/Doxyfile +1 -1
  414. data/ext/enterprise_script_service/msgpack/Files.cmake +87 -0
  415. data/ext/enterprise_script_service/msgpack/QUICKSTART-C.md +3 -3
  416. data/ext/enterprise_script_service/msgpack/QUICKSTART-CPP.md +1 -1
  417. data/ext/enterprise_script_service/msgpack/README.md +15 -7
  418. data/ext/enterprise_script_service/msgpack/appveyor.yml +9 -5
  419. data/ext/enterprise_script_service/msgpack/ci/build_cmake.sh +2 -2
  420. data/ext/enterprise_script_service/msgpack/ci/build_regression.sh +49 -0
  421. data/ext/enterprise_script_service/msgpack/erb/v1/cpp03_define_array.hpp.erb +4 -2
  422. data/ext/enterprise_script_service/msgpack/erb/v1/cpp03_define_map.hpp.erb +2 -1
  423. data/ext/enterprise_script_service/msgpack/erb/v1/cpp03_msgpack_tuple.hpp.erb +1 -1
  424. data/ext/enterprise_script_service/msgpack/erb/v1/cpp03_zone.hpp.erb +25 -18
  425. data/ext/enterprise_script_service/msgpack/erb/v1/cpp03_zone_decl.hpp.erb +8 -0
  426. data/ext/enterprise_script_service/msgpack/example/boost/CMakeLists.txt +28 -1
  427. data/ext/enterprise_script_service/msgpack/example/boost/asio_send_recv.cpp +104 -0
  428. data/ext/enterprise_script_service/msgpack/example/boost/asio_send_recv_zlib.cpp +176 -0
  429. data/ext/enterprise_script_service/msgpack/example/c/CMakeLists.txt +4 -2
  430. data/ext/enterprise_script_service/msgpack/example/c/speed_test_uint32_array.c +1 -1
  431. data/ext/enterprise_script_service/msgpack/example/c/speed_test_uint64_array.c +1 -1
  432. data/ext/enterprise_script_service/msgpack/example/cpp03/CMakeLists.txt +15 -3
  433. data/ext/enterprise_script_service/msgpack/example/cpp03/class_non_intrusive.cpp +1 -1
  434. data/ext/enterprise_script_service/msgpack/example/cpp11/CMakeLists.txt +5 -1
  435. data/ext/enterprise_script_service/msgpack/example/x3/CMakeLists.txt +12 -4
  436. data/ext/enterprise_script_service/msgpack/example/x3/parse.cpp +7 -1
  437. data/ext/enterprise_script_service/msgpack/example/x3/stream_unpack.cpp +9 -0
  438. data/ext/enterprise_script_service/msgpack/external/boost/predef/.gitattributes +96 -0
  439. data/ext/enterprise_script_service/msgpack/external/boost/predef/.gitignore +3 -0
  440. data/ext/enterprise_script_service/msgpack/external/boost/predef/.project +17 -0
  441. data/ext/enterprise_script_service/msgpack/external/boost/predef/.pydevproject +5 -0
  442. data/ext/enterprise_script_service/msgpack/external/boost/predef/.travis.yml +109 -0
  443. data/ext/enterprise_script_service/msgpack/external/boost/predef/appveyor.yml +149 -0
  444. data/ext/enterprise_script_service/msgpack/external/boost/predef/build.jam +6 -0
  445. data/ext/enterprise_script_service/msgpack/external/boost/predef/check/predef.jam +17 -0
  446. data/ext/enterprise_script_service/msgpack/external/boost/predef/doc/.gitignore +1 -0
  447. data/ext/enterprise_script_service/msgpack/external/boost/predef/doc/build.jam +100 -0
  448. data/ext/enterprise_script_service/msgpack/external/boost/predef/doc/hardware_simd.qbk +89 -0
  449. data/ext/enterprise_script_service/msgpack/external/boost/predef/doc/history.qbk +93 -0
  450. data/ext/enterprise_script_service/msgpack/external/boost/predef/doc/predef.qbk +734 -0
  451. data/ext/enterprise_script_service/msgpack/external/boost/predef/doc/todo.qbk +12 -0
  452. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/detail/endian.hpp +11 -0
  453. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef.h +24 -0
  454. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture.h +33 -0
  455. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/alpha.h +59 -0
  456. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/arm.h +80 -0
  457. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/blackfin.h +46 -0
  458. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/convex.h +65 -0
  459. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/ia64.h +49 -0
  460. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/m68k.h +82 -0
  461. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/mips.h +73 -0
  462. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/parisc.h +64 -0
  463. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/ppc.h +72 -0
  464. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/ptx.h +44 -0
  465. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/pyramid.h +42 -0
  466. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/rs6k.h +56 -0
  467. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/sparc.h +54 -0
  468. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/superh.h +67 -0
  469. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/sys370.h +43 -0
  470. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/sys390.h +43 -0
  471. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/x86.h +38 -0
  472. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/x86/32.h +87 -0
  473. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/x86/64.h +50 -0
  474. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/architecture/z.h +42 -0
  475. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler.h +44 -0
  476. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/borland.h +63 -0
  477. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/clang.h +56 -0
  478. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/comeau.h +61 -0
  479. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/compaq.h +66 -0
  480. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/diab.h +56 -0
  481. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/digitalmars.h +56 -0
  482. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/dignus.h +56 -0
  483. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/edg.h +56 -0
  484. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/ekopath.h +57 -0
  485. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/gcc.h +68 -0
  486. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/gcc_xml.h +53 -0
  487. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/greenhills.h +66 -0
  488. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/hp_acc.h +61 -0
  489. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/iar.h +56 -0
  490. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/ibm.h +72 -0
  491. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/intel.h +79 -0
  492. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/kai.h +56 -0
  493. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/llvm.h +57 -0
  494. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/metaware.h +53 -0
  495. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/metrowerks.h +77 -0
  496. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/microtec.h +53 -0
  497. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/mpw.h +63 -0
  498. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/nvcc.h +60 -0
  499. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/palm.h +56 -0
  500. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/pgi.h +60 -0
  501. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/sgi_mipspro.h +66 -0
  502. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/sunpro.h +76 -0
  503. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/tendra.h +53 -0
  504. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/visualc.h +105 -0
  505. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/compiler/watcom.h +56 -0
  506. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/detail/_cassert.h +17 -0
  507. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/detail/_exception.h +15 -0
  508. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/detail/comp_detected.h +10 -0
  509. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/detail/endian_compat.h +26 -0
  510. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/detail/os_detected.h +10 -0
  511. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/detail/platform_detected.h +10 -0
  512. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/detail/test.h +17 -0
  513. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/detail/test_def.h +71 -0
  514. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware.h +16 -0
  515. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd.h +119 -0
  516. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd/arm.h +59 -0
  517. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd/arm/versions.h +32 -0
  518. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd/ppc.h +69 -0
  519. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd/ppc/versions.h +51 -0
  520. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd/x86.h +123 -0
  521. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd/x86/versions.h +129 -0
  522. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd/x86_amd.h +87 -0
  523. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/hardware/simd/x86_amd/versions.h +51 -0
  524. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/language.h +18 -0
  525. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/language/cuda.h +52 -0
  526. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/language/objc.h +42 -0
  527. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/language/stdc.h +53 -0
  528. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/language/stdcpp.h +121 -0
  529. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library.h +16 -0
  530. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/c.h +21 -0
  531. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/c/_prefix.h +13 -0
  532. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/c/cloudabi.h +53 -0
  533. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/c/gnu.h +61 -0
  534. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/c/uc.h +47 -0
  535. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/c/vms.h +47 -0
  536. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/c/zos.h +56 -0
  537. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std.h +25 -0
  538. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std/_prefix.h +23 -0
  539. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std/cxx.h +46 -0
  540. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std/dinkumware.h +52 -0
  541. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std/libcomo.h +47 -0
  542. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std/modena.h +45 -0
  543. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std/msl.h +53 -0
  544. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std/roguewave.h +56 -0
  545. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std/sgi.h +51 -0
  546. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std/stdcpp3.h +53 -0
  547. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std/stlport.h +59 -0
  548. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/library/std/vacpp.h +44 -0
  549. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/make.h +97 -0
  550. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os.h +33 -0
  551. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/aix.h +66 -0
  552. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/amigaos.h +46 -0
  553. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/android.h +45 -0
  554. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/beos.h +45 -0
  555. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/bsd.h +103 -0
  556. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/bsd/bsdi.h +48 -0
  557. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/bsd/dragonfly.h +50 -0
  558. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/bsd/free.h +67 -0
  559. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/bsd/net.h +84 -0
  560. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/bsd/open.h +251 -0
  561. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/cygwin.h +45 -0
  562. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/haiku.h +46 -0
  563. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/hpux.h +47 -0
  564. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/ios.h +51 -0
  565. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/irix.h +46 -0
  566. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/linux.h +46 -0
  567. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/macos.h +65 -0
  568. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/os400.h +45 -0
  569. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/qnxnto.h +59 -0
  570. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/solaris.h +46 -0
  571. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/unix.h +76 -0
  572. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/vms.h +52 -0
  573. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/os/windows.h +51 -0
  574. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/other.h +16 -0
  575. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/other/endian.h +203 -0
  576. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/other/workaround.h +87 -0
  577. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform.h +28 -0
  578. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/cloudabi.h +43 -0
  579. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/ios.h +58 -0
  580. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/mingw.h +69 -0
  581. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/mingw32.h +63 -0
  582. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/mingw64.h +63 -0
  583. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/windows_desktop.h +51 -0
  584. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/windows_phone.h +48 -0
  585. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/windows_runtime.h +53 -0
  586. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/windows_server.h +47 -0
  587. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/windows_store.h +50 -0
  588. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/windows_system.h +47 -0
  589. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/platform/windows_uwp.h +60 -0
  590. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/version.h +15 -0
  591. data/ext/enterprise_script_service/msgpack/external/boost/predef/include/boost/predef/version_number.h +72 -0
  592. data/ext/enterprise_script_service/msgpack/external/boost/predef/index.html +14 -0
  593. data/ext/enterprise_script_service/msgpack/external/boost/predef/meta/libraries.json +14 -0
  594. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/.gitignore +3 -0
  595. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/build.jam +80 -0
  596. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/check_value.cpp +26 -0
  597. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/info_as_c.c +7 -0
  598. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/info_as_cpp.cpp +7 -0
  599. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/info_as_objc.m +7 -0
  600. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/info_as_objcpp.mm +7 -0
  601. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/macos_endian.c +21 -0
  602. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/macos_vs_bsd.c +19 -0
  603. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/make.cpp +94 -0
  604. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/platform_windows.cpp +177 -0
  605. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/predef_info.h +46 -0
  606. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/tested_at.cpp +62 -0
  607. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/tested_at_outdated.cpp +18 -0
  608. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/version.cpp +83 -0
  609. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/workaround.cpp +62 -0
  610. data/ext/enterprise_script_service/msgpack/external/boost/predef/test/workaround_strict_config.cpp +17 -0
  611. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/build.jam +9 -0
  612. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/predef.jam +202 -0
  613. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/predef_check.h +98 -0
  614. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/predef_check_as_c.c +7 -0
  615. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/predef_check_as_cpp.cpp +7 -0
  616. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/predef_check_as_objc.m +7 -0
  617. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/predef_check_as_objcpp.mm +7 -0
  618. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/predef_check_cc.h +19 -0
  619. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/predef_check_cc_as_c.c +7 -0
  620. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/predef_check_cc_as_cpp.cpp +7 -0
  621. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/predef_check_cc_as_objc.m +7 -0
  622. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/check/predef_check_cc_as_objcpp.mm +7 -0
  623. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/ci/build_log.py +428 -0
  624. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/ci/common.py +878 -0
  625. data/ext/enterprise_script_service/msgpack/external/boost/predef/tools/ci/library_test.py +198 -0
  626. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/.gitattributes +96 -0
  627. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/.travis.yml +39 -0
  628. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/appveyor.yml +36 -0
  629. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/AppendixA-AnIntroductiontoPreprocessorMetaprogramming.html +2494 -0
  630. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/acknowledgements.html +58 -0
  631. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/bibliography.html +58 -0
  632. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/contents.html +38 -0
  633. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/data.html +27 -0
  634. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/data/arrays.html +55 -0
  635. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/data/lists.html +42 -0
  636. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/data/sequences.html +60 -0
  637. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/data/tuples.html +42 -0
  638. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/examples.html +27 -0
  639. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/examples/array_arithmetic.c +196 -0
  640. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/examples/catch_builtin.cpp +51 -0
  641. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/examples/delay.c +95 -0
  642. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/examples/duffs_device.c +61 -0
  643. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/examples/is_integral.cpp +49 -0
  644. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/examples/linear_fib.c +91 -0
  645. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers.html +249 -0
  646. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/arithmetic.html +36 -0
  647. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/arithmetic/add.html +31 -0
  648. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/arithmetic/dec.html +30 -0
  649. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/arithmetic/div.html +31 -0
  650. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/arithmetic/inc.html +30 -0
  651. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/arithmetic/mod.html +31 -0
  652. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/arithmetic/mul.html +31 -0
  653. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/arithmetic/sub.html +31 -0
  654. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array.html +43 -0
  655. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/data.html +30 -0
  656. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/elem.html +30 -0
  657. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/enum.html +24 -0
  658. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/insert.html +31 -0
  659. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/pop_back.html +31 -0
  660. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/pop_front.html +31 -0
  661. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/push_back.html +30 -0
  662. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/push_front.html +30 -0
  663. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/remove.html +31 -0
  664. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/replace.html +31 -0
  665. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/reverse.html +30 -0
  666. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/size.html +30 -0
  667. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/to_list.html +24 -0
  668. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/to_seq.html +24 -0
  669. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/array/to_tuple.html +24 -0
  670. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/assert_msg.html +31 -0
  671. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/cat.html +30 -0
  672. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/comma.html +31 -0
  673. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/comma_if.html +31 -0
  674. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/comparison.html +35 -0
  675. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/comparison/equal.html +31 -0
  676. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/comparison/greater.html +31 -0
  677. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/comparison/greater_equal.html +31 -0
  678. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/comparison/less.html +31 -0
  679. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/comparison/less_equal.html +31 -0
  680. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/comparison/not_equal.html +31 -0
  681. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/config/limits.html +44 -0
  682. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/config/variadics.html +32 -0
  683. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/control.html +35 -0
  684. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/control/deduce_d.html +30 -0
  685. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/control/expr_if.html +30 -0
  686. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/control/expr_iif.html +30 -0
  687. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/control/if.html +30 -0
  688. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/control/iif.html +30 -0
  689. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/control/while.html +31 -0
  690. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/debug.html +31 -0
  691. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/debug/assert.html +31 -0
  692. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/debug/line.html +30 -0
  693. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/dec.html +31 -0
  694. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/empty.html +31 -0
  695. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/enum.html +31 -0
  696. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/enum_params.html +31 -0
  697. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/enum_shifted.html +31 -0
  698. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/enum_shifted_params.html +31 -0
  699. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/epwad.html +31 -0
  700. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/epwd.html +31 -0
  701. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/expand.html +31 -0
  702. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/expr_if.html +31 -0
  703. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/facilities.html +34 -0
  704. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/facilities/apply.html +30 -0
  705. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/facilities/empty.html +30 -0
  706. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/facilities/expand.html +30 -0
  707. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/facilities/identity.html +32 -0
  708. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/facilities/intercept.html +30 -0
  709. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/facilities/overload.html +28 -0
  710. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/for.html +31 -0
  711. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/identity.html +31 -0
  712. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/if.html +31 -0
  713. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/inc.html +31 -0
  714. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/iterate.html +31 -0
  715. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/iteration.html +32 -0
  716. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/iteration/iterate.html +43 -0
  717. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/iteration/local.html +30 -0
  718. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/iteration/self.html +30 -0
  719. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/library.html +26 -0
  720. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/limits.html +31 -0
  721. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list.html +47 -0
  722. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/adt.html +35 -0
  723. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/append.html +31 -0
  724. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/at.html +31 -0
  725. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/cat.html +31 -0
  726. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/enum.html +31 -0
  727. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/filter.html +31 -0
  728. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/first_n.html +31 -0
  729. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/fold_left.html +34 -0
  730. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/fold_right.html +34 -0
  731. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/for_each.html +31 -0
  732. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/for_each_i.html +31 -0
  733. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/for_each_product.html +31 -0
  734. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/rest_n.html +31 -0
  735. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/reverse.html +31 -0
  736. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/size.html +31 -0
  737. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/to_array.html +29 -0
  738. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/to_seq.html +25 -0
  739. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/to_tuple.html +31 -0
  740. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/list/transform.html +31 -0
  741. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical.html +40 -0
  742. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical/and.html +30 -0
  743. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical/bitand.html +30 -0
  744. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical/bitnor.html +30 -0
  745. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical/bitor.html +30 -0
  746. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical/bitxor.html +30 -0
  747. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical/bool.html +30 -0
  748. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical/compl.html +30 -0
  749. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical/nor.html +30 -0
  750. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical/not.html +30 -0
  751. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical/or.html +30 -0
  752. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/logical/xor.html +30 -0
  753. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/max.html +31 -0
  754. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/min.html +31 -0
  755. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/preprocessor.html +26 -0
  756. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/punctuation.html +33 -0
  757. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/punctuation/comma.html +30 -0
  758. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/punctuation/comma_if.html +30 -0
  759. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/punctuation/is_begin_parens.html +26 -0
  760. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/punctuation/paren.html +31 -0
  761. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/punctuation/paren_if.html +31 -0
  762. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/punctuation/remove_parens.html +26 -0
  763. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repeat.html +31 -0
  764. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repeat_2nd.html +31 -0
  765. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repeat_3rd.html +31 -0
  766. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repeat_from_to.html +31 -0
  767. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repeat_from_to_2nd.html +31 -0
  768. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repeat_from_to_3rd.html +31 -0
  769. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition.html +44 -0
  770. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/deduce_r.html +30 -0
  771. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/deduce_z.html +30 -0
  772. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/enum.html +31 -0
  773. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/enum_binary_params.html +31 -0
  774. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/enum_params.html +31 -0
  775. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/enum_shifted.html +31 -0
  776. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/enum_shifted_params.html +31 -0
  777. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/enum_trailing.html +31 -0
  778. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/enum_trailing_params.html +31 -0
  779. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/epwad.html +30 -0
  780. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/epwd.html +30 -0
  781. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/esbp.html +31 -0
  782. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/etbp.html +31 -0
  783. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/for.html +31 -0
  784. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/repeat.html +34 -0
  785. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/repetition/repeat_from_to.html +36 -0
  786. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/selection.html +31 -0
  787. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/selection/max.html +31 -0
  788. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/selection/min.html +31 -0
  789. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq.html +86 -0
  790. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/cat.html +38 -0
  791. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/elem.html +35 -0
  792. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/enum.html +35 -0
  793. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/filter.html +37 -0
  794. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/first_n.html +36 -0
  795. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/fold_left.html +38 -0
  796. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/fold_right.html +38 -0
  797. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/for_each.html +38 -0
  798. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/for_each_i.html +38 -0
  799. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/for_each_product.html +38 -0
  800. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/insert.html +35 -0
  801. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/pop_back.html +36 -0
  802. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/pop_front.html +36 -0
  803. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/push_back.html +35 -0
  804. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/push_front.html +35 -0
  805. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/remove.html +35 -0
  806. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/replace.html +35 -0
  807. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/rest_n.html +36 -0
  808. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/reverse.html +37 -0
  809. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/seq.html +39 -0
  810. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/size.html +35 -0
  811. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/subseq.html +35 -0
  812. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/to_array.html +36 -0
  813. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/to_list.html +30 -0
  814. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/to_tuple.html +36 -0
  815. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/transform.html +37 -0
  816. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/seq/variadic_seq_to_seq.html +34 -0
  817. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/slot.html +30 -0
  818. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/slot/counter.html +31 -0
  819. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/slot/slot.html +31 -0
  820. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/stringize.html +30 -0
  821. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple.html +59 -0
  822. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/eat.html +25 -0
  823. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/elem.html +25 -0
  824. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/enum.html +25 -0
  825. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/insert.html +27 -0
  826. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/pop_back.html +28 -0
  827. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/pop_front.html +28 -0
  828. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/push_back.html +26 -0
  829. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/push_front.html +26 -0
  830. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/rem.html +27 -0
  831. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/remove.html +27 -0
  832. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/replace.html +28 -0
  833. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/reverse.html +25 -0
  834. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/size.html +25 -0
  835. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/to_array.html +25 -0
  836. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/to_list.html +25 -0
  837. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/tuple/to_seq.html +31 -0
  838. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/variadic.html +33 -0
  839. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/variadic/elem.html +29 -0
  840. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/variadic/size.html +25 -0
  841. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/variadic/to_array.html +25 -0
  842. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/variadic/to_list.html +25 -0
  843. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/variadic/to_seq.html +30 -0
  844. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/variadic/to_tuple.html +31 -0
  845. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/while.html +31 -0
  846. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/headers/wstringize.html +30 -0
  847. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/index.html +23 -0
  848. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/miscellanea.html +24 -0
  849. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref.html +319 -0
  850. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/add.html +68 -0
  851. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/add_d.html +90 -0
  852. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/and.html +64 -0
  853. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/apply.html +64 -0
  854. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_data.html +49 -0
  855. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_elem.html +51 -0
  856. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_enum.html +37 -0
  857. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_insert.html +71 -0
  858. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_insert_d.html +63 -0
  859. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_pop_back.html +59 -0
  860. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_pop_back_z.html +51 -0
  861. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_pop_front.html +51 -0
  862. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_pop_front_z.html +51 -0
  863. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_push_back.html +49 -0
  864. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_push_front.html +49 -0
  865. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_remove.html +60 -0
  866. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_remove_d.html +51 -0
  867. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_replace.html +64 -0
  868. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_replace_d.html +55 -0
  869. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_reverse.html +45 -0
  870. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_size.html +45 -0
  871. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_to_list.html +41 -0
  872. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_to_seq.html +37 -0
  873. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/array_to_tuple.html +39 -0
  874. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/assert.html +114 -0
  875. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/assert_msg.html +66 -0
  876. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/assign_slot.html +61 -0
  877. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/bitand.html +65 -0
  878. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/bitnor.html +65 -0
  879. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/bitor.html +65 -0
  880. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/bitxor.html +66 -0
  881. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/bool.html +54 -0
  882. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/cat.html +57 -0
  883. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/comma.html +43 -0
  884. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/comma_if.html +60 -0
  885. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/compl.html +58 -0
  886. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/config_extended_line_info.html +54 -0
  887. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/counter.html +58 -0
  888. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/dec.html +54 -0
  889. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/deduce_d.html +82 -0
  890. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/deduce_r.html +48 -0
  891. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/deduce_z.html +48 -0
  892. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/div.html +63 -0
  893. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/div_d.html +85 -0
  894. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/empty.html +47 -0
  895. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum.html +80 -0
  896. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_binary_params.html +76 -0
  897. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_binary_params_z.html +93 -0
  898. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_params.html +69 -0
  899. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_params_with_a_default.html +83 -0
  900. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_params_with_defaults.html +84 -0
  901. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_params_z.html +82 -0
  902. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_shifted.html +82 -0
  903. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_shifted_params.html +73 -0
  904. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_shifted_params_z.html +79 -0
  905. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_shifted_z.html +93 -0
  906. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_trailing.html +83 -0
  907. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_trailing_params.html +66 -0
  908. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_trailing_params_z.html +81 -0
  909. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_trailing_z.html +96 -0
  910. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/enum_z.html +96 -0
  911. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/equal.html +64 -0
  912. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/equal_d.html +69 -0
  913. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/esbp.html +65 -0
  914. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/esbpz.html +67 -0
  915. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/etbp.html +83 -0
  916. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/etbpz.html +67 -0
  917. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/expand.html +67 -0
  918. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/expr_if.html +70 -0
  919. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/expr_iif.html +67 -0
  920. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/filename_x.html +52 -0
  921. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/for.html +105 -0
  922. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/for_r.html +148 -0
  923. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/for_r_macros.html +44 -0
  924. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/frame_finish.html +42 -0
  925. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/frame_flags.html +42 -0
  926. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/frame_iteration.html +73 -0
  927. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/frame_start.html +42 -0
  928. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/greater.html +65 -0
  929. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/greater_d.html +69 -0
  930. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/greater_equal.html +65 -0
  931. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/greater_equal_d.html +69 -0
  932. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/identity.html +57 -0
  933. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/identity_n.html +58 -0
  934. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/if.html +63 -0
  935. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/iif.html +66 -0
  936. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/inc.html +54 -0
  937. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/include_self.html +101 -0
  938. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/indirect_self.html +45 -0
  939. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/intercept.html +51 -0
  940. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/is_begin_parens.html +47 -0
  941. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/is_iterating.html +38 -0
  942. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/is_selfish.html +38 -0
  943. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/iterate.html +83 -0
  944. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/iteration.html +55 -0
  945. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/iteration_depth.html +73 -0
  946. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/iteration_finish.html +57 -0
  947. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/iteration_flags.html +68 -0
  948. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/iteration_limits.html +59 -0
  949. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/iteration_params_x.html +77 -0
  950. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/iteration_start.html +57 -0
  951. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/less.html +65 -0
  952. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/less_d.html +70 -0
  953. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/less_equal.html +65 -0
  954. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/less_equal_d.html +70 -0
  955. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_dim.html +35 -0
  956. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_for.html +34 -0
  957. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_iteration.html +34 -0
  958. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_iteration_dim.html +34 -0
  959. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_mag.html +34 -0
  960. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_repeat.html +39 -0
  961. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_seq.html +41 -0
  962. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_slot_count.html +34 -0
  963. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_slot_sig.html +34 -0
  964. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_tuple.html +33 -0
  965. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_variadic.html +24 -0
  966. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/limit_while.html +34 -0
  967. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/line.html +112 -0
  968. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_append.html +69 -0
  969. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_append_d.html +96 -0
  970. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_at.html +61 -0
  971. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_at_d.html +63 -0
  972. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_cat.html +58 -0
  973. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_cat_d.html +67 -0
  974. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_cons.html +87 -0
  975. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_enum.html +62 -0
  976. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_enum_r.html +69 -0
  977. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_filter.html +76 -0
  978. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_filter_d.html +86 -0
  979. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_first.html +62 -0
  980. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_first_n.html +62 -0
  981. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_first_n_d.html +71 -0
  982. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_fold_left.html +75 -0
  983. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_fold_left_2nd.html +75 -0
  984. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_fold_left_2nd_d.html +86 -0
  985. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_fold_left_d.html +81 -0
  986. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_fold_left_d_old.html +86 -0
  987. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_fold_right.html +79 -0
  988. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_fold_right_2nd.html +79 -0
  989. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_fold_right_2nd_d.html +86 -0
  990. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_fold_right_d.html +81 -0
  991. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_fold_right_d_old.html +90 -0
  992. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_for_each.html +75 -0
  993. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_for_each_i.html +75 -0
  994. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_for_each_i_r.html +82 -0
  995. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_for_each_product.html +86 -0
  996. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_for_each_product_r.html +118 -0
  997. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_for_each_r.html +81 -0
  998. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_is_cons.html +51 -0
  999. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_is_nil.html +51 -0
  1000. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_nil.html +68 -0
  1001. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_rest.html +62 -0
  1002. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_rest_n.html +62 -0
  1003. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_rest_n_d.html +71 -0
  1004. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_reverse.html +55 -0
  1005. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_reverse_d.html +63 -0
  1006. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_size.html +55 -0
  1007. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_size_d.html +67 -0
  1008. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_to_array.html +47 -0
  1009. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_to_array_d.html +34 -0
  1010. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_to_seq.html +44 -0
  1011. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_to_seq_r.html +32 -0
  1012. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_to_tuple.html +55 -0
  1013. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_to_tuple_r.html +62 -0
  1014. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_transform.html +78 -0
  1015. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/list_transform_d.html +86 -0
  1016. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/local_iterate.html +62 -0
  1017. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/local_limits.html +80 -0
  1018. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/local_macro.html +64 -0
  1019. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/lparen.html +52 -0
  1020. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/lparen_if.html +61 -0
  1021. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/max.html +64 -0
  1022. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/max_d.html +70 -0
  1023. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/min.html +64 -0
  1024. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/min_d.html +70 -0
  1025. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/mod.html +63 -0
  1026. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/mod_d.html +75 -0
  1027. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/mul.html +68 -0
  1028. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/mul_d.html +91 -0
  1029. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/nil.html +41 -0
  1030. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/nor.html +64 -0
  1031. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/not.html +59 -0
  1032. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/not_equal.html +64 -0
  1033. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/not_equal_d.html +69 -0
  1034. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/or.html +64 -0
  1035. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/overload.html +58 -0
  1036. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/relative_finish.html +46 -0
  1037. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/relative_flags.html +46 -0
  1038. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/relative_iteration.html +101 -0
  1039. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/relative_start.html +46 -0
  1040. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/remove_parens.html +44 -0
  1041. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat.html +80 -0
  1042. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_1st.html +82 -0
  1043. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_2nd.html +82 -0
  1044. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_3rd.html +82 -0
  1045. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_from_to.html +102 -0
  1046. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_from_to_1st.html +91 -0
  1047. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_from_to_2nd.html +91 -0
  1048. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_from_to_3rd.html +91 -0
  1049. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_from_to_d.html +83 -0
  1050. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_from_to_d_z.html +84 -0
  1051. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_from_to_z.html +105 -0
  1052. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_z.html +92 -0
  1053. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/repeat_z_macros.html +45 -0
  1054. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/rparen.html +53 -0
  1055. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/rparen_if.html +61 -0
  1056. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_cat.html +64 -0
  1057. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_cat_s.html +60 -0
  1058. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_elem.html +59 -0
  1059. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_enum.html +66 -0
  1060. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_filter.html +93 -0
  1061. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_filter_s.html +79 -0
  1062. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_first_n.html +67 -0
  1063. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_fold_left.html +90 -0
  1064. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_fold_left_s.html +96 -0
  1065. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_fold_right.html +92 -0
  1066. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_fold_right_s.html +97 -0
  1067. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_for_each.html +90 -0
  1068. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_for_each_i.html +91 -0
  1069. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_for_each_i_r.html +78 -0
  1070. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_for_each_product.html +100 -0
  1071. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_for_each_product_r.html +81 -0
  1072. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_for_each_r.html +77 -0
  1073. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_head.html +63 -0
  1074. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_insert.html +70 -0
  1075. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_nil.html +81 -0
  1076. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_pop_back.html +68 -0
  1077. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_pop_front.html +68 -0
  1078. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_push_back.html +76 -0
  1079. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_push_front.html +78 -0
  1080. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_remove.html +66 -0
  1081. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_replace.html +71 -0
  1082. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_rest_n.html +55 -0
  1083. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_reverse.html +68 -0
  1084. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_reverse_s.html +55 -0
  1085. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_size.html +55 -0
  1086. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_subseq.html +69 -0
  1087. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_tail.html +63 -0
  1088. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_to_array.html +55 -0
  1089. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_to_list.html +34 -0
  1090. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_to_tuple.html +55 -0
  1091. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_transform.html +93 -0
  1092. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/seq_transform_s.html +79 -0
  1093. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/slot.html +60 -0
  1094. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/stringize.html +50 -0
  1095. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/sub.html +63 -0
  1096. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/sub_d.html +85 -0
  1097. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_eat.html +58 -0
  1098. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_elem.html +65 -0
  1099. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_enum.html +55 -0
  1100. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_insert.html +54 -0
  1101. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_insert_d.html +46 -0
  1102. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_pop_back.html +48 -0
  1103. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_pop_back_z.html +40 -0
  1104. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_pop_front.html +47 -0
  1105. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_pop_front_z.html +40 -0
  1106. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_push_back.html +39 -0
  1107. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_push_front.html +39 -0
  1108. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_rem.html +60 -0
  1109. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_rem_ctor.html +61 -0
  1110. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_remove.html +50 -0
  1111. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_remove_d.html +41 -0
  1112. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_replace.html +51 -0
  1113. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_replace_d.html +42 -0
  1114. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_reverse.html +61 -0
  1115. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_size.html +32 -0
  1116. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_to_array.html +50 -0
  1117. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_to_list.html +60 -0
  1118. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/tuple_to_seq.html +51 -0
  1119. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/update_counter.html +34 -0
  1120. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/value.html +37 -0
  1121. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/variadic_elem.html +42 -0
  1122. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/variadic_seq_to_seq.html +35 -0
  1123. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/variadic_size.html +33 -0
  1124. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/variadic_to_array.html +32 -0
  1125. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/variadic_to_list.html +31 -0
  1126. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/variadic_to_seq.html +32 -0
  1127. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/variadic_to_tuple.html +32 -0
  1128. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/variadics.html +30 -0
  1129. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/while.html +116 -0
  1130. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/while_d.html +117 -0
  1131. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/while_d_macros.html +89 -0
  1132. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/wstringize.html +49 -0
  1133. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/ref/xor.html +64 -0
  1134. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/styles.css +87 -0
  1135. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/syntax.html +307 -0
  1136. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/terms.html +23 -0
  1137. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/terms/evaluated.html +27 -0
  1138. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/terms/named_external.html +25 -0
  1139. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/title.html +25 -0
  1140. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/top.html +32 -0
  1141. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/topics.html +27 -0
  1142. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/topics/evaluated_slots.html +157 -0
  1143. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/topics/file_iteration.html +1044 -0
  1144. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/topics/incompatible.html +140 -0
  1145. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/topics/local_iteration.html +156 -0
  1146. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/topics/motivation.html +119 -0
  1147. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/topics/problems.html +135 -0
  1148. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/topics/reentrancy.html +298 -0
  1149. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/topics/techniques.html +350 -0
  1150. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/doc/topics/variadic_macros.html +262 -0
  1151. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor.hpp +19 -0
  1152. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/arithmetic.hpp +25 -0
  1153. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/arithmetic/add.hpp +51 -0
  1154. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/arithmetic/dec.hpp +289 -0
  1155. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/arithmetic/detail/div_base.hpp +61 -0
  1156. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/arithmetic/div.hpp +39 -0
  1157. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/arithmetic/inc.hpp +288 -0
  1158. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/arithmetic/mod.hpp +39 -0
  1159. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/arithmetic/mul.hpp +53 -0
  1160. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/arithmetic/sub.hpp +50 -0
  1161. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array.hpp +32 -0
  1162. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/data.hpp +28 -0
  1163. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/detail/get_data.hpp +55 -0
  1164. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/elem.hpp +29 -0
  1165. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/enum.hpp +33 -0
  1166. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/insert.hpp +55 -0
  1167. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/pop_back.hpp +37 -0
  1168. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/pop_front.hpp +38 -0
  1169. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/push_back.hpp +35 -0
  1170. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/push_front.hpp +35 -0
  1171. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/remove.hpp +54 -0
  1172. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/replace.hpp +49 -0
  1173. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/reverse.hpp +29 -0
  1174. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/size.hpp +28 -0
  1175. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/to_list.hpp +47 -0
  1176. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/to_seq.hpp +46 -0
  1177. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/array/to_tuple.hpp +33 -0
  1178. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/assert_msg.hpp +17 -0
  1179. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/cat.hpp +35 -0
  1180. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/comma.hpp +17 -0
  1181. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/comma_if.hpp +17 -0
  1182. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/comparison.hpp +24 -0
  1183. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/comparison/equal.hpp +34 -0
  1184. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/comparison/greater.hpp +38 -0
  1185. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/comparison/greater_equal.hpp +38 -0
  1186. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/comparison/less.hpp +46 -0
  1187. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/comparison/less_equal.hpp +39 -0
  1188. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/comparison/not_equal.hpp +814 -0
  1189. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/config/config.hpp +106 -0
  1190. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/config/limits.hpp +30 -0
  1191. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/control.hpp +22 -0
  1192. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/control/deduce_d.hpp +22 -0
  1193. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/control/detail/dmc/while.hpp +536 -0
  1194. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/control/detail/edg/while.hpp +534 -0
  1195. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/control/detail/msvc/while.hpp +277 -0
  1196. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/control/detail/while.hpp +536 -0
  1197. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/control/expr_if.hpp +30 -0
  1198. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/control/expr_iif.hpp +31 -0
  1199. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/control/if.hpp +30 -0
  1200. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/control/iif.hpp +34 -0
  1201. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/control/while.hpp +312 -0
  1202. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/debug.hpp +18 -0
  1203. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/debug/assert.hpp +44 -0
  1204. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/debug/error.hpp +33 -0
  1205. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/debug/line.hpp +35 -0
  1206. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/dec.hpp +17 -0
  1207. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/detail/auto_rec.hpp +293 -0
  1208. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/detail/check.hpp +48 -0
  1209. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/detail/dmc/auto_rec.hpp +286 -0
  1210. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/detail/is_binary.hpp +30 -0
  1211. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/detail/is_nullary.hpp +30 -0
  1212. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/detail/is_unary.hpp +30 -0
  1213. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/detail/null.hpp +17 -0
  1214. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/detail/split.hpp +35 -0
  1215. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/empty.hpp +17 -0
  1216. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/enum.hpp +17 -0
  1217. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/enum_params.hpp +17 -0
  1218. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/enum_params_with_a_default.hpp +17 -0
  1219. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/enum_params_with_defaults.hpp +17 -0
  1220. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/enum_shifted.hpp +17 -0
  1221. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/enum_shifted_params.hpp +17 -0
  1222. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/expand.hpp +17 -0
  1223. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/expr_if.hpp +17 -0
  1224. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities.hpp +23 -0
  1225. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities/apply.hpp +34 -0
  1226. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities/detail/is_empty.hpp +55 -0
  1227. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities/empty.hpp +23 -0
  1228. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities/expand.hpp +28 -0
  1229. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities/identity.hpp +27 -0
  1230. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities/intercept.hpp +277 -0
  1231. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities/is_1.hpp +23 -0
  1232. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities/is_empty.hpp +56 -0
  1233. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities/is_empty_or_1.hpp +31 -0
  1234. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities/is_empty_variadic.hpp +57 -0
  1235. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/facilities/overload.hpp +25 -0
  1236. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/for.hpp +17 -0
  1237. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/identity.hpp +17 -0
  1238. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/if.hpp +17 -0
  1239. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/inc.hpp +17 -0
  1240. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iterate.hpp +17 -0
  1241. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration.hpp +19 -0
  1242. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/bounds/lower1.hpp +99 -0
  1243. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/bounds/lower2.hpp +99 -0
  1244. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/bounds/lower3.hpp +99 -0
  1245. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/bounds/lower4.hpp +99 -0
  1246. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/bounds/lower5.hpp +99 -0
  1247. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/bounds/upper1.hpp +99 -0
  1248. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/bounds/upper2.hpp +99 -0
  1249. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/bounds/upper3.hpp +99 -0
  1250. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/bounds/upper4.hpp +99 -0
  1251. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/bounds/upper5.hpp +99 -0
  1252. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/finish.hpp +99 -0
  1253. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/forward1.hpp +1342 -0
  1254. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/forward2.hpp +1338 -0
  1255. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/forward3.hpp +1338 -0
  1256. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/forward4.hpp +1338 -0
  1257. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/forward5.hpp +1338 -0
  1258. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/reverse1.hpp +1296 -0
  1259. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/reverse2.hpp +1296 -0
  1260. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/reverse3.hpp +1296 -0
  1261. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/reverse4.hpp +1296 -0
  1262. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/reverse5.hpp +1296 -0
  1263. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/local.hpp +812 -0
  1264. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/rlocal.hpp +782 -0
  1265. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/self.hpp +21 -0
  1266. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/detail/start.hpp +99 -0
  1267. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/iterate.hpp +82 -0
  1268. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/local.hpp +26 -0
  1269. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/iteration/self.hpp +19 -0
  1270. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/library.hpp +37 -0
  1271. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/limits.hpp +17 -0
  1272. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list.hpp +37 -0
  1273. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/adt.hpp +73 -0
  1274. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/append.hpp +40 -0
  1275. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/at.hpp +39 -0
  1276. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/cat.hpp +42 -0
  1277. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/detail/dmc/fold_left.hpp +279 -0
  1278. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/detail/edg/fold_left.hpp +536 -0
  1279. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/detail/edg/fold_right.hpp +794 -0
  1280. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/detail/fold_left.hpp +279 -0
  1281. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/detail/fold_right.hpp +277 -0
  1282. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/enum.hpp +41 -0
  1283. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/filter.hpp +54 -0
  1284. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/first_n.hpp +58 -0
  1285. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/fold_left.hpp +303 -0
  1286. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/fold_right.hpp +40 -0
  1287. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/for_each.hpp +49 -0
  1288. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/for_each_i.hpp +65 -0
  1289. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/for_each_product.hpp +141 -0
  1290. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/rest_n.hpp +55 -0
  1291. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/reverse.hpp +40 -0
  1292. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/size.hpp +58 -0
  1293. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/to_array.hpp +155 -0
  1294. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/to_seq.hpp +32 -0
  1295. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/to_tuple.hpp +61 -0
  1296. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/list/transform.hpp +49 -0
  1297. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical.hpp +29 -0
  1298. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical/and.hpp +30 -0
  1299. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical/bitand.hpp +38 -0
  1300. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical/bitnor.hpp +38 -0
  1301. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical/bitor.hpp +38 -0
  1302. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical/bitxor.hpp +38 -0
  1303. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical/bool.hpp +288 -0
  1304. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical/compl.hpp +36 -0
  1305. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical/nor.hpp +30 -0
  1306. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical/not.hpp +30 -0
  1307. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical/or.hpp +30 -0
  1308. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/logical/xor.hpp +30 -0
  1309. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/max.hpp +17 -0
  1310. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/min.hpp +17 -0
  1311. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/punctuation.hpp +22 -0
  1312. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/punctuation/comma.hpp +21 -0
  1313. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/punctuation/comma_if.hpp +31 -0
  1314. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/punctuation/detail/is_begin_parens.hpp +48 -0
  1315. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/punctuation/is_begin_parens.hpp +51 -0
  1316. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/punctuation/paren.hpp +23 -0
  1317. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/punctuation/paren_if.hpp +38 -0
  1318. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/punctuation/remove_parens.hpp +39 -0
  1319. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repeat.hpp +17 -0
  1320. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repeat_2nd.hpp +17 -0
  1321. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repeat_3rd.hpp +17 -0
  1322. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repeat_from_to.hpp +17 -0
  1323. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repeat_from_to_2nd.hpp +17 -0
  1324. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repeat_from_to_3rd.hpp +17 -0
  1325. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition.hpp +32 -0
  1326. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/deduce_r.hpp +22 -0
  1327. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/deduce_z.hpp +22 -0
  1328. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/detail/dmc/for.hpp +536 -0
  1329. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/detail/edg/for.hpp +534 -0
  1330. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/detail/for.hpp +536 -0
  1331. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/detail/msvc/for.hpp +277 -0
  1332. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/enum.hpp +66 -0
  1333. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/enum_binary_params.hpp +54 -0
  1334. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/enum_params.hpp +41 -0
  1335. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/enum_params_with_a_default.hpp +25 -0
  1336. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/enum_params_with_defaults.hpp +24 -0
  1337. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/enum_shifted.hpp +68 -0
  1338. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/enum_shifted_binary_params.hpp +51 -0
  1339. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/enum_shifted_params.hpp +44 -0
  1340. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/enum_trailing.hpp +63 -0
  1341. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/enum_trailing_binary_params.hpp +53 -0
  1342. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/enum_trailing_params.hpp +38 -0
  1343. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/for.hpp +324 -0
  1344. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/repeat.hpp +825 -0
  1345. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/repetition/repeat_from_to.hpp +87 -0
  1346. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/selection.hpp +18 -0
  1347. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/selection/max.hpp +39 -0
  1348. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/selection/min.hpp +39 -0
  1349. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq.hpp +44 -0
  1350. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/cat.hpp +49 -0
  1351. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/detail/binary_transform.hpp +47 -0
  1352. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/detail/is_empty.hpp +49 -0
  1353. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/detail/split.hpp +284 -0
  1354. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/detail/to_list_msvc.hpp +55 -0
  1355. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/elem.hpp +304 -0
  1356. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/enum.hpp +288 -0
  1357. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/filter.hpp +54 -0
  1358. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/first_n.hpp +30 -0
  1359. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/fold_left.hpp +1070 -0
  1360. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/fold_right.hpp +288 -0
  1361. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/for_each.hpp +107 -0
  1362. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/for_each_i.hpp +109 -0
  1363. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/for_each_product.hpp +126 -0
  1364. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/insert.hpp +28 -0
  1365. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/pop_back.hpp +29 -0
  1366. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/pop_front.hpp +27 -0
  1367. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/push_back.hpp +19 -0
  1368. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/push_front.hpp +19 -0
  1369. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/remove.hpp +29 -0
  1370. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/replace.hpp +45 -0
  1371. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/rest_n.hpp +46 -0
  1372. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/reverse.hpp +39 -0
  1373. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/seq.hpp +44 -0
  1374. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/size.hpp +548 -0
  1375. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/subseq.hpp +28 -0
  1376. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/to_array.hpp +28 -0
  1377. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/to_list.hpp +41 -0
  1378. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/to_tuple.hpp +27 -0
  1379. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/transform.hpp +48 -0
  1380. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/seq/variadic_seq_to_seq.hpp +28 -0
  1381. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/slot.hpp +17 -0
  1382. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/slot/counter.hpp +25 -0
  1383. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/slot/detail/counter.hpp +269 -0
  1384. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/slot/detail/def.hpp +49 -0
  1385. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/slot/detail/shared.hpp +247 -0
  1386. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/slot/detail/slot1.hpp +267 -0
  1387. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/slot/detail/slot2.hpp +267 -0
  1388. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/slot/detail/slot3.hpp +267 -0
  1389. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/slot/detail/slot4.hpp +267 -0
  1390. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/slot/detail/slot5.hpp +267 -0
  1391. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/slot/slot.hpp +32 -0
  1392. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/stringize.hpp +33 -0
  1393. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple.hpp +35 -0
  1394. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/detail/is_single_return.hpp +28 -0
  1395. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/eat.hpp +115 -0
  1396. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/elem.hpp +201 -0
  1397. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/enum.hpp +22 -0
  1398. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/insert.hpp +37 -0
  1399. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/pop_back.hpp +64 -0
  1400. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/pop_front.hpp +65 -0
  1401. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/push_back.hpp +31 -0
  1402. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/push_front.hpp +32 -0
  1403. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/rem.hpp +149 -0
  1404. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/remove.hpp +64 -0
  1405. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/replace.hpp +37 -0
  1406. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/reverse.hpp +117 -0
  1407. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/size.hpp +28 -0
  1408. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/to_array.hpp +39 -0
  1409. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/to_list.hpp +118 -0
  1410. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/tuple/to_seq.hpp +119 -0
  1411. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/variadic.hpp +23 -0
  1412. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/variadic/detail/is_single_return.hpp +28 -0
  1413. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/variadic/elem.hpp +94 -0
  1414. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/variadic/size.hpp +30 -0
  1415. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/variadic/to_array.hpp +32 -0
  1416. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/variadic/to_list.hpp +25 -0
  1417. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/variadic/to_seq.hpp +25 -0
  1418. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/variadic/to_tuple.hpp +24 -0
  1419. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/while.hpp +17 -0
  1420. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/wstringize.hpp +29 -0
  1421. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/index.html +18 -0
  1422. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/meta/libraries.json +15 -0
  1423. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/Jamfile.v2 +252 -0
  1424. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/arithmetic.c +12 -0
  1425. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/arithmetic.cpp +12 -0
  1426. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/arithmetic.cxx +82 -0
  1427. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/array.c +14 -0
  1428. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/array.cpp +14 -0
  1429. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/array.cxx +192 -0
  1430. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/comparison.c +13 -0
  1431. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/comparison.cpp +12 -0
  1432. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/comparison.cxx +45 -0
  1433. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/config_info.cpp +93 -0
  1434. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/control.c +12 -0
  1435. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/control.cpp +12 -0
  1436. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/control.cxx +40 -0
  1437. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/debug.c +12 -0
  1438. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/debug.cpp +12 -0
  1439. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/debug.cxx +21 -0
  1440. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/facilities.c +12 -0
  1441. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/facilities.cpp +12 -0
  1442. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/facilities.cxx +55 -0
  1443. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/isempty.c +12 -0
  1444. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/isempty.cpp +12 -0
  1445. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/isempty.cxx +145 -0
  1446. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/isempty_variadic_standard_failure.c +12 -0
  1447. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/isempty_variadic_standard_failure.cpp +12 -0
  1448. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/isempty_variadic_standard_failure.cxx +25 -0
  1449. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/isempty_variadic_standard_failure2.c +12 -0
  1450. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/isempty_variadic_standard_failure2.cpp +12 -0
  1451. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/isempty_variadic_standard_failure2.cxx +25 -0
  1452. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/iteration.cpp +33 -0
  1453. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/iteration.h +62 -0
  1454. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/list.c +14 -0
  1455. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/list.cpp +14 -0
  1456. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/list.cxx +91 -0
  1457. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/logical.c +12 -0
  1458. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/logical.cpp +12 -0
  1459. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/logical.cxx +59 -0
  1460. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/punctuation.c +14 -0
  1461. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/punctuation.cpp +14 -0
  1462. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/punctuation.cxx +54 -0
  1463. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/repetition.cpp +50 -0
  1464. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/selection.c +12 -0
  1465. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/selection.cpp +12 -0
  1466. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/selection.cxx +21 -0
  1467. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/seq.c +14 -0
  1468. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/seq.cpp +14 -0
  1469. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/seq.cxx +222 -0
  1470. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/slot.c +12 -0
  1471. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/slot.cpp +12 -0
  1472. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/slot.cxx +53 -0
  1473. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/test.h +37 -0
  1474. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/tuple.c +14 -0
  1475. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/tuple.cpp +14 -0
  1476. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/tuple.cxx +266 -0
  1477. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/tuple_elem_bug_test.cxx +38 -0
  1478. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/variadic.c +12 -0
  1479. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/variadic.cpp +12 -0
  1480. data/ext/enterprise_script_service/msgpack/external/boost/preprocessor/test/variadic.cxx +56 -0
  1481. data/ext/enterprise_script_service/msgpack/fuzz/CMakeLists.txt +43 -0
  1482. data/ext/enterprise_script_service/msgpack/fuzz/regression_runner.cpp +50 -0
  1483. data/ext/enterprise_script_service/msgpack/fuzz/unpack_pack_fuzzer.cpp +23 -0
  1484. data/ext/enterprise_script_service/msgpack/fuzz/unpack_pack_fuzzer_regressions/clusterfuzz-testcase-minimized-unpack_pack_fuzzer-5656982724804608 +0 -0
  1485. data/ext/enterprise_script_service/msgpack/fuzz/unpack_pack_fuzzer_regressions/clusterfuzz-testcase-minimized-unpack_pack_fuzzer-6022481354686464 +0 -0
  1486. data/ext/enterprise_script_service/msgpack/fuzz/unpack_pack_fuzzer_seed_corpus/EmptyArray +1 -0
  1487. data/ext/enterprise_script_service/msgpack/fuzz/unpack_pack_fuzzer_seed_corpus/EmptyObject +1 -0
  1488. data/ext/enterprise_script_service/msgpack/fuzz/unpack_pack_fuzzer_seed_corpus/ExcessiveNesting +2 -0
  1489. data/ext/enterprise_script_service/msgpack/fuzz/unpack_pack_fuzzer_seed_corpus/OpenWeatherMap +0 -0
  1490. data/ext/enterprise_script_service/msgpack/fuzz/unpack_pack_fuzzer_seed_corpus/WeatherUnderground +0 -0
  1491. data/ext/enterprise_script_service/msgpack/include/msgpack.hpp +4 -0
  1492. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/adaptor_base.hpp +1 -0
  1493. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/adaptor_base_decl.hpp +1 -0
  1494. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/array_ref_decl.hpp +1 -0
  1495. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/boost/msgpack_variant_decl.hpp +1 -0
  1496. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/check_container_size_decl.hpp +1 -0
  1497. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/cpp11/chrono.hpp +16 -0
  1498. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/cpp17/byte.hpp +16 -0
  1499. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/cpp17/carray_byte.hpp +16 -0
  1500. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/cpp17/optional.hpp +16 -0
  1501. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/cpp17/string_view.hpp +16 -0
  1502. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/cpp17/vector_byte.hpp +16 -0
  1503. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/define_decl.hpp +25 -24
  1504. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/ext_decl.hpp +1 -0
  1505. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/fixint_decl.hpp +1 -0
  1506. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/int_decl.hpp +1 -0
  1507. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/map_decl.hpp +1 -0
  1508. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/msgpack_tuple_decl.hpp +1 -0
  1509. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/nil_decl.hpp +1 -0
  1510. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/raw_decl.hpp +1 -0
  1511. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/size_equal_only_decl.hpp +1 -0
  1512. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/tr1/unordered_map.hpp +2 -2
  1513. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/tr1/unordered_set.hpp +2 -2
  1514. data/ext/enterprise_script_service/msgpack/include/msgpack/adaptor/v4raw_decl.hpp +1 -0
  1515. data/ext/enterprise_script_service/msgpack/include/msgpack/cpp_config_decl.hpp +1 -0
  1516. data/ext/enterprise_script_service/msgpack/include/msgpack/create_object_visitor.hpp +17 -0
  1517. data/ext/enterprise_script_service/msgpack/include/msgpack/create_object_visitor_decl.hpp +16 -0
  1518. data/ext/enterprise_script_service/msgpack/include/msgpack/fbuffer_decl.hpp +1 -0
  1519. data/ext/enterprise_script_service/msgpack/include/msgpack/iterator_decl.hpp +2 -1
  1520. data/ext/enterprise_script_service/msgpack/include/msgpack/meta_decl.hpp +1 -0
  1521. data/ext/enterprise_script_service/msgpack/include/msgpack/null_visitor.hpp +17 -0
  1522. data/ext/enterprise_script_service/msgpack/include/msgpack/null_visitor_decl.hpp +16 -0
  1523. data/ext/enterprise_script_service/msgpack/include/msgpack/object_decl.hpp +1 -0
  1524. data/ext/enterprise_script_service/msgpack/include/msgpack/object_fwd.hpp +1 -0
  1525. data/ext/enterprise_script_service/msgpack/include/msgpack/object_fwd_decl.hpp +1 -0
  1526. data/ext/enterprise_script_service/msgpack/include/msgpack/pack.h +4 -0
  1527. data/ext/enterprise_script_service/msgpack/include/msgpack/pack_decl.hpp +1 -0
  1528. data/ext/enterprise_script_service/msgpack/include/msgpack/pack_template.h +28 -0
  1529. data/ext/enterprise_script_service/msgpack/include/msgpack/parse.hpp +18 -0
  1530. data/ext/enterprise_script_service/msgpack/include/msgpack/parse_decl.hpp +16 -0
  1531. data/ext/enterprise_script_service/msgpack/include/msgpack/parse_return.hpp +1 -0
  1532. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/architecture.h +1 -0
  1533. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/architecture/arm.h +11 -1
  1534. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/architecture/parisc.h +1 -1
  1535. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/architecture/ptx.h +44 -0
  1536. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/compiler.h +1 -0
  1537. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/compiler/intel.h +17 -3
  1538. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/compiler/nvcc.h +60 -0
  1539. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/compiler/visualc.h +15 -1
  1540. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/hardware/simd/arm.h +3 -1
  1541. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/hardware/simd/x86_amd/versions.h +3 -3
  1542. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/language.h +1 -0
  1543. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/language/cuda.h +52 -0
  1544. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/library/c.h +1 -0
  1545. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/library/c/cloudabi.h +53 -0
  1546. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/make.h +8 -0
  1547. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/os/android.h +2 -2
  1548. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/os/bsd/free.h +10 -3
  1549. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/os/bsd/open.h +80 -0
  1550. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/other/endian.h +1 -2
  1551. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/other/workaround.h +87 -0
  1552. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/platform.h +9 -2
  1553. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/platform/cloudabi.h +43 -0
  1554. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/platform/ios.h +58 -0
  1555. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/platform/mingw.h +4 -4
  1556. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/platform/mingw32.h +63 -0
  1557. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/platform/mingw64.h +63 -0
  1558. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/platform/windows_desktop.h +9 -3
  1559. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/platform/windows_phone.h +7 -2
  1560. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/platform/windows_runtime.h +13 -5
  1561. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/platform/windows_server.h +47 -0
  1562. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/platform/windows_store.h +11 -4
  1563. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/platform/windows_system.h +47 -0
  1564. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/platform/windows_uwp.h +60 -0
  1565. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/version.h +1 -1
  1566. data/ext/enterprise_script_service/msgpack/include/msgpack/predef/version_number.h +20 -1
  1567. data/ext/enterprise_script_service/msgpack/include/msgpack/preprocessor/cat.hpp +1 -1
  1568. data/ext/enterprise_script_service/msgpack/include/msgpack/preprocessor/config/config.hpp +13 -11
  1569. data/ext/enterprise_script_service/msgpack/include/msgpack/preprocessor/seq/detail/binary_transform.hpp +5 -6
  1570. data/ext/enterprise_script_service/msgpack/include/msgpack/preprocessor/seq/detail/to_list_msvc.hpp +55 -0
  1571. data/ext/enterprise_script_service/msgpack/include/msgpack/preprocessor/seq/to_list.hpp +12 -0
  1572. data/ext/enterprise_script_service/msgpack/include/msgpack/sbuffer_decl.hpp +1 -0
  1573. data/ext/enterprise_script_service/msgpack/include/msgpack/sysdep.h +31 -26
  1574. data/ext/enterprise_script_service/msgpack/include/msgpack/timestamp.h +58 -0
  1575. data/ext/enterprise_script_service/msgpack/include/msgpack/type.hpp +13 -0
  1576. data/ext/enterprise_script_service/msgpack/include/msgpack/unpack.hpp +1 -1
  1577. data/ext/enterprise_script_service/msgpack/include/msgpack/unpack_decl.hpp +1 -0
  1578. data/ext/enterprise_script_service/msgpack/include/msgpack/unpack_template.h +1 -0
  1579. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/array_ref.hpp +6 -6
  1580. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/boost/fusion.hpp +48 -5
  1581. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/carray.hpp +5 -5
  1582. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/char_ptr.hpp +1 -1
  1583. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/cpp11/array.hpp +1 -1
  1584. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/cpp11/array_char.hpp +8 -1
  1585. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/cpp11/array_unsigned_char.hpp +8 -1
  1586. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/cpp11/chrono.hpp +215 -0
  1587. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/cpp11/forward_list.hpp +1 -1
  1588. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/cpp11/tuple.hpp +1 -1
  1589. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/cpp11/unordered_map.hpp +2 -2
  1590. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/cpp11/unordered_set.hpp +2 -2
  1591. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/cpp17/byte.hpp +74 -0
  1592. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/cpp17/carray_byte.hpp +109 -0
  1593. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/cpp17/optional.hpp +90 -0
  1594. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/cpp17/string_view.hpp +86 -0
  1595. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/cpp17/vector_byte.hpp +119 -0
  1596. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/deque.hpp +1 -1
  1597. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/detail/cpp03_define_array.hpp +1088 -32
  1598. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/detail/cpp03_define_map.hpp +32 -16
  1599. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple.hpp +32 -32
  1600. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/detail/cpp11_convert_helper.hpp +45 -0
  1601. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/detail/cpp11_define_array.hpp +4 -3
  1602. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/detail/cpp11_define_map.hpp +4 -2
  1603. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple.hpp +1 -1
  1604. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/ext.hpp +3 -3
  1605. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/fixint.hpp +40 -24
  1606. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/int.hpp +55 -33
  1607. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/list.hpp +1 -1
  1608. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/map.hpp +7 -7
  1609. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/pair.hpp +1 -1
  1610. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/set.hpp +2 -2
  1611. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/string.hpp +1 -1
  1612. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/tr1/unordered_map.hpp +2 -2
  1613. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/tr1/unordered_set.hpp +2 -2
  1614. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/vector.hpp +5 -5
  1615. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/vector_bool.hpp +1 -1
  1616. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/vector_char.hpp +9 -9
  1617. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/adaptor/vector_unsigned_char.hpp +9 -9
  1618. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/cpp_config.hpp +4 -0
  1619. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/cpp_config_decl.hpp +6 -0
  1620. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/detail/cpp03_zone.hpp +41 -34
  1621. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/detail/cpp03_zone_decl.hpp +8 -0
  1622. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/detail/cpp11_zone.hpp +25 -19
  1623. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/detail/cpp11_zone_decl.hpp +8 -0
  1624. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/object.hpp +768 -404
  1625. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/object_decl.hpp +8 -1
  1626. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/object_fwd.hpp +1 -1
  1627. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/unpack.hpp +5 -6
  1628. data/ext/enterprise_script_service/msgpack/include/msgpack/v1/vrefbuffer.hpp +15 -3
  1629. data/ext/enterprise_script_service/msgpack/include/msgpack/v2/create_object_visitor.hpp +14 -7
  1630. data/ext/enterprise_script_service/msgpack/include/msgpack/v2/create_object_visitor_decl.hpp +33 -0
  1631. data/ext/enterprise_script_service/msgpack/include/msgpack/v2/null_visitor.hpp +5 -3
  1632. data/ext/enterprise_script_service/msgpack/include/msgpack/v2/null_visitor_decl.hpp +29 -0
  1633. data/ext/enterprise_script_service/msgpack/include/msgpack/v2/object_decl.hpp +4 -0
  1634. data/ext/enterprise_script_service/msgpack/include/msgpack/v2/object_fwd.hpp +1 -1
  1635. data/ext/enterprise_script_service/msgpack/include/msgpack/v2/pack_decl.hpp +1 -0
  1636. data/ext/enterprise_script_service/msgpack/include/msgpack/v2/parse.hpp +41 -23
  1637. data/ext/enterprise_script_service/msgpack/include/msgpack/v2/parse_decl.hpp +79 -0
  1638. data/ext/enterprise_script_service/msgpack/include/msgpack/v2/unpack.hpp +7 -3
  1639. data/ext/enterprise_script_service/msgpack/include/msgpack/v2/unpack_decl.hpp +8 -36
  1640. data/ext/enterprise_script_service/msgpack/include/msgpack/v2/x3_parse.hpp +5 -6
  1641. data/ext/enterprise_script_service/msgpack/include/msgpack/v2/x3_parse_decl.hpp +36 -0
  1642. data/ext/enterprise_script_service/msgpack/include/msgpack/v2/x3_unpack.hpp +13 -12
  1643. data/ext/enterprise_script_service/msgpack/include/msgpack/v2/x3_unpack_decl.hpp +71 -0
  1644. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/adaptor/adaptor_base.hpp +58 -0
  1645. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/adaptor/adaptor_base_decl.hpp +52 -0
  1646. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/adaptor/array_ref_decl.hpp +36 -0
  1647. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/adaptor/boost/msgpack_variant_decl.hpp +42 -0
  1648. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/adaptor/check_container_size_decl.hpp +39 -0
  1649. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/adaptor/define_decl.hpp +23 -0
  1650. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/adaptor/detail/cpp03_define_array_decl.hpp +31 -0
  1651. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/adaptor/detail/cpp03_define_map_decl.hpp +31 -0
  1652. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/adaptor/detail/cpp03_msgpack_tuple_decl.hpp +43 -0
  1653. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/adaptor/detail/cpp11_define_array_decl.hpp +32 -0
  1654. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/adaptor/detail/cpp11_define_map_decl.hpp +31 -0
  1655. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/adaptor/detail/cpp11_msgpack_tuple_decl.hpp +59 -0
  1656. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/adaptor/ext_decl.hpp +34 -0
  1657. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/adaptor/fixint_decl.hpp +43 -0
  1658. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/adaptor/int_decl.hpp +54 -0
  1659. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/adaptor/map_decl.hpp +33 -0
  1660. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/adaptor/msgpack_tuple_decl.hpp +21 -0
  1661. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/adaptor/nil_decl.hpp +42 -0
  1662. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/adaptor/raw_decl.hpp +33 -0
  1663. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/adaptor/size_equal_only_decl.hpp +35 -0
  1664. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/adaptor/v4raw_decl.hpp +34 -0
  1665. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/cpp_config_decl.hpp +84 -0
  1666. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/create_object_visitor_decl.hpp +33 -0
  1667. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/detail/cpp03_zone_decl.hpp +31 -0
  1668. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/detail/cpp11_zone_decl.hpp +31 -0
  1669. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/fbuffer_decl.hpp +32 -0
  1670. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/iterator_decl.hpp +33 -0
  1671. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/meta_decl.hpp +50 -0
  1672. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/null_visitor_decl.hpp +29 -0
  1673. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/object_decl.hpp +53 -0
  1674. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/object_fwd.hpp +70 -0
  1675. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/object_fwd_decl.hpp +75 -0
  1676. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/pack_decl.hpp +55 -0
  1677. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/parse.hpp +677 -0
  1678. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/parse_decl.hpp +49 -0
  1679. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/parse_return.hpp +35 -0
  1680. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/sbuffer_decl.hpp +33 -0
  1681. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/unpack.hpp +192 -0
  1682. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/unpack_decl.hpp +304 -0
  1683. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/vrefbuffer_decl.hpp +29 -0
  1684. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/x3_parse_decl.hpp +34 -0
  1685. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/x3_unpack.hpp +97 -0
  1686. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/x3_unpack_decl.hpp +65 -0
  1687. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/zbuffer_decl.hpp +29 -0
  1688. data/ext/enterprise_script_service/msgpack/include/msgpack/v3/zone_decl.hpp +21 -0
  1689. data/ext/enterprise_script_service/msgpack/include/msgpack/version_master.h +1 -1
  1690. data/ext/enterprise_script_service/msgpack/include/msgpack/versioning.hpp +3 -1
  1691. data/ext/enterprise_script_service/msgpack/include/msgpack/vrefbuffer.h +1 -2
  1692. data/ext/enterprise_script_service/msgpack/include/msgpack/vrefbuffer_decl.hpp +1 -0
  1693. data/ext/enterprise_script_service/msgpack/include/msgpack/x3_parse.hpp +15 -0
  1694. data/ext/enterprise_script_service/msgpack/include/msgpack/x3_parse_decl.hpp +16 -0
  1695. data/ext/enterprise_script_service/msgpack/include/msgpack/x3_unpack.hpp +16 -0
  1696. data/ext/enterprise_script_service/msgpack/include/msgpack/x3_unpack_decl.hpp +16 -0
  1697. data/ext/enterprise_script_service/msgpack/include/msgpack/zbuffer_decl.hpp +1 -0
  1698. data/ext/enterprise_script_service/msgpack/include/msgpack/zone_decl.hpp +1 -0
  1699. data/ext/enterprise_script_service/msgpack/makedist.sh +2 -0
  1700. data/ext/enterprise_script_service/msgpack/msgpack-config.cmake.in +23 -0
  1701. data/ext/enterprise_script_service/msgpack/src/objectc.c +1 -1
  1702. data/ext/enterprise_script_service/msgpack/src/unpack.c +8 -8
  1703. data/ext/enterprise_script_service/msgpack/src/vrefbuffer.c +13 -1
  1704. data/ext/enterprise_script_service/msgpack/test/CMakeLists.txt +13 -6
  1705. data/ext/enterprise_script_service/msgpack/test/boost_fusion.cpp +31 -0
  1706. data/ext/enterprise_script_service/msgpack/test/boost_variant.cpp +3 -3
  1707. data/ext/enterprise_script_service/msgpack/test/cases.cpp +7 -0
  1708. data/ext/enterprise_script_service/msgpack/test/fuzz_unpack_pack_fuzzer_cpp11.cpp +8 -0
  1709. data/ext/enterprise_script_service/msgpack/test/json.cpp +1 -1
  1710. data/ext/enterprise_script_service/msgpack/test/msgpack_c.cpp +114 -6
  1711. data/ext/enterprise_script_service/msgpack/test/msgpack_cpp11.cpp +188 -0
  1712. data/ext/enterprise_script_service/msgpack/test/msgpack_cpp17.cpp +333 -0
  1713. data/ext/enterprise_script_service/msgpack/test/msgpack_vref.cpp +11 -0
  1714. data/ext/enterprise_script_service/msgpack/test/msgpack_x3_parse.cpp +9 -3
  1715. data/ext/enterprise_script_service/msgpack/test/object.cpp +11 -2
  1716. data/ext/enterprise_script_service/msgpack/test/object_with_zone.cpp +72 -8
  1717. data/ext/enterprise_script_service/msgpack/test/pack_unpack.cpp +96 -0
  1718. data/ext/enterprise_script_service/msgpack/test/pack_unpack_c.cpp +1 -1
  1719. data/ext/enterprise_script_service/msgpack/test/user_class.cpp +38 -13
  1720. data/ext/enterprise_script_service/msgpack/test/visitor.cpp +350 -6
  1721. data/ext/enterprise_script_service/msgpack/update_version.sh +17 -0
  1722. data/lib/script_core/version.rb +1 -1
  1723. data/lib/tasks/script_core.rake +5 -2
  1724. data/script_core.gemspec +0 -1
  1725. data/spec/dummy/app/controllers/application_controller.rb +18 -0
  1726. data/spec/dummy/app/controllers/fields/choices_controller.rb +50 -0
  1727. data/spec/dummy/app/controllers/forms/formulas/playgrounds_controller.rb +2 -2
  1728. data/spec/dummy/app/controllers/playgrounds_controller.rb +18 -3
  1729. data/spec/dummy/app/controllers/time_zones_controller.rb +14 -0
  1730. data/spec/dummy/app/helpers/fields_helper.rb +0 -4
  1731. data/spec/dummy/app/lib/script_engine.rb +18 -7
  1732. data/spec/dummy/app/models/choice.rb +10 -0
  1733. data/spec/dummy/app/models/concerns/fields/helper.rb +23 -0
  1734. data/spec/dummy/app/models/concerns/fields/validations/acceptance.rb +1 -1
  1735. data/spec/dummy/app/models/concerns/fields/validations/confirmation.rb +1 -1
  1736. data/spec/dummy/app/models/concerns/fields/validations/exclusion.rb +2 -2
  1737. data/spec/dummy/app/models/concerns/fields/validations/format.rb +5 -7
  1738. data/spec/dummy/app/models/concerns/fields/validations/inclusion.rb +2 -2
  1739. data/spec/dummy/app/models/concerns/fields/validations/length.rb +2 -2
  1740. data/spec/dummy/app/models/concerns/fields/validations/numericality.rb +2 -2
  1741. data/spec/dummy/app/models/concerns/fields/validations/presence.rb +1 -1
  1742. data/spec/dummy/app/models/field.rb +8 -8
  1743. data/spec/dummy/app/models/field_options.rb +16 -8
  1744. data/spec/dummy/app/models/fields.rb +4 -0
  1745. data/spec/dummy/app/models/fields/boolean_field.rb +1 -1
  1746. data/spec/dummy/app/models/fields/date_field.rb +24 -0
  1747. data/spec/dummy/app/models/fields/datetime_field.rb +24 -0
  1748. data/spec/dummy/app/models/fields/multiple_nested_form_field.rb +8 -3
  1749. data/spec/dummy/app/models/fields/multiple_select_field.rb +42 -0
  1750. data/spec/dummy/app/models/fields/nested_form_field.rb +6 -5
  1751. data/spec/dummy/app/models/fields/options/date_field.rb +138 -0
  1752. data/spec/dummy/app/models/fields/options/datetime_field.rb +138 -0
  1753. data/spec/dummy/app/models/fields/options/multiple_select_field.rb +7 -0
  1754. data/spec/dummy/app/models/fields/options/select_field.rb +7 -0
  1755. data/spec/dummy/app/models/fields/select_field.rb +25 -0
  1756. data/spec/dummy/app/models/fields/validations/boolean_field.rb +1 -1
  1757. data/spec/dummy/app/models/fields/validations/date_field.rb +7 -0
  1758. data/spec/dummy/app/models/fields/validations/datetime_field.rb +7 -0
  1759. data/spec/dummy/app/models/fields/validations/decimal_field.rb +2 -2
  1760. data/spec/dummy/app/models/fields/validations/integer_field.rb +2 -2
  1761. data/spec/dummy/app/models/fields/validations/multiple_nested_form_field.rb +2 -2
  1762. data/spec/dummy/app/models/fields/validations/multiple_select_field.rb +8 -0
  1763. data/spec/dummy/app/models/fields/validations/nested_form_field.rb +1 -1
  1764. data/spec/dummy/app/models/fields/validations/select_field.rb +7 -0
  1765. data/spec/dummy/app/models/fields/validations/text_field.rb +3 -3
  1766. data/spec/dummy/app/models/metal_form.rb +4 -0
  1767. data/spec/dummy/app/models/non_configurable.rb +4 -0
  1768. data/spec/dummy/app/models/virtual_model.rb +8 -0
  1769. data/spec/dummy/app/presenters/fields/date_field_presenter.rb +53 -0
  1770. data/spec/dummy/app/presenters/fields/datetime_field_presenter.rb +53 -0
  1771. data/spec/dummy/app/presenters/fields/field_presenter.rb +3 -2
  1772. data/spec/dummy/app/presenters/fields/multiple_select_field_presenter.rb +37 -0
  1773. data/spec/dummy/app/presenters/fields/select_field_presenter.rb +26 -0
  1774. data/spec/dummy/app/views/_form_core/field_options/_date_field.html.erb +97 -0
  1775. data/spec/dummy/app/views/_form_core/field_options/_datetime_field.html.erb +97 -0
  1776. data/spec/dummy/app/views/_form_core/field_options/_multiple_select_field.html.erb +12 -0
  1777. data/spec/dummy/app/views/_form_core/field_options/_select_field.html.erb +12 -0
  1778. data/spec/dummy/app/views/_form_core/fields/_date_field.html.erb +9 -0
  1779. data/spec/dummy/app/views/_form_core/fields/_datetime_field.html.erb +9 -0
  1780. data/spec/dummy/app/views/_form_core/fields/_multiple_select_field.html.erb +18 -0
  1781. data/spec/dummy/app/views/_form_core/fields/_select_field.html.erb +17 -0
  1782. data/spec/dummy/app/views/fields/choices/_form.html.erb +34 -0
  1783. data/spec/dummy/app/views/fields/choices/edit.html.erb +6 -0
  1784. data/spec/dummy/app/views/fields/choices/index.html.erb +27 -0
  1785. data/spec/dummy/app/views/fields/choices/new.html.erb +6 -0
  1786. data/spec/dummy/app/views/forms/fields/index.html.erb +4 -1
  1787. data/spec/dummy/app/views/forms/formulas/playgrounds/create.html.erb +1 -1
  1788. data/spec/dummy/app/views/layouts/_nav.html.erb +22 -0
  1789. data/spec/dummy/app/views/nested_forms/fields/index.html.erb +10 -3
  1790. data/spec/dummy/app/views/playgrounds/_form.html.erb +1 -1
  1791. data/spec/dummy/config/application.rb +2 -1
  1792. data/spec/dummy/config/initializers/validates_timeliness.rb +42 -0
  1793. data/spec/dummy/config/routes.rb +3 -0
  1794. data/spec/dummy/db/migrate/20180916202025_create_forms.form_core.rb +1 -0
  1795. data/spec/dummy/db/migrate/20180916202122_create_choices.rb +12 -0
  1796. data/spec/dummy/db/migrate/20180916202123_add_position_to_choices.rb +9 -0
  1797. data/spec/dummy/db/schema.rb +19 -5
  1798. data/spec/dummy/lib/monkey_patches/big_decimal.rb +7 -3
  1799. data/spec/dummy/lib/monkey_patches/date.rb +12 -0
  1800. data/spec/dummy/lib/monkey_patches/time.rb +12 -0
  1801. data/spec/dummy/mruby/engine.gembox +1 -0
  1802. data/spec/dummy/mruby/lib/core_ext.rb +64 -2
  1803. data/spec/dummy/mruby/lib/input.rb +16 -4
  1804. data/spec/dummy/mruby/lib/io.rb +4 -3
  1805. data/spec/dummy/mruby/lib/output.rb +2 -28
  1806. data/spec/dummy/mruby/lib/script_kernel.rb +8 -7
  1807. data/spec/script_core_spec.rb +2 -2
  1808. data/tests/googletest/.clang-format +4 -0
  1809. data/tests/googletest/.gitignore +82 -0
  1810. data/tests/googletest/.travis.yml +68 -29
  1811. data/tests/googletest/BUILD.bazel +179 -0
  1812. data/tests/googletest/CMakeLists.txt +21 -4
  1813. data/tests/googletest/CONTRIBUTING.md +161 -0
  1814. data/tests/googletest/LICENSE +28 -0
  1815. data/tests/googletest/Makefile.am +12 -0
  1816. data/tests/googletest/README.md +28 -41
  1817. data/tests/googletest/WORKSPACE +10 -0
  1818. data/tests/googletest/appveyor.yml +118 -35
  1819. data/tests/googletest/ci/build-linux-autotools.sh +44 -0
  1820. data/tests/googletest/ci/build-linux-bazel.sh +36 -0
  1821. data/tests/googletest/ci/build-platformio.sh +2 -0
  1822. data/tests/googletest/ci/env-linux.sh +41 -0
  1823. data/tests/googletest/ci/env-osx.sh +47 -0
  1824. data/tests/googletest/ci/get-nprocessors.sh +48 -0
  1825. data/tests/googletest/ci/install-linux.sh +49 -0
  1826. data/tests/googletest/ci/install-osx.sh +40 -0
  1827. data/tests/googletest/ci/install-platformio.sh +5 -0
  1828. data/tests/googletest/ci/log-config.sh +51 -0
  1829. data/tests/googletest/ci/travis.sh +44 -0
  1830. data/tests/googletest/configure.ac +16 -0
  1831. data/tests/googletest/googlemock/CMakeLists.txt +78 -55
  1832. data/tests/googletest/googlemock/Makefile.am +6 -8
  1833. data/tests/googletest/googlemock/README.md +33 -73
  1834. data/tests/googletest/googlemock/cmake/gmock.pc.in +11 -0
  1835. data/tests/googletest/googlemock/cmake/gmock_main.pc.in +11 -0
  1836. data/tests/googletest/googlemock/configure.ac +6 -18
  1837. data/tests/googletest/googlemock/docs/CheatSheet.md +126 -99
  1838. data/tests/googletest/googlemock/docs/CookBook.md +271 -286
  1839. data/tests/googletest/googlemock/docs/DesignDoc.md +29 -27
  1840. data/tests/googletest/googlemock/docs/Documentation.md +7 -4
  1841. data/tests/googletest/googlemock/docs/ForDummies.md +41 -33
  1842. data/tests/googletest/googlemock/docs/FrequentlyAskedQuestions.md +28 -29
  1843. data/tests/googletest/googlemock/include/gmock/gmock-actions.h +232 -240
  1844. data/tests/googletest/googlemock/include/gmock/gmock-cardinalities.h +12 -6
  1845. data/tests/googletest/googlemock/include/gmock/gmock-function-mocker.h +218 -0
  1846. data/tests/googletest/googlemock/include/gmock/gmock-generated-actions.h +304 -796
  1847. data/tests/googletest/googlemock/include/gmock/gmock-generated-actions.h.pump +18 -184
  1848. data/tests/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h +330 -673
  1849. data/tests/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h.pump +77 -141
  1850. data/tests/googletest/googlemock/include/gmock/gmock-generated-matchers.h +293 -1372
  1851. data/tests/googletest/googlemock/include/gmock/gmock-generated-matchers.h.pump +22 -345
  1852. data/tests/googletest/googlemock/include/gmock/gmock-matchers.h +1382 -1218
  1853. data/tests/googletest/googlemock/include/gmock/gmock-more-actions.h +12 -96
  1854. data/tests/googletest/googlemock/include/gmock/gmock-more-matchers.h +39 -5
  1855. data/tests/googletest/googlemock/include/gmock/gmock-nice-strict.h +215 -0
  1856. data/tests/googletest/googlemock/include/gmock/gmock-spec-builders.h +362 -228
  1857. data/tests/googletest/googlemock/include/gmock/gmock.h +10 -3
  1858. data/tests/googletest/googlemock/include/gmock/internal/custom/README.md +16 -0
  1859. data/tests/googletest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h +2 -0
  1860. data/tests/googletest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h.pump +3 -1
  1861. data/tests/googletest/googlemock/include/gmock/internal/custom/gmock-matchers.h +5 -8
  1862. data/tests/googletest/googlemock/include/gmock/internal/custom/gmock-port.h +3 -10
  1863. data/tests/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h +114 -54
  1864. data/tests/googletest/googlemock/include/gmock/internal/gmock-port.h +13 -17
  1865. data/tests/googletest/googlemock/include/gmock/internal/gmock-pp.h +317 -0
  1866. data/tests/googletest/googlemock/make/Makefile +23 -7
  1867. data/tests/googletest/googlemock/msvc/2010/gmock.sln +14 -0
  1868. data/tests/googletest/googlemock/msvc/2010/gmock.vcxproj +69 -6
  1869. data/tests/googletest/googlemock/msvc/2010/gmock_config.props +2 -2
  1870. data/tests/googletest/googlemock/msvc/2010/gmock_main.vcxproj +69 -6
  1871. data/tests/googletest/googlemock/msvc/2010/gmock_test.vcxproj +83 -8
  1872. data/tests/googletest/googlemock/msvc/2015/gmock.sln +14 -0
  1873. data/tests/googletest/googlemock/msvc/2015/gmock.vcxproj +63 -2
  1874. data/tests/googletest/googlemock/msvc/2015/gmock_main.vcxproj +63 -2
  1875. data/tests/googletest/googlemock/msvc/2015/gmock_test.vcxproj +76 -3
  1876. data/tests/googletest/googlemock/scripts/fuse_gmock_files.py +1 -1
  1877. data/tests/googletest/googlemock/scripts/generator/README +4 -5
  1878. data/tests/googletest/googlemock/scripts/generator/cpp/ast.py +6 -3
  1879. data/tests/googletest/googlemock/scripts/generator/cpp/gmock_class_test.py +18 -0
  1880. data/tests/googletest/googlemock/scripts/upload.py +4 -4
  1881. data/tests/googletest/googlemock/src/gmock-all.cc +1 -2
  1882. data/tests/googletest/googlemock/src/gmock-cardinalities.cc +7 -8
  1883. data/tests/googletest/googlemock/src/gmock-internal-utils.cc +38 -12
  1884. data/tests/googletest/googlemock/src/gmock-matchers.cc +127 -163
  1885. data/tests/googletest/googlemock/src/gmock-spec-builders.cc +150 -86
  1886. data/tests/googletest/googlemock/src/gmock.cc +41 -11
  1887. data/tests/googletest/googlemock/src/gmock_main.cc +14 -3
  1888. data/tests/googletest/googlemock/test/BUILD.bazel +106 -0
  1889. data/tests/googletest/googlemock/test/gmock-actions_test.cc +370 -328
  1890. data/tests/googletest/googlemock/test/gmock-cardinalities_test.cc +5 -6
  1891. data/tests/googletest/googlemock/test/gmock-function-mocker_nc.cc +16 -0
  1892. data/tests/googletest/googlemock/test/gmock-function-mocker_nc_test.py +43 -0
  1893. data/tests/googletest/googlemock/test/gmock-function-mocker_test.cc +660 -0
  1894. data/tests/googletest/googlemock/test/gmock-generated-actions_test.cc +137 -301
  1895. data/tests/googletest/googlemock/test/gmock-generated-function-mockers_test.cc +80 -43
  1896. data/tests/googletest/googlemock/test/gmock-generated-matchers_test.cc +239 -201
  1897. data/tests/googletest/googlemock/test/gmock-internal-utils_test.cc +126 -68
  1898. data/tests/googletest/googlemock/test/gmock-matchers_test.cc +1811 -674
  1899. data/tests/googletest/googlemock/test/gmock-more-actions_test.cc +162 -171
  1900. data/tests/googletest/googlemock/test/gmock-nice-strict_test.cc +121 -45
  1901. data/tests/googletest/googlemock/test/gmock-port_test.cc +1 -2
  1902. data/tests/googletest/googlemock/test/gmock-pp-string_test.cc +206 -0
  1903. data/tests/googletest/googlemock/test/gmock-pp_test.cc +73 -0
  1904. data/tests/googletest/googlemock/test/gmock-spec-builders_test.cc +152 -23
  1905. data/tests/googletest/googlemock/test/gmock_all_test.cc +1 -3
  1906. data/tests/googletest/googlemock/test/gmock_ex_test.cc +4 -5
  1907. data/tests/googletest/googlemock/test/gmock_leak_test.py +0 -4
  1908. data/tests/googletest/googlemock/test/gmock_leak_test_.cc +1 -2
  1909. data/tests/googletest/googlemock/test/gmock_link2_test.cc +2 -3
  1910. data/tests/googletest/googlemock/test/gmock_link_test.cc +2 -3
  1911. data/tests/googletest/googlemock/test/gmock_link_test.h +45 -24
  1912. data/tests/googletest/googlemock/test/gmock_output_test.py +10 -9
  1913. data/tests/googletest/googlemock/test/gmock_output_test_.cc +21 -3
  1914. data/tests/googletest/googlemock/test/gmock_output_test_golden.txt +8 -1
  1915. data/tests/googletest/googlemock/test/gmock_stress_test.cc +7 -89
  1916. data/tests/googletest/googlemock/test/gmock_test.cc +57 -96
  1917. data/tests/googletest/googlemock/test/gmock_test_utils.py +5 -9
  1918. data/tests/googletest/googletest/CMakeLists.txt +122 -83
  1919. data/tests/googletest/googletest/Makefile.am +103 -75
  1920. data/tests/googletest/googletest/README.md +236 -189
  1921. data/tests/googletest/googletest/cmake/Config.cmake.in +9 -0
  1922. data/tests/googletest/googletest/cmake/gtest.pc.in +10 -0
  1923. data/tests/googletest/googletest/cmake/gtest_main.pc.in +11 -0
  1924. data/tests/googletest/googletest/cmake/internal_utils.cmake +158 -58
  1925. data/tests/googletest/googletest/cmake/libgtest.la.in +21 -0
  1926. data/tests/googletest/googletest/configure.ac +2 -2
  1927. data/tests/googletest/googletest/docs/Pkgconfig.md +146 -0
  1928. data/tests/googletest/googletest/docs/PumpManual.md +5 -5
  1929. data/tests/googletest/googletest/docs/XcodeGuide.md +9 -9
  1930. data/tests/googletest/googletest/docs/advanced.md +2523 -0
  1931. data/tests/googletest/googletest/docs/faq.md +770 -0
  1932. data/tests/googletest/googletest/docs/primer.md +564 -0
  1933. data/tests/googletest/googletest/docs/samples.md +22 -0
  1934. data/tests/googletest/googletest/include/gtest/gtest-death-test.h +60 -11
  1935. data/tests/googletest/googletest/include/gtest/gtest-matchers.h +741 -0
  1936. data/tests/googletest/googletest/include/gtest/gtest-message.h +12 -44
  1937. data/tests/googletest/googletest/include/gtest/gtest-param-test.h +139 -1080
  1938. data/tests/googletest/googletest/include/gtest/gtest-printers.h +202 -268
  1939. data/tests/googletest/googletest/include/gtest/gtest-spi.h +13 -7
  1940. data/tests/googletest/googletest/include/gtest/gtest-test-part.h +21 -16
  1941. data/tests/googletest/googletest/include/gtest/gtest-typed-test.h +157 -84
  1942. data/tests/googletest/googletest/include/gtest/gtest.h +494 -277
  1943. data/tests/googletest/googletest/include/gtest/gtest_pred_impl.h +41 -40
  1944. data/tests/googletest/googletest/include/gtest/gtest_prod.h +10 -7
  1945. data/tests/googletest/googletest/include/gtest/internal/custom/README.md +56 -0
  1946. data/tests/googletest/googletest/include/gtest/internal/custom/gtest-port.h +1 -33
  1947. data/tests/googletest/googletest/include/gtest/internal/custom/gtest-printers.h +2 -2
  1948. data/tests/googletest/googletest/include/gtest/internal/custom/gtest.h +1 -5
  1949. data/tests/googletest/googletest/include/gtest/internal/gtest-death-test-internal.h +80 -95
  1950. data/tests/googletest/googletest/include/gtest/internal/gtest-filepath.h +8 -3
  1951. data/tests/googletest/googletest/include/gtest/internal/gtest-internal.h +415 -231
  1952. data/tests/googletest/googletest/include/gtest/internal/gtest-param-util.h +323 -174
  1953. data/tests/googletest/googletest/include/gtest/internal/gtest-port-arch.h +19 -5
  1954. data/tests/googletest/googletest/include/gtest/internal/gtest-port.h +289 -549
  1955. data/tests/googletest/googletest/include/gtest/internal/gtest-string.h +4 -4
  1956. data/tests/googletest/googletest/include/gtest/internal/gtest-type-util.h +23 -7
  1957. data/tests/googletest/googletest/include/gtest/internal/gtest-type-util.h.pump +24 -7
  1958. data/tests/googletest/googletest/make/Makefile +13 -7
  1959. data/tests/googletest/googletest/msvc/2010/gtest-md.sln +55 -0
  1960. data/tests/googletest/googletest/msvc/2010/gtest-md.vcxproj +149 -0
  1961. data/tests/googletest/googletest/msvc/2010/gtest-md.vcxproj.filters +18 -0
  1962. data/tests/googletest/googletest/msvc/2010/gtest.sln +55 -0
  1963. data/tests/googletest/googletest/msvc/2010/gtest.vcxproj +149 -0
  1964. data/tests/googletest/googletest/msvc/2010/gtest.vcxproj.filters +18 -0
  1965. data/tests/googletest/googletest/msvc/2010/gtest_main-md.vcxproj +154 -0
  1966. data/tests/googletest/googletest/msvc/2010/gtest_main-md.vcxproj.filters +18 -0
  1967. data/tests/googletest/googletest/msvc/2010/gtest_main.vcxproj +162 -0
  1968. data/tests/googletest/googletest/msvc/2010/gtest_main.vcxproj.filters +18 -0
  1969. data/tests/googletest/googletest/msvc/2010/gtest_prod_test-md.vcxproj +199 -0
  1970. data/tests/googletest/googletest/msvc/2010/gtest_prod_test-md.vcxproj.filters +26 -0
  1971. data/tests/googletest/googletest/msvc/2010/gtest_prod_test.vcxproj +191 -0
  1972. data/tests/googletest/googletest/msvc/2010/gtest_prod_test.vcxproj.filters +26 -0
  1973. data/tests/googletest/googletest/msvc/2010/gtest_unittest-md.vcxproj +188 -0
  1974. data/tests/googletest/googletest/msvc/2010/gtest_unittest-md.vcxproj.filters +18 -0
  1975. data/tests/googletest/googletest/msvc/2010/gtest_unittest.vcxproj +180 -0
  1976. data/tests/googletest/googletest/msvc/2010/gtest_unittest.vcxproj.filters +18 -0
  1977. data/tests/googletest/googletest/samples/prime_tables.h +13 -10
  1978. data/tests/googletest/googletest/samples/sample1.cc +1 -3
  1979. data/tests/googletest/googletest/samples/sample1.h +0 -2
  1980. data/tests/googletest/googletest/samples/sample10_unittest.cc +4 -9
  1981. data/tests/googletest/googletest/samples/sample1_unittest.cc +2 -4
  1982. data/tests/googletest/googletest/samples/sample2.cc +1 -3
  1983. data/tests/googletest/googletest/samples/sample2.h +4 -8
  1984. data/tests/googletest/googletest/samples/sample2_unittest.cc +5 -7
  1985. data/tests/googletest/googletest/samples/sample3-inl.h +9 -9
  1986. data/tests/googletest/googletest/samples/sample3_unittest.cc +13 -15
  1987. data/tests/googletest/googletest/samples/sample4.cc +10 -2
  1988. data/tests/googletest/googletest/samples/sample4.h +3 -3
  1989. data/tests/googletest/googletest/samples/sample4_unittest.cc +11 -3
  1990. data/tests/googletest/googletest/samples/sample5_unittest.cc +11 -14
  1991. data/tests/googletest/googletest/samples/sample6_unittest.cc +12 -12
  1992. data/tests/googletest/googletest/samples/sample7_unittest.cc +14 -27
  1993. data/tests/googletest/googletest/samples/sample8_unittest.cc +20 -39
  1994. data/tests/googletest/googletest/samples/sample9_unittest.cc +6 -10
  1995. data/tests/googletest/googletest/scripts/fuse_gtest_files.py +1 -1
  1996. data/tests/googletest/googletest/scripts/gen_gtest_pred_impl.py +10 -10
  1997. data/tests/googletest/googletest/scripts/upload.py +5 -5
  1998. data/tests/googletest/googletest/src/gtest-all.cc +3 -3
  1999. data/tests/googletest/googletest/src/gtest-death-test.cc +417 -121
  2000. data/tests/googletest/googletest/src/gtest-filepath.cc +15 -23
  2001. data/tests/googletest/googletest/src/gtest-internal-inl.h +145 -122
  2002. data/tests/googletest/googletest/src/gtest-matchers.cc +97 -0
  2003. data/tests/googletest/googletest/src/gtest-port.cc +263 -129
  2004. data/tests/googletest/googletest/src/gtest-printers.cc +92 -24
  2005. data/tests/googletest/googletest/src/gtest-test-part.cc +13 -19
  2006. data/tests/googletest/googletest/src/gtest-typed-test.cc +5 -5
  2007. data/tests/googletest/googletest/src/gtest.cc +1469 -742
  2008. data/tests/googletest/googletest/src/gtest_main.cc +12 -3
  2009. data/tests/googletest/googletest/test/BUILD.bazel +518 -0
  2010. data/tests/googletest/googletest/test/googletest-break-on-failure-unittest.py +208 -0
  2011. data/tests/googletest/googletest/test/googletest-break-on-failure-unittest_.cc +86 -0
  2012. data/tests/googletest/googletest/test/googletest-catch-exceptions-test.py +231 -0
  2013. data/tests/googletest/googletest/test/googletest-catch-exceptions-test_.cc +293 -0
  2014. data/tests/googletest/googletest/test/googletest-color-test.py +127 -0
  2015. data/tests/googletest/googletest/test/googletest-color-test_.cc +62 -0
  2016. data/tests/googletest/googletest/test/googletest-death-test-test.cc +1458 -0
  2017. data/tests/googletest/googletest/test/googletest-death-test_ex_test.cc +92 -0
  2018. data/tests/googletest/googletest/test/googletest-env-var-test.py +117 -0
  2019. data/tests/googletest/googletest/test/googletest-env-var-test_.cc +122 -0
  2020. data/tests/googletest/googletest/test/googletest-filepath-test.cc +649 -0
  2021. data/tests/googletest/googletest/test/googletest-filter-unittest.py +639 -0
  2022. data/tests/googletest/googletest/test/googletest-filter-unittest_.cc +137 -0
  2023. data/tests/googletest/googletest/test/googletest-json-outfiles-test.py +185 -0
  2024. data/tests/googletest/googletest/test/googletest-json-output-unittest.py +758 -0
  2025. data/tests/googletest/googletest/test/googletest-list-tests-unittest.py +205 -0
  2026. data/tests/googletest/googletest/test/googletest-list-tests-unittest_.cc +156 -0
  2027. data/tests/googletest/googletest/test/googletest-listener-test.cc +407 -0
  2028. data/tests/googletest/googletest/test/googletest-message-test.cc +158 -0
  2029. data/tests/googletest/googletest/test/googletest-options-test.cc +216 -0
  2030. data/tests/googletest/googletest/test/googletest-output-test-golden-lin.txt +1128 -0
  2031. data/tests/googletest/googletest/test/googletest-output-test.py +346 -0
  2032. data/tests/googletest/googletest/test/googletest-output-test_.cc +1145 -0
  2033. data/tests/googletest/googletest/test/googletest-param-test-invalid-name1-test.py +63 -0
  2034. data/tests/googletest/googletest/test/googletest-param-test-invalid-name1-test_.cc +50 -0
  2035. data/tests/googletest/googletest/test/googletest-param-test-invalid-name2-test.py +62 -0
  2036. data/tests/googletest/googletest/test/googletest-param-test-invalid-name2-test_.cc +55 -0
  2037. data/tests/googletest/googletest/test/googletest-param-test-test.cc +1055 -0
  2038. data/tests/googletest/googletest/test/googletest-param-test-test.h +51 -0
  2039. data/tests/googletest/googletest/test/googletest-param-test2-test.cc +61 -0
  2040. data/tests/googletest/googletest/test/googletest-port-test.cc +1290 -0
  2041. data/tests/googletest/googletest/test/googletest-printers-test.cc +1561 -0
  2042. data/tests/googletest/googletest/test/googletest-shuffle-test.py +323 -0
  2043. data/tests/googletest/googletest/test/googletest-shuffle-test_.cc +101 -0
  2044. data/tests/googletest/googletest/test/googletest-test-part-test.cc +230 -0
  2045. data/tests/googletest/googletest/test/googletest-test2_test.cc +61 -0
  2046. data/tests/googletest/googletest/test/googletest-throw-on-failure-test.py +168 -0
  2047. data/tests/googletest/googletest/test/googletest-throw-on-failure-test_.cc +71 -0
  2048. data/tests/googletest/googletest/test/googletest-uninitialized-test.py +67 -0
  2049. data/tests/googletest/googletest/test/googletest-uninitialized-test_.cc +42 -0
  2050. data/tests/googletest/googletest/test/gtest-typed-test2_test.cc +3 -4
  2051. data/tests/googletest/googletest/test/gtest-typed-test_test.cc +144 -63
  2052. data/tests/googletest/googletest/test/gtest-typed-test_test.h +4 -5
  2053. data/tests/googletest/googletest/test/gtest-unittest-api_test.cc +122 -123
  2054. data/tests/googletest/googletest/test/gtest_all_test.cc +10 -11
  2055. data/tests/googletest/googletest/test/gtest_assert_by_exception_test.cc +116 -0
  2056. data/tests/googletest/googletest/test/gtest_environment_test.cc +3 -7
  2057. data/tests/googletest/googletest/test/gtest_help_test.py +1 -3
  2058. data/tests/googletest/googletest/test/gtest_help_test_.cc +1 -2
  2059. data/tests/googletest/googletest/test/gtest_json_test_utils.py +60 -0
  2060. data/tests/googletest/googletest/test/gtest_list_output_unittest.py +141 -0
  2061. data/tests/googletest/googletest/test/gtest_list_output_unittest_.cc +51 -0
  2062. data/tests/googletest/googletest/test/gtest_main_unittest.cc +3 -4
  2063. data/tests/googletest/googletest/test/gtest_no_test_unittest.cc +0 -2
  2064. data/tests/googletest/googletest/test/gtest_pred_impl_unittest.cc +11 -11
  2065. data/tests/googletest/googletest/test/gtest_premature_exit_test.cc +3 -4
  2066. data/tests/googletest/googletest/test/gtest_prod_test.cc +3 -4
  2067. data/tests/googletest/googletest/test/gtest_repeat_test.cc +8 -28
  2068. data/tests/googletest/googletest/test/gtest_skip_environment_check_output_test.py +54 -0
  2069. data/tests/googletest/googletest/test/gtest_skip_in_environment_setup_test.cc +49 -0
  2070. data/tests/googletest/googletest/test/gtest_skip_test.cc +55 -0
  2071. data/tests/googletest/googletest/test/gtest_sole_header_test.cc +1 -2
  2072. data/tests/googletest/googletest/test/gtest_stress_test.cc +3 -11
  2073. data/tests/googletest/googletest/test/gtest_test_macro_stack_footprint_test.cc +89 -0
  2074. data/tests/googletest/googletest/test/gtest_test_utils.py +15 -22
  2075. data/tests/googletest/googletest/test/gtest_testbridge_test.py +63 -0
  2076. data/tests/googletest/googletest/test/gtest_testbridge_test_.cc +43 -0
  2077. data/tests/googletest/googletest/test/gtest_throw_on_failure_ex_test.cc +2 -4
  2078. data/tests/googletest/googletest/test/gtest_unittest.cc +770 -924
  2079. data/tests/googletest/googletest/test/gtest_xml_outfile1_test_.cc +2 -8
  2080. data/tests/googletest/googletest/test/gtest_xml_outfile2_test_.cc +2 -8
  2081. data/tests/googletest/googletest/test/gtest_xml_outfiles_test.py +14 -11
  2082. data/tests/googletest/googletest/test/gtest_xml_output_unittest.py +132 -51
  2083. data/tests/googletest/googletest/test/gtest_xml_output_unittest_.cc +21 -14
  2084. data/tests/googletest/googletest/test/gtest_xml_test_utils.py +24 -22
  2085. data/tests/googletest/googletest/test/production.cc +2 -3
  2086. data/tests/googletest/googletest/test/production.h +2 -3
  2087. data/tests/googletest/googletest/xcode/Config/DebugProject.xcconfig +1 -1
  2088. data/tests/googletest/googletest/xcode/Config/FrameworkTarget.xcconfig +1 -1
  2089. data/tests/googletest/googletest/xcode/Config/General.xcconfig +3 -3
  2090. data/tests/googletest/googletest/xcode/Config/ReleaseProject.xcconfig +1 -1
  2091. data/tests/googletest/googletest/xcode/Config/StaticLibraryTarget.xcconfig +1 -1
  2092. data/tests/googletest/googletest/xcode/Scripts/versiongenerate.py +4 -4
  2093. data/tests/googletest/googletest/xcode/gtest.xcodeproj/project.pbxproj +51 -16
  2094. data/tests/googletest/library.json +59 -0
  2095. data/tests/googletest/platformio.ini +31 -0
  2096. metadata +1391 -137
  2097. data/ext/enterprise_script_service/libseccomp/README +0 -65
  2098. data/ext/enterprise_script_service/libseccomp/SUBMITTING_PATCHES +0 -123
  2099. data/ext/enterprise_script_service/mruby/MITL +0 -20
  2100. data/ext/enterprise_script_service/mruby/mrbgems/mruby-bin-mruby-config/mrbgem.rake +0 -30
  2101. data/ext/enterprise_script_service/mruby/mrbgems/mruby-io/test/gc_filedes.sh +0 -4
  2102. data/ext/enterprise_script_service/mruby/mrbgems/mruby-test/init_mrbtest.c +0 -38
  2103. data/ext/enterprise_script_service/mruby/mrblib/float.rb +0 -9
  2104. data/ext/enterprise_script_service/mruby/src/ext/.gitkeep +0 -0
  2105. data/ext/enterprise_script_service/mruby/test/report.rb +0 -4
  2106. data/spec/dummy/app/models/fields/options/boolean_field.rb +0 -6
  2107. data/spec/dummy/app/models/fields/options/multiple_nested_form_field.rb +0 -6
  2108. data/spec/dummy/app/models/fields/options/nested_form_field.rb +0 -6
  2109. data/tests/googletest/googlemock/CHANGES +0 -126
  2110. data/tests/googletest/googlemock/docs/DevGuide.md +0 -132
  2111. data/tests/googletest/googlemock/docs/v1_5/CheatSheet.md +0 -525
  2112. data/tests/googletest/googlemock/docs/v1_5/CookBook.md +0 -3250
  2113. data/tests/googletest/googlemock/docs/v1_5/Documentation.md +0 -11
  2114. data/tests/googletest/googlemock/docs/v1_5/ForDummies.md +0 -439
  2115. data/tests/googletest/googlemock/docs/v1_5/FrequentlyAskedQuestions.md +0 -624
  2116. data/tests/googletest/googlemock/docs/v1_6/CheatSheet.md +0 -534
  2117. data/tests/googletest/googlemock/docs/v1_6/CookBook.md +0 -3342
  2118. data/tests/googletest/googlemock/docs/v1_6/Documentation.md +0 -12
  2119. data/tests/googletest/googlemock/docs/v1_6/ForDummies.md +0 -439
  2120. data/tests/googletest/googlemock/docs/v1_6/FrequentlyAskedQuestions.md +0 -628
  2121. data/tests/googletest/googlemock/docs/v1_7/CheatSheet.md +0 -556
  2122. data/tests/googletest/googlemock/docs/v1_7/CookBook.md +0 -3432
  2123. data/tests/googletest/googlemock/docs/v1_7/Documentation.md +0 -12
  2124. data/tests/googletest/googlemock/docs/v1_7/ForDummies.md +0 -439
  2125. data/tests/googletest/googlemock/docs/v1_7/FrequentlyAskedQuestions.md +0 -628
  2126. data/tests/googletest/googlemock/include/gmock/gmock-generated-nice-strict.h +0 -397
  2127. data/tests/googletest/googlemock/include/gmock/gmock-generated-nice-strict.h.pump +0 -161
  2128. data/tests/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h +0 -279
  2129. data/tests/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h.pump +0 -136
  2130. data/tests/googletest/googlemock/test/gmock-generated-internal-utils_test.cc +0 -127
  2131. data/tests/googletest/googletest/.gitignore +0 -2
  2132. data/tests/googletest/googletest/CHANGES +0 -157
  2133. data/tests/googletest/googletest/build-aux/.keep +0 -0
  2134. data/tests/googletest/googletest/docs/AdvancedGuide.md +0 -2182
  2135. data/tests/googletest/googletest/docs/DevGuide.md +0 -126
  2136. data/tests/googletest/googletest/docs/Documentation.md +0 -14
  2137. data/tests/googletest/googletest/docs/FAQ.md +0 -1087
  2138. data/tests/googletest/googletest/docs/Primer.md +0 -502
  2139. data/tests/googletest/googletest/docs/Samples.md +0 -14
  2140. data/tests/googletest/googletest/docs/V1_5_AdvancedGuide.md +0 -2096
  2141. data/tests/googletest/googletest/docs/V1_5_Documentation.md +0 -12
  2142. data/tests/googletest/googletest/docs/V1_5_FAQ.md +0 -886
  2143. data/tests/googletest/googletest/docs/V1_5_Primer.md +0 -497
  2144. data/tests/googletest/googletest/docs/V1_5_PumpManual.md +0 -177
  2145. data/tests/googletest/googletest/docs/V1_5_XcodeGuide.md +0 -93
  2146. data/tests/googletest/googletest/docs/V1_6_AdvancedGuide.md +0 -2178
  2147. data/tests/googletest/googletest/docs/V1_6_Documentation.md +0 -14
  2148. data/tests/googletest/googletest/docs/V1_6_FAQ.md +0 -1038
  2149. data/tests/googletest/googletest/docs/V1_6_Primer.md +0 -501
  2150. data/tests/googletest/googletest/docs/V1_6_PumpManual.md +0 -177
  2151. data/tests/googletest/googletest/docs/V1_6_Samples.md +0 -14
  2152. data/tests/googletest/googletest/docs/V1_6_XcodeGuide.md +0 -93
  2153. data/tests/googletest/googletest/docs/V1_7_AdvancedGuide.md +0 -2181
  2154. data/tests/googletest/googletest/docs/V1_7_Documentation.md +0 -14
  2155. data/tests/googletest/googletest/docs/V1_7_FAQ.md +0 -1082
  2156. data/tests/googletest/googletest/docs/V1_7_Primer.md +0 -501
  2157. data/tests/googletest/googletest/docs/V1_7_PumpManual.md +0 -177
  2158. data/tests/googletest/googletest/docs/V1_7_Samples.md +0 -14
  2159. data/tests/googletest/googletest/docs/V1_7_XcodeGuide.md +0 -93
  2160. data/tests/googletest/googletest/include/gtest/gtest-param-test.h.pump +0 -510
  2161. data/tests/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h +0 -243
  2162. data/tests/googletest/googletest/include/gtest/internal/gtest-param-util-generated.h +0 -5146
  2163. data/tests/googletest/googletest/include/gtest/internal/gtest-param-util-generated.h.pump +0 -286
  2164. data/tests/googletest/googletest/include/gtest/internal/gtest-tuple.h +0 -1020
  2165. data/tests/googletest/googletest/include/gtest/internal/gtest-tuple.h.pump +0 -347
  2166. data/tests/googletest/googletest/msvc/gtest-md.sln +0 -45
  2167. data/tests/googletest/googletest/msvc/gtest-md.vcproj +0 -126
  2168. data/tests/googletest/googletest/msvc/gtest.sln +0 -45
  2169. data/tests/googletest/googletest/msvc/gtest.vcproj +0 -126
  2170. data/tests/googletest/googletest/msvc/gtest_main-md.vcproj +0 -129
  2171. data/tests/googletest/googletest/msvc/gtest_main.vcproj +0 -129
  2172. data/tests/googletest/googletest/msvc/gtest_prod_test-md.vcproj +0 -164
  2173. data/tests/googletest/googletest/msvc/gtest_prod_test.vcproj +0 -164
  2174. data/tests/googletest/googletest/msvc/gtest_unittest-md.vcproj +0 -147
  2175. data/tests/googletest/googletest/msvc/gtest_unittest.vcproj +0 -147
  2176. data/tests/googletest/googletest/test/gtest-death-test_ex_test.cc +0 -93
  2177. data/tests/googletest/googletest/test/gtest-death-test_test.cc +0 -1427
  2178. data/tests/googletest/googletest/test/gtest-filepath_test.cc +0 -662
  2179. data/tests/googletest/googletest/test/gtest-linked_ptr_test.cc +0 -154
  2180. data/tests/googletest/googletest/test/gtest-listener_test.cc +0 -311
  2181. data/tests/googletest/googletest/test/gtest-message_test.cc +0 -159
  2182. data/tests/googletest/googletest/test/gtest-options_test.cc +0 -215
  2183. data/tests/googletest/googletest/test/gtest-param-test2_test.cc +0 -65
  2184. data/tests/googletest/googletest/test/gtest-param-test_test.cc +0 -1055
  2185. data/tests/googletest/googletest/test/gtest-param-test_test.h +0 -57
  2186. data/tests/googletest/googletest/test/gtest-port_test.cc +0 -1304
  2187. data/tests/googletest/googletest/test/gtest-printers_test.cc +0 -1635
  2188. data/tests/googletest/googletest/test/gtest-test-part_test.cc +0 -208
  2189. data/tests/googletest/googletest/test/gtest-tuple_test.cc +0 -320
  2190. data/tests/googletest/googletest/test/gtest_break_on_failure_unittest.py +0 -212
  2191. data/tests/googletest/googletest/test/gtest_break_on_failure_unittest_.cc +0 -88
  2192. data/tests/googletest/googletest/test/gtest_catch_exceptions_test.py +0 -237
  2193. data/tests/googletest/googletest/test/gtest_catch_exceptions_test_.cc +0 -311
  2194. data/tests/googletest/googletest/test/gtest_color_test.py +0 -130
  2195. data/tests/googletest/googletest/test/gtest_color_test_.cc +0 -71
  2196. data/tests/googletest/googletest/test/gtest_env_var_test.py +0 -117
  2197. data/tests/googletest/googletest/test/gtest_env_var_test_.cc +0 -126
  2198. data/tests/googletest/googletest/test/gtest_filter_unittest.py +0 -636
  2199. data/tests/googletest/googletest/test/gtest_filter_unittest_.cc +0 -140
  2200. data/tests/googletest/googletest/test/gtest_list_tests_unittest.py +0 -207
  2201. data/tests/googletest/googletest/test/gtest_list_tests_unittest_.cc +0 -157
  2202. data/tests/googletest/googletest/test/gtest_output_test.py +0 -340
  2203. data/tests/googletest/googletest/test/gtest_output_test_.cc +0 -1062
  2204. data/tests/googletest/googletest/test/gtest_output_test_golden_lin.txt +0 -743
  2205. data/tests/googletest/googletest/test/gtest_shuffle_test.py +0 -325
  2206. data/tests/googletest/googletest/test/gtest_shuffle_test_.cc +0 -103
  2207. data/tests/googletest/googletest/test/gtest_throw_on_failure_test.py +0 -171
  2208. data/tests/googletest/googletest/test/gtest_throw_on_failure_test_.cc +0 -72
  2209. data/tests/googletest/googletest/test/gtest_uninitialized_test.py +0 -70
  2210. data/tests/googletest/googletest/test/gtest_uninitialized_test_.cc +0 -43
  2211. data/tests/googletest/travis.sh +0 -15
@@ -0,0 +1,89 @@
1
+ // Copyright 2013, Google Inc.
2
+ // All rights reserved.
3
+ //
4
+ // Redistribution and use in source and binary forms, with or without
5
+ // modification, are permitted provided that the following conditions are
6
+ // met:
7
+ //
8
+ // * Redistributions of source code must retain the above copyright
9
+ // notice, this list of conditions and the following disclaimer.
10
+ // * Redistributions in binary form must reproduce the above
11
+ // copyright notice, this list of conditions and the following disclaimer
12
+ // in the documentation and/or other materials provided with the
13
+ // distribution.
14
+ // * Neither the name of Google Inc. nor the names of its
15
+ // contributors may be used to endorse or promote products derived from
16
+ // this software without specific prior written permission.
17
+ //
18
+ // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19
+ // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20
+ // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21
+ // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22
+ // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23
+ // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24
+ // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25
+ // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26
+ // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27
+ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
+
30
+ //
31
+ // Each TEST() expands to some static registration logic. GCC puts all
32
+ // such static initialization logic for a translation unit in a common,
33
+ // internal function. Since Google's build system restricts how much
34
+ // stack space a function can use, there's a limit on how many TEST()s
35
+ // one can put in a single C++ test file. This test ensures that a large
36
+ // number of TEST()s can be defined in the same translation unit.
37
+
38
+ #include "gtest/gtest.h"
39
+
40
+ // This macro defines 10 dummy tests.
41
+ #define TEN_TESTS_(test_case_name) \
42
+ TEST(test_case_name, T0) {} \
43
+ TEST(test_case_name, T1) {} \
44
+ TEST(test_case_name, T2) {} \
45
+ TEST(test_case_name, T3) {} \
46
+ TEST(test_case_name, T4) {} \
47
+ TEST(test_case_name, T5) {} \
48
+ TEST(test_case_name, T6) {} \
49
+ TEST(test_case_name, T7) {} \
50
+ TEST(test_case_name, T8) {} \
51
+ TEST(test_case_name, T9) {}
52
+
53
+ // This macro defines 100 dummy tests.
54
+ #define HUNDRED_TESTS_(test_case_name_prefix) \
55
+ TEN_TESTS_(test_case_name_prefix ## 0) \
56
+ TEN_TESTS_(test_case_name_prefix ## 1) \
57
+ TEN_TESTS_(test_case_name_prefix ## 2) \
58
+ TEN_TESTS_(test_case_name_prefix ## 3) \
59
+ TEN_TESTS_(test_case_name_prefix ## 4) \
60
+ TEN_TESTS_(test_case_name_prefix ## 5) \
61
+ TEN_TESTS_(test_case_name_prefix ## 6) \
62
+ TEN_TESTS_(test_case_name_prefix ## 7) \
63
+ TEN_TESTS_(test_case_name_prefix ## 8) \
64
+ TEN_TESTS_(test_case_name_prefix ## 9)
65
+
66
+ // This macro defines 1000 dummy tests.
67
+ #define THOUSAND_TESTS_(test_case_name_prefix) \
68
+ HUNDRED_TESTS_(test_case_name_prefix ## 0) \
69
+ HUNDRED_TESTS_(test_case_name_prefix ## 1) \
70
+ HUNDRED_TESTS_(test_case_name_prefix ## 2) \
71
+ HUNDRED_TESTS_(test_case_name_prefix ## 3) \
72
+ HUNDRED_TESTS_(test_case_name_prefix ## 4) \
73
+ HUNDRED_TESTS_(test_case_name_prefix ## 5) \
74
+ HUNDRED_TESTS_(test_case_name_prefix ## 6) \
75
+ HUNDRED_TESTS_(test_case_name_prefix ## 7) \
76
+ HUNDRED_TESTS_(test_case_name_prefix ## 8) \
77
+ HUNDRED_TESTS_(test_case_name_prefix ## 9)
78
+
79
+ // Ensures that we can define 1000 TEST()s in the same translation
80
+ // unit.
81
+ THOUSAND_TESTS_(T)
82
+
83
+ int main(int argc, char **argv) {
84
+ testing::InitGoogleTest(&argc, argv);
85
+
86
+ // We don't actually need to run the dummy tests - the purpose is to
87
+ // ensure that they compile.
88
+ return 0;
89
+ }
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python
2
- #
3
1
  # Copyright 2006, Google Inc.
4
2
  # All rights reserved.
5
3
  #
@@ -29,20 +27,22 @@
29
27
  # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30
28
  # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
29
 
32
- """Unit test utilities for Google C++ Testing Framework."""
30
+ """Unit test utilities for Google C++ Testing and Mocking Framework."""
31
+ # Suppresses the 'Import not at the top of the file' lint complaint.
32
+ # pylint: disable-msg=C6204
33
+
34
+ import os
35
+ import sys
33
36
 
34
- __author__ = 'wan@google.com (Zhanyong Wan)'
37
+ IS_WINDOWS = os.name == 'nt'
38
+ IS_CYGWIN = os.name == 'posix' and 'CYGWIN' in os.uname()[0]
39
+ IS_OS2 = os.name == 'os2'
35
40
 
36
41
  import atexit
37
- import os
38
42
  import shutil
39
- import sys
40
43
  import tempfile
41
- import unittest
42
- _test_module = unittest
44
+ import unittest as _test_module
43
45
 
44
- # Suppresses the 'Import not at the top of the file' lint complaint.
45
- # pylint: disable-msg=C6204
46
46
  try:
47
47
  import subprocess
48
48
  _SUBPROCESS_MODULE_AVAILABLE = True
@@ -53,9 +53,6 @@ except:
53
53
 
54
54
  GTEST_OUTPUT_VAR_NAME = 'GTEST_OUTPUT'
55
55
 
56
- IS_WINDOWS = os.name == 'nt'
57
- IS_CYGWIN = os.name == 'posix' and 'CYGWIN' in os.uname()[0]
58
-
59
56
  # The environment variable for specifying the path to the premature-exit file.
60
57
  PREMATURE_EXIT_FILE_ENV_VAR = 'TEST_PREMATURE_EXIT_FILE'
61
58
 
@@ -74,7 +71,7 @@ def SetEnvVar(env_var, value):
74
71
  # Here we expose a class from a particular module, depending on the
75
72
  # environment. The comment suppresses the 'Invalid variable name' lint
76
73
  # complaint.
77
- TestCase = _test_module.TestCase # pylint: disable-msg=C6409
74
+ TestCase = _test_module.TestCase # pylint: disable=C6409
78
75
 
79
76
  # Initially maps a flag to its default value. After
80
77
  # _ParseAndStripGTestFlags() is called, maps a flag to its actual value.
@@ -88,7 +85,7 @@ def _ParseAndStripGTestFlags(argv):
88
85
 
89
86
  # Suppresses the lint complaint about a global variable since we need it
90
87
  # here to maintain module-wide state.
91
- global _gtest_flags_are_parsed # pylint: disable-msg=W0603
88
+ global _gtest_flags_are_parsed # pylint: disable=W0603
92
89
  if _gtest_flags_are_parsed:
93
90
  return
94
91
 
@@ -145,8 +142,6 @@ atexit.register(_RemoveTempDir)
145
142
 
146
143
 
147
144
  def GetTempDir():
148
- """Returns a directory for temporary files."""
149
-
150
145
  global _temp_dir
151
146
  if not _temp_dir:
152
147
  _temp_dir = tempfile.mkdtemp()
@@ -170,7 +165,7 @@ def GetTestExecutablePath(executable_name, build_dir=None):
170
165
 
171
166
  path = os.path.abspath(os.path.join(build_dir or GetBuildDir(),
172
167
  executable_name))
173
- if (IS_WINDOWS or IS_CYGWIN) and not path.endswith('.exe'):
168
+ if (IS_WINDOWS or IS_CYGWIN or IS_OS2) and not path.endswith('.exe'):
174
169
  path += '.exe'
175
170
 
176
171
  if not os.path.exists(path):
@@ -178,7 +173,7 @@ def GetTestExecutablePath(executable_name, build_dir=None):
178
173
  'Unable to find the test binary "%s". Please make sure to provide\n'
179
174
  'a path to the binary via the --build_dir flag or the BUILD_DIR\n'
180
175
  'environment variable.' % path)
181
- sys.stdout.write(message)
176
+ print >> sys.stderr, message
182
177
  sys.exit(1)
183
178
 
184
179
  return path
@@ -245,7 +240,7 @@ class Subprocess:
245
240
  p = subprocess.Popen(command,
246
241
  stdout=subprocess.PIPE, stderr=stderr,
247
242
  cwd=working_dir, universal_newlines=True, env=env)
248
- # communicate returns a tuple with the file obect for the child's
243
+ # communicate returns a tuple with the file object for the child's
249
244
  # output.
250
245
  self.output = p.communicate()[0]
251
246
  self._return_code = p.returncode
@@ -312,8 +307,6 @@ def Main():
312
307
  _ParseAndStripGTestFlags(sys.argv)
313
308
  # The tested binaries should not be writing XML output files unless the
314
309
  # script explicitly instructs them to.
315
- # TODO(vladl@google.com): Move this into Subprocess when we implement
316
- # passing environment into it as a parameter.
317
310
  if GTEST_OUTPUT_VAR_NAME in os.environ:
318
311
  del os.environ[GTEST_OUTPUT_VAR_NAME]
319
312
 
@@ -0,0 +1,63 @@
1
+ #!/usr/bin/env python
2
+ #
3
+ # Copyright 2018 Google LLC. All rights reserved.
4
+ #
5
+ # Redistribution and use in source and binary forms, with or without
6
+ # modification, are permitted provided that the following conditions are
7
+ # met:
8
+ #
9
+ # * Redistributions of source code must retain the above copyright
10
+ # notice, this list of conditions and the following disclaimer.
11
+ # * Redistributions in binary form must reproduce the above
12
+ # copyright notice, this list of conditions and the following disclaimer
13
+ # in the documentation and/or other materials provided with the
14
+ # distribution.
15
+ # * Neither the name of Google Inc. nor the names of its
16
+ # contributors may be used to endorse or promote products derived from
17
+ # this software without specific prior written permission.
18
+ #
19
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20
+ # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21
+ # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22
+ # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23
+ # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24
+ # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25
+ # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26
+ # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27
+ # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28
+ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
+ """Verifies that Google Test uses filter provided via testbridge."""
31
+
32
+ import os
33
+
34
+ import gtest_test_utils
35
+
36
+ binary_name = 'gtest_testbridge_test_'
37
+ COMMAND = gtest_test_utils.GetTestExecutablePath(binary_name)
38
+ TESTBRIDGE_NAME = 'TESTBRIDGE_TEST_ONLY'
39
+
40
+
41
+ def Assert(condition):
42
+ if not condition:
43
+ raise AssertionError
44
+
45
+
46
+ class GTestTestFilterTest(gtest_test_utils.TestCase):
47
+
48
+ def testTestExecutionIsFiltered(self):
49
+ """Tests that the test filter is picked up from the testbridge env var."""
50
+ subprocess_env = os.environ.copy()
51
+
52
+ subprocess_env[TESTBRIDGE_NAME] = '*.TestThatSucceeds'
53
+ p = gtest_test_utils.Subprocess(COMMAND, env=subprocess_env)
54
+
55
+ self.assertEquals(0, p.exit_code)
56
+
57
+ Assert('filter = *.TestThatSucceeds' in p.output)
58
+ Assert('[ OK ] TestFilterTest.TestThatSucceeds' in p.output)
59
+ Assert('[ PASSED ] 1 test.' in p.output)
60
+
61
+
62
+ if __name__ == '__main__':
63
+ gtest_test_utils.Main()
@@ -0,0 +1,43 @@
1
+ // Copyright 2018, Google LLC.
2
+ // All rights reserved.
3
+ //
4
+ // Redistribution and use in source and binary forms, with or without
5
+ // modification, are permitted provided that the following conditions are
6
+ // met:
7
+ //
8
+ // * Redistributions of source code must retain the above copyright
9
+ // notice, this list of conditions and the following disclaimer.
10
+ // * Redistributions in binary form must reproduce the above
11
+ // copyright notice, this list of conditions and the following disclaimer
12
+ // in the documentation and/or other materials provided with the
13
+ // distribution.
14
+ // * Neither the name of Google Inc. nor the names of its
15
+ // contributors may be used to endorse or promote products derived from
16
+ // this software without specific prior written permission.
17
+ //
18
+ // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19
+ // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20
+ // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21
+ // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22
+ // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23
+ // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24
+ // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25
+ // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26
+ // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27
+ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
+
30
+
31
+ // This program is meant to be run by gtest_test_filter_test.py. Do not run
32
+ // it directly.
33
+
34
+ #include "gtest/gtest.h"
35
+
36
+ // These tests are used to detect if filtering is working. Only
37
+ // 'TestThatSucceeds' should ever run.
38
+
39
+ TEST(TestFilterTest, TestThatSucceeds) {}
40
+
41
+ TEST(TestFilterTest, TestThatFails) {
42
+ ASSERT_TRUE(false) << "This test should never be run.";
43
+ }
@@ -26,8 +26,7 @@
26
26
  // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27
27
  // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
28
  // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
- //
30
- // Author: wan@google.com (Zhanyong Wan)
29
+
31
30
 
32
31
  // Tests Google Test's throw-on-failure mode with exceptions enabled.
33
32
 
@@ -64,8 +63,7 @@ void TestFailureThrowsRuntimeError() {
64
63
  try {
65
64
  EXPECT_EQ(2, 3) << "Expected failure";
66
65
  } catch(const std::runtime_error& e) {
67
- if (strstr(e.what(), "Expected failure") != NULL)
68
- return;
66
+ if (strstr(e.what(), "Expected failure") != nullptr) return;
69
67
 
70
68
  printf("%s",
71
69
  "A failed assertion did throw an exception of the right type, "
@@ -26,17 +26,16 @@
26
26
  // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27
27
  // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
28
  // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
- //
30
- // Author: wan@google.com (Zhanyong Wan)
29
+
31
30
  //
32
31
  // Tests for Google Test itself. This verifies that the basic constructs of
33
32
  // Google Test work.
34
33
 
35
34
  #include "gtest/gtest.h"
36
35
 
37
- // Verifies that the command line flag variables can be accessed
38
- // in code once <gtest/gtest.h> has been #included.
39
- // Do not move it after other #includes.
36
+ // Verifies that the command line flag variables can be accessed in
37
+ // code once "gtest.h" has been #included.
38
+ // Do not move it after other gtest #includes.
40
39
  TEST(CommandLineFlagsTest, CanBeAccessedInCodeOnceGTestHIsIncluded) {
41
40
  bool dummy = testing::GTEST_FLAG(also_run_disabled_tests)
42
41
  || testing::GTEST_FLAG(break_on_failure)
@@ -64,17 +63,10 @@ TEST(CommandLineFlagsTest, CanBeAccessedInCodeOnceGTestHIsIncluded) {
64
63
  #include <map>
65
64
  #include <vector>
66
65
  #include <ostream>
66
+ #include <unordered_set>
67
67
 
68
68
  #include "gtest/gtest-spi.h"
69
-
70
- // Indicates that this translation unit is part of Google Test's
71
- // implementation. It must come before gtest-internal-inl.h is
72
- // included, or there will be a compiler error. This trick is to
73
- // prevent a user from accidentally including gtest-internal-inl.h in
74
- // his code.
75
- #define GTEST_IMPLEMENTATION_ 1
76
69
  #include "src/gtest-internal-inl.h"
77
- #undef GTEST_IMPLEMENTATION_
78
70
 
79
71
  namespace testing {
80
72
  namespace internal {
@@ -86,19 +78,19 @@ class StreamingListenerTest : public Test {
86
78
  class FakeSocketWriter : public StreamingListener::AbstractSocketWriter {
87
79
  public:
88
80
  // Sends a string to the socket.
89
- virtual void Send(const string& message) { output_ += message; }
81
+ void Send(const std::string& message) override { output_ += message; }
90
82
 
91
- string output_;
83
+ std::string output_;
92
84
  };
93
85
 
94
86
  StreamingListenerTest()
95
87
  : fake_sock_writer_(new FakeSocketWriter),
96
88
  streamer_(fake_sock_writer_),
97
- test_info_obj_("FooTest", "Bar", NULL, NULL,
98
- CodeLocation(__FILE__, __LINE__), 0, NULL) {}
89
+ test_info_obj_("FooTest", "Bar", nullptr, nullptr,
90
+ CodeLocation(__FILE__, __LINE__), nullptr, nullptr) {}
99
91
 
100
92
  protected:
101
- string* output() { return &(fake_sock_writer_->output_); }
93
+ std::string* output() { return &(fake_sock_writer_->output_); }
102
94
 
103
95
  FakeSocketWriter* const fake_sock_writer_;
104
96
  StreamingListener streamer_;
@@ -120,13 +112,13 @@ TEST_F(StreamingListenerTest, OnTestIterationEnd) {
120
112
 
121
113
  TEST_F(StreamingListenerTest, OnTestCaseStart) {
122
114
  *output() = "";
123
- streamer_.OnTestCaseStart(TestCase("FooTest", "Bar", NULL, NULL));
115
+ streamer_.OnTestCaseStart(TestCase("FooTest", "Bar", nullptr, nullptr));
124
116
  EXPECT_EQ("event=TestCaseStart&name=FooTest\n", *output());
125
117
  }
126
118
 
127
119
  TEST_F(StreamingListenerTest, OnTestCaseEnd) {
128
120
  *output() = "";
129
- streamer_.OnTestCaseEnd(TestCase("FooTest", "Bar", NULL, NULL));
121
+ streamer_.OnTestCaseEnd(TestCase("FooTest", "Bar", nullptr, nullptr));
130
122
  EXPECT_EQ("event=TestCaseEnd&passed=1&elapsed_time=0ms\n", *output());
131
123
  }
132
124
 
@@ -258,7 +250,6 @@ using testing::internal::GetTestTypeId;
258
250
  using testing::internal::GetTimeInMillis;
259
251
  using testing::internal::GetTypeId;
260
252
  using testing::internal::GetUnitTestImpl;
261
- using testing::internal::ImplicitlyConvertible;
262
253
  using testing::internal::Int32;
263
254
  using testing::internal::Int32FromEnvOrDie;
264
255
  using testing::internal::IsAProtocolMessage;
@@ -266,6 +257,8 @@ using testing::internal::IsContainer;
266
257
  using testing::internal::IsContainerTest;
267
258
  using testing::internal::IsNotContainer;
268
259
  using testing::internal::NativeArray;
260
+ using testing::internal::OsStackTraceGetter;
261
+ using testing::internal::OsStackTraceGetterInterface;
269
262
  using testing::internal::ParseInt32Flag;
270
263
  using testing::internal::RelationToSourceCopy;
271
264
  using testing::internal::RelationToSourceReference;
@@ -282,6 +275,7 @@ using testing::internal::String;
282
275
  using testing::internal::TestEventListenersAccessor;
283
276
  using testing::internal::TestResultAccessor;
284
277
  using testing::internal::UInt32;
278
+ using testing::internal::UnitTestImpl;
285
279
  using testing::internal::WideStringToUtf8;
286
280
  using testing::internal::edit_distance::CalculateOptimalEdits;
287
281
  using testing::internal::edit_distance::CreateUnifiedDiff;
@@ -382,6 +376,31 @@ TEST(GetTestTypeIdTest, ReturnsTheSameValueInsideOrOutsideOfGoogleTest) {
382
376
  EXPECT_EQ(kTestTypeIdInGoogleTest, GetTestTypeId());
383
377
  }
384
378
 
379
+ // Tests CanonicalizeForStdLibVersioning.
380
+
381
+ using ::testing::internal::CanonicalizeForStdLibVersioning;
382
+
383
+ TEST(CanonicalizeForStdLibVersioning, LeavesUnversionedNamesUnchanged) {
384
+ EXPECT_EQ("std::bind", CanonicalizeForStdLibVersioning("std::bind"));
385
+ EXPECT_EQ("std::_", CanonicalizeForStdLibVersioning("std::_"));
386
+ EXPECT_EQ("std::__foo", CanonicalizeForStdLibVersioning("std::__foo"));
387
+ EXPECT_EQ("gtl::__1::x", CanonicalizeForStdLibVersioning("gtl::__1::x"));
388
+ EXPECT_EQ("__1::x", CanonicalizeForStdLibVersioning("__1::x"));
389
+ EXPECT_EQ("::__1::x", CanonicalizeForStdLibVersioning("::__1::x"));
390
+ }
391
+
392
+ TEST(CanonicalizeForStdLibVersioning, ElidesDoubleUnderNames) {
393
+ EXPECT_EQ("std::bind", CanonicalizeForStdLibVersioning("std::__1::bind"));
394
+ EXPECT_EQ("std::_", CanonicalizeForStdLibVersioning("std::__1::_"));
395
+
396
+ EXPECT_EQ("std::bind", CanonicalizeForStdLibVersioning("std::__g::bind"));
397
+ EXPECT_EQ("std::_", CanonicalizeForStdLibVersioning("std::__g::_"));
398
+
399
+ EXPECT_EQ("std::bind",
400
+ CanonicalizeForStdLibVersioning("std::__google::bind"));
401
+ EXPECT_EQ("std::_", CanonicalizeForStdLibVersioning("std::__google::_"));
402
+ }
403
+
385
404
  // Tests FormatTimeInMillisAsSeconds().
386
405
 
387
406
  TEST(FormatTimeInMillisAsSecondsTest, FormatsZero) {
@@ -418,13 +437,13 @@ class FormatEpochTimeInMillisAsIso8601Test : public Test {
418
437
  static const TimeInMillis kMillisPerSec = 1000;
419
438
 
420
439
  private:
421
- virtual void SetUp() {
422
- saved_tz_ = NULL;
440
+ void SetUp() override {
441
+ saved_tz_ = nullptr;
423
442
 
424
- GTEST_DISABLE_MSC_WARNINGS_PUSH_(4996 /* getenv, strdup: deprecated */)
443
+ GTEST_DISABLE_MSC_DEPRECATED_PUSH_(/* getenv, strdup: deprecated */)
425
444
  if (getenv("TZ"))
426
445
  saved_tz_ = strdup(getenv("TZ"));
427
- GTEST_DISABLE_MSC_WARNINGS_POP_()
446
+ GTEST_DISABLE_MSC_DEPRECATED_POP_()
428
447
 
429
448
  // Set up the time zone for FormatEpochTimeInMillisAsIso8601 to use. We
430
449
  // cannot use the local time zone because the function's output depends
@@ -432,17 +451,17 @@ class FormatEpochTimeInMillisAsIso8601Test : public Test {
432
451
  SetTimeZone("UTC+00");
433
452
  }
434
453
 
435
- virtual void TearDown() {
454
+ void TearDown() override {
436
455
  SetTimeZone(saved_tz_);
437
456
  free(const_cast<char*>(saved_tz_));
438
- saved_tz_ = NULL;
457
+ saved_tz_ = nullptr;
439
458
  }
440
459
 
441
460
  static void SetTimeZone(const char* time_zone) {
442
461
  // tzset() distinguishes between the TZ variable being present and empty
443
462
  // and not being present, so we have to consider the case of time_zone
444
463
  // being NULL.
445
- #if _MSC_VER
464
+ #if _MSC_VER || GTEST_OS_WINDOWS_MINGW
446
465
  // ...Unless it's MSVC, whose standard library's _putenv doesn't
447
466
  // distinguish between an empty and a missing variable.
448
467
  const std::string env_var =
@@ -491,37 +510,88 @@ TEST_F(FormatEpochTimeInMillisAsIso8601Test, PrintsEpochStart) {
491
510
  EXPECT_EQ("1970-01-01T00:00:00", FormatEpochTimeInMillisAsIso8601(0));
492
511
  }
493
512
 
494
- #if GTEST_CAN_COMPARE_NULL
495
-
496
513
  # ifdef __BORLANDC__
497
514
  // Silences warnings: "Condition is always true", "Unreachable code"
498
515
  # pragma option push -w-ccc -w-rch
499
516
  # endif
500
517
 
501
- // Tests that GTEST_IS_NULL_LITERAL_(x) is true when x is a null
502
- // pointer literal.
503
- TEST(NullLiteralTest, IsTrueForNullLiterals) {
504
- EXPECT_TRUE(GTEST_IS_NULL_LITERAL_(NULL));
505
- EXPECT_TRUE(GTEST_IS_NULL_LITERAL_(0));
506
- EXPECT_TRUE(GTEST_IS_NULL_LITERAL_(0U));
507
- EXPECT_TRUE(GTEST_IS_NULL_LITERAL_(0L));
518
+ // Tests that the LHS of EXPECT_EQ or ASSERT_EQ can be used as a null literal
519
+ // when the RHS is a pointer type.
520
+ TEST(NullLiteralTest, LHSAllowsNullLiterals) {
521
+ EXPECT_EQ(0, static_cast<void*>(nullptr)); // NOLINT
522
+ ASSERT_EQ(0, static_cast<void*>(nullptr)); // NOLINT
523
+ EXPECT_EQ(NULL, static_cast<void*>(nullptr)); // NOLINT
524
+ ASSERT_EQ(NULL, static_cast<void*>(nullptr)); // NOLINT
525
+ EXPECT_EQ(nullptr, static_cast<void*>(nullptr));
526
+ ASSERT_EQ(nullptr, static_cast<void*>(nullptr));
527
+
528
+ const int* const p = nullptr;
529
+ EXPECT_EQ(0, p); // NOLINT
530
+ ASSERT_EQ(0, p); // NOLINT
531
+ EXPECT_EQ(NULL, p); // NOLINT
532
+ ASSERT_EQ(NULL, p); // NOLINT
533
+ EXPECT_EQ(nullptr, p);
534
+ ASSERT_EQ(nullptr, p);
535
+ }
536
+
537
+ struct ConvertToAll {
538
+ template <typename T>
539
+ operator T() const { // NOLINT
540
+ return T();
541
+ }
542
+ };
543
+
544
+ struct ConvertToPointer {
545
+ template <class T>
546
+ operator T*() const { // NOLINT
547
+ return nullptr;
548
+ }
549
+ };
550
+
551
+ struct ConvertToAllButNoPointers {
552
+ template <typename T,
553
+ typename std::enable_if<!std::is_pointer<T>::value, int>::type = 0>
554
+ operator T() const { // NOLINT
555
+ return T();
556
+ }
557
+ };
558
+
559
+ struct MyType {};
560
+ inline bool operator==(MyType const&, MyType const&) { return true; }
561
+
562
+ TEST(NullLiteralTest, ImplicitConversion) {
563
+ EXPECT_EQ(ConvertToPointer{}, static_cast<void*>(nullptr));
564
+ #if !defined(__GNUC__) || defined(__clang__)
565
+ // Disabled due to GCC bug gcc.gnu.org/PR89580
566
+ EXPECT_EQ(ConvertToAll{}, static_cast<void*>(nullptr));
567
+ #endif
568
+ EXPECT_EQ(ConvertToAll{}, MyType{});
569
+ EXPECT_EQ(ConvertToAllButNoPointers{}, MyType{});
508
570
  }
509
571
 
510
- // Tests that GTEST_IS_NULL_LITERAL_(x) is false when x is not a null
511
- // pointer literal.
512
- TEST(NullLiteralTest, IsFalseForNonNullLiterals) {
513
- EXPECT_FALSE(GTEST_IS_NULL_LITERAL_(1));
514
- EXPECT_FALSE(GTEST_IS_NULL_LITERAL_(0.0));
515
- EXPECT_FALSE(GTEST_IS_NULL_LITERAL_('a'));
516
- EXPECT_FALSE(GTEST_IS_NULL_LITERAL_(static_cast<void*>(NULL)));
572
+ #ifdef __clang__
573
+ #pragma clang diagnostic push
574
+ #if __has_warning("-Wzero-as-null-pointer-constant")
575
+ #pragma clang diagnostic error "-Wzero-as-null-pointer-constant"
576
+ #endif
577
+ #endif
578
+
579
+ TEST(NullLiteralTest, NoConversionNoWarning) {
580
+ // Test that gtests detection and handling of null pointer constants
581
+ // doesn't trigger a warning when '0' isn't actually used as null.
582
+ EXPECT_EQ(0, 0);
583
+ ASSERT_EQ(0, 0);
517
584
  }
518
585
 
586
+ #ifdef __clang__
587
+ #pragma clang diagnostic pop
588
+ #endif
589
+
519
590
  # ifdef __BORLANDC__
520
591
  // Restores warnings after previous "#pragma option push" suppressed them.
521
592
  # pragma option pop
522
593
  # endif
523
594
 
524
- #endif // GTEST_CAN_COMPARE_NULL
525
595
  //
526
596
  // Tests CodePointToUtf8().
527
597
 
@@ -546,7 +616,7 @@ TEST(CodePointToUtf8Test, CanEncode8To11Bits) {
546
616
 
547
617
  // 101 0111 0110 => 110-10101 10-110110
548
618
  // Some compilers (e.g., GCC on MinGW) cannot handle non-ASCII codepoints
549
- // in wide strings and wide chars. In order to accomodate them, we have to
619
+ // in wide strings and wide chars. In order to accommodate them, we have to
550
620
  // introduce such character constants as integers.
551
621
  EXPECT_EQ("\xD5\xB6",
552
622
  CodePointToUtf8(static_cast<wchar_t>(0x576)));
@@ -566,7 +636,7 @@ TEST(CodePointToUtf8Test, CanEncode12To16Bits) {
566
636
 
567
637
  #if !GTEST_WIDE_STRING_USES_UTF16_
568
638
  // Tests in this group require a wchar_t to hold > 16 bits, and thus
569
- // are skipped on Windows, Cygwin, and Symbian, where a wchar_t is
639
+ // are skipped on Windows, and Cygwin, where a wchar_t is
570
640
  // 16-bit wide. This code may not compile on those systems.
571
641
 
572
642
  // Tests that Unicode code-points that have 17 to 21 bits are encoded
@@ -1012,11 +1082,11 @@ TEST(StringTest, EndsWithCaseInsensitive) {
1012
1082
  // C++Builder's preprocessor is buggy; it fails to expand macros that
1013
1083
  // appear in macro parameters after wide char literals. Provide an alias
1014
1084
  // for NULL as a workaround.
1015
- static const wchar_t* const kNull = NULL;
1085
+ static const wchar_t* const kNull = nullptr;
1016
1086
 
1017
1087
  // Tests String::CaseInsensitiveWideCStringEquals
1018
1088
  TEST(StringTest, CaseInsensitiveWideCStringEquals) {
1019
- EXPECT_TRUE(String::CaseInsensitiveWideCStringEquals(NULL, NULL));
1089
+ EXPECT_TRUE(String::CaseInsensitiveWideCStringEquals(nullptr, nullptr));
1020
1090
  EXPECT_FALSE(String::CaseInsensitiveWideCStringEquals(kNull, L""));
1021
1091
  EXPECT_FALSE(String::CaseInsensitiveWideCStringEquals(L"", kNull));
1022
1092
  EXPECT_FALSE(String::CaseInsensitiveWideCStringEquals(kNull, L"foobar"));
@@ -1137,7 +1207,7 @@ class ScopedFakeTestPartResultReporterWithThreadsTest
1137
1207
  : public ScopedFakeTestPartResultReporterTest {
1138
1208
  protected:
1139
1209
  static void AddFailureInOtherThread(FailureMode failure) {
1140
- ThreadWithParam<FailureMode> thread(&AddFailure, failure, NULL);
1210
+ ThreadWithParam<FailureMode> thread(&AddFailure, failure, nullptr);
1141
1211
  thread.Join();
1142
1212
  }
1143
1213
  };
@@ -1173,12 +1243,6 @@ TEST_F(ExpectFatalFailureTest, CatchesFatalFaliure) {
1173
1243
  EXPECT_FATAL_FAILURE(AddFatalFailure(), "Expected fatal failure.");
1174
1244
  }
1175
1245
 
1176
- #if GTEST_HAS_GLOBAL_STRING
1177
- TEST_F(ExpectFatalFailureTest, AcceptsStringObject) {
1178
- EXPECT_FATAL_FAILURE(AddFatalFailure(), ::string("Expected fatal failure."));
1179
- }
1180
- #endif
1181
-
1182
1246
  TEST_F(ExpectFatalFailureTest, AcceptsStdStringObject) {
1183
1247
  EXPECT_FATAL_FAILURE(AddFatalFailure(),
1184
1248
  ::std::string("Expected fatal failure."));
@@ -1261,13 +1325,6 @@ TEST_F(ExpectNonfatalFailureTest, CatchesNonfatalFailure) {
1261
1325
  "Expected non-fatal failure.");
1262
1326
  }
1263
1327
 
1264
- #if GTEST_HAS_GLOBAL_STRING
1265
- TEST_F(ExpectNonfatalFailureTest, AcceptsStringObject) {
1266
- EXPECT_NONFATAL_FAILURE(AddNonfatalFailure(),
1267
- ::string("Expected non-fatal failure."));
1268
- }
1269
- #endif
1270
-
1271
1328
  TEST_F(ExpectNonfatalFailureTest, AcceptsStdStringObject) {
1272
1329
  EXPECT_NONFATAL_FAILURE(AddNonfatalFailure(),
1273
1330
  ::std::string("Expected non-fatal failure."));
@@ -1341,7 +1398,7 @@ class TestResultTest : public Test {
1341
1398
  // ... and 3 TestResult objects.
1342
1399
  TestResult * r0, * r1, * r2;
1343
1400
 
1344
- virtual void SetUp() {
1401
+ void SetUp() override {
1345
1402
  // pr1 is for success.
1346
1403
  pr1 = new TestPartResult(TestPartResult::kSuccess,
1347
1404
  "foo/bar.cc",
@@ -1362,8 +1419,7 @@ class TestResultTest : public Test {
1362
1419
  // In order to test TestResult, we need to modify its internal
1363
1420
  // state, in particular the TestPartResult vector it holds.
1364
1421
  // test_part_results() returns a const reference to this vector.
1365
- // We cast it to a non-const object s.t. it can be modified (yes,
1366
- // this is a hack).
1422
+ // We cast it to a non-const object s.t. it can be modified
1367
1423
  TPRVector* results1 = const_cast<TPRVector*>(
1368
1424
  &TestResultAccessor::test_part_results(*r1));
1369
1425
  TPRVector* results2 = const_cast<TPRVector*>(
@@ -1379,7 +1435,7 @@ class TestResultTest : public Test {
1379
1435
  results2->push_back(*pr2);
1380
1436
  }
1381
1437
 
1382
- virtual void TearDown() {
1438
+ void TearDown() override {
1383
1439
  delete pr1;
1384
1440
  delete pr2;
1385
1441
 
@@ -1388,7 +1444,7 @@ class TestResultTest : public Test {
1388
1444
  delete r2;
1389
1445
  }
1390
1446
 
1391
- // Helper that compares two two TestPartResults.
1447
+ // Helper that compares two TestPartResults.
1392
1448
  static void CompareTestPartResult(const TestPartResult& expected,
1393
1449
  const TestPartResult& actual) {
1394
1450
  EXPECT_EQ(expected.type(), actual.type());
@@ -1535,7 +1591,7 @@ class GTestFlagSaverTest : public Test {
1535
1591
  // Saves the Google Test flags such that we can restore them later, and
1536
1592
  // then sets them to their default values. This will be called
1537
1593
  // before the first test in this test case is run.
1538
- static void SetUpTestCase() {
1594
+ static void SetUpTestSuite() {
1539
1595
  saver_ = new GTestFlagSaver;
1540
1596
 
1541
1597
  GTEST_FLAG(also_run_disabled_tests) = false;
@@ -1557,9 +1613,9 @@ class GTestFlagSaverTest : public Test {
1557
1613
 
1558
1614
  // Restores the Google Test flags that the tests have modified. This will
1559
1615
  // be called after the last test in this test case is run.
1560
- static void TearDownTestCase() {
1616
+ static void TearDownTestSuite() {
1561
1617
  delete saver_;
1562
- saver_ = NULL;
1618
+ saver_ = nullptr;
1563
1619
  }
1564
1620
 
1565
1621
  // Verifies that the Google Test flags have their default values, and then
@@ -1603,7 +1659,7 @@ class GTestFlagSaverTest : public Test {
1603
1659
  static GTestFlagSaver* saver_;
1604
1660
  };
1605
1661
 
1606
- GTestFlagSaver* GTestFlagSaverTest::saver_ = NULL;
1662
+ GTestFlagSaver* GTestFlagSaverTest::saver_ = nullptr;
1607
1663
 
1608
1664
  // Google Test doesn't guarantee the order of tests. The following two
1609
1665
  // tests are designed to work regardless of their order.
@@ -1787,7 +1843,7 @@ TEST(Int32FromEnvOrDieDeathTest, AbortsOnFailure) {
1787
1843
  }
1788
1844
 
1789
1845
  // Tests that Int32FromEnvOrDie() aborts with an error message
1790
- // if the variable cannot be represnted by an Int32.
1846
+ // if the variable cannot be represented by an Int32.
1791
1847
  TEST(Int32FromEnvOrDieDeathTest, AbortsOnInt32Overflow) {
1792
1848
  SetEnv(GTEST_FLAG_PREFIX_UPPER_ "VAR", "1234567891234567891234");
1793
1849
  EXPECT_DEATH_IF_SUPPORTED(
@@ -1807,12 +1863,12 @@ TEST(ShouldRunTestOnShardTest, IsPartitionWhenThereIsOneShard) {
1807
1863
 
1808
1864
  class ShouldShardTest : public testing::Test {
1809
1865
  protected:
1810
- virtual void SetUp() {
1866
+ void SetUp() override {
1811
1867
  index_var_ = GTEST_FLAG_PREFIX_UPPER_ "INDEX";
1812
1868
  total_var_ = GTEST_FLAG_PREFIX_UPPER_ "TOTAL";
1813
1869
  }
1814
1870
 
1815
- virtual void TearDown() {
1871
+ void TearDown() override {
1816
1872
  SetEnv(index_var_, "");
1817
1873
  SetEnv(total_var_, "");
1818
1874
  }
@@ -1921,14 +1977,14 @@ TEST(ShouldRunTestOnShardTest, IsPartitionWhenThereAreFiveShards) {
1921
1977
  // Test class, there are no separate tests for the following classes
1922
1978
  // (except for some trivial cases):
1923
1979
  //
1924
- // TestCase, UnitTest, UnitTestResultPrinter.
1980
+ // TestSuite, UnitTest, UnitTestResultPrinter.
1925
1981
  //
1926
1982
  // Similarly, there are no separate tests for the following macros:
1927
1983
  //
1928
1984
  // TEST, TEST_F, RUN_ALL_TESTS
1929
1985
 
1930
1986
  TEST(UnitTestTest, CanGetOriginalWorkingDir) {
1931
- ASSERT_TRUE(UnitTest::GetInstance()->original_working_dir() != NULL);
1987
+ ASSERT_TRUE(UnitTest::GetInstance()->original_working_dir() != nullptr);
1932
1988
  EXPECT_STRNE(UnitTest::GetInstance()->original_working_dir(), "");
1933
1989
  }
1934
1990
 
@@ -1950,20 +2006,20 @@ void ExpectNonFatalFailureRecordingPropertyWithReservedKey(
1950
2006
  void ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTest(
1951
2007
  const char* key) {
1952
2008
  const TestInfo* test_info = UnitTest::GetInstance()->current_test_info();
1953
- ASSERT_TRUE(test_info != NULL);
2009
+ ASSERT_TRUE(test_info != nullptr);
1954
2010
  ExpectNonFatalFailureRecordingPropertyWithReservedKey(*test_info->result(),
1955
2011
  key);
1956
2012
  }
1957
2013
 
1958
- void ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTestCase(
2014
+ void ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTestSuite(
1959
2015
  const char* key) {
1960
2016
  const TestCase* test_case = UnitTest::GetInstance()->current_test_case();
1961
- ASSERT_TRUE(test_case != NULL);
2017
+ ASSERT_TRUE(test_case != nullptr);
1962
2018
  ExpectNonFatalFailureRecordingPropertyWithReservedKey(
1963
2019
  test_case->ad_hoc_test_result(), key);
1964
2020
  }
1965
2021
 
1966
- void ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestCase(
2022
+ void ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestSuite(
1967
2023
  const char* key) {
1968
2024
  ExpectNonFatalFailureRecordingPropertyWithReservedKey(
1969
2025
  UnitTest::GetInstance()->ad_hoc_test_result(), key);
@@ -1975,29 +2031,30 @@ void ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestCase(
1975
2031
  class UnitTestRecordPropertyTest :
1976
2032
  public testing::internal::UnitTestRecordPropertyTestHelper {
1977
2033
  public:
1978
- static void SetUpTestCase() {
1979
- ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTestCase(
2034
+ static void SetUpTestSuite() {
2035
+ ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTestSuite(
1980
2036
  "disabled");
1981
- ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTestCase(
2037
+ ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTestSuite(
1982
2038
  "errors");
1983
- ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTestCase(
2039
+ ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTestSuite(
1984
2040
  "failures");
1985
- ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTestCase(
2041
+ ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTestSuite(
1986
2042
  "name");
1987
- ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTestCase(
2043
+ ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTestSuite(
1988
2044
  "tests");
1989
- ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTestCase(
2045
+ ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTestSuite(
1990
2046
  "time");
1991
2047
 
1992
2048
  Test::RecordProperty("test_case_key_1", "1");
1993
- const TestCase* test_case = UnitTest::GetInstance()->current_test_case();
1994
- ASSERT_TRUE(test_case != NULL);
2049
+ const testing::TestSuite* test_suite =
2050
+ UnitTest::GetInstance()->current_test_case();
2051
+ ASSERT_TRUE(test_suite != nullptr);
1995
2052
 
1996
- ASSERT_EQ(1, test_case->ad_hoc_test_result().test_property_count());
2053
+ ASSERT_EQ(1, test_suite->ad_hoc_test_result().test_property_count());
1997
2054
  EXPECT_STREQ("test_case_key_1",
1998
- test_case->ad_hoc_test_result().GetTestProperty(0).key());
2055
+ test_suite->ad_hoc_test_result().GetTestProperty(0).key());
1999
2056
  EXPECT_STREQ("1",
2000
- test_case->ad_hoc_test_result().GetTestProperty(0).value());
2057
+ test_suite->ad_hoc_test_result().GetTestProperty(0).value());
2001
2058
  }
2002
2059
  };
2003
2060
 
@@ -2050,7 +2107,7 @@ TEST_F(UnitTestRecordPropertyTest, OverridesValuesForDuplicateKeys) {
2050
2107
  }
2051
2108
 
2052
2109
  TEST_F(UnitTestRecordPropertyTest,
2053
- AddFailureInsideTestsWhenUsingTestCaseReservedKeys) {
2110
+ AddFailureInsideTestsWhenUsingTestSuiteReservedKeys) {
2054
2111
  ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTest(
2055
2112
  "name");
2056
2113
  ExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTest(
@@ -2069,34 +2126,34 @@ TEST_F(UnitTestRecordPropertyTest,
2069
2126
  AddRecordWithReservedKeysGeneratesCorrectPropertyList) {
2070
2127
  EXPECT_NONFATAL_FAILURE(
2071
2128
  Test::RecordProperty("name", "1"),
2072
- "'classname', 'name', 'status', 'time', 'type_param', and 'value_param'"
2073
- " are reserved");
2129
+ "'classname', 'name', 'status', 'time', 'type_param', 'value_param',"
2130
+ " 'file', and 'line' are reserved");
2074
2131
  }
2075
2132
 
2076
2133
  class UnitTestRecordPropertyTestEnvironment : public Environment {
2077
2134
  public:
2078
- virtual void TearDown() {
2079
- ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestCase(
2135
+ void TearDown() override {
2136
+ ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestSuite(
2080
2137
  "tests");
2081
- ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestCase(
2138
+ ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestSuite(
2082
2139
  "failures");
2083
- ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestCase(
2140
+ ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestSuite(
2084
2141
  "disabled");
2085
- ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestCase(
2142
+ ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestSuite(
2086
2143
  "errors");
2087
- ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestCase(
2144
+ ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestSuite(
2088
2145
  "name");
2089
- ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestCase(
2146
+ ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestSuite(
2090
2147
  "timestamp");
2091
- ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestCase(
2148
+ ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestSuite(
2092
2149
  "time");
2093
- ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestCase(
2150
+ ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestSuite(
2094
2151
  "random_seed");
2095
2152
  }
2096
2153
  };
2097
2154
 
2098
2155
  // This will test property recording outside of any test or test case.
2099
- static Environment* record_property_env =
2156
+ static Environment* record_property_env GTEST_ATTRIBUTE_UNUSED_ =
2100
2157
  AddGlobalTestEnvironment(new UnitTestRecordPropertyTestEnvironment);
2101
2158
 
2102
2159
  // This group of tests is for predicate assertions (ASSERT_PRED*, etc)
@@ -2341,6 +2398,16 @@ TEST(PredTest, SingleEvaluationOnFailure) {
2341
2398
  EXPECT_EQ(1, n4) << "Argument 4 is not evaluated exactly once.";
2342
2399
  }
2343
2400
 
2401
+ // Test predicate assertions for sets
2402
+ TEST(PredTest, ExpectPredEvalFailure) {
2403
+ std::set<int> set_a = {2, 1, 3, 4, 5};
2404
+ std::set<int> set_b = {0, 4, 8};
2405
+ const auto compare_sets = [] (std::set<int>, std::set<int>) { return false; };
2406
+ EXPECT_NONFATAL_FAILURE(
2407
+ EXPECT_PRED2(compare_sets, set_a, set_b),
2408
+ "compare_sets(set_a, set_b) evaluates to false, where\nset_a evaluates "
2409
+ "to { 1, 2, 3, 4, 5 }\nset_b evaluates to { 0, 4, 8 }");
2410
+ }
2344
2411
 
2345
2412
  // Some helper functions for testing using overloaded/template
2346
2413
  // functions with ASSERT_PREDn and EXPECT_PREDn.
@@ -2430,29 +2497,27 @@ TEST(StringAssertionTest, ASSERT_STREQ) {
2430
2497
  ASSERT_STREQ(p1, p2);
2431
2498
 
2432
2499
  EXPECT_FATAL_FAILURE(ASSERT_STREQ("bad", "good"),
2433
- "Expected: \"bad\"");
2500
+ " \"bad\"\n \"good\"");
2434
2501
  }
2435
2502
 
2436
2503
  // Tests ASSERT_STREQ with NULL arguments.
2437
2504
  TEST(StringAssertionTest, ASSERT_STREQ_Null) {
2438
- ASSERT_STREQ(static_cast<const char *>(NULL), NULL);
2439
- EXPECT_FATAL_FAILURE(ASSERT_STREQ(NULL, "non-null"),
2440
- "non-null");
2505
+ ASSERT_STREQ(static_cast<const char*>(nullptr), nullptr);
2506
+ EXPECT_FATAL_FAILURE(ASSERT_STREQ(nullptr, "non-null"), "non-null");
2441
2507
  }
2442
2508
 
2443
2509
  // Tests ASSERT_STREQ with NULL arguments.
2444
2510
  TEST(StringAssertionTest, ASSERT_STREQ_Null2) {
2445
- EXPECT_FATAL_FAILURE(ASSERT_STREQ("non-null", NULL),
2446
- "non-null");
2511
+ EXPECT_FATAL_FAILURE(ASSERT_STREQ("non-null", nullptr), "non-null");
2447
2512
  }
2448
2513
 
2449
2514
  // Tests ASSERT_STRNE.
2450
2515
  TEST(StringAssertionTest, ASSERT_STRNE) {
2451
2516
  ASSERT_STRNE("hi", "Hi");
2452
- ASSERT_STRNE("Hi", NULL);
2453
- ASSERT_STRNE(NULL, "Hi");
2454
- ASSERT_STRNE("", NULL);
2455
- ASSERT_STRNE(NULL, "");
2517
+ ASSERT_STRNE("Hi", nullptr);
2518
+ ASSERT_STRNE(nullptr, "Hi");
2519
+ ASSERT_STRNE("", nullptr);
2520
+ ASSERT_STRNE(nullptr, "");
2456
2521
  ASSERT_STRNE("", "Hi");
2457
2522
  ASSERT_STRNE("Hi", "");
2458
2523
  EXPECT_FATAL_FAILURE(ASSERT_STRNE("Hi", "Hi"),
@@ -2462,7 +2527,7 @@ TEST(StringAssertionTest, ASSERT_STRNE) {
2462
2527
  // Tests ASSERT_STRCASEEQ.
2463
2528
  TEST(StringAssertionTest, ASSERT_STRCASEEQ) {
2464
2529
  ASSERT_STRCASEEQ("hi", "Hi");
2465
- ASSERT_STRCASEEQ(static_cast<const char *>(NULL), NULL);
2530
+ ASSERT_STRCASEEQ(static_cast<const char*>(nullptr), nullptr);
2466
2531
 
2467
2532
  ASSERT_STRCASEEQ("", "");
2468
2533
  EXPECT_FATAL_FAILURE(ASSERT_STRCASEEQ("Hi", "hi2"),
@@ -2472,10 +2537,10 @@ TEST(StringAssertionTest, ASSERT_STRCASEEQ) {
2472
2537
  // Tests ASSERT_STRCASENE.
2473
2538
  TEST(StringAssertionTest, ASSERT_STRCASENE) {
2474
2539
  ASSERT_STRCASENE("hi1", "Hi2");
2475
- ASSERT_STRCASENE("Hi", NULL);
2476
- ASSERT_STRCASENE(NULL, "Hi");
2477
- ASSERT_STRCASENE("", NULL);
2478
- ASSERT_STRCASENE(NULL, "");
2540
+ ASSERT_STRCASENE("Hi", nullptr);
2541
+ ASSERT_STRCASENE(nullptr, "Hi");
2542
+ ASSERT_STRCASENE("", nullptr);
2543
+ ASSERT_STRCASENE(nullptr, "");
2479
2544
  ASSERT_STRCASENE("", "Hi");
2480
2545
  ASSERT_STRCASENE("Hi", "");
2481
2546
  EXPECT_FATAL_FAILURE(ASSERT_STRCASENE("Hi", "hi"),
@@ -2485,14 +2550,13 @@ TEST(StringAssertionTest, ASSERT_STRCASENE) {
2485
2550
  // Tests *_STREQ on wide strings.
2486
2551
  TEST(StringAssertionTest, STREQ_Wide) {
2487
2552
  // NULL strings.
2488
- ASSERT_STREQ(static_cast<const wchar_t *>(NULL), NULL);
2553
+ ASSERT_STREQ(static_cast<const wchar_t*>(nullptr), nullptr);
2489
2554
 
2490
2555
  // Empty strings.
2491
2556
  ASSERT_STREQ(L"", L"");
2492
2557
 
2493
2558
  // Non-null vs NULL.
2494
- EXPECT_NONFATAL_FAILURE(EXPECT_STREQ(L"non-null", NULL),
2495
- "non-null");
2559
+ EXPECT_NONFATAL_FAILURE(EXPECT_STREQ(L"non-null", nullptr), "non-null");
2496
2560
 
2497
2561
  // Equal strings.
2498
2562
  EXPECT_STREQ(L"Hi", L"Hi");
@@ -2514,16 +2578,18 @@ TEST(StringAssertionTest, STREQ_Wide) {
2514
2578
  // Tests *_STRNE on wide strings.
2515
2579
  TEST(StringAssertionTest, STRNE_Wide) {
2516
2580
  // NULL strings.
2517
- EXPECT_NONFATAL_FAILURE({ // NOLINT
2518
- EXPECT_STRNE(static_cast<const wchar_t *>(NULL), NULL);
2519
- }, "");
2581
+ EXPECT_NONFATAL_FAILURE(
2582
+ { // NOLINT
2583
+ EXPECT_STRNE(static_cast<const wchar_t*>(nullptr), nullptr);
2584
+ },
2585
+ "");
2520
2586
 
2521
2587
  // Empty strings.
2522
2588
  EXPECT_NONFATAL_FAILURE(EXPECT_STRNE(L"", L""),
2523
2589
  "L\"\"");
2524
2590
 
2525
2591
  // Non-null vs NULL.
2526
- ASSERT_STRNE(L"non-null", NULL);
2592
+ ASSERT_STRNE(L"non-null", nullptr);
2527
2593
 
2528
2594
  // Equal strings.
2529
2595
  EXPECT_NONFATAL_FAILURE(EXPECT_STRNE(L"Hi", L"Hi"),
@@ -2545,11 +2611,11 @@ TEST(StringAssertionTest, STRNE_Wide) {
2545
2611
  // Tests that IsSubstring() returns the correct result when the input
2546
2612
  // argument type is const char*.
2547
2613
  TEST(IsSubstringTest, ReturnsCorrectResultForCString) {
2548
- EXPECT_FALSE(IsSubstring("", "", NULL, "a"));
2549
- EXPECT_FALSE(IsSubstring("", "", "b", NULL));
2614
+ EXPECT_FALSE(IsSubstring("", "", nullptr, "a"));
2615
+ EXPECT_FALSE(IsSubstring("", "", "b", nullptr));
2550
2616
  EXPECT_FALSE(IsSubstring("", "", "needle", "haystack"));
2551
2617
 
2552
- EXPECT_TRUE(IsSubstring("", "", static_cast<const char*>(NULL), NULL));
2618
+ EXPECT_TRUE(IsSubstring("", "", static_cast<const char*>(nullptr), nullptr));
2553
2619
  EXPECT_TRUE(IsSubstring("", "", "needle", "two needles"));
2554
2620
  }
2555
2621
 
@@ -2560,7 +2626,8 @@ TEST(IsSubstringTest, ReturnsCorrectResultForWideCString) {
2560
2626
  EXPECT_FALSE(IsSubstring("", "", L"b", kNull));
2561
2627
  EXPECT_FALSE(IsSubstring("", "", L"needle", L"haystack"));
2562
2628
 
2563
- EXPECT_TRUE(IsSubstring("", "", static_cast<const wchar_t*>(NULL), NULL));
2629
+ EXPECT_TRUE(
2630
+ IsSubstring("", "", static_cast<const wchar_t*>(nullptr), nullptr));
2564
2631
  EXPECT_TRUE(IsSubstring("", "", L"needle", L"two needles"));
2565
2632
  }
2566
2633
 
@@ -2688,7 +2755,7 @@ class FloatingPointTest : public Test {
2688
2755
  typedef typename testing::internal::FloatingPoint<RawType> Floating;
2689
2756
  typedef typename Floating::Bits Bits;
2690
2757
 
2691
- virtual void SetUp() {
2758
+ void SetUp() override {
2692
2759
  const size_t max_ulps = Floating::kMaxUlps;
2693
2760
 
2694
2761
  // The bits that represent 0.0.
@@ -2803,8 +2870,6 @@ TEST_F(FloatTest, LargeDiff) {
2803
2870
  TEST_F(FloatTest, Infinity) {
2804
2871
  EXPECT_FLOAT_EQ(values_.infinity, values_.close_to_infinity);
2805
2872
  EXPECT_FLOAT_EQ(-values_.infinity, -values_.close_to_infinity);
2806
- #if !GTEST_OS_SYMBIAN
2807
- // Nokia's STLport crashes if we try to output infinity or NaN.
2808
2873
  EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(values_.infinity, -values_.infinity),
2809
2874
  "-values_.infinity");
2810
2875
 
@@ -2812,14 +2877,10 @@ TEST_F(FloatTest, Infinity) {
2812
2877
  // are only 1 DLP apart.
2813
2878
  EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(values_.infinity, values_.nan1),
2814
2879
  "values_.nan1");
2815
- #endif // !GTEST_OS_SYMBIAN
2816
2880
  }
2817
2881
 
2818
2882
  // Tests that comparing with NAN always returns false.
2819
2883
  TEST_F(FloatTest, NaN) {
2820
- #if !GTEST_OS_SYMBIAN
2821
- // Nokia's STLport crashes if we try to output infinity or NaN.
2822
-
2823
2884
  // In C++Builder, names within local classes (such as used by
2824
2885
  // EXPECT_FATAL_FAILURE) cannot be resolved against static members of the
2825
2886
  // scoping class. Use a static local alias as a workaround.
@@ -2837,7 +2898,6 @@ TEST_F(FloatTest, NaN) {
2837
2898
 
2838
2899
  EXPECT_FATAL_FAILURE(ASSERT_FLOAT_EQ(v.nan1, v.infinity),
2839
2900
  "v.infinity");
2840
- #endif // !GTEST_OS_SYMBIAN
2841
2901
  }
2842
2902
 
2843
2903
  // Tests that *_FLOAT_EQ are reflexive.
@@ -2899,10 +2959,6 @@ TEST_F(FloatTest, FloatLEFails) {
2899
2959
  EXPECT_PRED_FORMAT2(FloatLE, values_.further_from_one, 1.0f);
2900
2960
  }, "(values_.further_from_one) <= (1.0f)");
2901
2961
 
2902
- #if !GTEST_OS_SYMBIAN && !defined(__BORLANDC__)
2903
- // Nokia's STLport crashes if we try to output infinity or NaN.
2904
- // C++Builder gives bad results for ordered comparisons involving NaNs
2905
- // due to compiler bugs.
2906
2962
  EXPECT_NONFATAL_FAILURE({ // NOLINT
2907
2963
  EXPECT_PRED_FORMAT2(FloatLE, values_.nan1, values_.infinity);
2908
2964
  }, "(values_.nan1) <= (values_.infinity)");
@@ -2912,7 +2968,6 @@ TEST_F(FloatTest, FloatLEFails) {
2912
2968
  EXPECT_FATAL_FAILURE({ // NOLINT
2913
2969
  ASSERT_PRED_FORMAT2(FloatLE, values_.nan1, values_.nan1);
2914
2970
  }, "(values_.nan1) <= (values_.nan1)");
2915
- #endif // !GTEST_OS_SYMBIAN && !defined(__BORLANDC__)
2916
2971
  }
2917
2972
 
2918
2973
  // Instantiates FloatingPointTest for testing *_DOUBLE_EQ.
@@ -2976,8 +3031,6 @@ TEST_F(DoubleTest, LargeDiff) {
2976
3031
  TEST_F(DoubleTest, Infinity) {
2977
3032
  EXPECT_DOUBLE_EQ(values_.infinity, values_.close_to_infinity);
2978
3033
  EXPECT_DOUBLE_EQ(-values_.infinity, -values_.close_to_infinity);
2979
- #if !GTEST_OS_SYMBIAN
2980
- // Nokia's STLport crashes if we try to output infinity or NaN.
2981
3034
  EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(values_.infinity, -values_.infinity),
2982
3035
  "-values_.infinity");
2983
3036
 
@@ -2985,18 +3038,10 @@ TEST_F(DoubleTest, Infinity) {
2985
3038
  // are only 1 DLP apart.
2986
3039
  EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(values_.infinity, values_.nan1),
2987
3040
  "values_.nan1");
2988
- #endif // !GTEST_OS_SYMBIAN
2989
3041
  }
2990
3042
 
2991
3043
  // Tests that comparing with NAN always returns false.
2992
3044
  TEST_F(DoubleTest, NaN) {
2993
- #if !GTEST_OS_SYMBIAN
2994
- // In C++Builder, names within local classes (such as used by
2995
- // EXPECT_FATAL_FAILURE) cannot be resolved against static members of the
2996
- // scoping class. Use a static local alias as a workaround.
2997
- // We use the assignment syntax since some compilers, like Sun Studio,
2998
- // don't allow initializing references using construction syntax
2999
- // (parentheses).
3000
3045
  static const DoubleTest::TestValues& v = this->values_;
3001
3046
 
3002
3047
  // Nokia's STLport crashes if we try to output infinity or NaN.
@@ -3006,17 +3051,13 @@ TEST_F(DoubleTest, NaN) {
3006
3051
  EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(1.0, v.nan1), "v.nan1");
3007
3052
  EXPECT_FATAL_FAILURE(ASSERT_DOUBLE_EQ(v.nan1, v.infinity),
3008
3053
  "v.infinity");
3009
- #endif // !GTEST_OS_SYMBIAN
3010
3054
  }
3011
3055
 
3012
3056
  // Tests that *_DOUBLE_EQ are reflexive.
3013
3057
  TEST_F(DoubleTest, Reflexive) {
3014
3058
  EXPECT_DOUBLE_EQ(0.0, 0.0);
3015
3059
  EXPECT_DOUBLE_EQ(1.0, 1.0);
3016
- #if !GTEST_OS_SYMBIAN
3017
- // Nokia's STLport crashes if we try to output infinity or NaN.
3018
3060
  ASSERT_DOUBLE_EQ(values_.infinity, values_.infinity);
3019
- #endif // !GTEST_OS_SYMBIAN
3020
3061
  }
3021
3062
 
3022
3063
  // Tests that *_DOUBLE_EQ are commutative.
@@ -3071,10 +3112,6 @@ TEST_F(DoubleTest, DoubleLEFails) {
3071
3112
  EXPECT_PRED_FORMAT2(DoubleLE, values_.further_from_one, 1.0);
3072
3113
  }, "(values_.further_from_one) <= (1.0)");
3073
3114
 
3074
- #if !GTEST_OS_SYMBIAN && !defined(__BORLANDC__)
3075
- // Nokia's STLport crashes if we try to output infinity or NaN.
3076
- // C++Builder gives bad results for ordered comparisons involving NaNs
3077
- // due to compiler bugs.
3078
3115
  EXPECT_NONFATAL_FAILURE({ // NOLINT
3079
3116
  EXPECT_PRED_FORMAT2(DoubleLE, values_.nan1, values_.infinity);
3080
3117
  }, "(values_.nan1) <= (values_.infinity)");
@@ -3084,7 +3121,6 @@ TEST_F(DoubleTest, DoubleLEFails) {
3084
3121
  EXPECT_FATAL_FAILURE({ // NOLINT
3085
3122
  ASSERT_PRED_FORMAT2(DoubleLE, values_.nan1, values_.nan1);
3086
3123
  }, "(values_.nan1) <= (values_.nan1)");
3087
- #endif // !GTEST_OS_SYMBIAN && !defined(__BORLANDC__)
3088
3124
  }
3089
3125
 
3090
3126
 
@@ -3105,28 +3141,28 @@ TEST(DisabledTest, NotDISABLED_TestShouldRun) {
3105
3141
 
3106
3142
  // A test case whose name starts with DISABLED_.
3107
3143
  // Should not run.
3108
- TEST(DISABLED_TestCase, TestShouldNotRun) {
3144
+ TEST(DISABLED_TestSuite, TestShouldNotRun) {
3109
3145
  FAIL() << "Unexpected failure: Test in disabled test case should not be run.";
3110
3146
  }
3111
3147
 
3112
3148
  // A test case and test whose names start with DISABLED_.
3113
3149
  // Should not run.
3114
- TEST(DISABLED_TestCase, DISABLED_TestShouldNotRun) {
3150
+ TEST(DISABLED_TestSuite, DISABLED_TestShouldNotRun) {
3115
3151
  FAIL() << "Unexpected failure: Test in disabled test case should not be run.";
3116
3152
  }
3117
3153
 
3118
- // Check that when all tests in a test case are disabled, SetupTestCase() and
3119
- // TearDownTestCase() are not called.
3154
+ // Check that when all tests in a test case are disabled, SetUpTestSuite() and
3155
+ // TearDownTestSuite() are not called.
3120
3156
  class DisabledTestsTest : public Test {
3121
3157
  protected:
3122
- static void SetUpTestCase() {
3158
+ static void SetUpTestSuite() {
3123
3159
  FAIL() << "Unexpected failure: All tests disabled in test case. "
3124
- "SetupTestCase() should not be called.";
3160
+ "SetUpTestSuite() should not be called.";
3125
3161
  }
3126
3162
 
3127
- static void TearDownTestCase() {
3163
+ static void TearDownTestSuite() {
3128
3164
  FAIL() << "Unexpected failure: All tests disabled in test case. "
3129
- "TearDownTestCase() should not be called.";
3165
+ "TearDownTestSuite() should not be called.";
3130
3166
  }
3131
3167
  };
3132
3168
 
@@ -3147,7 +3183,7 @@ class TypedTest : public Test {
3147
3183
  };
3148
3184
 
3149
3185
  typedef testing::Types<int, double> NumericTypes;
3150
- TYPED_TEST_CASE(TypedTest, NumericTypes);
3186
+ TYPED_TEST_SUITE(TypedTest, NumericTypes);
3151
3187
 
3152
3188
  TYPED_TEST(TypedTest, DISABLED_ShouldNotRun) {
3153
3189
  FAIL() << "Unexpected failure: Disabled typed test should not run.";
@@ -3157,7 +3193,7 @@ template <typename T>
3157
3193
  class DISABLED_TypedTest : public Test {
3158
3194
  };
3159
3195
 
3160
- TYPED_TEST_CASE(DISABLED_TypedTest, NumericTypes);
3196
+ TYPED_TEST_SUITE(DISABLED_TypedTest, NumericTypes);
3161
3197
 
3162
3198
  TYPED_TEST(DISABLED_TypedTest, ShouldNotRun) {
3163
3199
  FAIL() << "Unexpected failure: Disabled typed test should not run.";
@@ -3173,31 +3209,31 @@ template <typename T>
3173
3209
  class TypedTestP : public Test {
3174
3210
  };
3175
3211
 
3176
- TYPED_TEST_CASE_P(TypedTestP);
3212
+ TYPED_TEST_SUITE_P(TypedTestP);
3177
3213
 
3178
3214
  TYPED_TEST_P(TypedTestP, DISABLED_ShouldNotRun) {
3179
3215
  FAIL() << "Unexpected failure: "
3180
3216
  << "Disabled type-parameterized test should not run.";
3181
3217
  }
3182
3218
 
3183
- REGISTER_TYPED_TEST_CASE_P(TypedTestP, DISABLED_ShouldNotRun);
3219
+ REGISTER_TYPED_TEST_SUITE_P(TypedTestP, DISABLED_ShouldNotRun);
3184
3220
 
3185
- INSTANTIATE_TYPED_TEST_CASE_P(My, TypedTestP, NumericTypes);
3221
+ INSTANTIATE_TYPED_TEST_SUITE_P(My, TypedTestP, NumericTypes);
3186
3222
 
3187
3223
  template <typename T>
3188
3224
  class DISABLED_TypedTestP : public Test {
3189
3225
  };
3190
3226
 
3191
- TYPED_TEST_CASE_P(DISABLED_TypedTestP);
3227
+ TYPED_TEST_SUITE_P(DISABLED_TypedTestP);
3192
3228
 
3193
3229
  TYPED_TEST_P(DISABLED_TypedTestP, ShouldNotRun) {
3194
3230
  FAIL() << "Unexpected failure: "
3195
3231
  << "Disabled type-parameterized test should not run.";
3196
3232
  }
3197
3233
 
3198
- REGISTER_TYPED_TEST_CASE_P(DISABLED_TypedTestP, ShouldNotRun);
3234
+ REGISTER_TYPED_TEST_SUITE_P(DISABLED_TypedTestP, ShouldNotRun);
3199
3235
 
3200
- INSTANTIATE_TYPED_TEST_CASE_P(My, DISABLED_TypedTestP, NumericTypes);
3236
+ INSTANTIATE_TYPED_TEST_SUITE_P(My, DISABLED_TypedTestP, NumericTypes);
3201
3237
 
3202
3238
  #endif // GTEST_HAS_TYPED_TEST_P
3203
3239
 
@@ -3368,7 +3404,7 @@ class NoFatalFailureTest : public Test {
3368
3404
 
3369
3405
  void DoAssertNoFatalFailureOnFails() {
3370
3406
  ASSERT_NO_FATAL_FAILURE(Fails());
3371
- ADD_FAILURE() << "shold not reach here.";
3407
+ ADD_FAILURE() << "should not reach here.";
3372
3408
  }
3373
3409
 
3374
3410
  void DoExpectNoFatalFailureOnFails() {
@@ -3473,7 +3509,7 @@ std::vector<std::string> CharsToLines(const std::string& str) {
3473
3509
  return out;
3474
3510
  }
3475
3511
 
3476
- TEST(EditDistance, TestCases) {
3512
+ TEST(EditDistance, TestSuites) {
3477
3513
  struct Case {
3478
3514
  int line;
3479
3515
  const char* left;
@@ -3528,35 +3564,39 @@ TEST(AssertionTest, EqFailure) {
3528
3564
  EqFailure("foo", "bar", foo_val, bar_val, false)
3529
3565
  .failure_message());
3530
3566
  EXPECT_STREQ(
3531
- " Expected: foo\n"
3532
- " Which is: 5\n"
3533
- "To be equal to: bar\n"
3534
- " Which is: 6",
3567
+ "Expected equality of these values:\n"
3568
+ " foo\n"
3569
+ " Which is: 5\n"
3570
+ " bar\n"
3571
+ " Which is: 6",
3535
3572
  msg1.c_str());
3536
3573
 
3537
3574
  const std::string msg2(
3538
3575
  EqFailure("foo", "6", foo_val, bar_val, false)
3539
3576
  .failure_message());
3540
3577
  EXPECT_STREQ(
3541
- " Expected: foo\n"
3542
- " Which is: 5\n"
3543
- "To be equal to: 6",
3578
+ "Expected equality of these values:\n"
3579
+ " foo\n"
3580
+ " Which is: 5\n"
3581
+ " 6",
3544
3582
  msg2.c_str());
3545
3583
 
3546
3584
  const std::string msg3(
3547
3585
  EqFailure("5", "bar", foo_val, bar_val, false)
3548
3586
  .failure_message());
3549
3587
  EXPECT_STREQ(
3550
- " Expected: 5\n"
3551
- "To be equal to: bar\n"
3552
- " Which is: 6",
3588
+ "Expected equality of these values:\n"
3589
+ " 5\n"
3590
+ " bar\n"
3591
+ " Which is: 6",
3553
3592
  msg3.c_str());
3554
3593
 
3555
3594
  const std::string msg4(
3556
3595
  EqFailure("5", "6", foo_val, bar_val, false).failure_message());
3557
3596
  EXPECT_STREQ(
3558
- " Expected: 5\n"
3559
- "To be equal to: 6",
3597
+ "Expected equality of these values:\n"
3598
+ " 5\n"
3599
+ " 6",
3560
3600
  msg4.c_str());
3561
3601
 
3562
3602
  const std::string msg5(
@@ -3564,10 +3604,11 @@ TEST(AssertionTest, EqFailure) {
3564
3604
  std::string("\"x\""), std::string("\"y\""),
3565
3605
  true).failure_message());
3566
3606
  EXPECT_STREQ(
3567
- " Expected: foo\n"
3568
- " Which is: \"x\"\n"
3569
- "To be equal to: bar\n"
3570
- " Which is: \"y\"\n"
3607
+ "Expected equality of these values:\n"
3608
+ " foo\n"
3609
+ " Which is: \"x\"\n"
3610
+ " bar\n"
3611
+ " Which is: \"y\"\n"
3571
3612
  "Ignoring case",
3572
3613
  msg5.c_str());
3573
3614
  }
@@ -3580,11 +3621,12 @@ TEST(AssertionTest, EqFailureWithDiff) {
3580
3621
  const std::string msg1(
3581
3622
  EqFailure("left", "right", left, right, false).failure_message());
3582
3623
  EXPECT_STREQ(
3583
- " Expected: left\n"
3584
- " Which is: "
3624
+ "Expected equality of these values:\n"
3625
+ " left\n"
3626
+ " Which is: "
3585
3627
  "1\\n2XXX\\n3\\n5\\n6\\n7\\n8\\n9\\n10\\n11\\n12XXX\\n13\\n14\\n15\n"
3586
- "To be equal to: right\n"
3587
- " Which is: 1\\n2\\n3\\n4\\n5\\n6\\n7\\n8\\n9\\n11\\n12\\n13\\n14\n"
3628
+ " right\n"
3629
+ " Which is: 1\\n2\\n3\\n4\\n5\\n6\\n7\\n8\\n9\\n11\\n12\\n13\\n14\n"
3588
3630
  "With diff:\n@@ -1,5 +1,6 @@\n 1\n-2XXX\n+2\n 3\n+4\n 5\n 6\n"
3589
3631
  "@@ -7,8 +8,6 @@\n 8\n 9\n-10\n 11\n-12XXX\n+12\n 13\n 14\n-15\n",
3590
3632
  msg1.c_str());
@@ -3659,7 +3701,7 @@ TEST(AssertionTest, AssertFalseWithAssertionResult) {
3659
3701
  }
3660
3702
 
3661
3703
  #ifdef __BORLANDC__
3662
- // Restores warnings after previous "#pragma option push" supressed them
3704
+ // Restores warnings after previous "#pragma option push" suppressed them
3663
3705
  # pragma option pop
3664
3706
  #endif
3665
3707
 
@@ -3679,28 +3721,26 @@ TEST(ExpectTest, ASSERT_EQ_Double) {
3679
3721
  TEST(AssertionTest, ASSERT_EQ) {
3680
3722
  ASSERT_EQ(5, 2 + 3);
3681
3723
  EXPECT_FATAL_FAILURE(ASSERT_EQ(5, 2*3),
3682
- " Expected: 5\n"
3683
- "To be equal to: 2*3\n"
3684
- " Which is: 6");
3724
+ "Expected equality of these values:\n"
3725
+ " 5\n"
3726
+ " 2*3\n"
3727
+ " Which is: 6");
3685
3728
  }
3686
3729
 
3687
3730
  // Tests ASSERT_EQ(NULL, pointer).
3688
- #if GTEST_CAN_COMPARE_NULL
3689
3731
  TEST(AssertionTest, ASSERT_EQ_NULL) {
3690
3732
  // A success.
3691
- const char* p = NULL;
3692
- // Some older GCC versions may issue a spurious waring in this or the next
3733
+ const char* p = nullptr;
3734
+ // Some older GCC versions may issue a spurious warning in this or the next
3693
3735
  // assertion statement. This warning should not be suppressed with
3694
3736
  // static_cast since the test verifies the ability to use bare NULL as the
3695
3737
  // expected parameter to the macro.
3696
- ASSERT_EQ(NULL, p);
3738
+ ASSERT_EQ(nullptr, p);
3697
3739
 
3698
3740
  // A failure.
3699
3741
  static int n = 0;
3700
- EXPECT_FATAL_FAILURE(ASSERT_EQ(NULL, &n),
3701
- "To be equal to: &n\n");
3742
+ EXPECT_FATAL_FAILURE(ASSERT_EQ(nullptr, &n), " &n\n Which is:");
3702
3743
  }
3703
- #endif // GTEST_CAN_COMPARE_NULL
3704
3744
 
3705
3745
  // Tests ASSERT_EQ(0, non_pointer). Since the literal 0 can be
3706
3746
  // treated as a null pointer by the compiler, we need to make sure
@@ -3714,7 +3754,7 @@ TEST(ExpectTest, ASSERT_EQ_0) {
3714
3754
 
3715
3755
  // A failure.
3716
3756
  EXPECT_FATAL_FAILURE(ASSERT_EQ(0, 5.6),
3717
- "Expected: 0");
3757
+ " 0\n 5.6");
3718
3758
  }
3719
3759
 
3720
3760
  // Tests ASSERT_NE.
@@ -3813,7 +3853,7 @@ void TestEq1(int x) {
3813
3853
  // Tests calling a test subroutine that's not part of a fixture.
3814
3854
  TEST(AssertionTest, NonFixtureSubroutine) {
3815
3855
  EXPECT_FATAL_FAILURE(TestEq1(2),
3816
- "To be equal to: x");
3856
+ " x\n Which is: 2");
3817
3857
  }
3818
3858
 
3819
3859
  // An uncopyable class.
@@ -3862,7 +3902,8 @@ TEST(AssertionTest, AssertWorksWithUncopyableObject) {
3862
3902
  EXPECT_FATAL_FAILURE(TestAssertNonPositive(),
3863
3903
  "IsPositiveUncopyable(y) evaluates to false, where\ny evaluates to -1");
3864
3904
  EXPECT_FATAL_FAILURE(TestAssertEqualsUncopyable(),
3865
- "Expected: x\n Which is: 5\nTo be equal to: y\n Which is: -1");
3905
+ "Expected equality of these values:\n"
3906
+ " x\n Which is: 5\n y\n Which is: -1");
3866
3907
  }
3867
3908
 
3868
3909
  // Tests that uncopyable objects can be used in expects.
@@ -3874,7 +3915,8 @@ TEST(AssertionTest, ExpectWorksWithUncopyableObject) {
3874
3915
  "IsPositiveUncopyable(y) evaluates to false, where\ny evaluates to -1");
3875
3916
  EXPECT_EQ(x, x);
3876
3917
  EXPECT_NONFATAL_FAILURE(EXPECT_EQ(x, y),
3877
- "Expected: x\n Which is: 5\nTo be equal to: y\n Which is: -1");
3918
+ "Expected equality of these values:\n"
3919
+ " x\n Which is: 5\n y\n Which is: -1");
3878
3920
  }
3879
3921
 
3880
3922
  enum NamedEnum {
@@ -3889,11 +3931,8 @@ TEST(AssertionTest, NamedEnum) {
3889
3931
  EXPECT_NONFATAL_FAILURE(EXPECT_EQ(kE1, kE2), "Which is: 1");
3890
3932
  }
3891
3933
 
3892
- // The version of gcc used in XCode 2.2 has a bug and doesn't allow
3893
- // anonymous enums in assertions. Therefore the following test is not
3894
- // done on Mac.
3895
- // Sun Studio and HP aCC also reject this code.
3896
- #if !GTEST_OS_MAC && !defined(__SUNPRO_CC) && !defined(__HP_aCC)
3934
+ // Sun Studio and HP aCC2reject this code.
3935
+ #if !defined(__SUNPRO_CC) && !defined(__HP_aCC)
3897
3936
 
3898
3937
  // Tests using assertions with anonymous enums.
3899
3938
  enum {
@@ -3950,13 +3989,13 @@ TEST(AssertionTest, AnonymousEnum) {
3950
3989
 
3951
3990
  // ICE's in C++Builder.
3952
3991
  EXPECT_FATAL_FAILURE(ASSERT_EQ(kCaseA, kCaseB),
3953
- "To be equal to: kCaseB");
3992
+ " kCaseB\n Which is: ");
3954
3993
  EXPECT_FATAL_FAILURE(ASSERT_EQ(kCaseA, kCaseC),
3955
- "Which is: 42");
3994
+ "\n Which is: 42");
3956
3995
  # endif
3957
3996
 
3958
3997
  EXPECT_FATAL_FAILURE(ASSERT_EQ(kCaseA, kCaseC),
3959
- "Which is: -1");
3998
+ "\n Which is: -1");
3960
3999
  }
3961
4000
 
3962
4001
  #endif // !GTEST_OS_MAC && !defined(__SUNPRO_CC)
@@ -4302,10 +4341,12 @@ TEST(AssertionWithMessageTest, SUCCEED) {
4302
4341
  TEST(AssertionWithMessageTest, ASSERT_TRUE) {
4303
4342
  ASSERT_TRUE(true) << "This should succeed.";
4304
4343
  ASSERT_TRUE(true) << true;
4305
- EXPECT_FATAL_FAILURE({ // NOLINT
4306
- ASSERT_TRUE(false) << static_cast<const char *>(NULL)
4307
- << static_cast<char *>(NULL);
4308
- }, "(null)(null)");
4344
+ EXPECT_FATAL_FAILURE(
4345
+ { // NOLINT
4346
+ ASSERT_TRUE(false) << static_cast<const char*>(nullptr)
4347
+ << static_cast<char*>(nullptr);
4348
+ },
4349
+ "(null)(null)");
4309
4350
  }
4310
4351
 
4311
4352
  #if GTEST_OS_WINDOWS
@@ -4382,7 +4423,7 @@ TEST(ExpectTest, ExpectFalseWithAssertionResult) {
4382
4423
  }
4383
4424
 
4384
4425
  #ifdef __BORLANDC__
4385
- // Restores warnings after previous "#pragma option push" supressed them
4426
+ // Restores warnings after previous "#pragma option push" suppressed them
4386
4427
  # pragma option pop
4387
4428
  #endif
4388
4429
 
@@ -4390,9 +4431,10 @@ TEST(ExpectTest, ExpectFalseWithAssertionResult) {
4390
4431
  TEST(ExpectTest, EXPECT_EQ) {
4391
4432
  EXPECT_EQ(5, 2 + 3);
4392
4433
  EXPECT_NONFATAL_FAILURE(EXPECT_EQ(5, 2*3),
4393
- " Expected: 5\n"
4394
- "To be equal to: 2*3\n"
4395
- " Which is: 6");
4434
+ "Expected equality of these values:\n"
4435
+ " 5\n"
4436
+ " 2*3\n"
4437
+ " Which is: 6");
4396
4438
  EXPECT_NONFATAL_FAILURE(EXPECT_EQ(5, 2 - 3),
4397
4439
  "2 - 3");
4398
4440
  }
@@ -4409,23 +4451,20 @@ TEST(ExpectTest, EXPECT_EQ_Double) {
4409
4451
  "5.1");
4410
4452
  }
4411
4453
 
4412
- #if GTEST_CAN_COMPARE_NULL
4413
4454
  // Tests EXPECT_EQ(NULL, pointer).
4414
4455
  TEST(ExpectTest, EXPECT_EQ_NULL) {
4415
4456
  // A success.
4416
- const char* p = NULL;
4457
+ const char* p = nullptr;
4417
4458
  // Some older GCC versions may issue a spurious warning in this or the next
4418
4459
  // assertion statement. This warning should not be suppressed with
4419
4460
  // static_cast since the test verifies the ability to use bare NULL as the
4420
4461
  // expected parameter to the macro.
4421
- EXPECT_EQ(NULL, p);
4462
+ EXPECT_EQ(nullptr, p);
4422
4463
 
4423
4464
  // A failure.
4424
4465
  int n = 0;
4425
- EXPECT_NONFATAL_FAILURE(EXPECT_EQ(NULL, &n),
4426
- "To be equal to: &n\n");
4466
+ EXPECT_NONFATAL_FAILURE(EXPECT_EQ(nullptr, &n), " &n\n Which is:");
4427
4467
  }
4428
- #endif // GTEST_CAN_COMPARE_NULL
4429
4468
 
4430
4469
  // Tests EXPECT_EQ(0, non_pointer). Since the literal 0 can be
4431
4470
  // treated as a null pointer by the compiler, we need to make sure
@@ -4439,7 +4478,7 @@ TEST(ExpectTest, EXPECT_EQ_0) {
4439
4478
 
4440
4479
  // A failure.
4441
4480
  EXPECT_NONFATAL_FAILURE(EXPECT_EQ(0, 5.6),
4442
- "Expected: 0");
4481
+ " 0\n 5.6");
4443
4482
  }
4444
4483
 
4445
4484
  // Tests EXPECT_NE.
@@ -4451,7 +4490,7 @@ TEST(ExpectTest, EXPECT_NE) {
4451
4490
  "actual: 'a' (97, 0x61) vs 'a' (97, 0x61)");
4452
4491
  EXPECT_NONFATAL_FAILURE(EXPECT_NE(2, 2),
4453
4492
  "2");
4454
- char* const p0 = NULL;
4493
+ char* const p0 = nullptr;
4455
4494
  EXPECT_NONFATAL_FAILURE(EXPECT_NE(p0, p0),
4456
4495
  "p0");
4457
4496
  // Only way to get the Nokia compiler to compile the cast
@@ -4539,7 +4578,7 @@ TEST(ExpectTest, EXPECT_ANY_THROW) {
4539
4578
  TEST(ExpectTest, ExpectPrecedence) {
4540
4579
  EXPECT_EQ(1 < 2, true);
4541
4580
  EXPECT_NONFATAL_FAILURE(EXPECT_EQ(true, true && false),
4542
- "To be equal to: true && false");
4581
+ " true && false\n Which is: false");
4543
4582
  }
4544
4583
 
4545
4584
 
@@ -4559,7 +4598,7 @@ TEST(StreamableToStringTest, Pointer) {
4559
4598
 
4560
4599
  // Tests using StreamableToString() on a NULL non-char pointer.
4561
4600
  TEST(StreamableToStringTest, NullPointer) {
4562
- int* p = NULL;
4601
+ int* p = nullptr;
4563
4602
  EXPECT_STREQ("(null)", StreamableToString(p).c_str());
4564
4603
  }
4565
4604
 
@@ -4570,7 +4609,7 @@ TEST(StreamableToStringTest, CString) {
4570
4609
 
4571
4610
  // Tests using StreamableToString() on a NULL C string.
4572
4611
  TEST(StreamableToStringTest, NullCString) {
4573
- char* p = NULL;
4612
+ char* p = nullptr;
4574
4613
  EXPECT_STREQ("(null)", StreamableToString(p).c_str());
4575
4614
  }
4576
4615
 
@@ -4615,8 +4654,7 @@ TEST(StreamableTest, int) {
4615
4654
  // implemented a workaround (substituting "(null)" for NULL). This
4616
4655
  // tests whether the workaround works.
4617
4656
  TEST(StreamableTest, NullCharPtr) {
4618
- EXPECT_FATAL_FAILURE(FAIL() << static_cast<const char*>(NULL),
4619
- "(null)");
4657
+ EXPECT_FATAL_FAILURE(FAIL() << static_cast<const char*>(nullptr), "(null)");
4620
4658
  }
4621
4659
 
4622
4660
  // Tests that basic IO manipulators (endl, ends, and flush) can be
@@ -4656,7 +4694,7 @@ TEST(MacroTest, ADD_FAILURE_AT) {
4656
4694
  // Unfortunately, we cannot verify that the failure message contains
4657
4695
  // the right file path and line number the same way, as
4658
4696
  // EXPECT_NONFATAL_FAILURE() doesn't get to see the file path and
4659
- // line number. Instead, we do that in gtest_output_test_.cc.
4697
+ // line number. Instead, we do that in googletest-output-test_.cc.
4660
4698
  }
4661
4699
 
4662
4700
  // Tests FAIL.
@@ -4686,14 +4724,14 @@ TEST(EqAssertionTest, Bool) {
4686
4724
  EXPECT_FATAL_FAILURE({
4687
4725
  bool false_value = false;
4688
4726
  ASSERT_EQ(false_value, true);
4689
- }, "To be equal to: true");
4727
+ }, " false_value\n Which is: false\n true");
4690
4728
  }
4691
4729
 
4692
4730
  // Tests using int values in {EXPECT|ASSERT}_EQ.
4693
4731
  TEST(EqAssertionTest, Int) {
4694
4732
  ASSERT_EQ(32, 32);
4695
4733
  EXPECT_NONFATAL_FAILURE(EXPECT_EQ(32, 33),
4696
- "33");
4734
+ " 32\n 33");
4697
4735
  }
4698
4736
 
4699
4737
  // Tests using time_t values in {EXPECT|ASSERT}_EQ.
@@ -4710,9 +4748,9 @@ TEST(EqAssertionTest, Char) {
4710
4748
  ASSERT_EQ('z', 'z');
4711
4749
  const char ch = 'b';
4712
4750
  EXPECT_NONFATAL_FAILURE(EXPECT_EQ('\0', ch),
4713
- "ch");
4751
+ " ch\n Which is: 'b'");
4714
4752
  EXPECT_NONFATAL_FAILURE(EXPECT_EQ('a', ch),
4715
- "ch");
4753
+ " ch\n Which is: 'b'");
4716
4754
  }
4717
4755
 
4718
4756
  // Tests using wchar_t values in {EXPECT|ASSERT}_EQ.
@@ -4720,10 +4758,11 @@ TEST(EqAssertionTest, WideChar) {
4720
4758
  EXPECT_EQ(L'b', L'b');
4721
4759
 
4722
4760
  EXPECT_NONFATAL_FAILURE(EXPECT_EQ(L'\0', L'x'),
4723
- " Expected: L'\0'\n"
4724
- " Which is: L'\0' (0, 0x0)\n"
4725
- "To be equal to: L'x'\n"
4726
- " Which is: L'x' (120, 0x78)");
4761
+ "Expected equality of these values:\n"
4762
+ " L'\0'\n"
4763
+ " Which is: L'\0' (0, 0x0)\n"
4764
+ " L'x'\n"
4765
+ " Which is: L'x' (120, 0x78)");
4727
4766
 
4728
4767
  static wchar_t wchar;
4729
4768
  wchar = L'b';
@@ -4731,7 +4770,7 @@ TEST(EqAssertionTest, WideChar) {
4731
4770
  "wchar");
4732
4771
  wchar = 0x8119;
4733
4772
  EXPECT_FATAL_FAILURE(ASSERT_EQ(static_cast<wchar_t>(0x8120), wchar),
4734
- "To be equal to: wchar");
4773
+ " wchar\n Which is: L'");
4735
4774
  }
4736
4775
 
4737
4776
  // Tests using ::std::string values in {EXPECT|ASSERT}_EQ.
@@ -4760,8 +4799,7 @@ TEST(EqAssertionTest, StdString) {
4760
4799
  static ::std::string str3(str1);
4761
4800
  str3.at(2) = '\0';
4762
4801
  EXPECT_FATAL_FAILURE(ASSERT_EQ(str1, str3),
4763
- "To be equal to: str3\n"
4764
- " Which is: \"A \\0 in the middle\"");
4802
+ " str3\n Which is: \"A \\0 in the middle\"");
4765
4803
  }
4766
4804
 
4767
4805
  #if GTEST_HAS_STD_WSTRING
@@ -4801,75 +4839,9 @@ TEST(EqAssertionTest, StdWideString) {
4801
4839
 
4802
4840
  #endif // GTEST_HAS_STD_WSTRING
4803
4841
 
4804
- #if GTEST_HAS_GLOBAL_STRING
4805
- // Tests using ::string values in {EXPECT|ASSERT}_EQ.
4806
- TEST(EqAssertionTest, GlobalString) {
4807
- // Compares a const char* to a ::string that has identical content.
4808
- EXPECT_EQ("Test", ::string("Test"));
4809
-
4810
- // Compares two identical ::strings.
4811
- const ::string str1("A * in the middle");
4812
- const ::string str2(str1);
4813
- ASSERT_EQ(str1, str2);
4814
-
4815
- // Compares a ::string to a const char* that has different content.
4816
- EXPECT_NONFATAL_FAILURE(EXPECT_EQ(::string("Test"), "test"),
4817
- "test");
4818
-
4819
- // Compares two ::strings that have different contents, one of which
4820
- // having a NUL character in the middle.
4821
- ::string str3(str1);
4822
- str3.at(2) = '\0';
4823
- EXPECT_NONFATAL_FAILURE(EXPECT_EQ(str1, str3),
4824
- "str3");
4825
-
4826
- // Compares a ::string to a char* that has different content.
4827
- EXPECT_FATAL_FAILURE({ // NOLINT
4828
- ASSERT_EQ(::string("bar"), const_cast<char*>("foo"));
4829
- }, "");
4830
- }
4831
-
4832
- #endif // GTEST_HAS_GLOBAL_STRING
4833
-
4834
- #if GTEST_HAS_GLOBAL_WSTRING
4835
-
4836
- // Tests using ::wstring values in {EXPECT|ASSERT}_EQ.
4837
- TEST(EqAssertionTest, GlobalWideString) {
4838
- // Compares two identical ::wstrings.
4839
- static const ::wstring wstr1(L"A * in the middle");
4840
- static const ::wstring wstr2(wstr1);
4841
- EXPECT_EQ(wstr1, wstr2);
4842
-
4843
- // Compares a const wchar_t* to a ::wstring that has identical content.
4844
- const wchar_t kTestX8119[] = { 'T', 'e', 's', 't', 0x8119, '\0' };
4845
- ASSERT_EQ(kTestX8119, ::wstring(kTestX8119));
4846
-
4847
- // Compares a const wchar_t* to a ::wstring that has different
4848
- // content.
4849
- const wchar_t kTestX8120[] = { 'T', 'e', 's', 't', 0x8120, '\0' };
4850
- EXPECT_NONFATAL_FAILURE({ // NOLINT
4851
- EXPECT_EQ(kTestX8120, ::wstring(kTestX8119));
4852
- }, "Test\\x8119");
4853
-
4854
- // Compares a wchar_t* to a ::wstring that has different content.
4855
- wchar_t* const p1 = const_cast<wchar_t*>(L"foo");
4856
- EXPECT_NONFATAL_FAILURE(EXPECT_EQ(p1, ::wstring(L"bar")),
4857
- "bar");
4858
-
4859
- // Compares two ::wstrings that have different contents, one of which
4860
- // having a NUL character in the middle.
4861
- static ::wstring wstr3;
4862
- wstr3 = wstr1;
4863
- wstr3.at(2) = L'\0';
4864
- EXPECT_FATAL_FAILURE(ASSERT_EQ(wstr1, wstr3),
4865
- "wstr3");
4866
- }
4867
-
4868
- #endif // GTEST_HAS_GLOBAL_WSTRING
4869
-
4870
4842
  // Tests using char pointers in {EXPECT|ASSERT}_EQ.
4871
4843
  TEST(EqAssertionTest, CharPointer) {
4872
- char* const p0 = NULL;
4844
+ char* const p0 = nullptr;
4873
4845
  // Only way to get the Nokia compiler to compile the cast
4874
4846
  // is to have a separate void* variable first. Putting
4875
4847
  // the two casts on the same line doesn't work, neither does
@@ -4881,9 +4853,9 @@ TEST(EqAssertionTest, CharPointer) {
4881
4853
  ASSERT_EQ(p1, p1);
4882
4854
 
4883
4855
  EXPECT_NONFATAL_FAILURE(EXPECT_EQ(p0, p2),
4884
- "To be equal to: p2");
4856
+ " p2\n Which is:");
4885
4857
  EXPECT_NONFATAL_FAILURE(EXPECT_EQ(p1, p2),
4886
- "p2");
4858
+ " p2\n Which is:");
4887
4859
  EXPECT_FATAL_FAILURE(ASSERT_EQ(reinterpret_cast<char*>(0x1234),
4888
4860
  reinterpret_cast<char*>(0xABC0)),
4889
4861
  "ABC0");
@@ -4891,7 +4863,7 @@ TEST(EqAssertionTest, CharPointer) {
4891
4863
 
4892
4864
  // Tests using wchar_t pointers in {EXPECT|ASSERT}_EQ.
4893
4865
  TEST(EqAssertionTest, WideCharPointer) {
4894
- wchar_t* const p0 = NULL;
4866
+ wchar_t* const p0 = nullptr;
4895
4867
  // Only way to get the Nokia compiler to compile the cast
4896
4868
  // is to have a separate void* variable first. Putting
4897
4869
  // the two casts on the same line doesn't work, neither does
@@ -4903,9 +4875,9 @@ TEST(EqAssertionTest, WideCharPointer) {
4903
4875
  EXPECT_EQ(p0, p0);
4904
4876
 
4905
4877
  EXPECT_NONFATAL_FAILURE(EXPECT_EQ(p0, p2),
4906
- "To be equal to: p2");
4878
+ " p2\n Which is:");
4907
4879
  EXPECT_NONFATAL_FAILURE(EXPECT_EQ(p1, p2),
4908
- "p2");
4880
+ " p2\n Which is:");
4909
4881
  void* pv3 = (void*)0x1234; // NOLINT
4910
4882
  void* pv4 = (void*)0xABC0; // NOLINT
4911
4883
  const wchar_t* p3 = reinterpret_cast<const wchar_t*>(pv3);
@@ -4916,9 +4888,8 @@ TEST(EqAssertionTest, WideCharPointer) {
4916
4888
 
4917
4889
  // Tests using other types of pointers in {EXPECT|ASSERT}_EQ.
4918
4890
  TEST(EqAssertionTest, OtherPointer) {
4919
- ASSERT_EQ(static_cast<const int*>(NULL),
4920
- static_cast<const int*>(NULL));
4921
- EXPECT_FATAL_FAILURE(ASSERT_EQ(static_cast<const int*>(NULL),
4891
+ ASSERT_EQ(static_cast<const int*>(nullptr), static_cast<const int*>(nullptr));
4892
+ EXPECT_FATAL_FAILURE(ASSERT_EQ(static_cast<const int*>(nullptr),
4922
4893
  reinterpret_cast<const int*>(0x1234)),
4923
4894
  "0x1234");
4924
4895
  }
@@ -5034,7 +5005,7 @@ class TestLifeCycleTest : public Test {
5034
5005
 
5035
5006
  // Destructor. Decrements the number of test objects that uses this
5036
5007
  // fixture.
5037
- ~TestLifeCycleTest() { count_--; }
5008
+ ~TestLifeCycleTest() override { count_--; }
5038
5009
 
5039
5010
  // Returns the number of live test objects that uses this fixture.
5040
5011
  int count() const { return count_; }
@@ -5125,8 +5096,7 @@ TEST(AssertionResultTest, CanStreamOstreamManipulators) {
5125
5096
  EXPECT_STREQ("Data\n\\0Will be visible", r.message());
5126
5097
  }
5127
5098
 
5128
- // The next test uses explicit conversion operators -- a C++11 feature.
5129
- #if GTEST_LANG_CXX11
5099
+ // The next test uses explicit conversion operators
5130
5100
 
5131
5101
  TEST(AssertionResultTest, ConstructibleFromContextuallyConvertibleToBool) {
5132
5102
  struct ExplicitlyConvertibleToBool {
@@ -5139,8 +5109,6 @@ TEST(AssertionResultTest, ConstructibleFromContextuallyConvertibleToBool) {
5139
5109
  EXPECT_TRUE(v2);
5140
5110
  }
5141
5111
 
5142
- #endif // GTEST_LANG_CXX11
5143
-
5144
5112
  struct ConvertibleToAssertionResult {
5145
5113
  operator AssertionResult() const { return AssertionResult(true); }
5146
5114
  };
@@ -5254,12 +5222,12 @@ TEST(MessageTest, CanStreamUserTypeInUserNameSpaceWithStreamOperatorInGlobal) {
5254
5222
  // Tests streaming NULL pointers to testing::Message.
5255
5223
  TEST(MessageTest, NullPointers) {
5256
5224
  Message msg;
5257
- char* const p1 = NULL;
5258
- unsigned char* const p2 = NULL;
5259
- int* p3 = NULL;
5260
- double* p4 = NULL;
5261
- bool* p5 = NULL;
5262
- Message* p6 = NULL;
5225
+ char* const p1 = nullptr;
5226
+ unsigned char* const p2 = nullptr;
5227
+ int* p3 = nullptr;
5228
+ double* p4 = nullptr;
5229
+ bool* p5 = nullptr;
5230
+ Message* p6 = nullptr;
5263
5231
 
5264
5232
  msg << p1 << p2 << p3 << p4 << p5 << p6;
5265
5233
  ASSERT_STREQ("(null)(null)(null)(null)(null)(null)",
@@ -5269,12 +5237,12 @@ TEST(MessageTest, NullPointers) {
5269
5237
  // Tests streaming wide strings to testing::Message.
5270
5238
  TEST(MessageTest, WideStrings) {
5271
5239
  // Streams a NULL of type const wchar_t*.
5272
- const wchar_t* const_wstr = NULL;
5240
+ const wchar_t* const_wstr = nullptr;
5273
5241
  EXPECT_STREQ("(null)",
5274
5242
  (Message() << const_wstr).GetString().c_str());
5275
5243
 
5276
5244
  // Streams a NULL of type wchar_t*.
5277
- wchar_t* wstr = NULL;
5245
+ wchar_t* wstr = nullptr;
5278
5246
  EXPECT_STREQ("(null)",
5279
5247
  (Message() << wstr).GetString().c_str());
5280
5248
 
@@ -5298,15 +5266,15 @@ namespace testing {
5298
5266
  class TestInfoTest : public Test {
5299
5267
  protected:
5300
5268
  static const TestInfo* GetTestInfo(const char* test_name) {
5301
- const TestCase* const test_case = GetUnitTestImpl()->
5302
- GetTestCase("TestInfoTest", "", NULL, NULL);
5269
+ const TestSuite* const test_suite =
5270
+ GetUnitTestImpl()->GetTestSuite("TestInfoTest", "", nullptr, nullptr);
5303
5271
 
5304
- for (int i = 0; i < test_case->total_test_count(); ++i) {
5305
- const TestInfo* const test_info = test_case->GetTestInfo(i);
5272
+ for (int i = 0; i < test_suite->total_test_count(); ++i) {
5273
+ const TestInfo* const test_info = test_suite->GetTestInfo(i);
5306
5274
  if (strcmp(test_name, test_info->name()) == 0)
5307
5275
  return test_info;
5308
5276
  }
5309
- return NULL;
5277
+ return nullptr;
5310
5278
  }
5311
5279
 
5312
5280
  static const TestResult* GetTestResult(
@@ -5359,13 +5327,13 @@ TEST_P(CodeLocationForTESTP, Verify) {
5359
5327
  VERIFY_CODE_LOCATION;
5360
5328
  }
5361
5329
 
5362
- INSTANTIATE_TEST_CASE_P(, CodeLocationForTESTP, Values(0));
5330
+ INSTANTIATE_TEST_SUITE_P(, CodeLocationForTESTP, Values(0));
5363
5331
 
5364
5332
  template <typename T>
5365
5333
  class CodeLocationForTYPEDTEST : public Test {
5366
5334
  };
5367
5335
 
5368
- TYPED_TEST_CASE(CodeLocationForTYPEDTEST, int);
5336
+ TYPED_TEST_SUITE(CodeLocationForTYPEDTEST, int);
5369
5337
 
5370
5338
  TYPED_TEST(CodeLocationForTYPEDTEST, Verify) {
5371
5339
  VERIFY_CODE_LOCATION;
@@ -5375,20 +5343,21 @@ template <typename T>
5375
5343
  class CodeLocationForTYPEDTESTP : public Test {
5376
5344
  };
5377
5345
 
5378
- TYPED_TEST_CASE_P(CodeLocationForTYPEDTESTP);
5346
+ TYPED_TEST_SUITE_P(CodeLocationForTYPEDTESTP);
5379
5347
 
5380
5348
  TYPED_TEST_P(CodeLocationForTYPEDTESTP, Verify) {
5381
5349
  VERIFY_CODE_LOCATION;
5382
5350
  }
5383
5351
 
5384
- REGISTER_TYPED_TEST_CASE_P(CodeLocationForTYPEDTESTP, Verify);
5352
+ REGISTER_TYPED_TEST_SUITE_P(CodeLocationForTYPEDTESTP, Verify);
5385
5353
 
5386
- INSTANTIATE_TYPED_TEST_CASE_P(My, CodeLocationForTYPEDTESTP, int);
5354
+ INSTANTIATE_TYPED_TEST_SUITE_P(My, CodeLocationForTYPEDTESTP, int);
5387
5355
 
5388
5356
  #undef VERIFY_CODE_LOCATION
5389
5357
 
5390
5358
  // Tests setting up and tearing down a test case.
5391
-
5359
+ // Legacy API is deprecated but still available
5360
+ #ifndef REMOVE_LEGACY_TEST_CASEAPI
5392
5361
  class SetUpTestCaseTest : public Test {
5393
5362
  protected:
5394
5363
  // This will be called once before the first test in this test case
@@ -5420,11 +5389,11 @@ class SetUpTestCaseTest : public Test {
5420
5389
  EXPECT_EQ(0, counter_);
5421
5390
 
5422
5391
  // Cleans up the shared resource.
5423
- shared_resource_ = NULL;
5392
+ shared_resource_ = nullptr;
5424
5393
  }
5425
5394
 
5426
5395
  // This will be called before each test in this test case.
5427
- virtual void SetUp() {
5396
+ void SetUp() override {
5428
5397
  // SetUpTestCase() should be called only once, so counter_ should
5429
5398
  // always be 1.
5430
5399
  EXPECT_EQ(1, counter_);
@@ -5438,19 +5407,80 @@ class SetUpTestCaseTest : public Test {
5438
5407
  };
5439
5408
 
5440
5409
  int SetUpTestCaseTest::counter_ = 0;
5441
- const char* SetUpTestCaseTest::shared_resource_ = NULL;
5410
+ const char* SetUpTestCaseTest::shared_resource_ = nullptr;
5442
5411
 
5443
5412
  // A test that uses the shared resource.
5444
- TEST_F(SetUpTestCaseTest, Test1) {
5445
- EXPECT_STRNE(NULL, shared_resource_);
5446
- }
5413
+ TEST_F(SetUpTestCaseTest, Test1) { EXPECT_STRNE(nullptr, shared_resource_); }
5447
5414
 
5448
5415
  // Another test that uses the shared resource.
5449
5416
  TEST_F(SetUpTestCaseTest, Test2) {
5450
5417
  EXPECT_STREQ("123", shared_resource_);
5451
5418
  }
5419
+ #endif // REMOVE_LEGACY_TEST_CASEAPI
5420
+
5421
+ // Tests SetupTestSuite/TearDown TestSuite
5422
+ class SetUpTestSuiteTest : public Test {
5423
+ protected:
5424
+ // This will be called once before the first test in this test case
5425
+ // is run.
5426
+ static void SetUpTestSuite() {
5427
+ printf("Setting up the test suite . . .\n");
5428
+
5429
+ // Initializes some shared resource. In this simple example, we
5430
+ // just create a C string. More complex stuff can be done if
5431
+ // desired.
5432
+ shared_resource_ = "123";
5452
5433
 
5453
- // The InitGoogleTestTest test case tests testing::InitGoogleTest().
5434
+ // Increments the number of test cases that have been set up.
5435
+ counter_++;
5436
+
5437
+ // SetUpTestSuite() should be called only once.
5438
+ EXPECT_EQ(1, counter_);
5439
+ }
5440
+
5441
+ // This will be called once after the last test in this test case is
5442
+ // run.
5443
+ static void TearDownTestSuite() {
5444
+ printf("Tearing down the test suite . . .\n");
5445
+
5446
+ // Decrements the number of test suites that have been set up.
5447
+ counter_--;
5448
+
5449
+ // TearDownTestSuite() should be called only once.
5450
+ EXPECT_EQ(0, counter_);
5451
+
5452
+ // Cleans up the shared resource.
5453
+ shared_resource_ = nullptr;
5454
+ }
5455
+
5456
+ // This will be called before each test in this test case.
5457
+ void SetUp() override {
5458
+ // SetUpTestSuite() should be called only once, so counter_ should
5459
+ // always be 1.
5460
+ EXPECT_EQ(1, counter_);
5461
+ }
5462
+
5463
+ // Number of test suites that have been set up.
5464
+ static int counter_;
5465
+
5466
+ // Some resource to be shared by all tests in this test case.
5467
+ static const char* shared_resource_;
5468
+ };
5469
+
5470
+ int SetUpTestSuiteTest::counter_ = 0;
5471
+ const char* SetUpTestSuiteTest::shared_resource_ = nullptr;
5472
+
5473
+ // A test that uses the shared resource.
5474
+ TEST_F(SetUpTestSuiteTest, TestSetupTestSuite1) {
5475
+ EXPECT_STRNE(nullptr, shared_resource_);
5476
+ }
5477
+
5478
+ // Another test that uses the shared resource.
5479
+ TEST_F(SetUpTestSuiteTest, TestSetupTestSuite2) {
5480
+ EXPECT_STREQ("123", shared_resource_);
5481
+ }
5482
+
5483
+ // The ParseFlagsTest test case tests ParseGoogleTestFlagsOnly.
5454
5484
 
5455
5485
  // The Flags struct stores a copy of all Google Test flags.
5456
5486
  struct Flags {
@@ -5536,8 +5566,8 @@ struct Flags {
5536
5566
  return flags;
5537
5567
  }
5538
5568
 
5539
- // Creates a Flags struct where the gtest_random_seed flag has
5540
- // the given value.
5569
+ // Creates a Flags struct where the gtest_random_seed flag has the given
5570
+ // value.
5541
5571
  static Flags RandomSeed(Int32 random_seed) {
5542
5572
  Flags flags;
5543
5573
  flags.random_seed = random_seed;
@@ -5552,8 +5582,8 @@ struct Flags {
5552
5582
  return flags;
5553
5583
  }
5554
5584
 
5555
- // Creates a Flags struct where the gtest_shuffle flag has
5556
- // the given value.
5585
+ // Creates a Flags struct where the gtest_shuffle flag has the given
5586
+ // value.
5557
5587
  static Flags Shuffle(bool shuffle) {
5558
5588
  Flags flags;
5559
5589
  flags.shuffle = shuffle;
@@ -5601,11 +5631,11 @@ struct Flags {
5601
5631
  bool throw_on_failure;
5602
5632
  };
5603
5633
 
5604
- // Fixture for testing InitGoogleTest().
5605
- class InitGoogleTestTest : public Test {
5634
+ // Fixture for testing ParseGoogleTestFlagsOnly().
5635
+ class ParseFlagsTest : public Test {
5606
5636
  protected:
5607
5637
  // Clears the flags before each test.
5608
- virtual void SetUp() {
5638
+ void SetUp() override {
5609
5639
  GTEST_FLAG(also_run_disabled_tests) = false;
5610
5640
  GTEST_FLAG(break_on_failure) = false;
5611
5641
  GTEST_FLAG(catch_exceptions) = false;
@@ -5663,16 +5693,16 @@ class InitGoogleTestTest : public Test {
5663
5693
  const bool saved_help_flag = ::testing::internal::g_help_flag;
5664
5694
  ::testing::internal::g_help_flag = false;
5665
5695
 
5666
- #if GTEST_HAS_STREAM_REDIRECTION
5696
+ # if GTEST_HAS_STREAM_REDIRECTION
5667
5697
  CaptureStdout();
5668
- #endif
5698
+ # endif
5669
5699
 
5670
5700
  // Parses the command line.
5671
5701
  internal::ParseGoogleTestFlagsOnly(&argc1, const_cast<CharType**>(argv1));
5672
5702
 
5673
- #if GTEST_HAS_STREAM_REDIRECTION
5703
+ # if GTEST_HAS_STREAM_REDIRECTION
5674
5704
  const std::string captured_stdout = GetCapturedStdout();
5675
- #endif
5705
+ # endif
5676
5706
 
5677
5707
  // Verifies the flag values.
5678
5708
  CheckFlags(expected);
@@ -5685,7 +5715,7 @@ class InitGoogleTestTest : public Test {
5685
5715
  // help message for the flags it recognizes.
5686
5716
  EXPECT_EQ(should_print_help, ::testing::internal::g_help_flag);
5687
5717
 
5688
- #if GTEST_HAS_STREAM_REDIRECTION
5718
+ # if GTEST_HAS_STREAM_REDIRECTION
5689
5719
  const char* const expected_help_fragment =
5690
5720
  "This program contains tests written using";
5691
5721
  if (should_print_help) {
@@ -5694,7 +5724,7 @@ class InitGoogleTestTest : public Test {
5694
5724
  EXPECT_PRED_FORMAT2(IsNotSubstring,
5695
5725
  expected_help_fragment, captured_stdout);
5696
5726
  }
5697
- #endif // GTEST_HAS_STREAM_REDIRECTION
5727
+ # endif // GTEST_HAS_STREAM_REDIRECTION
5698
5728
 
5699
5729
  ::testing::internal::g_help_flag = saved_help_flag;
5700
5730
  }
@@ -5702,235 +5732,139 @@ class InitGoogleTestTest : public Test {
5702
5732
  // This macro wraps TestParsingFlags s.t. the user doesn't need
5703
5733
  // to specify the array sizes.
5704
5734
 
5705
- #define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help) \
5735
+ # define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help) \
5706
5736
  TestParsingFlags(sizeof(argv1)/sizeof(*argv1) - 1, argv1, \
5707
5737
  sizeof(argv2)/sizeof(*argv2) - 1, argv2, \
5708
5738
  expected, should_print_help)
5709
5739
  };
5710
5740
 
5711
5741
  // Tests parsing an empty command line.
5712
- TEST_F(InitGoogleTestTest, Empty) {
5713
- const char* argv[] = {
5714
- NULL
5715
- };
5742
+ TEST_F(ParseFlagsTest, Empty) {
5743
+ const char* argv[] = {nullptr};
5716
5744
 
5717
- const char* argv2[] = {
5718
- NULL
5719
- };
5745
+ const char* argv2[] = {nullptr};
5720
5746
 
5721
5747
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags(), false);
5722
5748
  }
5723
5749
 
5724
5750
  // Tests parsing a command line that has no flag.
5725
- TEST_F(InitGoogleTestTest, NoFlag) {
5726
- const char* argv[] = {
5727
- "foo.exe",
5728
- NULL
5729
- };
5751
+ TEST_F(ParseFlagsTest, NoFlag) {
5752
+ const char* argv[] = {"foo.exe", nullptr};
5730
5753
 
5731
- const char* argv2[] = {
5732
- "foo.exe",
5733
- NULL
5734
- };
5754
+ const char* argv2[] = {"foo.exe", nullptr};
5735
5755
 
5736
5756
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags(), false);
5737
5757
  }
5738
5758
 
5739
5759
  // Tests parsing a bad --gtest_filter flag.
5740
- TEST_F(InitGoogleTestTest, FilterBad) {
5741
- const char* argv[] = {
5742
- "foo.exe",
5743
- "--gtest_filter",
5744
- NULL
5745
- };
5760
+ TEST_F(ParseFlagsTest, FilterBad) {
5761
+ const char* argv[] = {"foo.exe", "--gtest_filter", nullptr};
5746
5762
 
5747
- const char* argv2[] = {
5748
- "foo.exe",
5749
- "--gtest_filter",
5750
- NULL
5751
- };
5763
+ const char* argv2[] = {"foo.exe", "--gtest_filter", nullptr};
5752
5764
 
5753
5765
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Filter(""), true);
5754
5766
  }
5755
5767
 
5756
5768
  // Tests parsing an empty --gtest_filter flag.
5757
- TEST_F(InitGoogleTestTest, FilterEmpty) {
5758
- const char* argv[] = {
5759
- "foo.exe",
5760
- "--gtest_filter=",
5761
- NULL
5762
- };
5769
+ TEST_F(ParseFlagsTest, FilterEmpty) {
5770
+ const char* argv[] = {"foo.exe", "--gtest_filter=", nullptr};
5763
5771
 
5764
- const char* argv2[] = {
5765
- "foo.exe",
5766
- NULL
5767
- };
5772
+ const char* argv2[] = {"foo.exe", nullptr};
5768
5773
 
5769
5774
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Filter(""), false);
5770
5775
  }
5771
5776
 
5772
5777
  // Tests parsing a non-empty --gtest_filter flag.
5773
- TEST_F(InitGoogleTestTest, FilterNonEmpty) {
5774
- const char* argv[] = {
5775
- "foo.exe",
5776
- "--gtest_filter=abc",
5777
- NULL
5778
- };
5778
+ TEST_F(ParseFlagsTest, FilterNonEmpty) {
5779
+ const char* argv[] = {"foo.exe", "--gtest_filter=abc", nullptr};
5779
5780
 
5780
- const char* argv2[] = {
5781
- "foo.exe",
5782
- NULL
5783
- };
5781
+ const char* argv2[] = {"foo.exe", nullptr};
5784
5782
 
5785
5783
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Filter("abc"), false);
5786
5784
  }
5787
5785
 
5788
5786
  // Tests parsing --gtest_break_on_failure.
5789
- TEST_F(InitGoogleTestTest, BreakOnFailureWithoutValue) {
5790
- const char* argv[] = {
5791
- "foo.exe",
5792
- "--gtest_break_on_failure",
5793
- NULL
5794
- };
5787
+ TEST_F(ParseFlagsTest, BreakOnFailureWithoutValue) {
5788
+ const char* argv[] = {"foo.exe", "--gtest_break_on_failure", nullptr};
5795
5789
 
5796
- const char* argv2[] = {
5797
- "foo.exe",
5798
- NULL
5799
- };
5790
+ const char* argv2[] = {"foo.exe", nullptr};
5800
5791
 
5801
5792
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::BreakOnFailure(true), false);
5802
5793
  }
5803
5794
 
5804
5795
  // Tests parsing --gtest_break_on_failure=0.
5805
- TEST_F(InitGoogleTestTest, BreakOnFailureFalse_0) {
5806
- const char* argv[] = {
5807
- "foo.exe",
5808
- "--gtest_break_on_failure=0",
5809
- NULL
5810
- };
5796
+ TEST_F(ParseFlagsTest, BreakOnFailureFalse_0) {
5797
+ const char* argv[] = {"foo.exe", "--gtest_break_on_failure=0", nullptr};
5811
5798
 
5812
- const char* argv2[] = {
5813
- "foo.exe",
5814
- NULL
5815
- };
5799
+ const char* argv2[] = {"foo.exe", nullptr};
5816
5800
 
5817
5801
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::BreakOnFailure(false), false);
5818
5802
  }
5819
5803
 
5820
5804
  // Tests parsing --gtest_break_on_failure=f.
5821
- TEST_F(InitGoogleTestTest, BreakOnFailureFalse_f) {
5822
- const char* argv[] = {
5823
- "foo.exe",
5824
- "--gtest_break_on_failure=f",
5825
- NULL
5826
- };
5805
+ TEST_F(ParseFlagsTest, BreakOnFailureFalse_f) {
5806
+ const char* argv[] = {"foo.exe", "--gtest_break_on_failure=f", nullptr};
5827
5807
 
5828
- const char* argv2[] = {
5829
- "foo.exe",
5830
- NULL
5831
- };
5808
+ const char* argv2[] = {"foo.exe", nullptr};
5832
5809
 
5833
5810
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::BreakOnFailure(false), false);
5834
5811
  }
5835
5812
 
5836
5813
  // Tests parsing --gtest_break_on_failure=F.
5837
- TEST_F(InitGoogleTestTest, BreakOnFailureFalse_F) {
5838
- const char* argv[] = {
5839
- "foo.exe",
5840
- "--gtest_break_on_failure=F",
5841
- NULL
5842
- };
5814
+ TEST_F(ParseFlagsTest, BreakOnFailureFalse_F) {
5815
+ const char* argv[] = {"foo.exe", "--gtest_break_on_failure=F", nullptr};
5843
5816
 
5844
- const char* argv2[] = {
5845
- "foo.exe",
5846
- NULL
5847
- };
5817
+ const char* argv2[] = {"foo.exe", nullptr};
5848
5818
 
5849
5819
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::BreakOnFailure(false), false);
5850
5820
  }
5851
5821
 
5852
5822
  // Tests parsing a --gtest_break_on_failure flag that has a "true"
5853
5823
  // definition.
5854
- TEST_F(InitGoogleTestTest, BreakOnFailureTrue) {
5855
- const char* argv[] = {
5856
- "foo.exe",
5857
- "--gtest_break_on_failure=1",
5858
- NULL
5859
- };
5824
+ TEST_F(ParseFlagsTest, BreakOnFailureTrue) {
5825
+ const char* argv[] = {"foo.exe", "--gtest_break_on_failure=1", nullptr};
5860
5826
 
5861
- const char* argv2[] = {
5862
- "foo.exe",
5863
- NULL
5864
- };
5827
+ const char* argv2[] = {"foo.exe", nullptr};
5865
5828
 
5866
5829
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::BreakOnFailure(true), false);
5867
5830
  }
5868
5831
 
5869
5832
  // Tests parsing --gtest_catch_exceptions.
5870
- TEST_F(InitGoogleTestTest, CatchExceptions) {
5871
- const char* argv[] = {
5872
- "foo.exe",
5873
- "--gtest_catch_exceptions",
5874
- NULL
5875
- };
5833
+ TEST_F(ParseFlagsTest, CatchExceptions) {
5834
+ const char* argv[] = {"foo.exe", "--gtest_catch_exceptions", nullptr};
5876
5835
 
5877
- const char* argv2[] = {
5878
- "foo.exe",
5879
- NULL
5880
- };
5836
+ const char* argv2[] = {"foo.exe", nullptr};
5881
5837
 
5882
5838
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::CatchExceptions(true), false);
5883
5839
  }
5884
5840
 
5885
5841
  // Tests parsing --gtest_death_test_use_fork.
5886
- TEST_F(InitGoogleTestTest, DeathTestUseFork) {
5887
- const char* argv[] = {
5888
- "foo.exe",
5889
- "--gtest_death_test_use_fork",
5890
- NULL
5891
- };
5842
+ TEST_F(ParseFlagsTest, DeathTestUseFork) {
5843
+ const char* argv[] = {"foo.exe", "--gtest_death_test_use_fork", nullptr};
5892
5844
 
5893
- const char* argv2[] = {
5894
- "foo.exe",
5895
- NULL
5896
- };
5845
+ const char* argv2[] = {"foo.exe", nullptr};
5897
5846
 
5898
5847
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::DeathTestUseFork(true), false);
5899
5848
  }
5900
5849
 
5901
5850
  // Tests having the same flag twice with different values. The
5902
5851
  // expected behavior is that the one coming last takes precedence.
5903
- TEST_F(InitGoogleTestTest, DuplicatedFlags) {
5904
- const char* argv[] = {
5905
- "foo.exe",
5906
- "--gtest_filter=a",
5907
- "--gtest_filter=b",
5908
- NULL
5909
- };
5852
+ TEST_F(ParseFlagsTest, DuplicatedFlags) {
5853
+ const char* argv[] = {"foo.exe", "--gtest_filter=a", "--gtest_filter=b",
5854
+ nullptr};
5910
5855
 
5911
- const char* argv2[] = {
5912
- "foo.exe",
5913
- NULL
5914
- };
5856
+ const char* argv2[] = {"foo.exe", nullptr};
5915
5857
 
5916
5858
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Filter("b"), false);
5917
5859
  }
5918
5860
 
5919
5861
  // Tests having an unrecognized flag on the command line.
5920
- TEST_F(InitGoogleTestTest, UnrecognizedFlag) {
5921
- const char* argv[] = {
5922
- "foo.exe",
5923
- "--gtest_break_on_failure",
5924
- "bar", // Unrecognized by Google Test.
5925
- "--gtest_filter=b",
5926
- NULL
5927
- };
5862
+ TEST_F(ParseFlagsTest, UnrecognizedFlag) {
5863
+ const char* argv[] = {"foo.exe", "--gtest_break_on_failure",
5864
+ "bar", // Unrecognized by Google Test.
5865
+ "--gtest_filter=b", nullptr};
5928
5866
 
5929
- const char* argv2[] = {
5930
- "foo.exe",
5931
- "bar",
5932
- NULL
5933
- };
5867
+ const char* argv2[] = {"foo.exe", "bar", nullptr};
5934
5868
 
5935
5869
  Flags flags;
5936
5870
  flags.break_on_failure = true;
@@ -5939,447 +5873,260 @@ TEST_F(InitGoogleTestTest, UnrecognizedFlag) {
5939
5873
  }
5940
5874
 
5941
5875
  // Tests having a --gtest_list_tests flag
5942
- TEST_F(InitGoogleTestTest, ListTestsFlag) {
5943
- const char* argv[] = {
5944
- "foo.exe",
5945
- "--gtest_list_tests",
5946
- NULL
5947
- };
5876
+ TEST_F(ParseFlagsTest, ListTestsFlag) {
5877
+ const char* argv[] = {"foo.exe", "--gtest_list_tests", nullptr};
5948
5878
 
5949
- const char* argv2[] = {
5950
- "foo.exe",
5951
- NULL
5952
- };
5879
+ const char* argv2[] = {"foo.exe", nullptr};
5953
5880
 
5954
- GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::ListTests(true), false);
5881
+ GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::ListTests(true), false);
5955
5882
  }
5956
5883
 
5957
5884
  // Tests having a --gtest_list_tests flag with a "true" value
5958
- TEST_F(InitGoogleTestTest, ListTestsTrue) {
5959
- const char* argv[] = {
5960
- "foo.exe",
5961
- "--gtest_list_tests=1",
5962
- NULL
5963
- };
5885
+ TEST_F(ParseFlagsTest, ListTestsTrue) {
5886
+ const char* argv[] = {"foo.exe", "--gtest_list_tests=1", nullptr};
5964
5887
 
5965
- const char* argv2[] = {
5966
- "foo.exe",
5967
- NULL
5968
- };
5888
+ const char* argv2[] = {"foo.exe", nullptr};
5969
5889
 
5970
- GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::ListTests(true), false);
5890
+ GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::ListTests(true), false);
5971
5891
  }
5972
5892
 
5973
5893
  // Tests having a --gtest_list_tests flag with a "false" value
5974
- TEST_F(InitGoogleTestTest, ListTestsFalse) {
5975
- const char* argv[] = {
5976
- "foo.exe",
5977
- "--gtest_list_tests=0",
5978
- NULL
5979
- };
5894
+ TEST_F(ParseFlagsTest, ListTestsFalse) {
5895
+ const char* argv[] = {"foo.exe", "--gtest_list_tests=0", nullptr};
5980
5896
 
5981
- const char* argv2[] = {
5982
- "foo.exe",
5983
- NULL
5984
- };
5897
+ const char* argv2[] = {"foo.exe", nullptr};
5985
5898
 
5986
- GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::ListTests(false), false);
5899
+ GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::ListTests(false), false);
5987
5900
  }
5988
5901
 
5989
5902
  // Tests parsing --gtest_list_tests=f.
5990
- TEST_F(InitGoogleTestTest, ListTestsFalse_f) {
5991
- const char* argv[] = {
5992
- "foo.exe",
5993
- "--gtest_list_tests=f",
5994
- NULL
5995
- };
5903
+ TEST_F(ParseFlagsTest, ListTestsFalse_f) {
5904
+ const char* argv[] = {"foo.exe", "--gtest_list_tests=f", nullptr};
5996
5905
 
5997
- const char* argv2[] = {
5998
- "foo.exe",
5999
- NULL
6000
- };
5906
+ const char* argv2[] = {"foo.exe", nullptr};
6001
5907
 
6002
5908
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::ListTests(false), false);
6003
5909
  }
6004
5910
 
6005
5911
  // Tests parsing --gtest_list_tests=F.
6006
- TEST_F(InitGoogleTestTest, ListTestsFalse_F) {
6007
- const char* argv[] = {
6008
- "foo.exe",
6009
- "--gtest_list_tests=F",
6010
- NULL
6011
- };
5912
+ TEST_F(ParseFlagsTest, ListTestsFalse_F) {
5913
+ const char* argv[] = {"foo.exe", "--gtest_list_tests=F", nullptr};
6012
5914
 
6013
- const char* argv2[] = {
6014
- "foo.exe",
6015
- NULL
6016
- };
5915
+ const char* argv2[] = {"foo.exe", nullptr};
6017
5916
 
6018
5917
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::ListTests(false), false);
6019
5918
  }
6020
5919
 
6021
5920
  // Tests parsing --gtest_output (invalid).
6022
- TEST_F(InitGoogleTestTest, OutputEmpty) {
6023
- const char* argv[] = {
6024
- "foo.exe",
6025
- "--gtest_output",
6026
- NULL
6027
- };
5921
+ TEST_F(ParseFlagsTest, OutputEmpty) {
5922
+ const char* argv[] = {"foo.exe", "--gtest_output", nullptr};
6028
5923
 
6029
- const char* argv2[] = {
6030
- "foo.exe",
6031
- "--gtest_output",
6032
- NULL
6033
- };
5924
+ const char* argv2[] = {"foo.exe", "--gtest_output", nullptr};
6034
5925
 
6035
5926
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags(), true);
6036
5927
  }
6037
5928
 
6038
5929
  // Tests parsing --gtest_output=xml
6039
- TEST_F(InitGoogleTestTest, OutputXml) {
6040
- const char* argv[] = {
6041
- "foo.exe",
6042
- "--gtest_output=xml",
6043
- NULL
6044
- };
5930
+ TEST_F(ParseFlagsTest, OutputXml) {
5931
+ const char* argv[] = {"foo.exe", "--gtest_output=xml", nullptr};
6045
5932
 
6046
- const char* argv2[] = {
6047
- "foo.exe",
6048
- NULL
6049
- };
5933
+ const char* argv2[] = {"foo.exe", nullptr};
6050
5934
 
6051
5935
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Output("xml"), false);
6052
5936
  }
6053
5937
 
6054
5938
  // Tests parsing --gtest_output=xml:file
6055
- TEST_F(InitGoogleTestTest, OutputXmlFile) {
6056
- const char* argv[] = {
6057
- "foo.exe",
6058
- "--gtest_output=xml:file",
6059
- NULL
6060
- };
5939
+ TEST_F(ParseFlagsTest, OutputXmlFile) {
5940
+ const char* argv[] = {"foo.exe", "--gtest_output=xml:file", nullptr};
6061
5941
 
6062
- const char* argv2[] = {
6063
- "foo.exe",
6064
- NULL
6065
- };
5942
+ const char* argv2[] = {"foo.exe", nullptr};
6066
5943
 
6067
5944
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Output("xml:file"), false);
6068
5945
  }
6069
5946
 
6070
5947
  // Tests parsing --gtest_output=xml:directory/path/
6071
- TEST_F(InitGoogleTestTest, OutputXmlDirectory) {
6072
- const char* argv[] = {
6073
- "foo.exe",
6074
- "--gtest_output=xml:directory/path/",
6075
- NULL
6076
- };
5948
+ TEST_F(ParseFlagsTest, OutputXmlDirectory) {
5949
+ const char* argv[] = {"foo.exe", "--gtest_output=xml:directory/path/",
5950
+ nullptr};
6077
5951
 
6078
- const char* argv2[] = {
6079
- "foo.exe",
6080
- NULL
6081
- };
5952
+ const char* argv2[] = {"foo.exe", nullptr};
6082
5953
 
6083
5954
  GTEST_TEST_PARSING_FLAGS_(argv, argv2,
6084
5955
  Flags::Output("xml:directory/path/"), false);
6085
5956
  }
6086
5957
 
6087
5958
  // Tests having a --gtest_print_time flag
6088
- TEST_F(InitGoogleTestTest, PrintTimeFlag) {
6089
- const char* argv[] = {
6090
- "foo.exe",
6091
- "--gtest_print_time",
6092
- NULL
6093
- };
5959
+ TEST_F(ParseFlagsTest, PrintTimeFlag) {
5960
+ const char* argv[] = {"foo.exe", "--gtest_print_time", nullptr};
6094
5961
 
6095
- const char* argv2[] = {
6096
- "foo.exe",
6097
- NULL
6098
- };
5962
+ const char* argv2[] = {"foo.exe", nullptr};
6099
5963
 
6100
- GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::PrintTime(true), false);
5964
+ GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::PrintTime(true), false);
6101
5965
  }
6102
5966
 
6103
5967
  // Tests having a --gtest_print_time flag with a "true" value
6104
- TEST_F(InitGoogleTestTest, PrintTimeTrue) {
6105
- const char* argv[] = {
6106
- "foo.exe",
6107
- "--gtest_print_time=1",
6108
- NULL
6109
- };
5968
+ TEST_F(ParseFlagsTest, PrintTimeTrue) {
5969
+ const char* argv[] = {"foo.exe", "--gtest_print_time=1", nullptr};
6110
5970
 
6111
- const char* argv2[] = {
6112
- "foo.exe",
6113
- NULL
6114
- };
5971
+ const char* argv2[] = {"foo.exe", nullptr};
6115
5972
 
6116
- GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::PrintTime(true), false);
5973
+ GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::PrintTime(true), false);
6117
5974
  }
6118
5975
 
6119
5976
  // Tests having a --gtest_print_time flag with a "false" value
6120
- TEST_F(InitGoogleTestTest, PrintTimeFalse) {
6121
- const char* argv[] = {
6122
- "foo.exe",
6123
- "--gtest_print_time=0",
6124
- NULL
6125
- };
5977
+ TEST_F(ParseFlagsTest, PrintTimeFalse) {
5978
+ const char* argv[] = {"foo.exe", "--gtest_print_time=0", nullptr};
6126
5979
 
6127
- const char* argv2[] = {
6128
- "foo.exe",
6129
- NULL
6130
- };
5980
+ const char* argv2[] = {"foo.exe", nullptr};
6131
5981
 
6132
- GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::PrintTime(false), false);
5982
+ GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::PrintTime(false), false);
6133
5983
  }
6134
5984
 
6135
5985
  // Tests parsing --gtest_print_time=f.
6136
- TEST_F(InitGoogleTestTest, PrintTimeFalse_f) {
6137
- const char* argv[] = {
6138
- "foo.exe",
6139
- "--gtest_print_time=f",
6140
- NULL
6141
- };
5986
+ TEST_F(ParseFlagsTest, PrintTimeFalse_f) {
5987
+ const char* argv[] = {"foo.exe", "--gtest_print_time=f", nullptr};
6142
5988
 
6143
- const char* argv2[] = {
6144
- "foo.exe",
6145
- NULL
6146
- };
5989
+ const char* argv2[] = {"foo.exe", nullptr};
6147
5990
 
6148
5991
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::PrintTime(false), false);
6149
5992
  }
6150
5993
 
6151
5994
  // Tests parsing --gtest_print_time=F.
6152
- TEST_F(InitGoogleTestTest, PrintTimeFalse_F) {
6153
- const char* argv[] = {
6154
- "foo.exe",
6155
- "--gtest_print_time=F",
6156
- NULL
6157
- };
5995
+ TEST_F(ParseFlagsTest, PrintTimeFalse_F) {
5996
+ const char* argv[] = {"foo.exe", "--gtest_print_time=F", nullptr};
6158
5997
 
6159
- const char* argv2[] = {
6160
- "foo.exe",
6161
- NULL
6162
- };
5998
+ const char* argv2[] = {"foo.exe", nullptr};
6163
5999
 
6164
6000
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::PrintTime(false), false);
6165
6001
  }
6166
6002
 
6167
6003
  // Tests parsing --gtest_random_seed=number
6168
- TEST_F(InitGoogleTestTest, RandomSeed) {
6169
- const char* argv[] = {
6170
- "foo.exe",
6171
- "--gtest_random_seed=1000",
6172
- NULL
6173
- };
6004
+ TEST_F(ParseFlagsTest, RandomSeed) {
6005
+ const char* argv[] = {"foo.exe", "--gtest_random_seed=1000", nullptr};
6174
6006
 
6175
- const char* argv2[] = {
6176
- "foo.exe",
6177
- NULL
6178
- };
6007
+ const char* argv2[] = {"foo.exe", nullptr};
6179
6008
 
6180
6009
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::RandomSeed(1000), false);
6181
6010
  }
6182
6011
 
6183
6012
  // Tests parsing --gtest_repeat=number
6184
- TEST_F(InitGoogleTestTest, Repeat) {
6185
- const char* argv[] = {
6186
- "foo.exe",
6187
- "--gtest_repeat=1000",
6188
- NULL
6189
- };
6013
+ TEST_F(ParseFlagsTest, Repeat) {
6014
+ const char* argv[] = {"foo.exe", "--gtest_repeat=1000", nullptr};
6190
6015
 
6191
- const char* argv2[] = {
6192
- "foo.exe",
6193
- NULL
6194
- };
6016
+ const char* argv2[] = {"foo.exe", nullptr};
6195
6017
 
6196
6018
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Repeat(1000), false);
6197
6019
  }
6198
6020
 
6199
6021
  // Tests having a --gtest_also_run_disabled_tests flag
6200
- TEST_F(InitGoogleTestTest, AlsoRunDisabledTestsFlag) {
6201
- const char* argv[] = {
6202
- "foo.exe",
6203
- "--gtest_also_run_disabled_tests",
6204
- NULL
6205
- };
6022
+ TEST_F(ParseFlagsTest, AlsoRunDisabledTestsFlag) {
6023
+ const char* argv[] = {"foo.exe", "--gtest_also_run_disabled_tests", nullptr};
6206
6024
 
6207
- const char* argv2[] = {
6208
- "foo.exe",
6209
- NULL
6210
- };
6025
+ const char* argv2[] = {"foo.exe", nullptr};
6211
6026
 
6212
- GTEST_TEST_PARSING_FLAGS_(argv, argv2,
6213
- Flags::AlsoRunDisabledTests(true), false);
6027
+ GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::AlsoRunDisabledTests(true),
6028
+ false);
6214
6029
  }
6215
6030
 
6216
6031
  // Tests having a --gtest_also_run_disabled_tests flag with a "true" value
6217
- TEST_F(InitGoogleTestTest, AlsoRunDisabledTestsTrue) {
6218
- const char* argv[] = {
6219
- "foo.exe",
6220
- "--gtest_also_run_disabled_tests=1",
6221
- NULL
6222
- };
6032
+ TEST_F(ParseFlagsTest, AlsoRunDisabledTestsTrue) {
6033
+ const char* argv[] = {"foo.exe", "--gtest_also_run_disabled_tests=1",
6034
+ nullptr};
6223
6035
 
6224
- const char* argv2[] = {
6225
- "foo.exe",
6226
- NULL
6227
- };
6036
+ const char* argv2[] = {"foo.exe", nullptr};
6228
6037
 
6229
- GTEST_TEST_PARSING_FLAGS_(argv, argv2,
6230
- Flags::AlsoRunDisabledTests(true), false);
6038
+ GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::AlsoRunDisabledTests(true),
6039
+ false);
6231
6040
  }
6232
6041
 
6233
6042
  // Tests having a --gtest_also_run_disabled_tests flag with a "false" value
6234
- TEST_F(InitGoogleTestTest, AlsoRunDisabledTestsFalse) {
6235
- const char* argv[] = {
6236
- "foo.exe",
6237
- "--gtest_also_run_disabled_tests=0",
6238
- NULL
6239
- };
6043
+ TEST_F(ParseFlagsTest, AlsoRunDisabledTestsFalse) {
6044
+ const char* argv[] = {"foo.exe", "--gtest_also_run_disabled_tests=0",
6045
+ nullptr};
6240
6046
 
6241
- const char* argv2[] = {
6242
- "foo.exe",
6243
- NULL
6244
- };
6047
+ const char* argv2[] = {"foo.exe", nullptr};
6245
6048
 
6246
- GTEST_TEST_PARSING_FLAGS_(argv, argv2,
6247
- Flags::AlsoRunDisabledTests(false), false);
6049
+ GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::AlsoRunDisabledTests(false),
6050
+ false);
6248
6051
  }
6249
6052
 
6250
6053
  // Tests parsing --gtest_shuffle.
6251
- TEST_F(InitGoogleTestTest, ShuffleWithoutValue) {
6252
- const char* argv[] = {
6253
- "foo.exe",
6254
- "--gtest_shuffle",
6255
- NULL
6256
- };
6054
+ TEST_F(ParseFlagsTest, ShuffleWithoutValue) {
6055
+ const char* argv[] = {"foo.exe", "--gtest_shuffle", nullptr};
6257
6056
 
6258
- const char* argv2[] = {
6259
- "foo.exe",
6260
- NULL
6261
- };
6057
+ const char* argv2[] = {"foo.exe", nullptr};
6262
6058
 
6263
6059
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Shuffle(true), false);
6264
6060
  }
6265
6061
 
6266
6062
  // Tests parsing --gtest_shuffle=0.
6267
- TEST_F(InitGoogleTestTest, ShuffleFalse_0) {
6268
- const char* argv[] = {
6269
- "foo.exe",
6270
- "--gtest_shuffle=0",
6271
- NULL
6272
- };
6063
+ TEST_F(ParseFlagsTest, ShuffleFalse_0) {
6064
+ const char* argv[] = {"foo.exe", "--gtest_shuffle=0", nullptr};
6273
6065
 
6274
- const char* argv2[] = {
6275
- "foo.exe",
6276
- NULL
6277
- };
6066
+ const char* argv2[] = {"foo.exe", nullptr};
6278
6067
 
6279
6068
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Shuffle(false), false);
6280
6069
  }
6281
6070
 
6282
- // Tests parsing a --gtest_shuffle flag that has a "true"
6283
- // definition.
6284
- TEST_F(InitGoogleTestTest, ShuffleTrue) {
6285
- const char* argv[] = {
6286
- "foo.exe",
6287
- "--gtest_shuffle=1",
6288
- NULL
6289
- };
6071
+ // Tests parsing a --gtest_shuffle flag that has a "true" definition.
6072
+ TEST_F(ParseFlagsTest, ShuffleTrue) {
6073
+ const char* argv[] = {"foo.exe", "--gtest_shuffle=1", nullptr};
6290
6074
 
6291
- const char* argv2[] = {
6292
- "foo.exe",
6293
- NULL
6294
- };
6075
+ const char* argv2[] = {"foo.exe", nullptr};
6295
6076
 
6296
6077
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Shuffle(true), false);
6297
6078
  }
6298
6079
 
6299
6080
  // Tests parsing --gtest_stack_trace_depth=number.
6300
- TEST_F(InitGoogleTestTest, StackTraceDepth) {
6301
- const char* argv[] = {
6302
- "foo.exe",
6303
- "--gtest_stack_trace_depth=5",
6304
- NULL
6305
- };
6081
+ TEST_F(ParseFlagsTest, StackTraceDepth) {
6082
+ const char* argv[] = {"foo.exe", "--gtest_stack_trace_depth=5", nullptr};
6306
6083
 
6307
- const char* argv2[] = {
6308
- "foo.exe",
6309
- NULL
6310
- };
6084
+ const char* argv2[] = {"foo.exe", nullptr};
6311
6085
 
6312
6086
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::StackTraceDepth(5), false);
6313
6087
  }
6314
6088
 
6315
- TEST_F(InitGoogleTestTest, StreamResultTo) {
6316
- const char* argv[] = {
6317
- "foo.exe",
6318
- "--gtest_stream_result_to=localhost:1234",
6319
- NULL
6320
- };
6089
+ TEST_F(ParseFlagsTest, StreamResultTo) {
6090
+ const char* argv[] = {"foo.exe", "--gtest_stream_result_to=localhost:1234",
6091
+ nullptr};
6321
6092
 
6322
- const char* argv2[] = {
6323
- "foo.exe",
6324
- NULL
6325
- };
6093
+ const char* argv2[] = {"foo.exe", nullptr};
6326
6094
 
6327
6095
  GTEST_TEST_PARSING_FLAGS_(
6328
6096
  argv, argv2, Flags::StreamResultTo("localhost:1234"), false);
6329
6097
  }
6330
6098
 
6331
6099
  // Tests parsing --gtest_throw_on_failure.
6332
- TEST_F(InitGoogleTestTest, ThrowOnFailureWithoutValue) {
6333
- const char* argv[] = {
6334
- "foo.exe",
6335
- "--gtest_throw_on_failure",
6336
- NULL
6337
- };
6100
+ TEST_F(ParseFlagsTest, ThrowOnFailureWithoutValue) {
6101
+ const char* argv[] = {"foo.exe", "--gtest_throw_on_failure", nullptr};
6338
6102
 
6339
- const char* argv2[] = {
6340
- "foo.exe",
6341
- NULL
6342
- };
6103
+ const char* argv2[] = {"foo.exe", nullptr};
6343
6104
 
6344
6105
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::ThrowOnFailure(true), false);
6345
6106
  }
6346
6107
 
6347
6108
  // Tests parsing --gtest_throw_on_failure=0.
6348
- TEST_F(InitGoogleTestTest, ThrowOnFailureFalse_0) {
6349
- const char* argv[] = {
6350
- "foo.exe",
6351
- "--gtest_throw_on_failure=0",
6352
- NULL
6353
- };
6109
+ TEST_F(ParseFlagsTest, ThrowOnFailureFalse_0) {
6110
+ const char* argv[] = {"foo.exe", "--gtest_throw_on_failure=0", nullptr};
6354
6111
 
6355
- const char* argv2[] = {
6356
- "foo.exe",
6357
- NULL
6358
- };
6112
+ const char* argv2[] = {"foo.exe", nullptr};
6359
6113
 
6360
6114
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::ThrowOnFailure(false), false);
6361
6115
  }
6362
6116
 
6363
6117
  // Tests parsing a --gtest_throw_on_failure flag that has a "true"
6364
6118
  // definition.
6365
- TEST_F(InitGoogleTestTest, ThrowOnFailureTrue) {
6366
- const char* argv[] = {
6367
- "foo.exe",
6368
- "--gtest_throw_on_failure=1",
6369
- NULL
6370
- };
6119
+ TEST_F(ParseFlagsTest, ThrowOnFailureTrue) {
6120
+ const char* argv[] = {"foo.exe", "--gtest_throw_on_failure=1", nullptr};
6371
6121
 
6372
- const char* argv2[] = {
6373
- "foo.exe",
6374
- NULL
6375
- };
6122
+ const char* argv2[] = {"foo.exe", nullptr};
6376
6123
 
6377
6124
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::ThrowOnFailure(true), false);
6378
6125
  }
6379
6126
 
6380
- #if GTEST_OS_WINDOWS
6127
+ # if GTEST_OS_WINDOWS
6381
6128
  // Tests parsing wide strings.
6382
- TEST_F(InitGoogleTestTest, WideStrings) {
6129
+ TEST_F(ParseFlagsTest, WideStrings) {
6383
6130
  const wchar_t* argv[] = {
6384
6131
  L"foo.exe",
6385
6132
  L"--gtest_filter=Foo*",
@@ -6405,13 +6152,13 @@ TEST_F(InitGoogleTestTest, WideStrings) {
6405
6152
  # endif // GTEST_OS_WINDOWS
6406
6153
 
6407
6154
  #if GTEST_USE_OWN_FLAGFILE_FLAG_
6408
- class FlagfileTest : public InitGoogleTestTest {
6155
+ class FlagfileTest : public ParseFlagsTest {
6409
6156
  public:
6410
6157
  virtual void SetUp() {
6411
- InitGoogleTestTest::SetUp();
6158
+ ParseFlagsTest::SetUp();
6412
6159
 
6413
6160
  testdata_path_.Set(internal::FilePath(
6414
- internal::TempDir() + internal::GetCurrentExecutableName().string() +
6161
+ testing::TempDir() + internal::GetCurrentExecutableName().string() +
6415
6162
  "_flagfile_test"));
6416
6163
  testing::internal::posix::RmDir(testdata_path_.c_str());
6417
6164
  EXPECT_TRUE(testdata_path_.CreateFolder());
@@ -6419,7 +6166,7 @@ class FlagfileTest : public InitGoogleTestTest {
6419
6166
 
6420
6167
  virtual void TearDown() {
6421
6168
  testing::internal::posix::RmDir(testdata_path_.c_str());
6422
- InitGoogleTestTest::TearDown();
6169
+ ParseFlagsTest::TearDown();
6423
6170
  }
6424
6171
 
6425
6172
  internal::FilePath CreateFlagfile(const char* contents) {
@@ -6441,16 +6188,9 @@ TEST_F(FlagfileTest, Empty) {
6441
6188
  std::string flagfile_flag =
6442
6189
  std::string("--" GTEST_FLAG_PREFIX_ "flagfile=") + flagfile_path.c_str();
6443
6190
 
6444
- const char* argv[] = {
6445
- "foo.exe",
6446
- flagfile_flag.c_str(),
6447
- NULL
6448
- };
6191
+ const char* argv[] = {"foo.exe", flagfile_flag.c_str(), nullptr};
6449
6192
 
6450
- const char* argv2[] = {
6451
- "foo.exe",
6452
- NULL
6453
- };
6193
+ const char* argv2[] = {"foo.exe", nullptr};
6454
6194
 
6455
6195
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags(), false);
6456
6196
  }
@@ -6462,16 +6202,9 @@ TEST_F(FlagfileTest, FilterNonEmpty) {
6462
6202
  std::string flagfile_flag =
6463
6203
  std::string("--" GTEST_FLAG_PREFIX_ "flagfile=") + flagfile_path.c_str();
6464
6204
 
6465
- const char* argv[] = {
6466
- "foo.exe",
6467
- flagfile_flag.c_str(),
6468
- NULL
6469
- };
6205
+ const char* argv[] = {"foo.exe", flagfile_flag.c_str(), nullptr};
6470
6206
 
6471
- const char* argv2[] = {
6472
- "foo.exe",
6473
- NULL
6474
- };
6207
+ const char* argv2[] = {"foo.exe", nullptr};
6475
6208
 
6476
6209
  GTEST_TEST_PARSING_FLAGS_(argv, argv2, Flags::Filter("abc"), false);
6477
6210
  }
@@ -6485,16 +6218,9 @@ TEST_F(FlagfileTest, SeveralFlags) {
6485
6218
  std::string flagfile_flag =
6486
6219
  std::string("--" GTEST_FLAG_PREFIX_ "flagfile=") + flagfile_path.c_str();
6487
6220
 
6488
- const char* argv[] = {
6489
- "foo.exe",
6490
- flagfile_flag.c_str(),
6491
- NULL
6492
- };
6221
+ const char* argv[] = {"foo.exe", flagfile_flag.c_str(), nullptr};
6493
6222
 
6494
- const char* argv2[] = {
6495
- "foo.exe",
6496
- NULL
6497
- };
6223
+ const char* argv2[] = {"foo.exe", nullptr};
6498
6224
 
6499
6225
  Flags expected_flags;
6500
6226
  expected_flags.break_on_failure = true;
@@ -6510,34 +6236,34 @@ class CurrentTestInfoTest : public Test {
6510
6236
  protected:
6511
6237
  // Tests that current_test_info() returns NULL before the first test in
6512
6238
  // the test case is run.
6513
- static void SetUpTestCase() {
6239
+ static void SetUpTestSuite() {
6514
6240
  // There should be no tests running at this point.
6515
6241
  const TestInfo* test_info =
6516
6242
  UnitTest::GetInstance()->current_test_info();
6517
- EXPECT_TRUE(test_info == NULL)
6243
+ EXPECT_TRUE(test_info == nullptr)
6518
6244
  << "There should be no tests running at this point.";
6519
6245
  }
6520
6246
 
6521
6247
  // Tests that current_test_info() returns NULL after the last test in
6522
6248
  // the test case has run.
6523
- static void TearDownTestCase() {
6249
+ static void TearDownTestSuite() {
6524
6250
  const TestInfo* test_info =
6525
6251
  UnitTest::GetInstance()->current_test_info();
6526
- EXPECT_TRUE(test_info == NULL)
6252
+ EXPECT_TRUE(test_info == nullptr)
6527
6253
  << "There should be no tests running at this point.";
6528
6254
  }
6529
6255
  };
6530
6256
 
6531
6257
  // Tests that current_test_info() returns TestInfo for currently running
6532
6258
  // test by checking the expected test name against the actual one.
6533
- TEST_F(CurrentTestInfoTest, WorksForFirstTestInATestCase) {
6259
+ TEST_F(CurrentTestInfoTest, WorksForFirstTestInATestSuite) {
6534
6260
  const TestInfo* test_info =
6535
6261
  UnitTest::GetInstance()->current_test_info();
6536
- ASSERT_TRUE(NULL != test_info)
6262
+ ASSERT_TRUE(nullptr != test_info)
6537
6263
  << "There is a test running so we should have a valid TestInfo.";
6538
6264
  EXPECT_STREQ("CurrentTestInfoTest", test_info->test_case_name())
6539
6265
  << "Expected the name of the currently running test case.";
6540
- EXPECT_STREQ("WorksForFirstTestInATestCase", test_info->name())
6266
+ EXPECT_STREQ("WorksForFirstTestInATestSuite", test_info->name())
6541
6267
  << "Expected the name of the currently running test.";
6542
6268
  }
6543
6269
 
@@ -6545,19 +6271,20 @@ TEST_F(CurrentTestInfoTest, WorksForFirstTestInATestCase) {
6545
6271
  // test by checking the expected test name against the actual one. We
6546
6272
  // use this test to see that the TestInfo object actually changed from
6547
6273
  // the previous invocation.
6548
- TEST_F(CurrentTestInfoTest, WorksForSecondTestInATestCase) {
6274
+ TEST_F(CurrentTestInfoTest, WorksForSecondTestInATestSuite) {
6549
6275
  const TestInfo* test_info =
6550
6276
  UnitTest::GetInstance()->current_test_info();
6551
- ASSERT_TRUE(NULL != test_info)
6277
+ ASSERT_TRUE(nullptr != test_info)
6552
6278
  << "There is a test running so we should have a valid TestInfo.";
6553
6279
  EXPECT_STREQ("CurrentTestInfoTest", test_info->test_case_name())
6554
6280
  << "Expected the name of the currently running test case.";
6555
- EXPECT_STREQ("WorksForSecondTestInATestCase", test_info->name())
6281
+ EXPECT_STREQ("WorksForSecondTestInATestSuite", test_info->name())
6556
6282
  << "Expected the name of the currently running test.";
6557
6283
  }
6558
6284
 
6559
6285
  } // namespace testing
6560
6286
 
6287
+
6561
6288
  // These two lines test that we can define tests in a namespace that
6562
6289
  // has the name "testing" and is nested in another namespace.
6563
6290
  namespace my_namespace {
@@ -6596,12 +6323,8 @@ TEST(NestedTestingNamespaceTest, Failure) {
6596
6323
  // successfully.
6597
6324
  class ProtectedFixtureMethodsTest : public Test {
6598
6325
  protected:
6599
- virtual void SetUp() {
6600
- Test::SetUp();
6601
- }
6602
- virtual void TearDown() {
6603
- Test::TearDown();
6604
- }
6326
+ void SetUp() override { Test::SetUp(); }
6327
+ void TearDown() override { Test::TearDown(); }
6605
6328
  };
6606
6329
 
6607
6330
  // StreamingAssertionsTest tests the streaming versions of a representative
@@ -6638,7 +6361,7 @@ TEST(StreamingAssertionsTest, Truth2) {
6638
6361
  }
6639
6362
 
6640
6363
  #ifdef __BORLANDC__
6641
- // Restores warnings after previous "#pragma option push" supressed them
6364
+ // Restores warnings after previous "#pragma option push" suppressed them
6642
6365
  # pragma option pop
6643
6366
  #endif
6644
6367
 
@@ -6799,7 +6522,7 @@ TEST(ColoredOutputTest, UsesColorsWhenStdoutIsTty) {
6799
6522
  TEST(ColoredOutputTest, UsesColorsWhenTermSupportsColors) {
6800
6523
  GTEST_FLAG(color) = "auto";
6801
6524
 
6802
- #if GTEST_OS_WINDOWS
6525
+ #if GTEST_OS_WINDOWS && !GTEST_OS_WINDOWS_MINGW
6803
6526
  // On Windows, we ignore the TERM variable as it's usually not set.
6804
6527
 
6805
6528
  SetEnv("TERM", "dumb");
@@ -6888,14 +6611,6 @@ TEST(StaticAssertTypeEqTest, CompilesForEqualTypes) {
6888
6611
  StaticAssertTypeEq<int*, IntAlias*>();
6889
6612
  }
6890
6613
 
6891
- TEST(GetCurrentOsStackTraceExceptTopTest, ReturnsTheStackTrace) {
6892
- testing::UnitTest* const unit_test = testing::UnitTest::GetInstance();
6893
-
6894
- // We don't have a stack walker in Google Test yet.
6895
- EXPECT_STREQ("", GetCurrentOsStackTraceExceptTop(unit_test, 0).c_str());
6896
- EXPECT_STREQ("", GetCurrentOsStackTraceExceptTop(unit_test, 1).c_str());
6897
- }
6898
-
6899
6614
  TEST(HasNonfatalFailureTest, ReturnsFalseWhenThereIsNoFailure) {
6900
6615
  EXPECT_FALSE(HasNonfatalFailure());
6901
6616
  }
@@ -6982,20 +6697,19 @@ TEST(HasFailureTest, WorksOutsideOfTestBody2) {
6982
6697
 
6983
6698
  class TestListener : public EmptyTestEventListener {
6984
6699
  public:
6985
- TestListener() : on_start_counter_(NULL), is_destroyed_(NULL) {}
6700
+ TestListener() : on_start_counter_(nullptr), is_destroyed_(nullptr) {}
6986
6701
  TestListener(int* on_start_counter, bool* is_destroyed)
6987
6702
  : on_start_counter_(on_start_counter),
6988
6703
  is_destroyed_(is_destroyed) {}
6989
6704
 
6990
- virtual ~TestListener() {
6705
+ ~TestListener() override {
6991
6706
  if (is_destroyed_)
6992
6707
  *is_destroyed_ = true;
6993
6708
  }
6994
6709
 
6995
6710
  protected:
6996
- virtual void OnTestProgramStart(const UnitTest& /*unit_test*/) {
6997
- if (on_start_counter_ != NULL)
6998
- (*on_start_counter_)++;
6711
+ void OnTestProgramStart(const UnitTest& /*unit_test*/) override {
6712
+ if (on_start_counter_ != nullptr) (*on_start_counter_)++;
6999
6713
  }
7000
6714
 
7001
6715
  private:
@@ -7007,9 +6721,9 @@ class TestListener : public EmptyTestEventListener {
7007
6721
  TEST(TestEventListenersTest, ConstructionWorks) {
7008
6722
  TestEventListeners listeners;
7009
6723
 
7010
- EXPECT_TRUE(TestEventListenersAccessor::GetRepeater(&listeners) != NULL);
7011
- EXPECT_TRUE(listeners.default_result_printer() == NULL);
7012
- EXPECT_TRUE(listeners.default_xml_generator() == NULL);
6724
+ EXPECT_TRUE(TestEventListenersAccessor::GetRepeater(&listeners) != nullptr);
6725
+ EXPECT_TRUE(listeners.default_result_printer() == nullptr);
6726
+ EXPECT_TRUE(listeners.default_xml_generator() == nullptr);
7013
6727
  }
7014
6728
 
7015
6729
  // Tests that the TestEventListeners destructor deletes all the listeners it
@@ -7018,12 +6732,12 @@ TEST(TestEventListenersTest, DestructionWorks) {
7018
6732
  bool default_result_printer_is_destroyed = false;
7019
6733
  bool default_xml_printer_is_destroyed = false;
7020
6734
  bool extra_listener_is_destroyed = false;
7021
- TestListener* default_result_printer = new TestListener(
7022
- NULL, &default_result_printer_is_destroyed);
7023
- TestListener* default_xml_printer = new TestListener(
7024
- NULL, &default_xml_printer_is_destroyed);
7025
- TestListener* extra_listener = new TestListener(
7026
- NULL, &extra_listener_is_destroyed);
6735
+ TestListener* default_result_printer =
6736
+ new TestListener(nullptr, &default_result_printer_is_destroyed);
6737
+ TestListener* default_xml_printer =
6738
+ new TestListener(nullptr, &default_xml_printer_is_destroyed);
6739
+ TestListener* extra_listener =
6740
+ new TestListener(nullptr, &extra_listener_is_destroyed);
7027
6741
 
7028
6742
  {
7029
6743
  TestEventListeners listeners;
@@ -7063,21 +6777,21 @@ class SequenceTestingListener : public EmptyTestEventListener {
7063
6777
  : vector_(vector), id_(id) {}
7064
6778
 
7065
6779
  protected:
7066
- virtual void OnTestProgramStart(const UnitTest& /*unit_test*/) {
6780
+ void OnTestProgramStart(const UnitTest& /*unit_test*/) override {
7067
6781
  vector_->push_back(GetEventDescription("OnTestProgramStart"));
7068
6782
  }
7069
6783
 
7070
- virtual void OnTestProgramEnd(const UnitTest& /*unit_test*/) {
6784
+ void OnTestProgramEnd(const UnitTest& /*unit_test*/) override {
7071
6785
  vector_->push_back(GetEventDescription("OnTestProgramEnd"));
7072
6786
  }
7073
6787
 
7074
- virtual void OnTestIterationStart(const UnitTest& /*unit_test*/,
7075
- int /*iteration*/) {
6788
+ void OnTestIterationStart(const UnitTest& /*unit_test*/,
6789
+ int /*iteration*/) override {
7076
6790
  vector_->push_back(GetEventDescription("OnTestIterationStart"));
7077
6791
  }
7078
6792
 
7079
- virtual void OnTestIterationEnd(const UnitTest& /*unit_test*/,
7080
- int /*iteration*/) {
6793
+ void OnTestIterationEnd(const UnitTest& /*unit_test*/,
6794
+ int /*iteration*/) override {
7081
6795
  vector_->push_back(GetEventDescription("OnTestIterationEnd"));
7082
6796
  }
7083
6797
 
@@ -7148,7 +6862,7 @@ TEST(TestEventListenersTest, Release) {
7148
6862
  EXPECT_EQ(listener, listeners.Release(listener));
7149
6863
  TestEventListenersAccessor::GetRepeater(&listeners)->OnTestProgramStart(
7150
6864
  *UnitTest::GetInstance());
7151
- EXPECT_TRUE(listeners.Release(listener) == NULL);
6865
+ EXPECT_TRUE(listeners.Release(listener) == nullptr);
7152
6866
  }
7153
6867
  EXPECT_EQ(0, on_start_counter);
7154
6868
  EXPECT_FALSE(is_destroyed);
@@ -7158,7 +6872,7 @@ TEST(TestEventListenersTest, Release) {
7158
6872
  // Tests that no events are forwarded when event forwarding is disabled.
7159
6873
  TEST(EventListenerTest, SuppressEventForwarding) {
7160
6874
  int on_start_counter = 0;
7161
- TestListener* listener = new TestListener(&on_start_counter, NULL);
6875
+ TestListener* listener = new TestListener(&on_start_counter, nullptr);
7162
6876
 
7163
6877
  TestEventListeners listeners;
7164
6878
  listeners.Append(listener);
@@ -7199,9 +6913,9 @@ TEST(EventListenerTest, default_result_printer) {
7199
6913
 
7200
6914
  // Replacing default_result_printer with something else should remove it
7201
6915
  // from the list and destroy it.
7202
- TestEventListenersAccessor::SetDefaultResultPrinter(&listeners, NULL);
6916
+ TestEventListenersAccessor::SetDefaultResultPrinter(&listeners, nullptr);
7203
6917
 
7204
- EXPECT_TRUE(listeners.default_result_printer() == NULL);
6918
+ EXPECT_TRUE(listeners.default_result_printer() == nullptr);
7205
6919
  EXPECT_TRUE(is_destroyed);
7206
6920
 
7207
6921
  // After broadcasting an event the counter is still the same, indicating
@@ -7225,7 +6939,7 @@ TEST(EventListenerTest, RemovingDefaultResultPrinterWorks) {
7225
6939
  TestEventListenersAccessor::SetDefaultResultPrinter(&listeners, listener);
7226
6940
 
7227
6941
  EXPECT_EQ(listener, listeners.Release(listener));
7228
- EXPECT_TRUE(listeners.default_result_printer() == NULL);
6942
+ EXPECT_TRUE(listeners.default_result_printer() == nullptr);
7229
6943
  EXPECT_FALSE(is_destroyed);
7230
6944
 
7231
6945
  // Broadcasting events now should not affect default_result_printer.
@@ -7258,9 +6972,9 @@ TEST(EventListenerTest, default_xml_generator) {
7258
6972
 
7259
6973
  // Replacing default_xml_generator with something else should remove it
7260
6974
  // from the list and destroy it.
7261
- TestEventListenersAccessor::SetDefaultXmlGenerator(&listeners, NULL);
6975
+ TestEventListenersAccessor::SetDefaultXmlGenerator(&listeners, nullptr);
7262
6976
 
7263
- EXPECT_TRUE(listeners.default_xml_generator() == NULL);
6977
+ EXPECT_TRUE(listeners.default_xml_generator() == nullptr);
7264
6978
  EXPECT_TRUE(is_destroyed);
7265
6979
 
7266
6980
  // After broadcasting an event the counter is still the same, indicating
@@ -7284,7 +6998,7 @@ TEST(EventListenerTest, RemovingDefaultXmlGeneratorWorks) {
7284
6998
  TestEventListenersAccessor::SetDefaultXmlGenerator(&listeners, listener);
7285
6999
 
7286
7000
  EXPECT_EQ(listener, listeners.Release(listener));
7287
- EXPECT_TRUE(listeners.default_xml_generator() == NULL);
7001
+ EXPECT_TRUE(listeners.default_xml_generator() == nullptr);
7288
7002
  EXPECT_FALSE(is_destroyed);
7289
7003
 
7290
7004
  // Broadcasting events now should not affect default_xml_generator.
@@ -7347,14 +7061,13 @@ GTEST_TEST(AlternativeNameTest, Works) { // GTEST_TEST is the same as TEST.
7347
7061
 
7348
7062
  // Tests for internal utilities necessary for implementation of the universal
7349
7063
  // printing.
7350
- // TODO(vladl@google.com): Find a better home for them.
7351
7064
 
7352
7065
  class ConversionHelperBase {};
7353
7066
  class ConversionHelperDerived : public ConversionHelperBase {};
7354
7067
 
7355
7068
  // Tests that IsAProtocolMessage<T>::value is a compile-time constant.
7356
7069
  TEST(IsAProtocolMessageTest, ValueIsCompileTimeConstant) {
7357
- GTEST_COMPILE_ASSERT_(IsAProtocolMessage<ProtocolMessage>::value,
7070
+ GTEST_COMPILE_ASSERT_(IsAProtocolMessage<::proto2::Message>::value,
7358
7071
  const_true);
7359
7072
  GTEST_COMPILE_ASSERT_(!IsAProtocolMessage<int>::value, const_false);
7360
7073
  }
@@ -7363,11 +7076,10 @@ TEST(IsAProtocolMessageTest, ValueIsCompileTimeConstant) {
7363
7076
  // proto2::Message or a sub-class of it.
7364
7077
  TEST(IsAProtocolMessageTest, ValueIsTrueWhenTypeIsAProtocolMessage) {
7365
7078
  EXPECT_TRUE(IsAProtocolMessage< ::proto2::Message>::value);
7366
- EXPECT_TRUE(IsAProtocolMessage<ProtocolMessage>::value);
7367
7079
  }
7368
7080
 
7369
7081
  // Tests that IsAProtocolMessage<T>::value is false when T is neither
7370
- // ProtocolMessage nor a sub-class of it.
7082
+ // ::proto2::Message nor a sub-class of it.
7371
7083
  TEST(IsAProtocolMessageTest, ValueIsFalseWhenTypeIsNotAProtocolMessage) {
7372
7084
  EXPECT_FALSE(IsAProtocolMessage<int>::value);
7373
7085
  EXPECT_FALSE(IsAProtocolMessage<const ConversionHelperBase>::value);
@@ -7484,35 +7196,6 @@ TEST(GTestReferenceToConstTest, Works) {
7484
7196
  TestGTestReferenceToConst<const std::string&, const std::string&>();
7485
7197
  }
7486
7198
 
7487
- // Tests that ImplicitlyConvertible<T1, T2>::value is a compile-time constant.
7488
- TEST(ImplicitlyConvertibleTest, ValueIsCompileTimeConstant) {
7489
- GTEST_COMPILE_ASSERT_((ImplicitlyConvertible<int, int>::value), const_true);
7490
- GTEST_COMPILE_ASSERT_((!ImplicitlyConvertible<void*, int*>::value),
7491
- const_false);
7492
- }
7493
-
7494
- // Tests that ImplicitlyConvertible<T1, T2>::value is true when T1 can
7495
- // be implicitly converted to T2.
7496
- TEST(ImplicitlyConvertibleTest, ValueIsTrueWhenConvertible) {
7497
- EXPECT_TRUE((ImplicitlyConvertible<int, double>::value));
7498
- EXPECT_TRUE((ImplicitlyConvertible<double, int>::value));
7499
- EXPECT_TRUE((ImplicitlyConvertible<int*, void*>::value));
7500
- EXPECT_TRUE((ImplicitlyConvertible<int*, const int*>::value));
7501
- EXPECT_TRUE((ImplicitlyConvertible<ConversionHelperDerived&,
7502
- const ConversionHelperBase&>::value));
7503
- EXPECT_TRUE((ImplicitlyConvertible<const ConversionHelperBase,
7504
- ConversionHelperBase>::value));
7505
- }
7506
-
7507
- // Tests that ImplicitlyConvertible<T1, T2>::value is false when T1
7508
- // cannot be implicitly converted to T2.
7509
- TEST(ImplicitlyConvertibleTest, ValueIsFalseWhenNotConvertible) {
7510
- EXPECT_FALSE((ImplicitlyConvertible<double, int*>::value));
7511
- EXPECT_FALSE((ImplicitlyConvertible<void*, int*>::value));
7512
- EXPECT_FALSE((ImplicitlyConvertible<const int*, int*>::value));
7513
- EXPECT_FALSE((ImplicitlyConvertible<ConversionHelperBase&,
7514
- ConversionHelperDerived&>::value));
7515
- }
7516
7199
 
7517
7200
  // Tests IsContainerTest.
7518
7201
 
@@ -7531,6 +7214,43 @@ TEST(IsContainerTestTest, WorksForContainer) {
7531
7214
  sizeof(IsContainerTest<std::map<int, double> >(0)));
7532
7215
  }
7533
7216
 
7217
+ struct ConstOnlyContainerWithPointerIterator {
7218
+ using const_iterator = int*;
7219
+ const_iterator begin() const;
7220
+ const_iterator end() const;
7221
+ };
7222
+
7223
+ struct ConstOnlyContainerWithClassIterator {
7224
+ struct const_iterator {
7225
+ const int& operator*() const;
7226
+ const_iterator& operator++(/* pre-increment */);
7227
+ };
7228
+ const_iterator begin() const;
7229
+ const_iterator end() const;
7230
+ };
7231
+
7232
+ TEST(IsContainerTestTest, ConstOnlyContainer) {
7233
+ EXPECT_EQ(sizeof(IsContainer),
7234
+ sizeof(IsContainerTest<ConstOnlyContainerWithPointerIterator>(0)));
7235
+ EXPECT_EQ(sizeof(IsContainer),
7236
+ sizeof(IsContainerTest<ConstOnlyContainerWithClassIterator>(0)));
7237
+ }
7238
+
7239
+ // Tests IsHashTable.
7240
+ struct AHashTable {
7241
+ typedef void hasher;
7242
+ };
7243
+ struct NotReallyAHashTable {
7244
+ typedef void hasher;
7245
+ typedef void reverse_iterator;
7246
+ };
7247
+ TEST(IsHashTable, Basic) {
7248
+ EXPECT_TRUE(testing::internal::IsHashTable<AHashTable>::value);
7249
+ EXPECT_FALSE(testing::internal::IsHashTable<NotReallyAHashTable>::value);
7250
+ EXPECT_FALSE(testing::internal::IsHashTable<std::vector<int>>::value);
7251
+ EXPECT_TRUE(testing::internal::IsHashTable<std::unordered_set<int>>::value);
7252
+ }
7253
+
7534
7254
  // Tests ArrayEq().
7535
7255
 
7536
7256
  TEST(ArrayEqTest, WorksForDegeneratedArrays) {
@@ -7678,6 +7398,84 @@ TEST(NativeArrayTest, WorksForTwoDimensionalArray) {
7678
7398
  EXPECT_EQ(a, na.begin());
7679
7399
  }
7680
7400
 
7401
+ // IndexSequence
7402
+ TEST(IndexSequence, MakeIndexSequence) {
7403
+ using testing::internal::IndexSequence;
7404
+ using testing::internal::MakeIndexSequence;
7405
+ EXPECT_TRUE(
7406
+ (std::is_same<IndexSequence<>, MakeIndexSequence<0>::type>::value));
7407
+ EXPECT_TRUE(
7408
+ (std::is_same<IndexSequence<0>, MakeIndexSequence<1>::type>::value));
7409
+ EXPECT_TRUE(
7410
+ (std::is_same<IndexSequence<0, 1>, MakeIndexSequence<2>::type>::value));
7411
+ EXPECT_TRUE((
7412
+ std::is_same<IndexSequence<0, 1, 2>, MakeIndexSequence<3>::type>::value));
7413
+ EXPECT_TRUE(
7414
+ (std::is_base_of<IndexSequence<0, 1, 2>, MakeIndexSequence<3>>::value));
7415
+ }
7416
+
7417
+ // ElemFromList
7418
+ TEST(ElemFromList, Basic) {
7419
+ using testing::internal::ElemFromList;
7420
+ using Idx = testing::internal::MakeIndexSequence<3>::type;
7421
+ EXPECT_TRUE((
7422
+ std::is_same<int, ElemFromList<0, Idx, int, double, char>::type>::value));
7423
+ EXPECT_TRUE(
7424
+ (std::is_same<double,
7425
+ ElemFromList<1, Idx, int, double, char>::type>::value));
7426
+ EXPECT_TRUE(
7427
+ (std::is_same<char,
7428
+ ElemFromList<2, Idx, int, double, char>::type>::value));
7429
+ EXPECT_TRUE(
7430
+ (std::is_same<
7431
+ char, ElemFromList<7, testing::internal::MakeIndexSequence<12>::type,
7432
+ int, int, int, int, int, int, int, char, int, int,
7433
+ int, int>::type>::value));
7434
+ }
7435
+
7436
+ // FlatTuple
7437
+ TEST(FlatTuple, Basic) {
7438
+ using testing::internal::FlatTuple;
7439
+
7440
+ FlatTuple<int, double, const char*> tuple = {};
7441
+ EXPECT_EQ(0, tuple.Get<0>());
7442
+ EXPECT_EQ(0.0, tuple.Get<1>());
7443
+ EXPECT_EQ(nullptr, tuple.Get<2>());
7444
+
7445
+ tuple = FlatTuple<int, double, const char*>(7, 3.2, "Foo");
7446
+ EXPECT_EQ(7, tuple.Get<0>());
7447
+ EXPECT_EQ(3.2, tuple.Get<1>());
7448
+ EXPECT_EQ(std::string("Foo"), tuple.Get<2>());
7449
+
7450
+ tuple.Get<1>() = 5.1;
7451
+ EXPECT_EQ(5.1, tuple.Get<1>());
7452
+ }
7453
+
7454
+ TEST(FlatTuple, ManyTypes) {
7455
+ using testing::internal::FlatTuple;
7456
+
7457
+ // Instantiate FlatTuple with 257 ints.
7458
+ // Tests show that we can do it with thousands of elements, but very long
7459
+ // compile times makes it unusuitable for this test.
7460
+ #define GTEST_FLAT_TUPLE_INT8 int, int, int, int, int, int, int, int,
7461
+ #define GTEST_FLAT_TUPLE_INT16 GTEST_FLAT_TUPLE_INT8 GTEST_FLAT_TUPLE_INT8
7462
+ #define GTEST_FLAT_TUPLE_INT32 GTEST_FLAT_TUPLE_INT16 GTEST_FLAT_TUPLE_INT16
7463
+ #define GTEST_FLAT_TUPLE_INT64 GTEST_FLAT_TUPLE_INT32 GTEST_FLAT_TUPLE_INT32
7464
+ #define GTEST_FLAT_TUPLE_INT128 GTEST_FLAT_TUPLE_INT64 GTEST_FLAT_TUPLE_INT64
7465
+ #define GTEST_FLAT_TUPLE_INT256 GTEST_FLAT_TUPLE_INT128 GTEST_FLAT_TUPLE_INT128
7466
+
7467
+ // Let's make sure that we can have a very long list of types without blowing
7468
+ // up the template instantiation depth.
7469
+ FlatTuple<GTEST_FLAT_TUPLE_INT256 int> tuple;
7470
+
7471
+ tuple.Get<0>() = 7;
7472
+ tuple.Get<99>() = 17;
7473
+ tuple.Get<256>() = 1000;
7474
+ EXPECT_EQ(7, tuple.Get<0>());
7475
+ EXPECT_EQ(17, tuple.Get<99>());
7476
+ EXPECT_EQ(1000, tuple.Get<256>());
7477
+ }
7478
+
7681
7479
  // Tests SkipPrefix().
7682
7480
 
7683
7481
  TEST(SkipPrefixTest, SkipsWhenPrefixMatches) {
@@ -7704,3 +7502,51 @@ TEST(SkipPrefixTest, DoesNotSkipWhenPrefixDoesNotMatch) {
7704
7502
  EXPECT_EQ(str, p);
7705
7503
  }
7706
7504
 
7505
+ // Tests ad_hoc_test_result().
7506
+
7507
+ class AdHocTestResultTest : public testing::Test {
7508
+ protected:
7509
+ static void SetUpTestSuite() {
7510
+ FAIL() << "A failure happened inside SetUpTestSuite().";
7511
+ }
7512
+ };
7513
+
7514
+ TEST_F(AdHocTestResultTest, AdHocTestResultForTestSuiteShowsFailure) {
7515
+ const testing::TestResult& test_result = testing::UnitTest::GetInstance()
7516
+ ->current_test_suite()
7517
+ ->ad_hoc_test_result();
7518
+ EXPECT_TRUE(test_result.Failed());
7519
+ }
7520
+
7521
+ TEST_F(AdHocTestResultTest, AdHocTestResultTestForUnitTestDoesNotShowFailure) {
7522
+ const testing::TestResult& test_result =
7523
+ testing::UnitTest::GetInstance()->ad_hoc_test_result();
7524
+ EXPECT_FALSE(test_result.Failed());
7525
+ }
7526
+
7527
+ class DynamicUnitTestFixture : public testing::Test {};
7528
+
7529
+ class DynamicTest : public DynamicUnitTestFixture {
7530
+ void TestBody() override { EXPECT_TRUE(true); }
7531
+ };
7532
+
7533
+ auto* dynamic_test = testing::RegisterTest(
7534
+ "DynamicUnitTestFixture", "DynamicTest", "TYPE", "VALUE", __FILE__,
7535
+ __LINE__, []() -> DynamicUnitTestFixture* { return new DynamicTest; });
7536
+
7537
+ TEST(RegisterTest, WasRegistered) {
7538
+ auto* unittest = testing::UnitTest::GetInstance();
7539
+ for (int i = 0; i < unittest->total_test_suite_count(); ++i) {
7540
+ auto* tests = unittest->GetTestSuite(i);
7541
+ if (tests->name() != std::string("DynamicUnitTestFixture")) continue;
7542
+ for (int j = 0; j < tests->total_test_count(); ++j) {
7543
+ if (tests->GetTestInfo(j)->name() != std::string("DynamicTest")) continue;
7544
+ // Found it.
7545
+ EXPECT_STREQ(tests->GetTestInfo(j)->value_param(), "VALUE");
7546
+ EXPECT_STREQ(tests->GetTestInfo(j)->type_param(), "TYPE");
7547
+ return;
7548
+ }
7549
+ }
7550
+
7551
+ FAIL() << "Didn't find the test!";
7552
+ }