couchbase 4.2.1 → 4.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1610) hide show
  1. package/CMakeLists.txt +1 -0
  2. package/deps/couchbase-cxx-client/.github/workflows/sanitizers.yml +20 -12
  3. package/deps/couchbase-cxx-client/.github/workflows/tests.yml +5 -3
  4. package/deps/couchbase-cxx-client/.gitmodules +3 -0
  5. package/deps/couchbase-cxx-client/.idea/misc.xml +1 -0
  6. package/deps/couchbase-cxx-client/.idea/vcs.xml +3 -0
  7. package/deps/couchbase-cxx-client/CMakeLists.txt +25 -6
  8. package/deps/couchbase-cxx-client/README.md +3 -3
  9. package/deps/couchbase-cxx-client/bin/build-tests +3 -0
  10. package/deps/couchbase-cxx-client/bin/build-tests.rb +9 -0
  11. package/deps/couchbase-cxx-client/bin/init-cluster +38 -11
  12. package/deps/couchbase-cxx-client/bin/run-unit-tests +9 -9
  13. package/deps/couchbase-cxx-client/cmake/CompilerWarnings.cmake +14 -3
  14. package/deps/couchbase-cxx-client/cmake/Documentation.cmake +4 -3
  15. package/deps/couchbase-cxx-client/cmake/OpenSSL.cmake +52 -7
  16. package/deps/couchbase-cxx-client/cmake/Testing.cmake +4 -4
  17. package/deps/couchbase-cxx-client/cmake/ThirdPartyDependencies.cmake +4 -0
  18. package/deps/couchbase-cxx-client/cmake/VersionInfo.cmake +52 -4
  19. package/deps/couchbase-cxx-client/cmake/build_version.hxx.in +1 -0
  20. package/deps/couchbase-cxx-client/cmake/test_openssl.cxx +7 -0
  21. package/deps/couchbase-cxx-client/core/bucket.cxx +3 -2
  22. package/deps/couchbase-cxx-client/core/bucket.hxx +9 -0
  23. package/deps/couchbase-cxx-client/core/cluster.hxx +15 -5
  24. package/deps/couchbase-cxx-client/core/cluster_options.cxx +2 -2
  25. package/deps/couchbase-cxx-client/core/cluster_options.hxx +3 -7
  26. package/deps/couchbase-cxx-client/core/cluster_options_fwd.hxx +26 -0
  27. package/deps/couchbase-cxx-client/core/config_profile.hxx +2 -65
  28. package/deps/couchbase-cxx-client/core/config_profiles.cxx +79 -0
  29. package/deps/couchbase-cxx-client/core/config_profiles.hxx +56 -0
  30. package/deps/couchbase-cxx-client/core/crypto/CMakeLists.txt +5 -1
  31. package/deps/couchbase-cxx-client/core/error_context/analytics.hxx +2 -1
  32. package/deps/couchbase-cxx-client/core/error_context/http.hxx +2 -1
  33. package/deps/couchbase-cxx-client/core/error_context/query.hxx +2 -1
  34. package/deps/couchbase-cxx-client/core/error_context/search.hxx +2 -1
  35. package/deps/couchbase-cxx-client/core/error_context/view.hxx +2 -1
  36. package/deps/couchbase-cxx-client/core/impl/analytics.cxx +236 -0
  37. package/deps/couchbase-cxx-client/core/impl/build_deferred_query_indexes.cxx +17 -6
  38. package/deps/couchbase-cxx-client/core/impl/cluster.cxx +2 -2
  39. package/deps/couchbase-cxx-client/core/impl/collection_query_index_manager.cxx +93 -0
  40. package/deps/couchbase-cxx-client/core/impl/configuration_profiles_registry.cxx +11 -0
  41. package/deps/couchbase-cxx-client/core/impl/create_query_index.cxx +119 -0
  42. package/deps/couchbase-cxx-client/core/impl/dns_srv_tracker.cxx +5 -3
  43. package/deps/couchbase-cxx-client/core/impl/drop_query_index.cxx +108 -0
  44. package/deps/couchbase-cxx-client/core/impl/get.cxx +1 -1
  45. package/deps/couchbase-cxx-client/core/impl/get_all_query_indexes.cxx +76 -0
  46. package/deps/couchbase-cxx-client/core/impl/query.cxx +24 -24
  47. package/deps/couchbase-cxx-client/core/impl/subdoc/lookup_in_macro.cxx +1 -0
  48. package/deps/couchbase-cxx-client/core/impl/subdoc/mutate_in_macro.cxx +1 -0
  49. package/deps/couchbase-cxx-client/core/impl/transaction_get_result.cxx +54 -0
  50. package/deps/couchbase-cxx-client/core/impl/watch_query_indexes.cxx +168 -0
  51. package/deps/couchbase-cxx-client/core/io/dns_client.cxx +225 -0
  52. package/deps/couchbase-cxx-client/core/io/dns_client.hxx +19 -188
  53. package/deps/couchbase-cxx-client/core/io/http_context.hxx +1 -1
  54. package/deps/couchbase-cxx-client/core/io/http_session.hxx +10 -0
  55. package/deps/couchbase-cxx-client/core/io/http_session_manager.hxx +5 -3
  56. package/deps/couchbase-cxx-client/core/io/mcbp_session.cxx +42 -1
  57. package/deps/couchbase-cxx-client/core/io/retry_orchestrator.hxx +3 -2
  58. package/deps/couchbase-cxx-client/core/logger/configuration.hxx +3 -0
  59. package/deps/couchbase-cxx-client/core/logger/level.hxx +21 -0
  60. package/deps/couchbase-cxx-client/core/logger/logger.hxx +4 -6
  61. package/deps/couchbase-cxx-client/core/meta/CMakeLists.txt +7 -3
  62. package/deps/couchbase-cxx-client/core/meta/features.hxx +31 -0
  63. package/deps/couchbase-cxx-client/core/meta/version.cxx +86 -5
  64. package/deps/couchbase-cxx-client/core/meta/version.hxx +12 -1
  65. package/deps/couchbase-cxx-client/core/metrics/CMakeLists.txt +4 -1
  66. package/deps/couchbase-cxx-client/core/metrics/logging_meter.cxx +46 -5
  67. package/deps/couchbase-cxx-client/core/metrics/logging_meter.hxx +10 -26
  68. package/deps/couchbase-cxx-client/core/operations/document_analytics.cxx +1 -0
  69. package/deps/couchbase-cxx-client/core/operations/document_analytics.hxx +1 -0
  70. package/deps/couchbase-cxx-client/core/operations/document_append.hxx +1 -1
  71. package/deps/couchbase-cxx-client/core/operations/document_decrement.hxx +1 -1
  72. package/deps/couchbase-cxx-client/core/operations/document_exists.hxx +1 -1
  73. package/deps/couchbase-cxx-client/core/operations/document_get.hxx +1 -1
  74. package/deps/couchbase-cxx-client/core/operations/document_get_and_lock.hxx +1 -1
  75. package/deps/couchbase-cxx-client/core/operations/document_get_and_touch.hxx +1 -1
  76. package/deps/couchbase-cxx-client/core/operations/document_get_projected.cxx +3 -2
  77. package/deps/couchbase-cxx-client/core/operations/document_get_projected.hxx +1 -1
  78. package/deps/couchbase-cxx-client/core/operations/document_increment.hxx +1 -1
  79. package/deps/couchbase-cxx-client/core/operations/document_insert.hxx +1 -1
  80. package/deps/couchbase-cxx-client/core/operations/document_lookup_in.hxx +1 -1
  81. package/deps/couchbase-cxx-client/core/operations/document_mutate_in.hxx +1 -1
  82. package/deps/couchbase-cxx-client/core/operations/document_prepend.hxx +1 -1
  83. package/deps/couchbase-cxx-client/core/operations/document_query.cxx +12 -12
  84. package/deps/couchbase-cxx-client/core/operations/document_query.hxx +7 -3
  85. package/deps/couchbase-cxx-client/core/operations/document_remove.hxx +1 -1
  86. package/deps/couchbase-cxx-client/core/operations/document_replace.hxx +1 -1
  87. package/deps/couchbase-cxx-client/core/operations/document_search.cxx +6 -2
  88. package/deps/couchbase-cxx-client/core/operations/document_search.hxx +1 -1
  89. package/deps/couchbase-cxx-client/core/operations/document_touch.hxx +1 -1
  90. package/deps/couchbase-cxx-client/core/operations/document_unlock.hxx +1 -1
  91. package/deps/couchbase-cxx-client/core/operations/document_upsert.hxx +1 -1
  92. package/deps/couchbase-cxx-client/core/operations/document_view.hxx +1 -0
  93. package/deps/couchbase-cxx-client/core/operations/management/analytics_problem.hxx +2 -1
  94. package/deps/couchbase-cxx-client/core/operations/management/eventing_problem.hxx +2 -1
  95. package/deps/couchbase-cxx-client/core/operations/management/query_index_build.cxx +8 -14
  96. package/deps/couchbase-cxx-client/core/operations/management/query_index_build.hxx +2 -1
  97. package/deps/couchbase-cxx-client/core/operations/management/query_index_build_deferred.hxx +15 -8
  98. package/deps/couchbase-cxx-client/core/operations/management/query_index_create.cxx +7 -14
  99. package/deps/couchbase-cxx-client/core/operations/management/query_index_create.hxx +2 -0
  100. package/deps/couchbase-cxx-client/core/operations/management/query_index_drop.cxx +11 -16
  101. package/deps/couchbase-cxx-client/core/operations/management/query_index_drop.hxx +2 -0
  102. package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.cxx +8 -12
  103. package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.hxx +4 -3
  104. package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.cxx +21 -12
  105. package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.hxx +3 -2
  106. package/deps/couchbase-cxx-client/core/origin.hxx +1 -1
  107. package/deps/couchbase-cxx-client/core/platform/base64.cc +2 -1
  108. package/deps/couchbase-cxx-client/core/platform/uuid.cc +1 -2
  109. package/deps/couchbase-cxx-client/core/protocol/client_opcode.hxx +1 -0
  110. package/deps/couchbase-cxx-client/core/protocol/cmd_hello.hxx +5 -1
  111. package/deps/couchbase-cxx-client/core/protocol/cmd_info.hxx +2 -1
  112. package/deps/couchbase-cxx-client/core/public_fwd.hxx +21 -0
  113. package/deps/couchbase-cxx-client/core/query_context.hxx +79 -0
  114. package/deps/couchbase-cxx-client/core/tls_verify_mode.hxx +26 -0
  115. package/deps/couchbase-cxx-client/core/topology/configuration.cxx +15 -2
  116. package/deps/couchbase-cxx-client/core/topology/configuration.hxx +5 -1
  117. package/deps/couchbase-cxx-client/core/tracing/CMakeLists.txt +3 -1
  118. package/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.cxx +19 -4
  119. package/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.hxx +2 -2
  120. package/deps/couchbase-cxx-client/core/transactions/active_transaction_record.hxx +2 -2
  121. package/deps/couchbase-cxx-client/core/transactions/async_attempt_context.hxx +10 -4
  122. package/deps/couchbase-cxx-client/core/transactions/atr_cleanup_entry.cxx +53 -63
  123. package/deps/couchbase-cxx-client/core/transactions/atr_ids.cxx +1 -1
  124. package/deps/couchbase-cxx-client/core/transactions/attempt_context.hxx +8 -3
  125. package/deps/couchbase-cxx-client/core/transactions/attempt_context_impl.cxx +240 -169
  126. package/deps/couchbase-cxx-client/core/transactions/attempt_context_impl.hxx +106 -88
  127. package/deps/couchbase-cxx-client/core/transactions/attempt_context_testing_hooks.cxx +93 -0
  128. package/deps/couchbase-cxx-client/core/transactions/attempt_context_testing_hooks.hxx +48 -75
  129. package/deps/couchbase-cxx-client/core/transactions/cleanup_testing_hooks.cxx +52 -0
  130. package/deps/couchbase-cxx-client/core/transactions/cleanup_testing_hooks.hxx +17 -31
  131. package/deps/couchbase-cxx-client/core/transactions/exceptions.cxx +0 -1
  132. package/deps/couchbase-cxx-client/core/transactions/exceptions.hxx +14 -11
  133. package/deps/couchbase-cxx-client/core/transactions/forward_compat.hxx +6 -6
  134. package/deps/couchbase-cxx-client/core/transactions/internal/atr_cleanup_entry.hxx +51 -13
  135. package/deps/couchbase-cxx-client/core/transactions/internal/client_record.hxx +26 -1
  136. package/deps/couchbase-cxx-client/core/transactions/internal/doc_record.hxx +21 -0
  137. package/deps/couchbase-cxx-client/core/transactions/internal/logging.hxx +40 -18
  138. package/deps/couchbase-cxx-client/core/transactions/internal/transaction_context.hxx +19 -14
  139. package/deps/couchbase-cxx-client/core/transactions/internal/transaction_fields.hxx +1 -0
  140. package/deps/couchbase-cxx-client/core/transactions/internal/transactions_cleanup.hxx +7 -1
  141. package/deps/couchbase-cxx-client/core/transactions/result.hxx +26 -0
  142. package/deps/couchbase-cxx-client/core/transactions/staged_mutation.cxx +49 -48
  143. package/deps/couchbase-cxx-client/core/transactions/staged_mutation.hxx +18 -8
  144. package/deps/couchbase-cxx-client/core/transactions/transaction_context.cxx +40 -28
  145. package/deps/couchbase-cxx-client/core/transactions/transaction_get_result.cxx +41 -31
  146. package/deps/couchbase-cxx-client/core/transactions/transaction_get_result.hxx +87 -23
  147. package/deps/couchbase-cxx-client/core/transactions/transaction_links.hxx +37 -2
  148. package/deps/couchbase-cxx-client/core/transactions/transactions.cxx +9 -8
  149. package/deps/couchbase-cxx-client/core/transactions/transactions_cleanup.cxx +182 -200
  150. package/deps/couchbase-cxx-client/core/transactions/waitable_op_list.hxx +8 -7
  151. package/deps/couchbase-cxx-client/core/transactions.hxx +1 -13
  152. package/deps/couchbase-cxx-client/core/utils/binary.hxx +1 -1
  153. package/deps/couchbase-cxx-client/core/utils/connection_string.cxx +25 -3
  154. package/deps/couchbase-cxx-client/core/utils/connection_string.hxx +3 -3
  155. package/deps/couchbase-cxx-client/core/utils/crc32.hxx +3 -2
  156. package/deps/couchbase-cxx-client/core/utils/json.cxx +4 -1
  157. package/deps/couchbase-cxx-client/core/utils/json_streaming_lexer.hxx +2 -1
  158. package/deps/couchbase-cxx-client/core/utils/keyspace.hxx +55 -0
  159. package/deps/couchbase-cxx-client/core/utils/url_codec.cxx +2 -1
  160. package/deps/couchbase-cxx-client/couchbase/analytics_error_context.hxx +143 -0
  161. package/deps/couchbase-cxx-client/couchbase/analytics_meta_data.hxx +155 -0
  162. package/deps/couchbase-cxx-client/couchbase/analytics_metrics.hxx +163 -0
  163. package/deps/couchbase-cxx-client/couchbase/analytics_options.hxx +359 -0
  164. package/deps/couchbase-cxx-client/couchbase/analytics_result.hxx +102 -0
  165. package/deps/couchbase-cxx-client/couchbase/analytics_scan_consistency.hxx +46 -0
  166. package/deps/couchbase-cxx-client/couchbase/analytics_status.hxx +41 -0
  167. package/deps/couchbase-cxx-client/couchbase/analytics_warning.hxx +85 -0
  168. package/deps/couchbase-cxx-client/couchbase/behavior_options.hxx +10 -1
  169. package/deps/couchbase-cxx-client/couchbase/build_query_index_options.hxx +12 -45
  170. package/deps/couchbase-cxx-client/couchbase/cluster.hxx +39 -4
  171. package/deps/couchbase-cxx-client/couchbase/cluster_options.hxx +16 -17
  172. package/deps/couchbase-cxx-client/couchbase/collection.hxx +30 -17
  173. package/deps/couchbase-cxx-client/couchbase/collection_query_index_manager.hxx +218 -0
  174. package/deps/couchbase-cxx-client/couchbase/common_options.hxx +1 -1
  175. package/deps/couchbase-cxx-client/couchbase/configuration_profile.hxx +1 -1
  176. package/deps/couchbase-cxx-client/couchbase/configuration_profiles_registry.hxx +3 -1
  177. package/deps/couchbase-cxx-client/couchbase/create_primary_query_index_options.hxx +166 -0
  178. package/deps/couchbase-cxx-client/couchbase/create_query_index_options.hxx +172 -0
  179. package/deps/couchbase-cxx-client/couchbase/drop_primary_query_index_options.hxx +129 -0
  180. package/deps/couchbase-cxx-client/couchbase/drop_query_index_options.hxx +116 -0
  181. package/deps/couchbase-cxx-client/couchbase/fmt/analytics_status.hxx +76 -0
  182. package/deps/couchbase-cxx-client/couchbase/fmt/cas.hxx +13 -1
  183. package/deps/couchbase-cxx-client/couchbase/fmt/durability_level.hxx +6 -0
  184. package/deps/couchbase-cxx-client/couchbase/fmt/key_value_extended_error_info.hxx +6 -0
  185. package/deps/couchbase-cxx-client/couchbase/fmt/key_value_status_code.hxx +6 -0
  186. package/deps/couchbase-cxx-client/couchbase/fmt/mutation_token.hxx +6 -0
  187. package/deps/couchbase-cxx-client/couchbase/fmt/query_scan_consistency.hxx +52 -0
  188. package/deps/couchbase-cxx-client/couchbase/fmt/query_status.hxx +76 -0
  189. package/deps/couchbase-cxx-client/couchbase/fmt/retry_reason.hxx +6 -0
  190. package/deps/couchbase-cxx-client/couchbase/fmt/tls_verify_mode.hxx +52 -0
  191. package/deps/couchbase-cxx-client/couchbase/get_all_query_indexes_options.hxx +101 -0
  192. package/deps/couchbase-cxx-client/couchbase/management/query_index.hxx +39 -0
  193. package/deps/couchbase-cxx-client/couchbase/metrics/meter.hxx +16 -0
  194. package/deps/couchbase-cxx-client/couchbase/query_index_manager.hxx +180 -6
  195. package/deps/couchbase-cxx-client/couchbase/query_options.hxx +1 -19
  196. package/deps/couchbase-cxx-client/couchbase/scope.hxx +40 -3
  197. package/deps/couchbase-cxx-client/couchbase/subdoc/array_add_unique.hxx +2 -0
  198. package/deps/couchbase-cxx-client/couchbase/subdoc/array_append.hxx +2 -0
  199. package/deps/couchbase-cxx-client/couchbase/subdoc/array_insert.hxx +2 -0
  200. package/deps/couchbase-cxx-client/couchbase/subdoc/array_prepend.hxx +2 -0
  201. package/deps/couchbase-cxx-client/couchbase/subdoc/count.hxx +2 -0
  202. package/deps/couchbase-cxx-client/couchbase/subdoc/counter.hxx +2 -0
  203. package/deps/couchbase-cxx-client/couchbase/subdoc/exists.hxx +2 -0
  204. package/deps/couchbase-cxx-client/couchbase/subdoc/get.hxx +2 -0
  205. package/deps/couchbase-cxx-client/couchbase/subdoc/insert.hxx +2 -0
  206. package/deps/couchbase-cxx-client/couchbase/subdoc/remove.hxx +2 -0
  207. package/deps/couchbase-cxx-client/couchbase/subdoc/replace.hxx +3 -1
  208. package/deps/couchbase-cxx-client/couchbase/subdoc/upsert.hxx +2 -0
  209. package/deps/couchbase-cxx-client/couchbase/tracing/request_span.hxx +63 -0
  210. package/deps/couchbase-cxx-client/couchbase/tracing/request_tracer.hxx +18 -40
  211. package/deps/couchbase-cxx-client/couchbase/transaction_op_error_context.hxx +4 -4
  212. package/deps/couchbase-cxx-client/couchbase/transactions/async_attempt_context.hxx +102 -16
  213. package/deps/couchbase-cxx-client/couchbase/transactions/attempt_context.hxx +90 -15
  214. package/deps/couchbase-cxx-client/couchbase/transactions/transaction_get_result.hxx +55 -35
  215. package/deps/couchbase-cxx-client/couchbase/transactions/transaction_keyspace.hxx +27 -1
  216. package/deps/couchbase-cxx-client/couchbase/transactions/transaction_options.hxx +79 -8
  217. package/deps/couchbase-cxx-client/couchbase/transactions/transaction_query_options.hxx +127 -21
  218. package/deps/couchbase-cxx-client/couchbase/transactions/transaction_query_result.hxx +6 -21
  219. package/deps/couchbase-cxx-client/couchbase/transactions/transaction_result.hxx +0 -1
  220. package/deps/couchbase-cxx-client/couchbase/transactions/transactions_cleanup_config.hxx +5 -3
  221. package/deps/couchbase-cxx-client/couchbase/transactions/transactions_config.hxx +9 -5
  222. package/deps/couchbase-cxx-client/couchbase/transactions/transactions_query_config.hxx +6 -3
  223. package/deps/couchbase-cxx-client/couchbase/transactions.hxx +36 -2
  224. package/deps/couchbase-cxx-client/couchbase/watch_query_indexes_options.hxx +115 -0
  225. package/deps/couchbase-cxx-client/docs/Doxyfile.in +324 -223
  226. package/deps/couchbase-cxx-client/docs/cbc-analytics.md +171 -0
  227. package/deps/couchbase-cxx-client/docs/cbc-get.md +160 -0
  228. package/deps/couchbase-cxx-client/docs/cbc-pillowfight.md +163 -0
  229. package/deps/couchbase-cxx-client/docs/cbc-query.md +179 -0
  230. package/deps/couchbase-cxx-client/docs/cbc.md +46 -0
  231. package/deps/couchbase-cxx-client/docs/cli.hxx +33 -0
  232. package/deps/couchbase-cxx-client/docs/doxygen-awesome.css +474 -89
  233. package/deps/couchbase-cxx-client/docs/mainpage.hxx +9 -8
  234. package/deps/couchbase-cxx-client/docs/stability.hxx +15 -0
  235. package/deps/couchbase-cxx-client/examples/async_game_server.cxx +56 -54
  236. package/deps/couchbase-cxx-client/examples/distributed_mutex.cxx +2 -0
  237. package/deps/couchbase-cxx-client/examples/game_server.cxx +9 -10
  238. package/deps/couchbase-cxx-client/examples/minimal.cxx +3 -1
  239. package/deps/couchbase-cxx-client/test/CMakeLists.txt +9 -7
  240. package/deps/couchbase-cxx-client/test/benchmark_helper_integration.hxx +2 -2
  241. package/deps/couchbase-cxx-client/test/data/search_beers_dataset.json +70 -0
  242. package/deps/couchbase-cxx-client/test/data/search_beers_index_params.json +108 -0
  243. package/deps/couchbase-cxx-client/test/test_helper.hxx +6 -6
  244. package/deps/couchbase-cxx-client/test/test_integration_analytics.cxx +289 -13
  245. package/deps/couchbase-cxx-client/test/test_integration_crud.cxx +80 -1
  246. package/deps/couchbase-cxx-client/test/test_integration_diagnostics.cxx +3 -3
  247. package/deps/couchbase-cxx-client/test/test_integration_examples.cxx +182 -0
  248. package/deps/couchbase-cxx-client/test/test_integration_management.cxx +752 -319
  249. package/deps/couchbase-cxx-client/test/test_integration_query.cxx +5 -9
  250. package/deps/couchbase-cxx-client/test/test_integration_search.cxx +603 -0
  251. package/deps/couchbase-cxx-client/test/test_integration_subdoc.cxx +2 -2
  252. package/deps/couchbase-cxx-client/test/test_integration_tracer.cxx +2 -0
  253. package/deps/couchbase-cxx-client/test/test_integration_transcoders.cxx +23 -5
  254. package/deps/couchbase-cxx-client/test/test_transaction_context.cxx +550 -0
  255. package/deps/couchbase-cxx-client/test/test_transaction_examples.cxx +180 -0
  256. package/deps/couchbase-cxx-client/test/test_transaction_public_async_api.cxx +393 -0
  257. package/deps/couchbase-cxx-client/test/test_transaction_public_blocking_api.cxx +653 -0
  258. package/deps/couchbase-cxx-client/test/test_transaction_simple.cxx +984 -0
  259. package/deps/couchbase-cxx-client/test/test_transaction_simple_async.cxx +970 -0
  260. package/deps/couchbase-cxx-client/test/test_unit_config_profiles.cxx +13 -13
  261. package/deps/couchbase-cxx-client/test/test_unit_connection_string.cxx +35 -0
  262. package/deps/couchbase-cxx-client/test/test_unit_json_transcoder.cxx +4 -0
  263. package/deps/couchbase-cxx-client/test/test_unit_transaction_logging.cxx +66 -22
  264. package/deps/couchbase-cxx-client/test/test_unit_transaction_utils.cxx +113 -0
  265. package/deps/couchbase-cxx-client/test/test_unit_utils.cxx +59 -4
  266. package/deps/couchbase-cxx-client/test/utils/CMakeLists.txt +13 -9
  267. package/deps/couchbase-cxx-client/test/utils/integration_shortcuts.hxx +3 -3
  268. package/deps/couchbase-cxx-client/test/utils/integration_test_guard.cxx +21 -9
  269. package/deps/couchbase-cxx-client/test/utils/server_version.hxx +10 -0
  270. package/deps/couchbase-cxx-client/test/utils/test_data.cxx +41 -0
  271. package/deps/couchbase-cxx-client/test/utils/test_data.hxx +29 -0
  272. package/deps/couchbase-cxx-client/test/utils/wait_until.cxx +65 -4
  273. package/deps/couchbase-cxx-client/test/utils/wait_until.hxx +8 -1
  274. package/deps/couchbase-cxx-client/third_party/catch2/.bazelrc +10 -0
  275. package/deps/couchbase-cxx-client/third_party/catch2/.conan/build.py +4 -4
  276. package/deps/couchbase-cxx-client/third_party/catch2/.conan/test_package/CMakeLists.txt +5 -4
  277. package/deps/couchbase-cxx-client/third_party/catch2/.conan/test_package/conanfile.py +3 -2
  278. package/deps/couchbase-cxx-client/third_party/catch2/.conan/test_package/test_package.cpp +1 -3
  279. package/deps/couchbase-cxx-client/third_party/catch2/.github/FUNDING.yml +1 -0
  280. package/deps/couchbase-cxx-client/third_party/catch2/.github/workflows/linux-bazel-builds.yml +24 -0
  281. package/deps/couchbase-cxx-client/third_party/catch2/.github/workflows/linux-meson-builds.yml +43 -0
  282. package/deps/couchbase-cxx-client/third_party/catch2/.github/workflows/linux-other-builds.yml +104 -0
  283. package/deps/couchbase-cxx-client/third_party/catch2/.github/workflows/linux-simple-builds.yml +122 -0
  284. package/deps/couchbase-cxx-client/third_party/catch2/.github/workflows/mac-builds.yml +52 -0
  285. package/deps/couchbase-cxx-client/third_party/catch2/.github/workflows/validate-header-guards.yml +36 -0
  286. package/deps/couchbase-cxx-client/third_party/catch2/.github/workflows/windows-simple-builds.yml +37 -0
  287. package/deps/couchbase-cxx-client/third_party/catch2/BUILD.bazel +83 -8
  288. package/deps/couchbase-cxx-client/third_party/catch2/CMake/CatchConfigOptions.cmake +79 -0
  289. package/deps/couchbase-cxx-client/third_party/catch2/CMake/CatchMiscFunctions.cmake +120 -0
  290. package/deps/couchbase-cxx-client/third_party/catch2/CMake/catch2-with-main.pc.in +10 -0
  291. package/deps/couchbase-cxx-client/third_party/catch2/CMake/catch2.pc.in +5 -1
  292. package/deps/couchbase-cxx-client/third_party/catch2/CMakeLists.txt +98 -152
  293. package/deps/couchbase-cxx-client/third_party/catch2/CMakePresets.json +25 -0
  294. package/deps/couchbase-cxx-client/third_party/catch2/Doxyfile +2484 -0
  295. package/deps/couchbase-cxx-client/third_party/catch2/README.md +83 -17
  296. package/deps/couchbase-cxx-client/third_party/catch2/SECURITY.md +19 -0
  297. package/deps/couchbase-cxx-client/third_party/catch2/WORKSPACE.bazel +16 -0
  298. package/deps/couchbase-cxx-client/third_party/catch2/appveyor.yml +55 -73
  299. package/deps/couchbase-cxx-client/third_party/catch2/codecov.yml +3 -6
  300. package/deps/couchbase-cxx-client/third_party/catch2/conanfile.py +44 -14
  301. package/deps/couchbase-cxx-client/third_party/catch2/data/artwork/catch2-logo-small-with-background.png +0 -0
  302. package/deps/couchbase-cxx-client/third_party/catch2/docs/Readme.md +18 -16
  303. package/deps/couchbase-cxx-client/third_party/catch2/docs/assertions.md +45 -64
  304. package/deps/couchbase-cxx-client/third_party/catch2/docs/benchmarks.md +3 -6
  305. package/deps/couchbase-cxx-client/third_party/catch2/docs/ci-and-misc.md +27 -29
  306. package/deps/couchbase-cxx-client/third_party/catch2/docs/cmake-integration.md +157 -35
  307. package/deps/couchbase-cxx-client/third_party/catch2/docs/command-line.md +232 -65
  308. package/deps/couchbase-cxx-client/third_party/catch2/docs/commercial-users.md +14 -13
  309. package/deps/couchbase-cxx-client/third_party/catch2/docs/comparing-floating-point-numbers.md +192 -0
  310. package/deps/couchbase-cxx-client/third_party/catch2/docs/configuration.md +48 -54
  311. package/deps/couchbase-cxx-client/third_party/catch2/docs/contributing.md +150 -38
  312. package/deps/couchbase-cxx-client/third_party/catch2/docs/deprecations.md +14 -118
  313. package/deps/couchbase-cxx-client/third_party/catch2/docs/event-listeners.md +31 -62
  314. package/deps/couchbase-cxx-client/third_party/catch2/docs/faq.md +94 -0
  315. package/deps/couchbase-cxx-client/third_party/catch2/docs/generators.md +14 -10
  316. package/deps/couchbase-cxx-client/third_party/catch2/docs/limitations.md +34 -36
  317. package/deps/couchbase-cxx-client/third_party/catch2/docs/list-of-examples.md +0 -3
  318. package/deps/couchbase-cxx-client/third_party/catch2/docs/logging.md +2 -2
  319. package/deps/couchbase-cxx-client/third_party/catch2/docs/matchers.md +355 -122
  320. package/deps/couchbase-cxx-client/third_party/catch2/docs/migrate-v2-to-v3.md +98 -0
  321. package/deps/couchbase-cxx-client/third_party/catch2/docs/opensource-users.md +43 -13
  322. package/deps/couchbase-cxx-client/third_party/catch2/docs/other-macros.md +19 -18
  323. package/deps/couchbase-cxx-client/third_party/catch2/docs/own-main.md +50 -49
  324. package/deps/couchbase-cxx-client/third_party/catch2/docs/release-notes.md +375 -6
  325. package/deps/couchbase-cxx-client/third_party/catch2/docs/release-process.md +9 -16
  326. package/deps/couchbase-cxx-client/third_party/catch2/docs/reporter-events.md +175 -0
  327. package/deps/couchbase-cxx-client/third_party/catch2/docs/reporters.md +191 -25
  328. package/deps/couchbase-cxx-client/third_party/catch2/docs/skipping-passing-failing.md +129 -0
  329. package/deps/couchbase-cxx-client/third_party/catch2/docs/test-cases-and-sections.md +91 -20
  330. package/deps/couchbase-cxx-client/third_party/catch2/docs/test-fixtures.md +28 -9
  331. package/deps/couchbase-cxx-client/third_party/catch2/docs/tostring.md +3 -3
  332. package/deps/couchbase-cxx-client/third_party/catch2/docs/tutorial.md +87 -139
  333. package/deps/couchbase-cxx-client/third_party/catch2/docs/usage-tips.md +100 -0
  334. package/deps/couchbase-cxx-client/third_party/catch2/docs/why-catch.md +24 -11
  335. package/deps/couchbase-cxx-client/third_party/catch2/examples/010-TestCase.cpp +4 -7
  336. package/deps/couchbase-cxx-client/third_party/catch2/examples/020-TestCase-1.cpp +3 -9
  337. package/deps/couchbase-cxx-client/third_party/catch2/examples/020-TestCase-2.cpp +2 -2
  338. package/deps/couchbase-cxx-client/third_party/catch2/examples/030-Asn-Require-Check.cpp +5 -5
  339. package/deps/couchbase-cxx-client/third_party/catch2/examples/100-Fix-Section.cpp +5 -4
  340. package/deps/couchbase-cxx-client/third_party/catch2/examples/110-Fix-ClassFixture.cpp +7 -4
  341. package/deps/couchbase-cxx-client/third_party/catch2/examples/120-Bdd-ScenarioGivenWhenThen.cpp +4 -4
  342. package/deps/couchbase-cxx-client/third_party/catch2/examples/210-Evt-EventListeners.cpp +51 -44
  343. package/deps/couchbase-cxx-client/third_party/catch2/examples/231-Cfg-OutputStreams.cpp +3 -4
  344. package/deps/couchbase-cxx-client/third_party/catch2/examples/300-Gen-OwnGenerator.cpp +13 -3
  345. package/deps/couchbase-cxx-client/third_party/catch2/examples/301-Gen-MapTypeConversion.cpp +9 -7
  346. package/deps/couchbase-cxx-client/third_party/catch2/examples/302-Gen-Table.cpp +4 -3
  347. package/deps/couchbase-cxx-client/third_party/catch2/examples/310-Gen-VariablesInGenerators.cpp +3 -1
  348. package/deps/couchbase-cxx-client/third_party/catch2/examples/311-Gen-CustomCapture.cpp +3 -1
  349. package/deps/couchbase-cxx-client/third_party/catch2/examples/CMakeLists.txt +29 -126
  350. package/deps/couchbase-cxx-client/third_party/catch2/extras/Catch.cmake +279 -0
  351. package/deps/couchbase-cxx-client/third_party/catch2/extras/CatchAddTests.cmake +187 -0
  352. package/deps/couchbase-cxx-client/third_party/catch2/extras/CatchShardTests.cmake +74 -0
  353. package/deps/couchbase-cxx-client/third_party/catch2/extras/CatchShardTestsImpl.cmake +52 -0
  354. package/deps/couchbase-cxx-client/third_party/catch2/extras/catch_amalgamated.cpp +10655 -0
  355. package/deps/couchbase-cxx-client/third_party/catch2/extras/catch_amalgamated.hpp +12972 -0
  356. package/deps/couchbase-cxx-client/third_party/catch2/fuzzing/CMakeLists.txt +20 -0
  357. package/deps/couchbase-cxx-client/third_party/catch2/fuzzing/NullOStream.cpp +10 -0
  358. package/deps/couchbase-cxx-client/third_party/catch2/fuzzing/NullOStream.h +20 -0
  359. package/deps/couchbase-cxx-client/third_party/catch2/fuzzing/build_fuzzers.sh +33 -0
  360. package/deps/couchbase-cxx-client/third_party/catch2/fuzzing/fuzz_TestSpecParser.cpp +16 -0
  361. package/deps/couchbase-cxx-client/third_party/catch2/fuzzing/fuzz_XmlWriter.cpp +16 -0
  362. package/deps/couchbase-cxx-client/third_party/catch2/fuzzing/fuzz_textflow.cpp +47 -0
  363. package/deps/couchbase-cxx-client/third_party/catch2/mdsnippets.json +9 -0
  364. package/deps/couchbase-cxx-client/third_party/catch2/meson.build +17 -0
  365. package/deps/couchbase-cxx-client/third_party/catch2/src/CMakeLists.txt +510 -0
  366. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/catch_benchmark.hpp +147 -0
  367. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/catch_benchmark_all.hpp +46 -0
  368. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/catch_chronometer.cpp +17 -0
  369. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/catch_chronometer.hpp +74 -0
  370. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/catch_clock.hpp +39 -0
  371. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/catch_constructor.hpp +82 -0
  372. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/catch_environment.hpp +37 -0
  373. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/catch_estimate.hpp +30 -0
  374. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/catch_execution_plan.hpp +58 -0
  375. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/catch_optimizer.hpp +78 -0
  376. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/catch_outlier_classification.hpp +29 -0
  377. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/catch_sample_analysis.hpp +49 -0
  378. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/detail/catch_analyse.hpp +79 -0
  379. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/detail/catch_benchmark_function.cpp +17 -0
  380. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/detail/catch_benchmark_function.hpp +107 -0
  381. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/detail/catch_benchmark_stats.hpp +64 -0
  382. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/detail/catch_benchmark_stats_fwd.hpp +23 -0
  383. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/detail/catch_complete_invoke.hpp +58 -0
  384. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/detail/catch_estimate_clock.hpp +121 -0
  385. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/detail/catch_measure.hpp +32 -0
  386. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/detail/catch_repeat.hpp +36 -0
  387. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/detail/catch_run_for_at_least.cpp +31 -0
  388. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/detail/catch_run_for_at_least.hpp +65 -0
  389. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/detail/catch_stats.cpp +257 -0
  390. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/detail/catch_stats.hpp +144 -0
  391. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/benchmark/detail/catch_timing.hpp +31 -0
  392. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_all.hpp +127 -0
  393. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_approx.cpp +85 -0
  394. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_approx.hpp +128 -0
  395. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_assertion_info.hpp +28 -0
  396. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_assertion_result.cpp +105 -0
  397. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_assertion_result.hpp +60 -0
  398. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_config.cpp +247 -0
  399. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_config.hpp +153 -0
  400. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_get_random_seed.cpp +18 -0
  401. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_get_random_seed.hpp +18 -0
  402. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_message.cpp +116 -0
  403. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_message.hpp +148 -0
  404. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_registry_hub.cpp +105 -0
  405. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_section_info.hpp +42 -0
  406. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_session.cpp +363 -0
  407. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_session.hpp +62 -0
  408. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_tag_alias.hpp +29 -0
  409. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_tag_alias_autoregistrar.cpp +24 -0
  410. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_tag_alias_autoregistrar.hpp +29 -0
  411. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_template_test_macros.hpp +124 -0
  412. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_test_case_info.cpp +247 -0
  413. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_test_case_info.hpp +131 -0
  414. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_test_macros.hpp +226 -0
  415. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_test_spec.cpp +138 -0
  416. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_test_spec.hpp +119 -0
  417. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_timer.cpp +37 -0
  418. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_timer.hpp +27 -0
  419. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_tostring.cpp +254 -0
  420. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_tostring.hpp +668 -0
  421. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_totals.cpp +65 -0
  422. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_totals.hpp +41 -0
  423. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_translate_exception.cpp +20 -0
  424. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_translate_exception.hpp +88 -0
  425. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_user_config.hpp.in +210 -0
  426. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_version.cpp +43 -0
  427. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_version.hpp +39 -0
  428. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/catch_version_macros.hpp +15 -0
  429. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/generators/catch_generator_exception.cpp +17 -0
  430. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/generators/catch_generator_exception.hpp +31 -0
  431. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/generators/catch_generators.cpp +42 -0
  432. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/generators/catch_generators.hpp +250 -0
  433. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/generators/catch_generators_adapters.hpp +241 -0
  434. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/generators/catch_generators_all.hpp +30 -0
  435. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/generators/catch_generators_random.cpp +13 -0
  436. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/generators/catch_generators_random.hpp +98 -0
  437. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/generators/catch_generators_range.hpp +110 -0
  438. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/interfaces/catch_interfaces_all.hpp +37 -0
  439. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/interfaces/catch_interfaces_capture.cpp +13 -0
  440. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/interfaces/catch_interfaces_capture.hpp +109 -0
  441. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/interfaces/catch_interfaces_config.cpp +13 -0
  442. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/interfaces/catch_interfaces_config.hpp +100 -0
  443. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/interfaces/catch_interfaces_enum_values_registry.hpp +47 -0
  444. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/interfaces/catch_interfaces_exception.cpp +14 -0
  445. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/interfaces/catch_interfaces_exception.hpp +36 -0
  446. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/interfaces/catch_interfaces_generatortracker.cpp +32 -0
  447. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/interfaces/catch_interfaces_generatortracker.hpp +90 -0
  448. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/interfaces/catch_interfaces_registry_hub.cpp +14 -0
  449. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/interfaces/catch_interfaces_registry_hub.hpp +66 -0
  450. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/interfaces/catch_interfaces_reporter.cpp +101 -0
  451. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/interfaces/catch_interfaces_reporter.hpp +224 -0
  452. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/interfaces/catch_interfaces_reporter_factory.cpp +14 -0
  453. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/interfaces/catch_interfaces_reporter_factory.hpp +45 -0
  454. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/interfaces/catch_interfaces_tag_alias_registry.hpp +29 -0
  455. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/interfaces/catch_interfaces_test_invoker.hpp +21 -0
  456. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/interfaces/catch_interfaces_testcase.cpp +13 -0
  457. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/interfaces/catch_interfaces_testcase.hpp +36 -0
  458. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_assertion_handler.cpp +82 -0
  459. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_assertion_handler.hpp +68 -0
  460. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_case_insensitive_comparisons.cpp +35 -0
  461. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_case_insensitive_comparisons.hpp +30 -0
  462. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_case_sensitive.hpp +17 -0
  463. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_clara.cpp +448 -0
  464. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_clara.hpp +702 -0
  465. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_commandline.cpp +313 -0
  466. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_commandline.hpp +21 -0
  467. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_compare_traits.hpp +75 -0
  468. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_compiler_capabilities.hpp +430 -0
  469. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_config_android_logwrite.hpp +33 -0
  470. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_config_counter.hpp +32 -0
  471. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_config_uncaught_exceptions.hpp +44 -0
  472. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_config_wchar.hpp +33 -0
  473. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_console_colour.cpp +282 -0
  474. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_console_colour.hpp +141 -0
  475. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_console_width.hpp +19 -0
  476. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_container_nonmembers.hpp +73 -0
  477. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_context.cpp +41 -0
  478. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_context.hpp +51 -0
  479. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_debug_console.cpp +45 -0
  480. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_debug_console.hpp +17 -0
  481. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_debugger.cpp +120 -0
  482. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_debugger.hpp +67 -0
  483. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_decomposer.cpp +23 -0
  484. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_decomposer.hpp +340 -0
  485. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_enforce.cpp +41 -0
  486. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_enforce.hpp +54 -0
  487. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_enum_values_registry.cpp +73 -0
  488. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_enum_values_registry.hpp +36 -0
  489. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_errno_guard.cpp +16 -0
  490. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_errno_guard.hpp +27 -0
  491. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_exception_translator_registry.cpp +84 -0
  492. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_exception_translator_registry.hpp +30 -0
  493. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_fatal_condition_handler.cpp +243 -0
  494. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_fatal_condition_handler.hpp +69 -0
  495. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_floating_point_helpers.cpp +32 -0
  496. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_floating_point_helpers.hpp +103 -0
  497. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_getenv.cpp +37 -0
  498. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_getenv.hpp +20 -0
  499. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_is_permutation.hpp +138 -0
  500. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_istream.cpp +159 -0
  501. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_istream.hpp +54 -0
  502. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_lazy_expr.cpp +29 -0
  503. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_lazy_expr.hpp +40 -0
  504. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_leak_detector.cpp +38 -0
  505. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_leak_detector.hpp +19 -0
  506. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_list.cpp +123 -0
  507. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_list.hpp +43 -0
  508. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_logical_traits.hpp +44 -0
  509. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_main.cpp +39 -0
  510. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_message_info.cpp +25 -0
  511. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_message_info.hpp +42 -0
  512. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_meta.hpp +47 -0
  513. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_move_and_forward.hpp +19 -0
  514. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_noncopyable.hpp +28 -0
  515. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_optional.hpp +100 -0
  516. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_output_redirect.cpp +146 -0
  517. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_output_redirect.hpp +118 -0
  518. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_parse_numbers.cpp +52 -0
  519. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_parse_numbers.hpp +26 -0
  520. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_platform.hpp +37 -0
  521. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_polyfills.cpp +34 -0
  522. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_polyfills.hpp +16 -0
  523. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_preprocessor.hpp +237 -0
  524. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_preprocessor_remove_parens.hpp +19 -0
  525. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_random_number_generator.cpp +70 -0
  526. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_random_number_generator.hpp +59 -0
  527. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_random_seed_generation.cpp +34 -0
  528. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_random_seed_generation.hpp +26 -0
  529. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_reporter_registry.cpp +88 -0
  530. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_reporter_registry.hpp +55 -0
  531. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_reporter_spec_parser.cpp +173 -0
  532. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_reporter_spec_parser.hpp +85 -0
  533. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_result_type.cpp +26 -0
  534. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_result_type.hpp +57 -0
  535. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_reusable_string_stream.cpp +62 -0
  536. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_reusable_string_stream.hpp +57 -0
  537. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_run_context.cpp +688 -0
  538. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_run_context.hpp +160 -0
  539. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_section.cpp +60 -0
  540. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_section.hpp +53 -0
  541. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_sharding.hpp +42 -0
  542. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_singletons.cpp +36 -0
  543. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_singletons.hpp +45 -0
  544. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_source_line_info.cpp +33 -0
  545. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_source_line_info.hpp +37 -0
  546. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_startup_exception_registry.cpp +29 -0
  547. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_startup_exception_registry.hpp +29 -0
  548. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_stdstreams.cpp +24 -0
  549. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_stdstreams.hpp +22 -0
  550. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_stream_end_stop.hpp +30 -0
  551. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_string_manip.cpp +104 -0
  552. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_string_manip.hpp +61 -0
  553. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_stringref.cpp +66 -0
  554. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_stringref.hpp +121 -0
  555. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_tag_alias_registry.cpp +55 -0
  556. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_tag_alias_registry.hpp +33 -0
  557. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_template_test_registry.hpp +337 -0
  558. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_test_case_info_hasher.cpp +39 -0
  559. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_test_case_info_hasher.hpp +29 -0
  560. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_test_case_registry_impl.cpp +146 -0
  561. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_test_case_registry_impl.hpp +62 -0
  562. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_test_case_tracker.cpp +239 -0
  563. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_test_case_tracker.hpp +244 -0
  564. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_test_failure_exception.cpp +31 -0
  565. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_test_failure_exception.hpp +34 -0
  566. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_test_macro_impl.hpp +159 -0
  567. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_test_registry.cpp +82 -0
  568. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_test_registry.hpp +132 -0
  569. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_test_run_info.hpp +22 -0
  570. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_test_spec_parser.cpp +239 -0
  571. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_test_spec_parser.hpp +81 -0
  572. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_textflow.cpp +255 -0
  573. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_textflow.hpp +169 -0
  574. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_to_string.hpp +29 -0
  575. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_uncaught_exceptions.cpp +26 -0
  576. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_uncaught_exceptions.hpp +15 -0
  577. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_unique_name.hpp +20 -0
  578. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_unique_ptr.hpp +118 -0
  579. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_void_type.hpp +25 -0
  580. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_wildcard_pattern.cpp +47 -0
  581. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_wildcard_pattern.hpp +38 -0
  582. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_windows_h_proxy.hpp +28 -0
  583. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_xmlwriter.cpp +348 -0
  584. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/internal/catch_xmlwriter.hpp +152 -0
  585. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/matchers/catch_matchers.cpp +25 -0
  586. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/matchers/catch_matchers.hpp +237 -0
  587. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/matchers/catch_matchers_all.hpp +36 -0
  588. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/matchers/catch_matchers_container_properties.cpp +34 -0
  589. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/matchers/catch_matchers_container_properties.hpp +90 -0
  590. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/matchers/catch_matchers_contains.hpp +102 -0
  591. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/matchers/catch_matchers_exception.cpp +26 -0
  592. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/matchers/catch_matchers_exception.hpp +61 -0
  593. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/matchers/catch_matchers_floating_point.cpp +241 -0
  594. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/matchers/catch_matchers_floating_point.hpp +94 -0
  595. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/matchers/catch_matchers_predicate.cpp +17 -0
  596. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/matchers/catch_matchers_predicate.hpp +59 -0
  597. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/matchers/catch_matchers_quantifiers.cpp +24 -0
  598. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/matchers/catch_matchers_quantifiers.hpp +165 -0
  599. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/matchers/catch_matchers_range_equals.hpp +144 -0
  600. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/matchers/catch_matchers_string.cpp +114 -0
  601. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/matchers/catch_matchers_string.hpp +85 -0
  602. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/matchers/catch_matchers_templated.cpp +41 -0
  603. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/matchers/catch_matchers_templated.hpp +296 -0
  604. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/matchers/catch_matchers_vector.hpp +194 -0
  605. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/matchers/internal/catch_matchers_impl.cpp +25 -0
  606. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/matchers/internal/catch_matchers_impl.hpp +83 -0
  607. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/meson.build +368 -0
  608. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_automake.cpp +37 -0
  609. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_automake.hpp +38 -0
  610. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_common_base.cpp +49 -0
  611. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_common_base.hpp +79 -0
  612. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_compact.cpp +254 -0
  613. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_compact.hpp +39 -0
  614. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_console.cpp +656 -0
  615. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_console.hpp +67 -0
  616. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_cumulative_base.cpp +159 -0
  617. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_cumulative_base.hpp +151 -0
  618. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_event_listener.cpp +40 -0
  619. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_event_listener.hpp +60 -0
  620. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_helpers.cpp +343 -0
  621. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_helpers.hpp +95 -0
  622. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_junit.cpp +309 -0
  623. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_junit.hpp +58 -0
  624. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_multi.cpp +197 -0
  625. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_multi.hpp +72 -0
  626. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_registrars.cpp +36 -0
  627. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_registrars.hpp +131 -0
  628. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_sonarqube.cpp +162 -0
  629. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_sonarqube.hpp +61 -0
  630. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_streaming_base.cpp +23 -0
  631. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_streaming_base.hpp +73 -0
  632. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_tap.cpp +229 -0
  633. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_tap.hpp +43 -0
  634. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_teamcity.cpp +177 -0
  635. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_teamcity.hpp +66 -0
  636. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_xml.cpp +336 -0
  637. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporter_xml.hpp +66 -0
  638. package/deps/couchbase-cxx-client/third_party/catch2/src/catch2/reporters/catch_reporters_all.hpp +40 -0
  639. package/deps/couchbase-cxx-client/third_party/catch2/tests/CMakeLists.txt +665 -0
  640. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/CMakeLists.txt +554 -0
  641. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/ToDo.txt +10 -0
  642. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X01-PrefixedMacros.cpp +97 -0
  643. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X02-DisabledMacros.cpp +65 -0
  644. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X03-DisabledExceptions-DefaultHandler.cpp +39 -0
  645. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X04-DisabledExceptions-CustomHandler.cpp +40 -0
  646. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X05-DeferredStaticChecks.cpp +21 -0
  647. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X10-FallbackStringifier.cpp +35 -0
  648. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X11-DisableStringification.cpp +27 -0
  649. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X12-CustomDebugBreakMacro.cpp +26 -0
  650. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X21-PartialTestCaseEvents.cpp +74 -0
  651. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X22-BenchmarksInCumulativeReporter.cpp +79 -0
  652. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X23-CasingInReporterNames.cpp +41 -0
  653. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X24-ListenerStdoutCaptureInMultireporter.cpp +40 -0
  654. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X25-ListenerCanAskForCapturedStdout.cpp +47 -0
  655. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X26-ReporterPreferencesForPassingAssertionsIsRespected.cpp +52 -0
  656. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X27-CapturedStdoutInTestCaseEvents.cpp +82 -0
  657. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X28-ListenersGetEventsBeforeReporters.cpp +99 -0
  658. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X29-CustomArgumentsForReporters.cpp +59 -0
  659. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X30-BazelReporter.cpp +17 -0
  660. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X31-DuplicatedTestCases.cpp +16 -0
  661. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X32-DuplicatedTestCasesDifferentTags.cpp +17 -0
  662. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X33-DuplicatedTestCaseMethods.cpp +22 -0
  663. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X34-DuplicatedTestCaseMethodsDifferentFixtures.cpp +27 -0
  664. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X35-DuplicatedReporterNames.cpp +31 -0
  665. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X90-WindowsHeaderInclusion.cpp +21 -0
  666. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X91-AmalgamatedCatch.cpp +38 -0
  667. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X92-NoTests.cpp +11 -0
  668. package/deps/couchbase-cxx-client/third_party/catch2/tests/ExtraTests/X93-AllSkipped.cpp +16 -0
  669. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/Baselines/automake.sw.approved.txt +420 -0
  670. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/Baselines/automake.sw.multi.approved.txt +409 -0
  671. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/Baselines/compact.sw.approved.txt +2544 -0
  672. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/Baselines/compact.sw.multi.approved.txt +2533 -0
  673. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/Baselines/console.std.approved.txt +1538 -0
  674. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/Baselines/console.sw.approved.txt +18236 -0
  675. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/Baselines/console.sw.multi.approved.txt +18225 -0
  676. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/Baselines/console.swa4.approved.txt +956 -0
  677. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/Baselines/default.sw.multi.approved.txt +11 -0
  678. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/Baselines/junit.sw.approved.txt +2052 -0
  679. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/Baselines/junit.sw.multi.approved.txt +2051 -0
  680. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/Baselines/sonarqube.sw.approved.txt +2071 -0
  681. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/Baselines/sonarqube.sw.multi.approved.txt +2070 -0
  682. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/Baselines/tap.sw.approved.txt +4481 -0
  683. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/Baselines/tap.sw.multi.approved.txt +4470 -0
  684. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/Baselines/teamcity.sw.approved.txt +998 -0
  685. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/Baselines/teamcity.sw.multi.approved.txt +997 -0
  686. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/Baselines/xml.sw.approved.txt +21208 -0
  687. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/Baselines/xml.sw.multi.approved.txt +21207 -0
  688. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/Algorithms.tests.cpp +94 -0
  689. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/Clara.tests.cpp +73 -0
  690. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/CmdLine.tests.cpp +467 -0
  691. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/CmdLineHelpers.tests.cpp +111 -0
  692. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/ColourImpl.tests.cpp +64 -0
  693. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/Details.tests.cpp +131 -0
  694. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/FloatingPoint.tests.cpp +74 -0
  695. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp +546 -0
  696. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/InternalBenchmark.tests.cpp +447 -0
  697. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/Parse.tests.cpp +38 -0
  698. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/PartTracker.tests.cpp +254 -0
  699. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp +62 -0
  700. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/Reporters.tests.cpp +328 -0
  701. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/Sharding.tests.cpp +45 -0
  702. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/Stream.tests.cpp +32 -0
  703. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/String.tests.cpp +212 -0
  704. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/StringManip.tests.cpp +83 -0
  705. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/Tag.tests.cpp +104 -0
  706. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/TestCaseInfoHasher.tests.cpp +72 -0
  707. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/TestSpec.tests.cpp +365 -0
  708. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/TestSpecParser.tests.cpp +55 -0
  709. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp +200 -0
  710. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/ToString.tests.cpp +97 -0
  711. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/Traits.tests.cpp +45 -0
  712. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/UniquePtr.tests.cpp +141 -0
  713. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/IntrospectiveTests/Xml.tests.cpp +183 -0
  714. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/TestRegistrations.cpp +181 -0
  715. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/TimingTests/Sleep.tests.cpp +24 -0
  716. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/Approx.tests.cpp +218 -0
  717. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/BDD.tests.cpp +106 -0
  718. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/Benchmark.tests.cpp +173 -0
  719. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/Class.tests.cpp +133 -0
  720. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/Compilation.tests.cpp +355 -0
  721. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/Condition.tests.cpp +334 -0
  722. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/Decomposition.tests.cpp +41 -0
  723. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/EnumToString.tests.cpp +108 -0
  724. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/Exception.tests.cpp +204 -0
  725. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/Generators.tests.cpp +313 -0
  726. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/Matchers.tests.cpp +1144 -0
  727. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/MatchersRanges.tests.cpp +917 -0
  728. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/Message.tests.cpp +287 -0
  729. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/Misc.tests.cpp +553 -0
  730. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/Skip.tests.cpp +73 -0
  731. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/ToStringByte.tests.cpp +23 -0
  732. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/ToStringChrono.tests.cpp +51 -0
  733. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/ToStringGeneral.tests.cpp +211 -0
  734. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/ToStringOptional.tests.cpp +31 -0
  735. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/ToStringPair.tests.cpp +38 -0
  736. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/ToStringTuple.tests.cpp +54 -0
  737. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/ToStringVariant.tests.cpp +99 -0
  738. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/ToStringVector.tests.cpp +94 -0
  739. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/ToStringWhich.tests.cpp +186 -0
  740. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/Tricky.tests.cpp +380 -0
  741. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/UsageTests/VariadicMacros.tests.cpp +29 -0
  742. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/helpers/parse_test_spec.cpp +22 -0
  743. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/helpers/parse_test_spec.hpp +20 -0
  744. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/helpers/range_test_helpers.hpp +210 -0
  745. package/deps/couchbase-cxx-client/third_party/catch2/tests/SelfTest/helpers/type_with_lit_0_comparisons.hpp +44 -0
  746. package/deps/couchbase-cxx-client/third_party/catch2/tests/TestScripts/ConfigureTestsCommon.py +75 -0
  747. package/deps/couchbase-cxx-client/third_party/catch2/tests/TestScripts/testBazelReporter.py +104 -0
  748. package/deps/couchbase-cxx-client/third_party/catch2/tests/TestScripts/testBazelSharding.py +75 -0
  749. package/deps/couchbase-cxx-client/third_party/catch2/tests/TestScripts/testConfigureDefaultReporter.py +41 -0
  750. package/deps/couchbase-cxx-client/third_party/catch2/tests/TestScripts/testConfigureDisable.py +48 -0
  751. package/deps/couchbase-cxx-client/third_party/catch2/tests/TestScripts/testConfigureDisableStringification.py +44 -0
  752. package/deps/couchbase-cxx-client/third_party/catch2/tests/TestScripts/testConfigureExperimentalRedirect.py +49 -0
  753. package/deps/couchbase-cxx-client/third_party/catch2/tests/TestScripts/testPartialTestCaseEvent.py +79 -0
  754. package/deps/couchbase-cxx-client/third_party/catch2/tests/TestScripts/testRandomOrder.py +77 -0
  755. package/deps/couchbase-cxx-client/third_party/catch2/tests/TestScripts/testSharding.py +165 -0
  756. package/deps/couchbase-cxx-client/third_party/catch2/tests/meson.build +76 -0
  757. package/deps/couchbase-cxx-client/third_party/catch2/tools/misc/appveyorBuildConfigurationScript.bat +21 -0
  758. package/deps/couchbase-cxx-client/third_party/catch2/tools/misc/appveyorMergeCoverageScript.py +9 -0
  759. package/deps/couchbase-cxx-client/third_party/catch2/tools/misc/appveyorTestRunScript.bat +17 -0
  760. package/deps/couchbase-cxx-client/third_party/catch2/tools/misc/coverage-helper.cpp +142 -0
  761. package/deps/couchbase-cxx-client/third_party/catch2/tools/misc/installOpenCppCoverage.ps1 +19 -0
  762. package/deps/couchbase-cxx-client/third_party/catch2/tools/scripts/approvalTests.py +243 -0
  763. package/deps/couchbase-cxx-client/third_party/catch2/tools/scripts/approve.py +31 -0
  764. package/deps/couchbase-cxx-client/third_party/catch2/tools/scripts/buildAndTest.cmd +17 -0
  765. package/deps/couchbase-cxx-client/third_party/catch2/tools/scripts/buildAndTest.sh +19 -0
  766. package/deps/couchbase-cxx-client/third_party/catch2/tools/scripts/checkConvenienceHeaders.py +151 -0
  767. package/deps/couchbase-cxx-client/third_party/catch2/tools/scripts/checkDuplicateFilenames.py +14 -0
  768. package/deps/couchbase-cxx-client/third_party/catch2/tools/scripts/checkLicense.py +45 -0
  769. package/deps/couchbase-cxx-client/third_party/catch2/tools/scripts/developBuild.py +9 -0
  770. package/deps/couchbase-cxx-client/third_party/catch2/tools/scripts/extractFeaturesFromReleaseNotes.py +92 -0
  771. package/deps/couchbase-cxx-client/third_party/catch2/tools/scripts/fixWhitespace.py +51 -0
  772. package/deps/couchbase-cxx-client/third_party/catch2/tools/scripts/generateAmalgamatedFiles.py +129 -0
  773. package/deps/couchbase-cxx-client/third_party/catch2/tools/scripts/majorRelease.py +9 -0
  774. package/deps/couchbase-cxx-client/third_party/catch2/tools/scripts/minorRelease.py +9 -0
  775. package/deps/couchbase-cxx-client/third_party/catch2/tools/scripts/patchRelease.py +9 -0
  776. package/deps/couchbase-cxx-client/third_party/catch2/tools/scripts/releaseCommon.py +143 -0
  777. package/deps/couchbase-cxx-client/third_party/catch2/tools/scripts/scriptCommon.py +4 -0
  778. package/deps/couchbase-cxx-client/third_party/catch2/tools/scripts/updateDocumentSnippets.py +23 -0
  779. package/deps/couchbase-cxx-client/third_party/catch2/tools/scripts/updateDocumentToC.py +447 -0
  780. package/deps/couchbase-cxx-client/third_party/docopt/.travis.yml +103 -0
  781. package/deps/couchbase-cxx-client/third_party/docopt/CMakeLists.txt +129 -0
  782. package/deps/couchbase-cxx-client/third_party/docopt/LICENSE-Boost-1.0 +23 -0
  783. package/deps/couchbase-cxx-client/third_party/docopt/LICENSE-MIT +23 -0
  784. package/deps/couchbase-cxx-client/third_party/docopt/README.rst +479 -0
  785. package/deps/couchbase-cxx-client/third_party/docopt/docopt-config.cmake +1 -0
  786. package/deps/couchbase-cxx-client/third_party/docopt/docopt.cpp +687 -0
  787. package/deps/couchbase-cxx-client/third_party/docopt/docopt.h +98 -0
  788. package/deps/couchbase-cxx-client/third_party/docopt/docopt.pc.in +9 -0
  789. package/deps/couchbase-cxx-client/third_party/docopt/docopt_private.h +676 -0
  790. package/deps/couchbase-cxx-client/third_party/docopt/docopt_util.h +122 -0
  791. package/deps/couchbase-cxx-client/third_party/docopt/docopt_value.h +341 -0
  792. package/deps/couchbase-cxx-client/third_party/docopt/examples/naval_fate.cpp +36 -0
  793. package/deps/couchbase-cxx-client/third_party/docopt/main.cpp +16 -0
  794. package/deps/couchbase-cxx-client/third_party/docopt/run_testcase.cpp +40 -0
  795. package/deps/couchbase-cxx-client/third_party/docopt/run_tests.py +72 -0
  796. package/deps/couchbase-cxx-client/third_party/docopt/testcases.docopt +957 -0
  797. package/deps/couchbase-cxx-client/third_party/snappy/.github/workflows/build.yml +135 -0
  798. package/deps/couchbase-cxx-client/third_party/snappy/.gitmodules +6 -0
  799. package/deps/couchbase-cxx-client/third_party/snappy/CMakeLists.txt +150 -27
  800. package/deps/couchbase-cxx-client/third_party/snappy/CONTRIBUTING.md +9 -4
  801. package/deps/couchbase-cxx-client/third_party/snappy/NEWS +12 -0
  802. package/deps/couchbase-cxx-client/third_party/snappy/README.md +52 -35
  803. package/deps/couchbase-cxx-client/third_party/snappy/cmake/config.h.in +28 -24
  804. package/deps/couchbase-cxx-client/third_party/snappy/snappy-internal.h +189 -25
  805. package/deps/couchbase-cxx-client/third_party/snappy/snappy-sinksource.cc +26 -9
  806. package/deps/couchbase-cxx-client/third_party/snappy/snappy-sinksource.h +11 -11
  807. package/deps/couchbase-cxx-client/third_party/snappy/snappy-stubs-internal.cc +1 -1
  808. package/deps/couchbase-cxx-client/third_party/snappy/snappy-stubs-internal.h +227 -308
  809. package/deps/couchbase-cxx-client/third_party/snappy/snappy-stubs-public.h.in +0 -11
  810. package/deps/couchbase-cxx-client/third_party/snappy/snappy-test.cc +88 -198
  811. package/deps/couchbase-cxx-client/third_party/snappy/snappy-test.h +102 -285
  812. package/deps/couchbase-cxx-client/third_party/snappy/snappy.cc +1176 -410
  813. package/deps/couchbase-cxx-client/third_party/snappy/snappy.h +19 -4
  814. package/deps/couchbase-cxx-client/third_party/snappy/snappy_benchmark.cc +378 -0
  815. package/deps/couchbase-cxx-client/third_party/snappy/snappy_compress_fuzzer.cc +3 -2
  816. package/deps/couchbase-cxx-client/third_party/snappy/snappy_test_data.cc +57 -0
  817. package/deps/couchbase-cxx-client/third_party/snappy/snappy_test_data.h +68 -0
  818. package/deps/couchbase-cxx-client/third_party/snappy/snappy_test_tool.cc +471 -0
  819. package/deps/couchbase-cxx-client/third_party/snappy/snappy_uncompress_fuzzer.cc +3 -2
  820. package/deps/couchbase-cxx-client/third_party/snappy/snappy_unittest.cc +170 -666
  821. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/.github/ISSUE_TEMPLATE/bug_report.md +32 -0
  822. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  823. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/.github/workflows/build-and-test.yml +38 -0
  824. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/.github/workflows/pylint.yml +26 -0
  825. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/.github/workflows/test_bindings.yml +24 -0
  826. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/.travis-libcxx-setup.sh +28 -0
  827. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/.travis.yml +231 -0
  828. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/.ycm_extra_conf.py +115 -0
  829. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/AUTHORS +58 -0
  830. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/BUILD.bazel +44 -0
  831. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/CMakeLists.txt +287 -0
  832. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/CONTRIBUTING.md +58 -0
  833. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/CONTRIBUTORS +83 -0
  834. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/LICENSE +202 -0
  835. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/README.md +1323 -0
  836. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/WORKSPACE +51 -0
  837. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/_config.yml +1 -0
  838. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/appveyor.yml +50 -0
  839. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/bindings/python/BUILD +3 -0
  840. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/bindings/python/build_defs.bzl +25 -0
  841. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/bindings/python/google_benchmark/BUILD +38 -0
  842. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/bindings/python/google_benchmark/__init__.py +156 -0
  843. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/bindings/python/google_benchmark/benchmark.cc +180 -0
  844. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/bindings/python/google_benchmark/example.py +136 -0
  845. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/bindings/python/pybind11.BUILD +20 -0
  846. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/bindings/python/python_headers.BUILD +6 -0
  847. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/bindings/python/requirements.txt +2 -0
  848. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/cmake/AddCXXCompilerFlag.cmake +74 -0
  849. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/cmake/CXXFeatureCheck.cmake +69 -0
  850. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/cmake/Config.cmake.in +1 -0
  851. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/cmake/GetGitVersion.cmake +54 -0
  852. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/cmake/GoogleTest.cmake +41 -0
  853. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/cmake/GoogleTest.cmake.in +58 -0
  854. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/cmake/benchmark.pc.in +12 -0
  855. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/cmake/gnu_posix_regex.cpp +12 -0
  856. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/cmake/llvm-toolchain.cmake +8 -0
  857. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/cmake/posix_regex.cpp +14 -0
  858. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/cmake/split_list.cmake +3 -0
  859. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/cmake/std_regex.cpp +10 -0
  860. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/cmake/steady_clock.cpp +7 -0
  861. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/cmake/thread_safety_attributes.cpp +4 -0
  862. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/conan/CMakeLists.txt +7 -0
  863. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/conan/test_package/CMakeLists.txt +10 -0
  864. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/conan/test_package/conanfile.py +19 -0
  865. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/conan/test_package/test_package.cpp +18 -0
  866. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/conanfile.py +79 -0
  867. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/dependencies.md +18 -0
  868. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/docs/AssemblyTests.md +147 -0
  869. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/docs/_config.yml +1 -0
  870. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/docs/releasing.md +16 -0
  871. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/docs/tools.md +203 -0
  872. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/include/benchmark/benchmark.h +1604 -0
  873. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/requirements.txt +2 -0
  874. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/setup.py +140 -0
  875. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/CMakeLists.txt +114 -0
  876. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/arraysize.h +33 -0
  877. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/benchmark.cc +499 -0
  878. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/benchmark_api_internal.cc +15 -0
  879. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/benchmark_api_internal.h +53 -0
  880. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/benchmark_main.cc +17 -0
  881. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/benchmark_name.cc +58 -0
  882. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/benchmark_register.cc +515 -0
  883. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/benchmark_register.h +108 -0
  884. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/benchmark_runner.cc +362 -0
  885. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/benchmark_runner.h +51 -0
  886. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/check.h +82 -0
  887. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/colorprint.cc +188 -0
  888. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/colorprint.h +33 -0
  889. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/commandlineflags.cc +228 -0
  890. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/commandlineflags.h +103 -0
  891. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/complexity.cc +238 -0
  892. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/complexity.h +55 -0
  893. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/console_reporter.cc +177 -0
  894. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/counter.cc +80 -0
  895. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/counter.h +32 -0
  896. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/csv_reporter.cc +154 -0
  897. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/cycleclock.h +211 -0
  898. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/internal_macros.h +102 -0
  899. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/json_reporter.cc +255 -0
  900. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/log.h +74 -0
  901. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/mutex.h +155 -0
  902. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/re.h +158 -0
  903. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/reporter.cc +105 -0
  904. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/sleep.cc +67 -0
  905. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/sleep.h +15 -0
  906. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/statistics.cc +193 -0
  907. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/statistics.h +37 -0
  908. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/string_util.cc +255 -0
  909. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/string_util.h +59 -0
  910. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/sysinfo.cc +716 -0
  911. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/thread_manager.h +64 -0
  912. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/thread_timer.h +86 -0
  913. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/timers.cc +245 -0
  914. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/src/timers.h +48 -0
  915. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/AssemblyTests.cmake +46 -0
  916. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/BUILD +73 -0
  917. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/CMakeLists.txt +263 -0
  918. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/args_product_test.cc +77 -0
  919. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/basic_test.cc +136 -0
  920. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/benchmark_gtest.cc +134 -0
  921. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/benchmark_name_gtest.cc +74 -0
  922. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/benchmark_test.cc +245 -0
  923. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/clobber_memory_assembly_test.cc +64 -0
  924. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/commandlineflags_gtest.cc +201 -0
  925. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/complexity_test.cc +213 -0
  926. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/cxx03_test.cc +63 -0
  927. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/diagnostics_test.cc +80 -0
  928. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/display_aggregates_only_test.cc +43 -0
  929. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/donotoptimize_assembly_test.cc +163 -0
  930. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/donotoptimize_test.cc +52 -0
  931. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/filter_test.cc +104 -0
  932. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/fixture_test.cc +51 -0
  933. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/internal_threading_test.cc +184 -0
  934. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/link_main_test.cc +8 -0
  935. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/map_test.cc +57 -0
  936. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/memory_manager_test.cc +44 -0
  937. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/multiple_ranges_test.cc +96 -0
  938. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/options_test.cc +75 -0
  939. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/output_test.h +213 -0
  940. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/output_test_helper.cc +515 -0
  941. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/register_benchmark_test.cc +184 -0
  942. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/report_aggregates_only_test.cc +39 -0
  943. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/reporter_output_test.cc +747 -0
  944. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/skip_with_error_test.cc +195 -0
  945. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/state_assembly_test.cc +68 -0
  946. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/statistics_gtest.cc +28 -0
  947. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/string_util_gtest.cc +153 -0
  948. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/templated_fixture_test.cc +28 -0
  949. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/user_counters_tabular_test.cc +285 -0
  950. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/user_counters_test.cc +531 -0
  951. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/test/user_counters_thousands_test.cc +173 -0
  952. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/tools/BUILD.bazel +19 -0
  953. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/tools/compare.py +429 -0
  954. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/tools/gbench/Inputs/test1_run1.json +119 -0
  955. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/tools/gbench/Inputs/test1_run2.json +119 -0
  956. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/tools/gbench/Inputs/test2_run.json +81 -0
  957. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/tools/gbench/Inputs/test3_run0.json +65 -0
  958. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/tools/gbench/Inputs/test3_run1.json +65 -0
  959. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/tools/gbench/__init__.py +8 -0
  960. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/tools/gbench/report.py +903 -0
  961. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/tools/gbench/util.py +163 -0
  962. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/tools/requirements.txt +1 -0
  963. package/deps/couchbase-cxx-client/third_party/snappy/third_party/benchmark/tools/strip_asm.py +151 -0
  964. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/.travis.yml +65 -0
  965. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/BUILD.bazel +182 -0
  966. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/CMakeLists.txt +32 -0
  967. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/CONTRIBUTING.md +142 -0
  968. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/LICENSE +28 -0
  969. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/README.md +135 -0
  970. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/WORKSPACE +30 -0
  971. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/appveyor.yml +156 -0
  972. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/ci/build-linux-bazel.sh +36 -0
  973. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/ci/build-platformio.sh +2 -0
  974. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/ci/env-linux.sh +41 -0
  975. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/ci/env-osx.sh +41 -0
  976. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/ci/get-nprocessors.sh +48 -0
  977. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/ci/install-linux.sh +49 -0
  978. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/ci/install-osx.sh +39 -0
  979. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/ci/install-platformio.sh +5 -0
  980. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/ci/log-config.sh +47 -0
  981. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/ci/travis.sh +29 -0
  982. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/CMakeLists.txt +219 -0
  983. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/CONTRIBUTORS +40 -0
  984. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/LICENSE +28 -0
  985. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/README.md +44 -0
  986. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/cmake/gmock.pc.in +10 -0
  987. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/cmake/gmock_main.pc.in +10 -0
  988. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/docs/cheat_sheet.md +786 -0
  989. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/docs/community_created_documentation.md +9 -0
  990. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/docs/cook_book.md +4276 -0
  991. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/docs/for_dummies.md +702 -0
  992. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/docs/gmock_faq.md +398 -0
  993. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/docs/pump_manual.md +189 -0
  994. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/include/gmock/gmock-actions.h +1688 -0
  995. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/include/gmock/gmock-cardinalities.h +157 -0
  996. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/include/gmock/gmock-function-mocker.h +479 -0
  997. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/include/gmock/gmock-generated-actions.h +577 -0
  998. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/include/gmock/gmock-generated-actions.h.pump +390 -0
  999. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/include/gmock/gmock-matchers.h +5394 -0
  1000. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/include/gmock/gmock-more-matchers.h +92 -0
  1001. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/include/gmock/gmock-nice-strict.h +230 -0
  1002. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/include/gmock/gmock-spec-builders.h +2030 -0
  1003. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/include/gmock/gmock.h +98 -0
  1004. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/include/gmock/internal/custom/README.md +16 -0
  1005. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h +10 -0
  1006. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h.pump +12 -0
  1007. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/include/gmock/internal/custom/gmock-matchers.h +36 -0
  1008. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/include/gmock/internal/custom/gmock-port.h +39 -0
  1009. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h +459 -0
  1010. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/include/gmock/internal/gmock-port.h +87 -0
  1011. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/include/gmock/internal/gmock-pp.h +279 -0
  1012. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/scripts/README.md +5 -0
  1013. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/scripts/fuse_gmock_files.py +257 -0
  1014. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/scripts/generator/LICENSE +203 -0
  1015. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/scripts/generator/README +34 -0
  1016. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/scripts/generator/README.cppclean +115 -0
  1017. package/deps/couchbase-cxx-client/{core/CMakeLists.txt → third_party/snappy/third_party/googletest/googlemock/scripts/generator/cpp/__init__.py} +0 -0
  1018. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/scripts/generator/cpp/ast.py +1772 -0
  1019. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/scripts/generator/cpp/gmock_class.py +245 -0
  1020. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/scripts/generator/cpp/gmock_class_test.py +552 -0
  1021. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/scripts/generator/cpp/keywords.py +56 -0
  1022. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/scripts/generator/cpp/tokenize.py +284 -0
  1023. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/scripts/generator/cpp/utils.py +37 -0
  1024. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/scripts/generator/gmock_gen.py +30 -0
  1025. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/scripts/pump.py +856 -0
  1026. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/src/gmock-all.cc +46 -0
  1027. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/src/gmock-cardinalities.cc +155 -0
  1028. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/src/gmock-internal-utils.cc +200 -0
  1029. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/src/gmock-matchers.cc +459 -0
  1030. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/src/gmock-spec-builders.cc +908 -0
  1031. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/src/gmock.cc +213 -0
  1032. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/src/gmock_main.cc +72 -0
  1033. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/BUILD.bazel +111 -0
  1034. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock-actions_test.cc +1583 -0
  1035. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock-cardinalities_test.cc +429 -0
  1036. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock-function-mocker_nc.cc +16 -0
  1037. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock-function-mocker_nc_test.py +43 -0
  1038. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock-function-mocker_test.cc +974 -0
  1039. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock-generated-actions_test.cc +1036 -0
  1040. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock-internal-utils_test.cc +720 -0
  1041. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock-matchers_test.cc +8562 -0
  1042. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock-more-actions_test.cc +725 -0
  1043. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock-nice-strict_test.cc +500 -0
  1044. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock-port_test.cc +42 -0
  1045. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock-pp-string_test.cc +206 -0
  1046. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock-pp_test.cc +83 -0
  1047. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock-spec-builders_test.cc +2775 -0
  1048. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock_all_test.cc +47 -0
  1049. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock_ex_test.cc +80 -0
  1050. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock_leak_test.py +104 -0
  1051. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock_leak_test_.cc +99 -0
  1052. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock_link2_test.cc +39 -0
  1053. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock_link_test.cc +39 -0
  1054. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock_link_test.h +690 -0
  1055. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock_output_test.py +183 -0
  1056. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock_output_test_.cc +309 -0
  1057. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock_output_test_golden.txt +317 -0
  1058. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock_stress_test.cc +240 -0
  1059. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock_test.cc +181 -0
  1060. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/gmock_test_utils.py +108 -0
  1061. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googlemock/test/pump_test.py +182 -0
  1062. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/CMakeLists.txt +320 -0
  1063. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/CONTRIBUTORS +38 -0
  1064. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/LICENSE +28 -0
  1065. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/README.md +262 -0
  1066. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/cmake/Config.cmake.in +9 -0
  1067. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/cmake/gtest.pc.in +9 -0
  1068. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/cmake/gtest_main.pc.in +10 -0
  1069. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/cmake/internal_utils.cmake +341 -0
  1070. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/cmake/libgtest.la.in +21 -0
  1071. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/docs/advanced.md +2640 -0
  1072. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/docs/faq.md +771 -0
  1073. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/docs/pkgconfig.md +150 -0
  1074. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/docs/primer.md +583 -0
  1075. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/docs/samples.md +22 -0
  1076. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/gtest-death-test.h +342 -0
  1077. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/gtest-matchers.h +756 -0
  1078. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/gtest-message.h +219 -0
  1079. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/gtest-param-test.h +512 -0
  1080. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/gtest-printers.h +903 -0
  1081. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/gtest-spi.h +238 -0
  1082. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/gtest-test-part.h +184 -0
  1083. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/gtest-typed-test.h +337 -0
  1084. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/gtest.h +2491 -0
  1085. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/gtest_pred_impl.h +359 -0
  1086. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/gtest_prod.h +61 -0
  1087. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/internal/custom/README.md +56 -0
  1088. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/internal/custom/gtest-port.h +37 -0
  1089. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/internal/custom/gtest-printers.h +42 -0
  1090. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/internal/custom/gtest.h +37 -0
  1091. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/internal/gtest-death-test-internal.h +304 -0
  1092. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/internal/gtest-filepath.h +211 -0
  1093. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/internal/gtest-internal.h +1564 -0
  1094. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/internal/gtest-param-util.h +947 -0
  1095. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/internal/gtest-port-arch.h +112 -0
  1096. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/internal/gtest-port.h +2371 -0
  1097. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/internal/gtest-string.h +175 -0
  1098. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/include/gtest/internal/gtest-type-util.h +187 -0
  1099. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/samples/prime_tables.h +126 -0
  1100. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/samples/sample1.cc +66 -0
  1101. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/samples/sample1.h +41 -0
  1102. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/samples/sample10_unittest.cc +139 -0
  1103. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/samples/sample1_unittest.cc +151 -0
  1104. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/samples/sample2.cc +54 -0
  1105. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/samples/sample2.h +81 -0
  1106. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/samples/sample2_unittest.cc +107 -0
  1107. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/samples/sample3-inl.h +172 -0
  1108. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/samples/sample3_unittest.cc +149 -0
  1109. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/samples/sample4.cc +54 -0
  1110. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/samples/sample4.h +53 -0
  1111. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/samples/sample4_unittest.cc +53 -0
  1112. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/samples/sample5_unittest.cc +196 -0
  1113. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/samples/sample6_unittest.cc +224 -0
  1114. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/samples/sample7_unittest.cc +117 -0
  1115. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/samples/sample8_unittest.cc +154 -0
  1116. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/samples/sample9_unittest.cc +156 -0
  1117. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/scripts/README.md +5 -0
  1118. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/scripts/common.py +83 -0
  1119. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/scripts/fuse_gtest_files.py +253 -0
  1120. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/scripts/gen_gtest_pred_impl.py +733 -0
  1121. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/scripts/gtest-config.in +274 -0
  1122. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/scripts/release_docs.py +158 -0
  1123. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/scripts/run_with_path.py +32 -0
  1124. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/scripts/upload.py +1402 -0
  1125. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/scripts/upload_gtest.py +78 -0
  1126. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/src/gtest-all.cc +48 -0
  1127. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/src/gtest-death-test.cc +1644 -0
  1128. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/src/gtest-filepath.cc +368 -0
  1129. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/src/gtest-internal-inl.h +1228 -0
  1130. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/src/gtest-matchers.cc +97 -0
  1131. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/src/gtest-port.cc +1404 -0
  1132. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/src/gtest-printers.cc +444 -0
  1133. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/src/gtest-test-part.cc +108 -0
  1134. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/src/gtest-typed-test.cc +111 -0
  1135. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/src/gtest.cc +6606 -0
  1136. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/src/gtest_main.cc +54 -0
  1137. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/BUILD.bazel +562 -0
  1138. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-break-on-failure-unittest.py +208 -0
  1139. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-break-on-failure-unittest_.cc +86 -0
  1140. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-catch-exceptions-test.py +236 -0
  1141. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-catch-exceptions-test_.cc +293 -0
  1142. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-color-test.py +127 -0
  1143. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-color-test_.cc +62 -0
  1144. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-death-test-test.cc +1542 -0
  1145. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-death-test_ex_test.cc +92 -0
  1146. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-env-var-test.py +120 -0
  1147. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-env-var-test_.cc +132 -0
  1148. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-failfast-unittest.py +410 -0
  1149. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-failfast-unittest_.cc +167 -0
  1150. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-filepath-test.cc +649 -0
  1151. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-filter-unittest.py +639 -0
  1152. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-filter-unittest_.cc +137 -0
  1153. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-json-outfiles-test.py +191 -0
  1154. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-json-output-unittest.py +804 -0
  1155. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-list-tests-unittest.py +205 -0
  1156. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-list-tests-unittest_.cc +156 -0
  1157. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-listener-test.cc +518 -0
  1158. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-message-test.cc +158 -0
  1159. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-options-test.cc +216 -0
  1160. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-output-test-golden-lin.txt +1180 -0
  1161. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-output-test.py +346 -0
  1162. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-output-test_.cc +1126 -0
  1163. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-param-test-invalid-name1-test.py +63 -0
  1164. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-param-test-invalid-name1-test_.cc +50 -0
  1165. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-param-test-invalid-name2-test.py +62 -0
  1166. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-param-test-invalid-name2-test_.cc +55 -0
  1167. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-param-test-test.cc +1119 -0
  1168. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-param-test-test.h +51 -0
  1169. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-param-test2-test.cc +61 -0
  1170. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-port-test.cc +1280 -0
  1171. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-printers-test.cc +1847 -0
  1172. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-setuptestsuite-test.py +54 -0
  1173. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-setuptestsuite-test_.cc +49 -0
  1174. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-shuffle-test.py +323 -0
  1175. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-shuffle-test_.cc +101 -0
  1176. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-test-part-test.cc +230 -0
  1177. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-throw-on-failure-test.py +168 -0
  1178. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-throw-on-failure-test_.cc +71 -0
  1179. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-uninitialized-test.py +67 -0
  1180. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/googletest-uninitialized-test_.cc +42 -0
  1181. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest-typed-test2_test.cc +44 -0
  1182. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest-typed-test_test.cc +462 -0
  1183. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest-typed-test_test.h +65 -0
  1184. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest-unittest-api_test.cc +341 -0
  1185. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_all_test.cc +46 -0
  1186. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_assert_by_exception_test.cc +116 -0
  1187. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_environment_test.cc +188 -0
  1188. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_help_test.py +171 -0
  1189. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_help_test_.cc +45 -0
  1190. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_json_test_utils.py +60 -0
  1191. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_list_output_unittest.py +286 -0
  1192. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_list_output_unittest_.cc +81 -0
  1193. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_main_unittest.cc +44 -0
  1194. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_no_test_unittest.cc +54 -0
  1195. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_pred_impl_unittest.cc +2422 -0
  1196. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_premature_exit_test.cc +126 -0
  1197. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_prod_test.cc +56 -0
  1198. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_repeat_test.cc +233 -0
  1199. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_skip_check_output_test.py +59 -0
  1200. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_skip_environment_check_output_test.py +54 -0
  1201. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_skip_in_environment_setup_test.cc +49 -0
  1202. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_skip_test.cc +55 -0
  1203. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_sole_header_test.cc +56 -0
  1204. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_stress_test.cc +248 -0
  1205. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_test_macro_stack_footprint_test.cc +89 -0
  1206. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_test_utils.py +312 -0
  1207. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_testbridge_test.py +63 -0
  1208. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_testbridge_test_.cc +43 -0
  1209. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_throw_on_failure_ex_test.cc +90 -0
  1210. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_unittest.cc +7792 -0
  1211. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_xml_outfile1_test_.cc +43 -0
  1212. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_xml_outfile2_test_.cc +43 -0
  1213. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_xml_outfiles_test.py +135 -0
  1214. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_xml_output_unittest.py +405 -0
  1215. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_xml_output_unittest_.cc +197 -0
  1216. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/gtest_xml_test_utils.py +197 -0
  1217. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/production.cc +35 -0
  1218. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/googletest/test/production.h +54 -0
  1219. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/library.json +62 -0
  1220. package/deps/couchbase-cxx-client/third_party/snappy/third_party/googletest/platformio.ini +47 -0
  1221. package/deps/couchbase-cxx-client/tools/CMakeLists.txt +16 -0
  1222. package/deps/couchbase-cxx-client/tools/analytics.cxx +375 -0
  1223. package/deps/couchbase-cxx-client/tools/analytics.hxx +26 -0
  1224. package/deps/couchbase-cxx-client/tools/cbc.cxx +72 -0
  1225. package/deps/couchbase-cxx-client/tools/command.hxx +31 -0
  1226. package/deps/couchbase-cxx-client/tools/command_registry.cxx +47 -0
  1227. package/deps/couchbase-cxx-client/tools/command_registry.hxx +39 -0
  1228. package/deps/couchbase-cxx-client/tools/get.cxx +263 -0
  1229. package/deps/couchbase-cxx-client/tools/get.hxx +26 -0
  1230. package/deps/couchbase-cxx-client/tools/pillowfight.cxx +396 -0
  1231. package/deps/couchbase-cxx-client/tools/pillowfight.hxx +26 -0
  1232. package/deps/couchbase-cxx-client/tools/query.cxx +437 -0
  1233. package/deps/couchbase-cxx-client/tools/query.hxx +26 -0
  1234. package/deps/couchbase-cxx-client/tools/utils.cxx +432 -0
  1235. package/deps/couchbase-cxx-client/tools/utils.hxx +153 -0
  1236. package/deps/couchbase-cxx-client/tools/version.cxx +82 -0
  1237. package/deps/couchbase-cxx-client/tools/version.hxx +26 -0
  1238. package/dist/authenticators.d.ts +3 -3
  1239. package/dist/authenticators.js +1 -2
  1240. package/dist/binding.d.ts +56 -25
  1241. package/dist/bindingutilities.d.ts +6 -2
  1242. package/dist/bindingutilities.js +39 -7
  1243. package/dist/cluster.d.ts +27 -0
  1244. package/dist/cluster.js +102 -63
  1245. package/dist/collection.d.ts +6 -0
  1246. package/dist/collection.js +14 -6
  1247. package/dist/configProfile.js +16 -10
  1248. package/dist/couchbase.d.ts +1 -0
  1249. package/dist/couchbase.js +2 -1
  1250. package/dist/errors.d.ts +2 -2
  1251. package/dist/errors.js +4 -4
  1252. package/dist/queryexecutor.js +1 -1
  1253. package/dist/queryindexmanager.d.ts +100 -4
  1254. package/dist/queryindexmanager.js +344 -118
  1255. package/dist/scope.js +6 -6
  1256. package/dist/sdspecs.js +11 -11
  1257. package/dist/searchquery.d.ts +1 -1
  1258. package/dist/streamablepromises.d.ts +1 -1
  1259. package/dist/transactions.js +5 -3
  1260. package/dist/usermanager.js +9 -9
  1261. package/dist/viewindexmanager.js +8 -8
  1262. package/package.json +1 -1
  1263. package/src/binding.cpp +2 -0
  1264. package/src/connection.cpp +2 -0
  1265. package/src/connection.hpp +1 -0
  1266. package/src/connection_autogen.cpp +16 -0
  1267. package/src/jstocbpp_autogen.hpp +93 -27
  1268. package/src/jstocbpp_basic.hpp +32 -2
  1269. package/src/jstocbpp_errors.hpp +35 -0
  1270. package/src/jstocbpp_transactions.hpp +61 -17
  1271. package/src/transaction.cpp +1 -1
  1272. package/tools/gen-bindings-js.js +1 -0
  1273. package/tools/gen-bindings-json.py +4 -2
  1274. package/deps/couchbase-cxx-client/core/config_profile.cxx +0 -25
  1275. package/deps/couchbase-cxx-client/core/management/query_index.hxx +0 -39
  1276. package/deps/couchbase-cxx-client/core/transactions/logging.cxx +0 -107
  1277. package/deps/couchbase-cxx-client/test/test_transaction_transaction_context.cxx +0 -550
  1278. package/deps/couchbase-cxx-client/test/test_transaction_transaction_public_async_api.cxx +0 -392
  1279. package/deps/couchbase-cxx-client/test/test_transaction_transaction_public_blocking_api.cxx +0 -628
  1280. package/deps/couchbase-cxx-client/test/test_transaction_transaction_simple.cxx +0 -899
  1281. package/deps/couchbase-cxx-client/test/test_transaction_transaction_simple_async.cxx +0 -972
  1282. package/deps/couchbase-cxx-client/test/tools/CMakeLists.txt +0 -10
  1283. package/deps/couchbase-cxx-client/test/tools/tool_kv_loader.cxx +0 -349
  1284. package/deps/couchbase-cxx-client/test/utils/uniq_id.cxx +0 -29
  1285. package/deps/couchbase-cxx-client/test/utils/uniq_id.hxx +0 -26
  1286. package/deps/couchbase-cxx-client/third_party/catch2/.travis.yml +0 -335
  1287. package/deps/couchbase-cxx-client/third_party/catch2/CMake/MiscFunctions.cmake +0 -26
  1288. package/deps/couchbase-cxx-client/third_party/catch2/WORKSPACE +0 -0
  1289. package/deps/couchbase-cxx-client/third_party/catch2/contrib/Catch.cmake +0 -206
  1290. package/deps/couchbase-cxx-client/third_party/catch2/contrib/CatchAddTests.cmake +0 -135
  1291. package/deps/couchbase-cxx-client/third_party/catch2/docs/slow-compiles.md +0 -106
  1292. package/deps/couchbase-cxx-client/third_party/catch2/examples/000-CatchMain.cpp +0 -15
  1293. package/deps/couchbase-cxx-client/third_party/catch2/examples/200-Rpt-CatchMain.cpp +0 -27
  1294. package/deps/couchbase-cxx-client/third_party/catch2/examples/207-Rpt-TeamCityReporter.cpp +0 -171
  1295. package/deps/couchbase-cxx-client/third_party/catch2/include/catch.hpp +0 -496
  1296. package/deps/couchbase-cxx-client/third_party/catch2/include/catch_with_main.hpp +0 -14
  1297. package/deps/couchbase-cxx-client/third_party/catch2/include/external/clara.hpp +0 -1268
  1298. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/benchmark/catch_benchmark.hpp +0 -122
  1299. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/benchmark/catch_benchmarking_all.hpp +0 -29
  1300. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/benchmark/catch_chronometer.hpp +0 -71
  1301. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/benchmark/catch_clock.hpp +0 -40
  1302. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/benchmark/catch_constructor.hpp +0 -79
  1303. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/benchmark/catch_environment.hpp +0 -38
  1304. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/benchmark/catch_estimate.hpp +0 -31
  1305. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/benchmark/catch_execution_plan.hpp +0 -59
  1306. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/benchmark/catch_optimizer.hpp +0 -68
  1307. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/benchmark/catch_outlier_classification.hpp +0 -29
  1308. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/benchmark/catch_sample_analysis.hpp +0 -50
  1309. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/benchmark/detail/catch_analyse.hpp +0 -78
  1310. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/benchmark/detail/catch_benchmark_function.hpp +0 -105
  1311. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/benchmark/detail/catch_complete_invoke.hpp +0 -68
  1312. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/benchmark/detail/catch_estimate_clock.hpp +0 -115
  1313. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/benchmark/detail/catch_measure.hpp +0 -35
  1314. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/benchmark/detail/catch_repeat.hpp +0 -37
  1315. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/benchmark/detail/catch_run_for_at_least.hpp +0 -65
  1316. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/benchmark/detail/catch_stats.cpp +0 -224
  1317. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/benchmark/detail/catch_stats.hpp +0 -160
  1318. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/benchmark/detail/catch_timing.hpp +0 -33
  1319. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_approx.cpp +0 -88
  1320. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_approx.h +0 -132
  1321. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_assertionhandler.cpp +0 -122
  1322. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_assertionhandler.h +0 -88
  1323. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_assertioninfo.h +0 -31
  1324. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_assertionresult.cpp +0 -104
  1325. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_assertionresult.h +0 -59
  1326. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_capture.hpp +0 -159
  1327. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_capture_matchers.cpp +0 -24
  1328. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_capture_matchers.h +0 -88
  1329. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_clara.h +0 -38
  1330. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_commandline.cpp +0 -230
  1331. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_commandline.h +0 -20
  1332. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_common.cpp +0 -43
  1333. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_common.h +0 -92
  1334. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_compiler_capabilities.h +0 -377
  1335. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_config.cpp +0 -86
  1336. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_config.hpp +0 -133
  1337. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_config_uncaught_exceptions.hpp +0 -44
  1338. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_console_colour.cpp +0 -243
  1339. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_console_colour.h +0 -69
  1340. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_context.cpp +0 -70
  1341. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_context.h +0 -64
  1342. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_debug_console.cpp +0 -41
  1343. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_debug_console.h +0 -17
  1344. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_debugger.cpp +0 -122
  1345. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_debugger.h +0 -65
  1346. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_decomposer.cpp +0 -24
  1347. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_decomposer.h +0 -259
  1348. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_default_main.hpp +0 -47
  1349. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_enforce.cpp +0 -40
  1350. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_enforce.h +0 -53
  1351. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_enum_values_registry.cpp +0 -75
  1352. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_enum_values_registry.h +0 -35
  1353. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_errno_guard.cpp +0 -15
  1354. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_errno_guard.h +0 -22
  1355. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_exception_translator_registry.cpp +0 -89
  1356. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_exception_translator_registry.h +0 -30
  1357. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_external_interfaces.h +0 -20
  1358. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_fatal_condition.cpp +0 -244
  1359. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_fatal_condition.h +0 -68
  1360. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_generators.cpp +0 -32
  1361. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_generators.hpp +0 -219
  1362. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_generators_generic.hpp +0 -237
  1363. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_generators_specific.hpp +0 -175
  1364. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_impl.hpp +0 -33
  1365. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_interfaces_capture.cpp +0 -5
  1366. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_interfaces_capture.h +0 -100
  1367. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_interfaces_config.cpp +0 -5
  1368. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_interfaces_config.h +0 -92
  1369. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_interfaces_enum_values_registry.h +0 -46
  1370. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_interfaces_exception.cpp +0 -6
  1371. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_interfaces_exception.h +0 -88
  1372. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_interfaces_generatortracker.h +0 -39
  1373. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_interfaces_registry_hub.cpp +0 -6
  1374. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_interfaces_registry_hub.h +0 -61
  1375. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_interfaces_reporter.cpp +0 -114
  1376. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_interfaces_reporter.h +0 -272
  1377. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_interfaces_runner.cpp +0 -5
  1378. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_interfaces_runner.h +0 -19
  1379. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_interfaces_tag_alias_registry.h +0 -28
  1380. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_interfaces_testcase.cpp +0 -6
  1381. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_interfaces_testcase.h +0 -38
  1382. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_leak_detector.cpp +0 -37
  1383. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_leak_detector.h +0 -18
  1384. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_list.cpp +0 -173
  1385. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_list.h +0 -38
  1386. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_matchers.cpp +0 -28
  1387. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_matchers.h +0 -174
  1388. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_matchers_exception.cpp +0 -30
  1389. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_matchers_exception.hpp +0 -36
  1390. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_matchers_floating.cpp +0 -237
  1391. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_matchers_floating.h +0 -70
  1392. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_matchers_generic.cpp +0 -9
  1393. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_matchers_generic.hpp +0 -58
  1394. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_matchers_string.cpp +0 -118
  1395. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_matchers_string.h +0 -80
  1396. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_matchers_vector.h +0 -180
  1397. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_message.cpp +0 -142
  1398. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_message.h +0 -99
  1399. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_meta.hpp +0 -50
  1400. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_objc.hpp +0 -215
  1401. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_objc_arc.hpp +0 -51
  1402. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_option.hpp +0 -73
  1403. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_output_redirect.cpp +0 -147
  1404. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_output_redirect.h +0 -116
  1405. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_platform.h +0 -30
  1406. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_polyfills.cpp +0 -31
  1407. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_polyfills.hpp +0 -15
  1408. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_preprocessor.hpp +0 -237
  1409. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_random_number_generator.cpp +0 -73
  1410. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_random_number_generator.h +0 -58
  1411. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_reenable_warnings.h +0 -21
  1412. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_registry_hub.cpp +0 -99
  1413. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_reporter_registrars.hpp +0 -78
  1414. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_reporter_registry.cpp +0 -34
  1415. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_reporter_registry.h +0 -37
  1416. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_result_type.cpp +0 -27
  1417. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_result_type.h +0 -55
  1418. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_run_context.cpp +0 -595
  1419. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_run_context.h +0 -159
  1420. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_section.cpp +0 -38
  1421. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_section.h +0 -51
  1422. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_section_info.cpp +0 -19
  1423. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_section_info.h +0 -42
  1424. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_session.cpp +0 -313
  1425. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_session.h +0 -62
  1426. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_singletons.cpp +0 -36
  1427. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_singletons.hpp +0 -44
  1428. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_startup_exception_registry.cpp +0 -28
  1429. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_startup_exception_registry.h +0 -29
  1430. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_stream.cpp +0 -187
  1431. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_stream.h +0 -51
  1432. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_string_manip.cpp +0 -109
  1433. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_string_manip.h +0 -45
  1434. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_stringref.cpp +0 -50
  1435. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_stringref.h +0 -104
  1436. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_suppress_warnings.h +0 -27
  1437. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_tag_alias.cpp +0 -5
  1438. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_tag_alias.h +0 -26
  1439. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_tag_alias_autoregistrar.cpp +0 -16
  1440. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_tag_alias_autoregistrar.h +0 -26
  1441. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_tag_alias_registry.cpp +0 -58
  1442. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_tag_alias_registry.h +0 -31
  1443. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_test_case_info.cpp +0 -186
  1444. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_test_case_info.h +0 -90
  1445. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_test_case_registry_impl.cpp +0 -176
  1446. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_test_case_registry_impl.h +0 -71
  1447. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_test_case_tracker.cpp +0 -254
  1448. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_test_case_tracker.h +0 -180
  1449. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_test_registry.cpp +0 -37
  1450. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_test_registry.h +0 -402
  1451. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_test_spec.cpp +0 -99
  1452. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_test_spec.h +0 -94
  1453. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_test_spec_parser.cpp +0 -240
  1454. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_test_spec_parser.h +0 -79
  1455. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_text.h +0 -17
  1456. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_timer.cpp +0 -74
  1457. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_timer.h +0 -30
  1458. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_to_string.hpp +0 -28
  1459. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_tostring.cpp +0 -265
  1460. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_tostring.h +0 -675
  1461. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_totals.cpp +0 -61
  1462. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_totals.h +0 -41
  1463. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_uncaught_exceptions.cpp +0 -25
  1464. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_uncaught_exceptions.h +0 -15
  1465. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_user_interfaces.h +0 -18
  1466. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_version.cpp +0 -44
  1467. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_version.h +0 -39
  1468. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_wildcard_pattern.cpp +0 -47
  1469. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_wildcard_pattern.h +0 -38
  1470. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_windows_h_proxy.h +0 -39
  1471. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_xmlwriter.cpp +0 -334
  1472. package/deps/couchbase-cxx-client/third_party/catch2/include/internal/catch_xmlwriter.h +0 -116
  1473. package/deps/couchbase-cxx-client/third_party/catch2/include/reporters/catch_reporter_automake.hpp +0 -62
  1474. package/deps/couchbase-cxx-client/third_party/catch2/include/reporters/catch_reporter_bases.cpp +0 -84
  1475. package/deps/couchbase-cxx-client/third_party/catch2/include/reporters/catch_reporter_bases.hpp +0 -285
  1476. package/deps/couchbase-cxx-client/third_party/catch2/include/reporters/catch_reporter_compact.cpp +0 -290
  1477. package/deps/couchbase-cxx-client/third_party/catch2/include/reporters/catch_reporter_compact.h +0 -39
  1478. package/deps/couchbase-cxx-client/third_party/catch2/include/reporters/catch_reporter_console.cpp +0 -700
  1479. package/deps/couchbase-cxx-client/third_party/catch2/include/reporters/catch_reporter_console.h +0 -89
  1480. package/deps/couchbase-cxx-client/third_party/catch2/include/reporters/catch_reporter_junit.cpp +0 -300
  1481. package/deps/couchbase-cxx-client/third_party/catch2/include/reporters/catch_reporter_junit.h +0 -62
  1482. package/deps/couchbase-cxx-client/third_party/catch2/include/reporters/catch_reporter_listening.cpp +0 -164
  1483. package/deps/couchbase-cxx-client/third_party/catch2/include/reporters/catch_reporter_listening.h +0 -63
  1484. package/deps/couchbase-cxx-client/third_party/catch2/include/reporters/catch_reporter_sonarqube.hpp +0 -181
  1485. package/deps/couchbase-cxx-client/third_party/catch2/include/reporters/catch_reporter_tap.hpp +0 -254
  1486. package/deps/couchbase-cxx-client/third_party/catch2/include/reporters/catch_reporter_teamcity.hpp +0 -219
  1487. package/deps/couchbase-cxx-client/third_party/catch2/include/reporters/catch_reporter_xml.cpp +0 -281
  1488. package/deps/couchbase-cxx-client/third_party/catch2/include/reporters/catch_reporter_xml.h +0 -68
  1489. package/deps/couchbase-cxx-client/third_party/catch2/misc/appveyorBuildConfigurationScript.bat +0 -22
  1490. package/deps/couchbase-cxx-client/third_party/catch2/misc/appveyorMergeCoverageScript.py +0 -9
  1491. package/deps/couchbase-cxx-client/third_party/catch2/misc/appveyorTestRunScript.bat +0 -15
  1492. package/deps/couchbase-cxx-client/third_party/catch2/misc/coverage-helper.cpp +0 -142
  1493. package/deps/couchbase-cxx-client/third_party/catch2/misc/installOpenCppCoverage.ps1 +0 -19
  1494. package/deps/couchbase-cxx-client/third_party/catch2/projects/CMakeLists.txt +0 -492
  1495. package/deps/couchbase-cxx-client/third_party/catch2/projects/ExtraTests/CMakeLists.txt +0 -201
  1496. package/deps/couchbase-cxx-client/third_party/catch2/projects/ExtraTests/ToDo.txt +0 -11
  1497. package/deps/couchbase-cxx-client/third_party/catch2/projects/ExtraTests/X01-PrefixedMacros.cpp +0 -84
  1498. package/deps/couchbase-cxx-client/third_party/catch2/projects/ExtraTests/X02-DisabledMacros.cpp +0 -31
  1499. package/deps/couchbase-cxx-client/third_party/catch2/projects/ExtraTests/X03-DisabledExceptions-DefaultHandler.cpp +0 -23
  1500. package/deps/couchbase-cxx-client/third_party/catch2/projects/ExtraTests/X04-DisabledExceptions-CustomHandler.cpp +0 -33
  1501. package/deps/couchbase-cxx-client/third_party/catch2/projects/ExtraTests/X10-FallbackStringifier.cpp +0 -23
  1502. package/deps/couchbase-cxx-client/third_party/catch2/projects/ExtraTests/X11-DisableStringification.cpp +0 -16
  1503. package/deps/couchbase-cxx-client/third_party/catch2/projects/ExtraTests/X12-CustomDebugBreakMacro.cpp +0 -17
  1504. package/deps/couchbase-cxx-client/third_party/catch2/projects/ExtraTests/X20-BenchmarkingMacros.cpp +0 -125
  1505. package/deps/couchbase-cxx-client/third_party/catch2/projects/ExtraTests/X90-WindowsHeaderInclusion.cpp +0 -12
  1506. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/Baselines/compact.sw.approved.txt +0 -1903
  1507. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/Baselines/console.std.approved.txt +0 -1425
  1508. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/Baselines/console.sw.approved.txt +0 -14183
  1509. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/Baselines/console.swa4.approved.txt +0 -936
  1510. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/Baselines/junit.sw.approved.txt +0 -1773
  1511. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/Baselines/sonarqube.sw.approved.txt +0 -1777
  1512. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/Baselines/xml.sw.approved.txt +0 -16767
  1513. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/CompileTimePerfTests/10.tests.cpp +0 -13
  1514. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/CompileTimePerfTests/100.tests.cpp +0 -13
  1515. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/CompileTimePerfTests/All.tests.cpp +0 -15
  1516. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/IntrospectiveTests/CmdLine.tests.cpp +0 -582
  1517. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/IntrospectiveTests/Details.tests.cpp +0 -23
  1518. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp +0 -352
  1519. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/IntrospectiveTests/InternalBenchmark.tests.cpp +0 -405
  1520. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/IntrospectiveTests/PartTracker.tests.cpp +0 -253
  1521. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp +0 -45
  1522. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/IntrospectiveTests/String.tests.cpp +0 -150
  1523. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/IntrospectiveTests/StringManip.tests.cpp +0 -67
  1524. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/IntrospectiveTests/Tag.tests.cpp +0 -54
  1525. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/IntrospectiveTests/ToString.tests.cpp +0 -53
  1526. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/IntrospectiveTests/Xml.tests.cpp +0 -114
  1527. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/SurrogateCpps/catch_console_colour.cpp +0 -3
  1528. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/SurrogateCpps/catch_debugger.cpp +0 -2
  1529. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/SurrogateCpps/catch_interfaces_reporter.cpp +0 -2
  1530. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/SurrogateCpps/catch_option.cpp +0 -3
  1531. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/SurrogateCpps/catch_stream.cpp +0 -3
  1532. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/SurrogateCpps/catch_test_case_tracker.cpp +0 -2
  1533. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/SurrogateCpps/catch_test_spec.cpp +0 -3
  1534. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/SurrogateCpps/catch_xmlwriter.cpp +0 -4
  1535. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/TestMain.cpp +0 -34
  1536. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/TimingTests/Sleep.tests.cpp +0 -23
  1537. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/Approx.tests.cpp +0 -215
  1538. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/BDD.tests.cpp +0 -110
  1539. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/Benchmark.tests.cpp +0 -144
  1540. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/Class.tests.cpp +0 -137
  1541. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/Compilation.tests.cpp +0 -269
  1542. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/Condition.tests.cpp +0 -347
  1543. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/Decomposition.tests.cpp +0 -39
  1544. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/EnumToString.tests.cpp +0 -99
  1545. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/Exception.tests.cpp +0 -210
  1546. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/Generators.tests.cpp +0 -271
  1547. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/Matchers.tests.cpp +0 -676
  1548. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/Message.tests.cpp +0 -269
  1549. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/Misc.tests.cpp +0 -493
  1550. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/ToStringByte.tests.cpp +0 -15
  1551. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/ToStringChrono.tests.cpp +0 -44
  1552. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/ToStringGeneral.tests.cpp +0 -210
  1553. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/ToStringOptional.tests.cpp +0 -23
  1554. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/ToStringPair.tests.cpp +0 -30
  1555. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/ToStringTuple.tests.cpp +0 -47
  1556. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/ToStringVariant.tests.cpp +0 -91
  1557. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/ToStringVector.tests.cpp +0 -86
  1558. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/ToStringWhich.tests.cpp +0 -193
  1559. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/Tricky.tests.cpp +0 -429
  1560. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/UsageTests/VariadicMacros.tests.cpp +0 -29
  1561. package/deps/couchbase-cxx-client/third_party/catch2/projects/SelfTest/WarnAboutNoTests.cmake +0 -19
  1562. package/deps/couchbase-cxx-client/third_party/catch2/projects/TestScripts/testRandomOrder.py +0 -59
  1563. package/deps/couchbase-cxx-client/third_party/catch2/projects/XCode/OCTest/OCTest/CatchOCTestCase.h +0 -25
  1564. package/deps/couchbase-cxx-client/third_party/catch2/projects/XCode/OCTest/OCTest/CatchOCTestCase.mm +0 -87
  1565. package/deps/couchbase-cxx-client/third_party/catch2/projects/XCode/OCTest/OCTest/Main.mm +0 -2
  1566. package/deps/couchbase-cxx-client/third_party/catch2/projects/XCode/OCTest/OCTest/OCTest.1 +0 -79
  1567. package/deps/couchbase-cxx-client/third_party/catch2/projects/XCode/OCTest/OCTest/OCTest.mm +0 -28
  1568. package/deps/couchbase-cxx-client/third_party/catch2/projects/XCode/OCTest/OCTest/TestObj.h +0 -28
  1569. package/deps/couchbase-cxx-client/third_party/catch2/projects/XCode/OCTest/OCTest/TestObj.m +0 -25
  1570. package/deps/couchbase-cxx-client/third_party/catch2/projects/XCode/OCTest/OCTest.xcodeproj/project.pbxproj +0 -294
  1571. package/deps/couchbase-cxx-client/third_party/catch2/projects/XCode/OCTest/OCTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
  1572. package/deps/couchbase-cxx-client/third_party/catch2/projects/XCode/OCTest/OCTest.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  1573. package/deps/couchbase-cxx-client/third_party/catch2/projects/XCode/OCTest/catch_objc_impl.mm +0 -69
  1574. package/deps/couchbase-cxx-client/third_party/catch2/scripts/approvalTests.py +0 -217
  1575. package/deps/couchbase-cxx-client/third_party/catch2/scripts/approve.py +0 -33
  1576. package/deps/couchbase-cxx-client/third_party/catch2/scripts/benchmarkCompile.py +0 -148
  1577. package/deps/couchbase-cxx-client/third_party/catch2/scripts/benchmarkRunner.py +0 -56
  1578. package/deps/couchbase-cxx-client/third_party/catch2/scripts/developBuild.py +0 -10
  1579. package/deps/couchbase-cxx-client/third_party/catch2/scripts/embed.py +0 -63
  1580. package/deps/couchbase-cxx-client/third_party/catch2/scripts/embedClara.py +0 -27
  1581. package/deps/couchbase-cxx-client/third_party/catch2/scripts/extractFeaturesFromReleaseNotes.py +0 -94
  1582. package/deps/couchbase-cxx-client/third_party/catch2/scripts/fixWhitespace.py +0 -52
  1583. package/deps/couchbase-cxx-client/third_party/catch2/scripts/generateSingleHeader.py +0 -151
  1584. package/deps/couchbase-cxx-client/third_party/catch2/scripts/majorRelease.py +0 -10
  1585. package/deps/couchbase-cxx-client/third_party/catch2/scripts/minorRelease.py +0 -10
  1586. package/deps/couchbase-cxx-client/third_party/catch2/scripts/patchRelease.py +0 -10
  1587. package/deps/couchbase-cxx-client/third_party/catch2/scripts/releaseCommon.py +0 -168
  1588. package/deps/couchbase-cxx-client/third_party/catch2/scripts/releaseNotes.py +0 -65
  1589. package/deps/couchbase-cxx-client/third_party/catch2/scripts/scriptCommon.py +0 -31
  1590. package/deps/couchbase-cxx-client/third_party/catch2/scripts/updateDocumentToC.py +0 -449
  1591. package/deps/couchbase-cxx-client/third_party/catch2/scripts/updateWandbox.py +0 -53
  1592. package/deps/couchbase-cxx-client/third_party/catch2/single_include/catch2/catch.hpp +0 -17959
  1593. package/deps/couchbase-cxx-client/third_party/catch2/single_include/catch2/catch_reporter_automake.hpp +0 -62
  1594. package/deps/couchbase-cxx-client/third_party/catch2/single_include/catch2/catch_reporter_sonarqube.hpp +0 -181
  1595. package/deps/couchbase-cxx-client/third_party/catch2/single_include/catch2/catch_reporter_tap.hpp +0 -254
  1596. package/deps/couchbase-cxx-client/third_party/catch2/single_include/catch2/catch_reporter_teamcity.hpp +0 -219
  1597. package/deps/couchbase-cxx-client/third_party/catch2/src/catch_with_main.cpp +0 -2
  1598. package/deps/couchbase-cxx-client/third_party/snappy/.appveyor.yml +0 -36
  1599. package/deps/couchbase-cxx-client/third_party/snappy/.travis.yml +0 -94
  1600. /package/deps/couchbase-cxx-client/third_party/catch2/{artwork → data/artwork}/catch2-c-logo.png +0 -0
  1601. /package/deps/couchbase-cxx-client/third_party/catch2/{artwork → data/artwork}/catch2-hand-logo.png +0 -0
  1602. /package/deps/couchbase-cxx-client/third_party/catch2/{artwork → data/artwork}/catch2-logo-small.png +0 -0
  1603. /package/deps/couchbase-cxx-client/third_party/catch2/{contrib → extras}/ParseAndAddCatchTests.cmake +0 -0
  1604. /package/deps/couchbase-cxx-client/third_party/catch2/{contrib → extras}/gdbinit +0 -0
  1605. /package/deps/couchbase-cxx-client/third_party/catch2/{contrib → extras}/lldbinit +0 -0
  1606. /package/deps/couchbase-cxx-client/third_party/catch2/{projects → tests}/SelfTest/Baselines/automake.std.approved.txt +0 -0
  1607. /package/deps/couchbase-cxx-client/third_party/catch2/{projects → tests}/SelfTest/Misc/invalid-test-names.input +0 -0
  1608. /package/deps/couchbase-cxx-client/third_party/catch2/{projects → tests}/SelfTest/Misc/plain-old-tests.input +0 -0
  1609. /package/deps/couchbase-cxx-client/third_party/catch2/{projects → tests}/SelfTest/Misc/special-characters-in-file.input +0 -0
  1610. /package/deps/couchbase-cxx-client/third_party/catch2/{misc → tools/misc}/CMakeLists.txt +0 -0
@@ -0,0 +1,4481 @@
1
+ # filters: "*" ~[!nonportable] ~[!benchmark] ~[approvals]
2
+ # rng-seed: 1
3
+ # # A test name that starts with a #
4
+ ok {test-number} - with 1 message: 'yay'
5
+ # #1027: Bitfields can be captured
6
+ ok {test-number} - y.v == 0 for: 0 == 0
7
+ # #1027: Bitfields can be captured
8
+ ok {test-number} - 0 == y.v for: 0 == 0
9
+ # #1147
10
+ ok {test-number} - t1 == t2 for: {?} == {?}
11
+ # #1147
12
+ ok {test-number} - t1 != t2 for: {?} != {?}
13
+ # #1147
14
+ ok {test-number} - t1 < t2 for: {?} < {?}
15
+ # #1147
16
+ ok {test-number} - t1 > t2 for: {?} > {?}
17
+ # #1147
18
+ ok {test-number} - t1 <= t2 for: {?} <= {?}
19
+ # #1147
20
+ ok {test-number} - t1 >= t2 for: {?} >= {?}
21
+ # #1175 - Hidden Test
22
+ ok {test-number} -
23
+ # #1238
24
+ ok {test-number} - std::memcmp(uarr, "123", sizeof(uarr)) == 0 for: 0 == 0 with 2 messages: 'uarr := "123"' and 'sarr := "456"'
25
+ # #1238
26
+ ok {test-number} - std::memcmp(sarr, "456", sizeof(sarr)) == 0 for: 0 == 0 with 2 messages: 'uarr := "123"' and 'sarr := "456"'
27
+ # #1245
28
+ ok {test-number} -
29
+ # #1319: Sections can have description (even if it is not saved
30
+ ok {test-number} -
31
+ # #1403
32
+ ok {test-number} - h1 == h2 for: [1403 helper] == [1403 helper]
33
+ # #1455 - INFO and WARN can start with a linebreak
34
+ warning {test-number} - '
35
+ This info message starts with a linebreak' with 1 message: '
36
+ This warning message starts with a linebreak'
37
+ This would not be caught previously
38
+ Nor would this
39
+ # #1514: stderr/stdout is not captured in tests aborted by an exception
40
+ not ok {test-number} - explicitly with 1 message: '1514'
41
+ # #1548
42
+ ok {test-number} - std::is_same<TypeList<int>, TypeList<int>>::value for: true
43
+ # #1905 -- test spec parser properly clears internal state between compound tests
44
+ ok {test-number} - spec.matches(*fakeTestCase("spec . char")) for: true
45
+ # #1905 -- test spec parser properly clears internal state between compound tests
46
+ ok {test-number} - spec.matches(*fakeTestCase("spec , char")) for: true
47
+ # #1905 -- test spec parser properly clears internal state between compound tests
48
+ ok {test-number} - !(spec.matches(*fakeTestCase(R"(spec \, char)"))) for: !false
49
+ # #1912 -- test spec parser handles escaping
50
+ ok {test-number} - spec.matches(*fakeTestCase(R"(spec {a} char)")) for: true
51
+ # #1912 -- test spec parser handles escaping
52
+ ok {test-number} - spec.matches(*fakeTestCase(R"(spec [a] char)")) for: true
53
+ # #1912 -- test spec parser handles escaping
54
+ ok {test-number} - !(spec.matches(*fakeTestCase("differs but has similar tag", "[a]"))) for: !false
55
+ # #1912 -- test spec parser handles escaping
56
+ ok {test-number} - spec.matches(*fakeTestCase(R"(spec \ char)")) for: true
57
+ # #1913 - GENERATE inside a for loop should not keep recreating the generator
58
+ ok {test-number} - counter < 7 for: 3 < 7
59
+ # #1913 - GENERATE inside a for loop should not keep recreating the generator
60
+ ok {test-number} - counter < 7 for: 6 < 7
61
+ # #1913 - GENERATEs can share a line
62
+ ok {test-number} - i != j for: 1 != 3
63
+ # #1913 - GENERATEs can share a line
64
+ ok {test-number} - i != j for: 1 != 4
65
+ # #1913 - GENERATEs can share a line
66
+ ok {test-number} - i != j for: 2 != 3
67
+ # #1913 - GENERATEs can share a line
68
+ ok {test-number} - i != j for: 2 != 4
69
+ # #1938 - GENERATE after a section
70
+ ok {test-number} - with 1 message: 'A'
71
+ # #1938 - GENERATE after a section
72
+ ok {test-number} - m for: 1
73
+ # #1938 - GENERATE after a section
74
+ ok {test-number} - m for: 2
75
+ # #1938 - GENERATE after a section
76
+ ok {test-number} - m for: 3
77
+ # #1938 - Section followed by flat generate
78
+ ok {test-number} - 1
79
+ # #1938 - Section followed by flat generate
80
+ ok {test-number} - m for: 2
81
+ # #1938 - Section followed by flat generate
82
+ ok {test-number} - m for: 3
83
+ # #1938 - flat generate
84
+ ok {test-number} - m for: 1
85
+ # #1938 - flat generate
86
+ ok {test-number} - m for: 2
87
+ # #1938 - flat generate
88
+ ok {test-number} - m for: 3
89
+ # #1938 - mixed sections and generates
90
+ ok {test-number} - with 1 message: 'A'
91
+ # #1938 - mixed sections and generates
92
+ ok {test-number} - with 3 messages: 'i := 1' and 'j := 3' and 'k := 5'
93
+ # #1938 - mixed sections and generates
94
+ ok {test-number} - with 1 message: 'B'
95
+ # #1938 - mixed sections and generates
96
+ ok {test-number} - with 3 messages: 'i := 1' and 'j := 3' and 'k := 6'
97
+ # #1938 - mixed sections and generates
98
+ ok {test-number} - with 1 message: 'B'
99
+ # #1938 - mixed sections and generates
100
+ ok {test-number} - with 3 messages: 'i := 1' and 'j := 4' and 'k := 5'
101
+ # #1938 - mixed sections and generates
102
+ ok {test-number} - with 3 messages: 'i := 1' and 'j := 4' and 'k := 6'
103
+ # #1938 - mixed sections and generates
104
+ ok {test-number} - with 1 message: 'A'
105
+ # #1938 - mixed sections and generates
106
+ ok {test-number} - with 3 messages: 'i := 2' and 'j := 3' and 'k := 5'
107
+ # #1938 - mixed sections and generates
108
+ ok {test-number} - with 1 message: 'B'
109
+ # #1938 - mixed sections and generates
110
+ ok {test-number} - with 3 messages: 'i := 2' and 'j := 3' and 'k := 6'
111
+ # #1938 - mixed sections and generates
112
+ ok {test-number} - with 1 message: 'B'
113
+ # #1938 - mixed sections and generates
114
+ ok {test-number} - with 3 messages: 'i := 2' and 'j := 4' and 'k := 5'
115
+ # #1938 - mixed sections and generates
116
+ ok {test-number} - with 3 messages: 'i := 2' and 'j := 4' and 'k := 6'
117
+ # #1938 - nested generate
118
+ ok {test-number} - m for: 1
119
+ # #1938 - nested generate
120
+ ok {test-number} - n for: 1
121
+ # #1938 - nested generate
122
+ ok {test-number} - m for: 1
123
+ # #1938 - nested generate
124
+ ok {test-number} - n for: 2
125
+ # #1938 - nested generate
126
+ ok {test-number} - m for: 1
127
+ # #1938 - nested generate
128
+ ok {test-number} - n for: 3
129
+ # #1938 - nested generate
130
+ ok {test-number} - m for: 2
131
+ # #1938 - nested generate
132
+ ok {test-number} - n for: 1
133
+ # #1938 - nested generate
134
+ ok {test-number} - m for: 2
135
+ # #1938 - nested generate
136
+ ok {test-number} - n for: 2
137
+ # #1938 - nested generate
138
+ ok {test-number} - m for: 2
139
+ # #1938 - nested generate
140
+ ok {test-number} - n for: 3
141
+ # #1938 - nested generate
142
+ ok {test-number} - m for: 3
143
+ # #1938 - nested generate
144
+ ok {test-number} - n for: 1
145
+ # #1938 - nested generate
146
+ ok {test-number} - m for: 3
147
+ # #1938 - nested generate
148
+ ok {test-number} - n for: 2
149
+ # #1938 - nested generate
150
+ ok {test-number} - m for: 3
151
+ # #1938 - nested generate
152
+ ok {test-number} - n for: 3
153
+ # #1954 - 7 arg template test case sig compiles - 1, 1, 1, 1, 1, 0, 0
154
+ ok {test-number} -
155
+ # #1954 - 7 arg template test case sig compiles - 5, 1, 1, 1, 1, 0, 0
156
+ ok {test-number} -
157
+ # #1954 - 7 arg template test case sig compiles - 5, 3, 1, 1, 1, 0, 0
158
+ ok {test-number} -
159
+ # #2152 - ULP checks between differently signed values were wrong - double
160
+ ok {test-number} - smallest_non_zero, WithinULP( -smallest_non_zero, 2 ) for: 0.0 is within 2 ULPs of -4.9406564584124654e-324 ([-1.4821969375237396e-323, 4.9406564584124654e-324])
161
+ # #2152 - ULP checks between differently signed values were wrong - double
162
+ ok {test-number} - smallest_non_zero, !WithinULP( -smallest_non_zero, 1 ) for: 0.0 not is within 1 ULPs of -4.9406564584124654e-324 ([-9.8813129168249309e-324, -0.0000000000000000e+00])
163
+ # #2152 - ULP checks between differently signed values were wrong - float
164
+ ok {test-number} - smallest_non_zero, WithinULP( -smallest_non_zero, 2 ) for: 0.0f is within 2 ULPs of -1.40129846e-45f ([-4.20389539e-45, 1.40129846e-45])
165
+ # #2152 - ULP checks between differently signed values were wrong - float
166
+ ok {test-number} - smallest_non_zero, !WithinULP( -smallest_non_zero, 1 ) for: 0.0f not is within 1 ULPs of -1.40129846e-45f ([-2.80259693e-45, -0.00000000e+00])
167
+ # #2615 - Throwing in constructor generator fails test case but does not abort
168
+ not ok {test-number} - unexpected exception with message: 'failure to init'
169
+ # #748 - captures with unexpected exceptions
170
+ not ok {test-number} - unexpected exception with message: 'answer := 42' with 1 message: 'expected exception'
171
+ # #748 - captures with unexpected exceptions
172
+ not ok {test-number} - unexpected exception with message: 'answer := 42'; expression was: thisThrows() with 1 message: 'expected exception'
173
+ # #748 - captures with unexpected exceptions
174
+ ok {test-number} - thisThrows() with 1 message: 'answer := 42'
175
+ # #809
176
+ ok {test-number} - 42 == f for: 42 == {?}
177
+ # #833
178
+ ok {test-number} - a == t for: 3 == 3
179
+ # #833
180
+ ok {test-number} - a == t for: 3 == 3
181
+ # #833
182
+ ok {test-number} - throws_int(true)
183
+ # #833
184
+ ok {test-number} - throws_int(true), int
185
+ # #833
186
+ ok {test-number} - throws_int(false)
187
+ # #833
188
+ ok {test-number} - "aaa", Catch::Matchers::EndsWith("aaa") for: "aaa" ends with: "aaa"
189
+ # #833
190
+ ok {test-number} - templated_tests<int>(3) for: true
191
+ # #835 -- errno should not be touched by Catch2
192
+ not ok {test-number} - f() == 0 for: 1 == 0
193
+ # #835 -- errno should not be touched by Catch2
194
+ ok {test-number} - errno_after == 1 for: 1 == 1
195
+ # #872
196
+ ok {test-number} - x == 4 for: {?} == 4 with 1 message: 'dummy := 0'
197
+ # #961 -- Dynamically created sections should all be reported
198
+ ok {test-number} - with 1 message: 'Everything is OK'
199
+ # #961 -- Dynamically created sections should all be reported
200
+ ok {test-number} - with 1 message: 'Everything is OK'
201
+ # #961 -- Dynamically created sections should all be reported
202
+ ok {test-number} - with 1 message: 'Everything is OK'
203
+ # #961 -- Dynamically created sections should all be reported
204
+ ok {test-number} - with 1 message: 'Everything is OK'
205
+ # #961 -- Dynamically created sections should all be reported
206
+ ok {test-number} - with 1 message: 'Everything is OK'
207
+ # 'Not' checks that should fail
208
+ not ok {test-number} - false != false
209
+ # 'Not' checks that should fail
210
+ not ok {test-number} - true != true
211
+ # 'Not' checks that should fail
212
+ not ok {test-number} - !true for: false
213
+ # 'Not' checks that should fail
214
+ not ok {test-number} - !(true) for: !true
215
+ # 'Not' checks that should fail
216
+ not ok {test-number} - !trueValue for: false
217
+ # 'Not' checks that should fail
218
+ not ok {test-number} - !(trueValue) for: !true
219
+ # 'Not' checks that should fail
220
+ not ok {test-number} - !(1 == 1) for: false
221
+ # 'Not' checks that should fail
222
+ not ok {test-number} - !(1 == 1)
223
+ # 'Not' checks that should succeed
224
+ ok {test-number} - false == false
225
+ # 'Not' checks that should succeed
226
+ ok {test-number} - true == true
227
+ # 'Not' checks that should succeed
228
+ ok {test-number} - !false for: true
229
+ # 'Not' checks that should succeed
230
+ ok {test-number} - !(false) for: !false
231
+ # 'Not' checks that should succeed
232
+ ok {test-number} - !falseValue for: true
233
+ # 'Not' checks that should succeed
234
+ ok {test-number} - !(falseValue) for: !false
235
+ # 'Not' checks that should succeed
236
+ ok {test-number} - !(1 == 2) for: true
237
+ # 'Not' checks that should succeed
238
+ ok {test-number} - !(1 == 2)
239
+ # (unimplemented) static bools can be evaluated
240
+ ok {test-number} - is_true<true>::value == true for: true == true
241
+ # (unimplemented) static bools can be evaluated
242
+ ok {test-number} - true == is_true<true>::value for: true == true
243
+ # (unimplemented) static bools can be evaluated
244
+ ok {test-number} - is_true<false>::value == false for: false == false
245
+ # (unimplemented) static bools can be evaluated
246
+ ok {test-number} - false == is_true<false>::value for: false == false
247
+ # (unimplemented) static bools can be evaluated
248
+ ok {test-number} - !is_true<false>::value for: true
249
+ # (unimplemented) static bools can be evaluated
250
+ ok {test-number} - !!is_true<true>::value for: true
251
+ # (unimplemented) static bools can be evaluated
252
+ ok {test-number} - is_true<true>::value for: true
253
+ # (unimplemented) static bools can be evaluated
254
+ ok {test-number} - !(is_true<false>::value) for: !false
255
+ # 3x3x3 ints
256
+ ok {test-number} - x < y for: 1 < 4
257
+ # 3x3x3 ints
258
+ ok {test-number} - y < z for: 4 < 7
259
+ # 3x3x3 ints
260
+ ok {test-number} - x < z for: 1 < 7
261
+ # 3x3x3 ints
262
+ ok {test-number} - x < y for: 1 < 4
263
+ # 3x3x3 ints
264
+ ok {test-number} - y < z for: 4 < 8
265
+ # 3x3x3 ints
266
+ ok {test-number} - x < z for: 1 < 8
267
+ # 3x3x3 ints
268
+ ok {test-number} - x < y for: 1 < 4
269
+ # 3x3x3 ints
270
+ ok {test-number} - y < z for: 4 < 9
271
+ # 3x3x3 ints
272
+ ok {test-number} - x < z for: 1 < 9
273
+ # 3x3x3 ints
274
+ ok {test-number} - x < y for: 1 < 5
275
+ # 3x3x3 ints
276
+ ok {test-number} - y < z for: 5 < 7
277
+ # 3x3x3 ints
278
+ ok {test-number} - x < z for: 1 < 7
279
+ # 3x3x3 ints
280
+ ok {test-number} - x < y for: 1 < 5
281
+ # 3x3x3 ints
282
+ ok {test-number} - y < z for: 5 < 8
283
+ # 3x3x3 ints
284
+ ok {test-number} - x < z for: 1 < 8
285
+ # 3x3x3 ints
286
+ ok {test-number} - x < y for: 1 < 5
287
+ # 3x3x3 ints
288
+ ok {test-number} - y < z for: 5 < 9
289
+ # 3x3x3 ints
290
+ ok {test-number} - x < z for: 1 < 9
291
+ # 3x3x3 ints
292
+ ok {test-number} - x < y for: 1 < 6
293
+ # 3x3x3 ints
294
+ ok {test-number} - y < z for: 6 < 7
295
+ # 3x3x3 ints
296
+ ok {test-number} - x < z for: 1 < 7
297
+ # 3x3x3 ints
298
+ ok {test-number} - x < y for: 1 < 6
299
+ # 3x3x3 ints
300
+ ok {test-number} - y < z for: 6 < 8
301
+ # 3x3x3 ints
302
+ ok {test-number} - x < z for: 1 < 8
303
+ # 3x3x3 ints
304
+ ok {test-number} - x < y for: 1 < 6
305
+ # 3x3x3 ints
306
+ ok {test-number} - y < z for: 6 < 9
307
+ # 3x3x3 ints
308
+ ok {test-number} - x < z for: 1 < 9
309
+ # 3x3x3 ints
310
+ ok {test-number} - x < y for: 2 < 4
311
+ # 3x3x3 ints
312
+ ok {test-number} - y < z for: 4 < 7
313
+ # 3x3x3 ints
314
+ ok {test-number} - x < z for: 2 < 7
315
+ # 3x3x3 ints
316
+ ok {test-number} - x < y for: 2 < 4
317
+ # 3x3x3 ints
318
+ ok {test-number} - y < z for: 4 < 8
319
+ # 3x3x3 ints
320
+ ok {test-number} - x < z for: 2 < 8
321
+ # 3x3x3 ints
322
+ ok {test-number} - x < y for: 2 < 4
323
+ # 3x3x3 ints
324
+ ok {test-number} - y < z for: 4 < 9
325
+ # 3x3x3 ints
326
+ ok {test-number} - x < z for: 2 < 9
327
+ # 3x3x3 ints
328
+ ok {test-number} - x < y for: 2 < 5
329
+ # 3x3x3 ints
330
+ ok {test-number} - y < z for: 5 < 7
331
+ # 3x3x3 ints
332
+ ok {test-number} - x < z for: 2 < 7
333
+ # 3x3x3 ints
334
+ ok {test-number} - x < y for: 2 < 5
335
+ # 3x3x3 ints
336
+ ok {test-number} - y < z for: 5 < 8
337
+ # 3x3x3 ints
338
+ ok {test-number} - x < z for: 2 < 8
339
+ # 3x3x3 ints
340
+ ok {test-number} - x < y for: 2 < 5
341
+ # 3x3x3 ints
342
+ ok {test-number} - y < z for: 5 < 9
343
+ # 3x3x3 ints
344
+ ok {test-number} - x < z for: 2 < 9
345
+ # 3x3x3 ints
346
+ ok {test-number} - x < y for: 2 < 6
347
+ # 3x3x3 ints
348
+ ok {test-number} - y < z for: 6 < 7
349
+ # 3x3x3 ints
350
+ ok {test-number} - x < z for: 2 < 7
351
+ # 3x3x3 ints
352
+ ok {test-number} - x < y for: 2 < 6
353
+ # 3x3x3 ints
354
+ ok {test-number} - y < z for: 6 < 8
355
+ # 3x3x3 ints
356
+ ok {test-number} - x < z for: 2 < 8
357
+ # 3x3x3 ints
358
+ ok {test-number} - x < y for: 2 < 6
359
+ # 3x3x3 ints
360
+ ok {test-number} - y < z for: 6 < 9
361
+ # 3x3x3 ints
362
+ ok {test-number} - x < z for: 2 < 9
363
+ # 3x3x3 ints
364
+ ok {test-number} - x < y for: 3 < 4
365
+ # 3x3x3 ints
366
+ ok {test-number} - y < z for: 4 < 7
367
+ # 3x3x3 ints
368
+ ok {test-number} - x < z for: 3 < 7
369
+ # 3x3x3 ints
370
+ ok {test-number} - x < y for: 3 < 4
371
+ # 3x3x3 ints
372
+ ok {test-number} - y < z for: 4 < 8
373
+ # 3x3x3 ints
374
+ ok {test-number} - x < z for: 3 < 8
375
+ # 3x3x3 ints
376
+ ok {test-number} - x < y for: 3 < 4
377
+ # 3x3x3 ints
378
+ ok {test-number} - y < z for: 4 < 9
379
+ # 3x3x3 ints
380
+ ok {test-number} - x < z for: 3 < 9
381
+ # 3x3x3 ints
382
+ ok {test-number} - x < y for: 3 < 5
383
+ # 3x3x3 ints
384
+ ok {test-number} - y < z for: 5 < 7
385
+ # 3x3x3 ints
386
+ ok {test-number} - x < z for: 3 < 7
387
+ # 3x3x3 ints
388
+ ok {test-number} - x < y for: 3 < 5
389
+ # 3x3x3 ints
390
+ ok {test-number} - y < z for: 5 < 8
391
+ # 3x3x3 ints
392
+ ok {test-number} - x < z for: 3 < 8
393
+ # 3x3x3 ints
394
+ ok {test-number} - x < y for: 3 < 5
395
+ # 3x3x3 ints
396
+ ok {test-number} - y < z for: 5 < 9
397
+ # 3x3x3 ints
398
+ ok {test-number} - x < z for: 3 < 9
399
+ # 3x3x3 ints
400
+ ok {test-number} - x < y for: 3 < 6
401
+ # 3x3x3 ints
402
+ ok {test-number} - y < z for: 6 < 7
403
+ # 3x3x3 ints
404
+ ok {test-number} - x < z for: 3 < 7
405
+ # 3x3x3 ints
406
+ ok {test-number} - x < y for: 3 < 6
407
+ # 3x3x3 ints
408
+ ok {test-number} - y < z for: 6 < 8
409
+ # 3x3x3 ints
410
+ ok {test-number} - x < z for: 3 < 8
411
+ # 3x3x3 ints
412
+ ok {test-number} - x < y for: 3 < 6
413
+ # 3x3x3 ints
414
+ ok {test-number} - y < z for: 6 < 9
415
+ # 3x3x3 ints
416
+ ok {test-number} - x < z for: 3 < 9
417
+ # A METHOD_AS_TEST_CASE based test run that fails
418
+ not ok {test-number} - s == "world" for: "hello" == "world"
419
+ # A METHOD_AS_TEST_CASE based test run that succeeds
420
+ ok {test-number} - s == "hello" for: "hello" == "hello"
421
+ # A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that fails - Template_Foo<float>
422
+ not ok {test-number} - Template_Fixture_2<TestType>::m_a.size() == 1 for: 0 == 1
423
+ # A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that fails - Template_Foo<int>
424
+ not ok {test-number} - Template_Fixture_2<TestType>::m_a.size() == 1 for: 0 == 1
425
+ # A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that fails - std::vector<float>
426
+ not ok {test-number} - Template_Fixture_2<TestType>::m_a.size() == 1 for: 0 == 1
427
+ # A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that fails - std::vector<int>
428
+ not ok {test-number} - Template_Fixture_2<TestType>::m_a.size() == 1 for: 0 == 1
429
+ # A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that succeeds - Template_Foo<float>
430
+ ok {test-number} - Template_Fixture_2<TestType>::m_a.size() == 0 for: 0 == 0
431
+ # A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that succeeds - Template_Foo<int>
432
+ ok {test-number} - Template_Fixture_2<TestType>::m_a.size() == 0 for: 0 == 0
433
+ # A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that succeeds - std::vector<float>
434
+ ok {test-number} - Template_Fixture_2<TestType>::m_a.size() == 0 for: 0 == 0
435
+ # A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that succeeds - std::vector<int>
436
+ ok {test-number} - Template_Fixture_2<TestType>::m_a.size() == 0 for: 0 == 0
437
+ # A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that fails - Template_Foo_2<float, 6>
438
+ not ok {test-number} - Template_Fixture_2<TestType>{}.m_a.size() < 2 for: 6 < 2
439
+ # A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that fails - Template_Foo_2<int, 2>
440
+ not ok {test-number} - Template_Fixture_2<TestType>{}.m_a.size() < 2 for: 2 < 2
441
+ # A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that fails - std::array<float, 6>
442
+ not ok {test-number} - Template_Fixture_2<TestType>{}.m_a.size() < 2 for: 6 < 2
443
+ # A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that fails - std::array<int, 2>
444
+ not ok {test-number} - Template_Fixture_2<TestType>{}.m_a.size() < 2 for: 2 < 2
445
+ # A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that succeeds - Template_Foo_2<float,6>
446
+ ok {test-number} - Template_Fixture_2<TestType>{}.m_a.size() >= 2 for: 6 >= 2
447
+ # A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that succeeds - Template_Foo_2<int,2>
448
+ ok {test-number} - Template_Fixture_2<TestType>{}.m_a.size() >= 2 for: 2 >= 2
449
+ # A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that succeeds - std::array<float,6>
450
+ ok {test-number} - Template_Fixture_2<TestType>{}.m_a.size() >= 2 for: 6 >= 2
451
+ # A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that succeeds - std::array<int,2>
452
+ ok {test-number} - Template_Fixture_2<TestType>{}.m_a.size() >= 2 for: 2 >= 2
453
+ # A TEMPLATE_TEST_CASE_METHOD based test run that fails - double
454
+ not ok {test-number} - Template_Fixture<TestType>::m_a == 2 for: 1.0 == 2
455
+ # A TEMPLATE_TEST_CASE_METHOD based test run that fails - float
456
+ not ok {test-number} - Template_Fixture<TestType>::m_a == 2 for: 1.0f == 2
457
+ # A TEMPLATE_TEST_CASE_METHOD based test run that fails - int
458
+ not ok {test-number} - Template_Fixture<TestType>::m_a == 2 for: 1 == 2
459
+ # A TEMPLATE_TEST_CASE_METHOD based test run that succeeds - double
460
+ ok {test-number} - Template_Fixture<TestType>::m_a == 1 for: 1.0 == 1
461
+ # A TEMPLATE_TEST_CASE_METHOD based test run that succeeds - float
462
+ ok {test-number} - Template_Fixture<TestType>::m_a == 1 for: 1.0f == 1
463
+ # A TEMPLATE_TEST_CASE_METHOD based test run that succeeds - int
464
+ ok {test-number} - Template_Fixture<TestType>::m_a == 1 for: 1 == 1
465
+ # A TEMPLATE_TEST_CASE_METHOD_SIG based test run that fails - 1
466
+ not ok {test-number} - Nttp_Fixture<V>::value == 0 for: 1 == 0
467
+ # A TEMPLATE_TEST_CASE_METHOD_SIG based test run that fails - 3
468
+ not ok {test-number} - Nttp_Fixture<V>::value == 0 for: 3 == 0
469
+ # A TEMPLATE_TEST_CASE_METHOD_SIG based test run that fails - 6
470
+ not ok {test-number} - Nttp_Fixture<V>::value == 0 for: 6 == 0
471
+ # A TEMPLATE_TEST_CASE_METHOD_SIG based test run that succeeds - 1
472
+ ok {test-number} - Nttp_Fixture<V>::value > 0 for: 1 > 0
473
+ # A TEMPLATE_TEST_CASE_METHOD_SIG based test run that succeeds - 3
474
+ ok {test-number} - Nttp_Fixture<V>::value > 0 for: 3 > 0
475
+ # A TEMPLATE_TEST_CASE_METHOD_SIG based test run that succeeds - 6
476
+ ok {test-number} - Nttp_Fixture<V>::value > 0 for: 6 > 0
477
+ # A TEST_CASE_METHOD based test run that fails
478
+ not ok {test-number} - m_a == 2 for: 1 == 2
479
+ # A TEST_CASE_METHOD based test run that succeeds
480
+ ok {test-number} - m_a == 1 for: 1 == 1
481
+ # A Template product test case - Foo<float>
482
+ ok {test-number} - x.size() == 0 for: 0 == 0
483
+ # A Template product test case - Foo<int>
484
+ ok {test-number} - x.size() == 0 for: 0 == 0
485
+ # A Template product test case - std::vector<float>
486
+ ok {test-number} - x.size() == 0 for: 0 == 0
487
+ # A Template product test case - std::vector<int>
488
+ ok {test-number} - x.size() == 0 for: 0 == 0
489
+ # A Template product test case with array signature - Bar<float, 42>
490
+ ok {test-number} - x.size() > 0 for: 42 > 0
491
+ # A Template product test case with array signature - Bar<int, 9>
492
+ ok {test-number} - x.size() > 0 for: 9 > 0
493
+ # A Template product test case with array signature - std::array<float, 42>
494
+ ok {test-number} - x.size() > 0 for: 42 > 0
495
+ # A Template product test case with array signature - std::array<int, 9>
496
+ ok {test-number} - x.size() > 0 for: 9 > 0
497
+ # A comparison that uses literals instead of the normal constructor
498
+ ok {test-number} - d == 1.23_a for: 1.23 == Approx( 1.23 )
499
+ # A comparison that uses literals instead of the normal constructor
500
+ ok {test-number} - d != 1.22_a for: 1.23 != Approx( 1.22 )
501
+ # A comparison that uses literals instead of the normal constructor
502
+ ok {test-number} - -d == -1.23_a for: -1.23 == Approx( -1.23 )
503
+ # A comparison that uses literals instead of the normal constructor
504
+ ok {test-number} - d == 1.2_a .epsilon(.1) for: 1.23 == Approx( 1.2 )
505
+ # A comparison that uses literals instead of the normal constructor
506
+ ok {test-number} - d != 1.2_a .epsilon(.001) for: 1.23 != Approx( 1.2 )
507
+ # A comparison that uses literals instead of the normal constructor
508
+ ok {test-number} - d == 1_a .epsilon(.3) for: 1.23 == Approx( 1.0 )
509
+ # A couple of nested sections followed by a failure
510
+ ok {test-number} - with 1 message: 'that's not flying - that's failing in style'
511
+ # A couple of nested sections followed by a failure
512
+ not ok {test-number} - explicitly with 1 message: 'to infinity and beyond'
513
+ # A failing expression with a non streamable type is still captured
514
+ not ok {test-number} - &o1 == &o2 for: 0x<hex digits> == 0x<hex digits>
515
+ # A failing expression with a non streamable type is still captured
516
+ not ok {test-number} - o1 == o2 for: {?} == {?}
517
+ # Absolute margin
518
+ ok {test-number} - 104.0 != Approx(100.0) for: 104.0 != Approx( 100.0 )
519
+ # Absolute margin
520
+ ok {test-number} - 104.0 == Approx(100.0).margin(5) for: 104.0 == Approx( 100.0 )
521
+ # Absolute margin
522
+ ok {test-number} - 104.0 == Approx(100.0).margin(4) for: 104.0 == Approx( 100.0 )
523
+ # Absolute margin
524
+ ok {test-number} - 104.0 != Approx(100.0).margin(3) for: 104.0 != Approx( 100.0 )
525
+ # Absolute margin
526
+ ok {test-number} - 100.3 != Approx(100.0) for: 100.3 != Approx( 100.0 )
527
+ # Absolute margin
528
+ ok {test-number} - 100.3 == Approx(100.0).margin(0.5) for: 100.3 == Approx( 100.0 )
529
+ # An expression with side-effects should only be evaluated once
530
+ ok {test-number} - i++ == 7 for: 7 == 7
531
+ # An expression with side-effects should only be evaluated once
532
+ ok {test-number} - i++ == 8 for: 8 == 8
533
+ # An unchecked exception reports the line of the last assertion
534
+ ok {test-number} - 1 == 1
535
+ # An unchecked exception reports the line of the last assertion
536
+ not ok {test-number} - unexpected exception with message: 'unexpected exception'; expression was: {Unknown expression after the reported line}
537
+ # Anonymous test case 1
538
+ ok {test-number} - with 1 message: 'anonymous test case'
539
+ # Approx setters validate their arguments
540
+ ok {test-number} - Approx(0).margin(0)
541
+ # Approx setters validate their arguments
542
+ ok {test-number} - Approx(0).margin(1234656)
543
+ # Approx setters validate their arguments
544
+ ok {test-number} - Approx(0).margin(-2), std::domain_error
545
+ # Approx setters validate their arguments
546
+ ok {test-number} - Approx(0).epsilon(0)
547
+ # Approx setters validate their arguments
548
+ ok {test-number} - Approx(0).epsilon(1)
549
+ # Approx setters validate their arguments
550
+ ok {test-number} - Approx(0).epsilon(-0.001), std::domain_error
551
+ # Approx setters validate their arguments
552
+ ok {test-number} - Approx(0).epsilon(1.0001), std::domain_error
553
+ # Approx with exactly-representable margin
554
+ ok {test-number} - 0.25f == Approx(0.0f).margin(0.25f) for: 0.25f == Approx( 0.0 )
555
+ # Approx with exactly-representable margin
556
+ ok {test-number} - 0.0f == Approx(0.25f).margin(0.25f) for: 0.0f == Approx( 0.25 )
557
+ # Approx with exactly-representable margin
558
+ ok {test-number} - 0.5f == Approx(0.25f).margin(0.25f) for: 0.5f == Approx( 0.25 )
559
+ # Approx with exactly-representable margin
560
+ ok {test-number} - 245.0f == Approx(245.25f).margin(0.25f) for: 245.0f == Approx( 245.25 )
561
+ # Approx with exactly-representable margin
562
+ ok {test-number} - 245.5f == Approx(245.25f).margin(0.25f) for: 245.5f == Approx( 245.25 )
563
+ # Approximate PI
564
+ ok {test-number} - divide( 22, 7 ) == Approx( 3.141 ).epsilon( 0.001 ) for: 3.1428571429 == Approx( 3.141 )
565
+ # Approximate PI
566
+ ok {test-number} - divide( 22, 7 ) != Approx( 3.141 ).epsilon( 0.0001 ) for: 3.1428571429 != Approx( 3.141 )
567
+ # Approximate comparisons with different epsilons
568
+ ok {test-number} - d != Approx( 1.231 ) for: 1.23 != Approx( 1.231 )
569
+ # Approximate comparisons with different epsilons
570
+ ok {test-number} - d == Approx( 1.231 ).epsilon( 0.1 ) for: 1.23 == Approx( 1.231 )
571
+ # Approximate comparisons with floats
572
+ ok {test-number} - 1.23f == Approx( 1.23f ) for: 1.23f == Approx( 1.2300000191 )
573
+ # Approximate comparisons with floats
574
+ ok {test-number} - 0.0f == Approx( 0.0f ) for: 0.0f == Approx( 0.0 )
575
+ # Approximate comparisons with ints
576
+ ok {test-number} - 1 == Approx( 1 ) for: 1 == Approx( 1.0 )
577
+ # Approximate comparisons with ints
578
+ ok {test-number} - 0 == Approx( 0 ) for: 0 == Approx( 0.0 )
579
+ # Approximate comparisons with mixed numeric types
580
+ ok {test-number} - 1.0f == Approx( 1 ) for: 1.0f == Approx( 1.0 )
581
+ # Approximate comparisons with mixed numeric types
582
+ ok {test-number} - 0 == Approx( dZero) for: 0 == Approx( 0.0 )
583
+ # Approximate comparisons with mixed numeric types
584
+ ok {test-number} - 0 == Approx( dSmall ).margin( 0.001 ) for: 0 == Approx( 0.00001 )
585
+ # Approximate comparisons with mixed numeric types
586
+ ok {test-number} - 1.234f == Approx( dMedium ) for: 1.234f == Approx( 1.234 )
587
+ # Approximate comparisons with mixed numeric types
588
+ ok {test-number} - dMedium == Approx( 1.234f ) for: 1.234 == Approx( 1.2339999676 )
589
+ # Arbitrary predicate matcher
590
+ ok {test-number} - 1, Predicate<int>( alwaysTrue, "always true" ) for: 1 matches predicate: "always true"
591
+ # Arbitrary predicate matcher
592
+ ok {test-number} - 1, !Predicate<int>( alwaysFalse, "always false" ) for: 1 not matches predicate: "always false"
593
+ # Arbitrary predicate matcher
594
+ ok {test-number} - "Hello olleH", Predicate<std::string>( []( std::string const& str ) -> bool { return str.front() == str.back(); }, "First and last character should be equal" ) for: "Hello olleH" matches predicate: "First and last character should be equal"
595
+ # Arbitrary predicate matcher
596
+ ok {test-number} - "This wouldn't pass", !Predicate<std::string>( []( std::string const& str ) -> bool { return str.front() == str.back(); } ) for: "This wouldn't pass" not matches undescribed predicate
597
+ # Assertion macros support bit operators and bool conversions
598
+ ok {test-number} - lhs | rhs for: Val: 1 | Val: 2
599
+ # Assertion macros support bit operators and bool conversions
600
+ ok {test-number} - !(lhs & rhs) for: !(Val: 1 & Val: 2)
601
+ # Assertion macros support bit operators and bool conversions
602
+ ok {test-number} - HasBitOperators{ 1 } & HasBitOperators{ 1 } for: Val: 1 & Val: 1
603
+ # Assertion macros support bit operators and bool conversions
604
+ ok {test-number} - lhs ^ rhs for: Val: 1 ^ Val: 2
605
+ # Assertion macros support bit operators and bool conversions
606
+ ok {test-number} - !(lhs ^ lhs) for: !(Val: 1 ^ Val: 1)
607
+ # Assertions then sections
608
+ ok {test-number} - true
609
+ # Assertions then sections
610
+ ok {test-number} - true
611
+ # Assertions then sections
612
+ ok {test-number} - true
613
+ # Assertions then sections
614
+ ok {test-number} - true
615
+ # Assertions then sections
616
+ ok {test-number} - true
617
+ # Assertions then sections
618
+ ok {test-number} - true
619
+ # Basic use of the Contains range matcher
620
+ ok {test-number} - a, Contains(1) for: { 1, 2, 3 } contains element 1
621
+ # Basic use of the Contains range matcher
622
+ ok {test-number} - b, Contains(1) for: { 0, 1, 2 } contains element 1
623
+ # Basic use of the Contains range matcher
624
+ ok {test-number} - c, !Contains(1) for: { 4, 5, 6 } not contains element 1
625
+ # Basic use of the Contains range matcher
626
+ ok {test-number} - a, Contains(0, close_enough) for: { 1, 2, 3 } contains element 0
627
+ # Basic use of the Contains range matcher
628
+ ok {test-number} - b, Contains(0, close_enough) for: { 0, 1, 2 } contains element 0
629
+ # Basic use of the Contains range matcher
630
+ ok {test-number} - c, !Contains(0, close_enough) for: { 4, 5, 6 } not contains element 0
631
+ # Basic use of the Contains range matcher
632
+ ok {test-number} - a, Contains(4, [](auto&& lhs, size_t sz) { return lhs.size() == sz; }) for: { "abc", "abcd", "abcde" } contains element 4
633
+ # Basic use of the Contains range matcher
634
+ ok {test-number} - in, Contains(1) for: { 1, 2, 3, 4, 5 } contains element 1
635
+ # Basic use of the Contains range matcher
636
+ ok {test-number} - in, !Contains(8) for: { 1, 2, 3, 4, 5 } not contains element 8
637
+ # Basic use of the Contains range matcher
638
+ ok {test-number} - in, Contains(MoveOnlyTestElement{ 2 }) for: { 1, 2, 3 } contains element 2
639
+ # Basic use of the Contains range matcher
640
+ ok {test-number} - in, !Contains(MoveOnlyTestElement{ 9 }) for: { 1, 2, 3 } not contains element 9
641
+ # Basic use of the Contains range matcher
642
+ ok {test-number} - in, Contains(Catch::Matchers::WithinAbs(0.5, 0.5)) for: { 1.0, 2.0, 3.0, 0.0 } contains element matching is within 0.5 of 0.5
643
+ # Basic use of the Empty range matcher
644
+ ok {test-number} - empty_array, IsEmpty() for: { } is empty
645
+ # Basic use of the Empty range matcher
646
+ ok {test-number} - non_empty_array, !IsEmpty() for: { 0.0 } not is empty
647
+ # Basic use of the Empty range matcher
648
+ ok {test-number} - empty_vec, IsEmpty() for: { } is empty
649
+ # Basic use of the Empty range matcher
650
+ ok {test-number} - non_empty_vec, !IsEmpty() for: { 'a', 'b', 'c' } not is empty
651
+ # Basic use of the Empty range matcher
652
+ ok {test-number} - inner_lists_are_empty, !IsEmpty() for: { { } } not is empty
653
+ # Basic use of the Empty range matcher
654
+ ok {test-number} - inner_lists_are_empty.front(), IsEmpty() for: { } is empty
655
+ # Basic use of the Empty range matcher
656
+ ok {test-number} - has_empty{}, !IsEmpty() for: {?} not is empty
657
+ # Basic use of the Empty range matcher
658
+ ok {test-number} - unrelated::ADL_empty{}, IsEmpty() for: {?} is empty
659
+ # CAPTURE can deal with complex expressions
660
+ ok {test-number} - with 7 messages: 'a := 1' and 'b := 2' and 'c := 3' and 'a + b := 3' and 'a+b := 3' and 'c > b := true' and 'a == 1 := true'
661
+ # CAPTURE can deal with complex expressions involving commas
662
+ ok {test-number} - with 7 messages: 'std::vector<int>{1, 2, 3}[0, 1, 2] := 3' and 'std::vector<int>{1, 2, 3}[(0, 1)] := 2' and 'std::vector<int>{1, 2, 3}[0] := 1' and '(helper_1436<int, int>{12, -12}) := { 12, -12 }' and '(helper_1436<int, int>(-12, 12)) := { -12, 12 }' and '(1, 2) := 2' and '(2, 3) := 3'
663
+ # CAPTURE parses string and character constants
664
+ ok {test-number} - with 11 messages: '("comma, in string", "escaped, \", ") := "escaped, ", "' and '"single quote in string,'," := "single quote in string,',"' and '"some escapes, \\,\\\\" := "some escapes, \,\\"' and '"some, ), unmatched, } prenheses {[<" := "some, ), unmatched, } prenheses {[<"' and ''"' := '"'' and ''\'' := '''' and '',' := ','' and ''}' := '}'' and '')' := ')'' and ''(' := '('' and ''{' := '{''
665
+ # Capture and info messages
666
+ ok {test-number} - true with 1 message: 'i := 2'
667
+ # Capture and info messages
668
+ ok {test-number} - true with 1 message: '3'
669
+ # CaseInsensitiveEqualsTo is case insensitive
670
+ ok {test-number} - eq( "", "" ) for: true
671
+ # CaseInsensitiveEqualsTo is case insensitive
672
+ ok {test-number} - !(eq( "", "a" )) for: !false
673
+ # CaseInsensitiveEqualsTo is case insensitive
674
+ ok {test-number} - eq( "a", "a" ) for: true
675
+ # CaseInsensitiveEqualsTo is case insensitive
676
+ ok {test-number} - eq( "a", "A" ) for: true
677
+ # CaseInsensitiveEqualsTo is case insensitive
678
+ ok {test-number} - eq( "A", "a" ) for: true
679
+ # CaseInsensitiveEqualsTo is case insensitive
680
+ ok {test-number} - eq( "A", "A" ) for: true
681
+ # CaseInsensitiveEqualsTo is case insensitive
682
+ ok {test-number} - !(eq( "a", "b" )) for: !false
683
+ # CaseInsensitiveEqualsTo is case insensitive
684
+ ok {test-number} - !(eq( "a", "B" )) for: !false
685
+ # CaseInsensitiveLess is case insensitive
686
+ ok {test-number} - lt( "", "a" ) for: true
687
+ # CaseInsensitiveLess is case insensitive
688
+ ok {test-number} - !(lt( "a", "a" )) for: !false
689
+ # CaseInsensitiveLess is case insensitive
690
+ ok {test-number} - !(lt( "", "" )) for: !false
691
+ # CaseInsensitiveLess is case insensitive
692
+ ok {test-number} - lt( "a", "b" ) for: true
693
+ # CaseInsensitiveLess is case insensitive
694
+ ok {test-number} - lt( "a", "B" ) for: true
695
+ # CaseInsensitiveLess is case insensitive
696
+ ok {test-number} - lt( "A", "b" ) for: true
697
+ # CaseInsensitiveLess is case insensitive
698
+ ok {test-number} - lt( "A", "B" ) for: true
699
+ # Character pretty printing
700
+ ok {test-number} - tab == '\t' for: '\t' == '\t'
701
+ # Character pretty printing
702
+ ok {test-number} - newline == '\n' for: '\n' == '\n'
703
+ # Character pretty printing
704
+ ok {test-number} - carr_return == '\r' for: '\r' == '\r'
705
+ # Character pretty printing
706
+ ok {test-number} - form_feed == '\f' for: '\f' == '\f'
707
+ # Character pretty printing
708
+ ok {test-number} - space == ' ' for: ' ' == ' '
709
+ # Character pretty printing
710
+ ok {test-number} - c == chars[i] for: 'a' == 'a'
711
+ # Character pretty printing
712
+ ok {test-number} - c == chars[i] for: 'z' == 'z'
713
+ # Character pretty printing
714
+ ok {test-number} - c == chars[i] for: 'A' == 'A'
715
+ # Character pretty printing
716
+ ok {test-number} - c == chars[i] for: 'Z' == 'Z'
717
+ # Character pretty printing
718
+ ok {test-number} - null_terminator == '\0' for: 0 == 0
719
+ # Character pretty printing
720
+ ok {test-number} - c == i for: 2 == 2
721
+ # Character pretty printing
722
+ ok {test-number} - c == i for: 3 == 3
723
+ # Character pretty printing
724
+ ok {test-number} - c == i for: 4 == 4
725
+ # Character pretty printing
726
+ ok {test-number} - c == i for: 5 == 5
727
+ # Clara::Arg supports single-arg parse the way Opt does
728
+ ok {test-number} - name.empty() for: true
729
+ # Clara::Arg supports single-arg parse the way Opt does
730
+ ok {test-number} - name == "foo" for: "foo" == "foo"
731
+ # Clara::Opt supports accept-many lambdas
732
+ ok {test-number} - !(parse_result) for: !{?}
733
+ # Clara::Opt supports accept-many lambdas
734
+ ok {test-number} - parse_result for: {?}
735
+ # Clara::Opt supports accept-many lambdas
736
+ ok {test-number} - res == std::vector<std::string>{ "aaa", "bbb" } for: { "aaa", "bbb" } == { "aaa", "bbb" }
737
+ # ColourGuard behaviour
738
+ ok {test-number} - streamWrapper.str().empty() for: true
739
+ # ColourGuard behaviour
740
+ ok {test-number} - streamWrapper.str() == "1\nUsing code: 2\n2\nUsing code: 0\n3\n" for: "1 Using code: 2 2 Using code: 0 3 " == "1 Using code: 2 2 Using code: 0 3 "
741
+ # ColourGuard behaviour
742
+ ok {test-number} - streamWrapper.str() == "Using code: 2\nA\nB\nUsing code: 0\nC\n" for: "Using code: 2 A B Using code: 0 C " == "Using code: 2 A B Using code: 0 C "
743
+ # Combining MatchAllOfGeneric does not nest
744
+ ok {test-number} - with 1 message: 'std::is_same< decltype( ( MatcherA() && MatcherB() ) && MatcherC() ), Catch::Matchers::Detail:: MatchAllOfGeneric<MatcherA, MatcherB, MatcherC>>::value'
745
+ # Combining MatchAllOfGeneric does not nest
746
+ ok {test-number} - 1, ( MatcherA() && MatcherB() ) && MatcherC() for: 1 ( equals: (int) 1 or (string) "1" and equals: (long long) 1 and equals: (T) 1 )
747
+ # Combining MatchAllOfGeneric does not nest
748
+ ok {test-number} - with 1 message: 'std::is_same< decltype( MatcherA() && ( MatcherB() && MatcherC() ) ), Catch::Matchers::Detail:: MatchAllOfGeneric<MatcherA, MatcherB, MatcherC>>::value'
749
+ # Combining MatchAllOfGeneric does not nest
750
+ ok {test-number} - 1, MatcherA() && ( MatcherB() && MatcherC() ) for: 1 ( equals: (int) 1 or (string) "1" and equals: (long long) 1 and equals: (T) 1 )
751
+ # Combining MatchAllOfGeneric does not nest
752
+ ok {test-number} - with 1 message: 'std::is_same< decltype( ( MatcherA() && MatcherB() ) && ( MatcherC() && MatcherD() ) ), Catch::Matchers::Detail:: MatchAllOfGeneric<MatcherA, MatcherB, MatcherC, MatcherD>>:: value'
753
+ # Combining MatchAllOfGeneric does not nest
754
+ ok {test-number} - 1, ( MatcherA() && MatcherB() ) && ( MatcherC() && MatcherD() ) for: 1 ( equals: (int) 1 or (string) "1" and equals: (long long) 1 and equals: (T) 1 and equals: true )
755
+ # Combining MatchAnyOfGeneric does not nest
756
+ ok {test-number} - with 1 message: 'std::is_same< decltype( ( MatcherA() || MatcherB() ) || MatcherC() ), Catch::Matchers::Detail:: MatchAnyOfGeneric<MatcherA, MatcherB, MatcherC>>::value'
757
+ # Combining MatchAnyOfGeneric does not nest
758
+ ok {test-number} - 1, ( MatcherA() || MatcherB() ) || MatcherC() for: 1 ( equals: (int) 1 or (string) "1" or equals: (long long) 1 or equals: (T) 1 )
759
+ # Combining MatchAnyOfGeneric does not nest
760
+ ok {test-number} - with 1 message: 'std::is_same< decltype( MatcherA() || ( MatcherB() || MatcherC() ) ), Catch::Matchers::Detail:: MatchAnyOfGeneric<MatcherA, MatcherB, MatcherC>>::value'
761
+ # Combining MatchAnyOfGeneric does not nest
762
+ ok {test-number} - 1, MatcherA() || ( MatcherB() || MatcherC() ) for: 1 ( equals: (int) 1 or (string) "1" or equals: (long long) 1 or equals: (T) 1 )
763
+ # Combining MatchAnyOfGeneric does not nest
764
+ ok {test-number} - with 1 message: 'std::is_same< decltype( ( MatcherA() || MatcherB() ) || ( MatcherC() || MatcherD() ) ), Catch::Matchers::Detail:: MatchAnyOfGeneric<MatcherA, MatcherB, MatcherC, MatcherD>>:: value'
765
+ # Combining MatchAnyOfGeneric does not nest
766
+ ok {test-number} - 1, ( MatcherA() || MatcherB() ) || ( MatcherC() || MatcherD() ) for: 1 ( equals: (int) 1 or (string) "1" or equals: (long long) 1 or equals: (T) 1 or equals: true )
767
+ # Combining MatchNotOfGeneric does not nest
768
+ ok {test-number} - with 1 message: 'std::is_same< decltype( !MatcherA() ), Catch::Matchers::Detail::MatchNotOfGeneric<MatcherA>>::value'
769
+ # Combining MatchNotOfGeneric does not nest
770
+ ok {test-number} - 0, !MatcherA() for: 0 not equals: (int) 1 or (string) "1"
771
+ # Combining MatchNotOfGeneric does not nest
772
+ ok {test-number} - with 1 message: 'std::is_same<decltype( !!MatcherA() ), MatcherA const&>::value'
773
+ # Combining MatchNotOfGeneric does not nest
774
+ ok {test-number} - 1, !!MatcherA() for: 1 equals: (int) 1 or (string) "1"
775
+ # Combining MatchNotOfGeneric does not nest
776
+ ok {test-number} - with 1 message: 'std::is_same< decltype( !!!MatcherA() ), Catch::Matchers::Detail::MatchNotOfGeneric<MatcherA>>::value'
777
+ # Combining MatchNotOfGeneric does not nest
778
+ ok {test-number} - 0, !!!MatcherA() for: 0 not equals: (int) 1 or (string) "1"
779
+ # Combining MatchNotOfGeneric does not nest
780
+ ok {test-number} - with 1 message: 'std::is_same<decltype( !!!!MatcherA() ), MatcherA const&>::value'
781
+ # Combining MatchNotOfGeneric does not nest
782
+ ok {test-number} - 1, !!!!MatcherA() for: 1 equals: (int) 1 or (string) "1"
783
+ # Combining concrete matchers does not use templated matchers
784
+ ok {test-number} - with 1 message: 'std::is_same<decltype( StartsWith( "foo" ) || ( StartsWith( "bar" ) && EndsWith( "bar" ) && !EndsWith( "foo" ) ) ), Catch::Matchers::Detail::MatchAnyOf<std::string>>::value'
785
+ # Combining only templated matchers
786
+ ok {test-number} - with 1 message: 'std::is_same<decltype( MatcherA() || MatcherB() ), Catch::Matchers::Detail:: MatchAnyOfGeneric<MatcherA, MatcherB>>::value'
787
+ # Combining only templated matchers
788
+ ok {test-number} - 1, MatcherA() || MatcherB() for: 1 ( equals: (int) 1 or (string) "1" or equals: (long long) 1 )
789
+ # Combining only templated matchers
790
+ ok {test-number} - with 1 message: 'std::is_same<decltype( MatcherA() && MatcherB() ), Catch::Matchers::Detail:: MatchAllOfGeneric<MatcherA, MatcherB>>::value'
791
+ # Combining only templated matchers
792
+ ok {test-number} - 1, MatcherA() && MatcherB() for: 1 ( equals: (int) 1 or (string) "1" and equals: (long long) 1 )
793
+ # Combining only templated matchers
794
+ ok {test-number} - with 1 message: 'std::is_same< decltype( MatcherA() || !MatcherB() ), Catch::Matchers::Detail::MatchAnyOfGeneric< MatcherA, Catch::Matchers::Detail::MatchNotOfGeneric<MatcherB>>>::value'
795
+ # Combining only templated matchers
796
+ ok {test-number} - 1, MatcherA() || !MatcherB() for: 1 ( equals: (int) 1 or (string) "1" or not equals: (long long) 1 )
797
+ # Combining templated and concrete matchers
798
+ ok {test-number} - vec, Predicate<std::vector<int>>( []( auto const& v ) { return std::all_of( v.begin(), v.end(), []( int elem ) { return elem % 2 == 1; } ); }, "All elements are odd" ) && !EqualsRange( a ) for: { 1, 3, 5 } ( matches predicate: "All elements are odd" and not Equals: { 5, 3, 1 } )
799
+ # Combining templated and concrete matchers
800
+ ok {test-number} - str, StartsWith( "foo" ) && EqualsRange( arr ) && EndsWith( "bar" ) for: "foobar" ( starts with: "foo" and Equals: { 'f', 'o', 'o', 'b', 'a', 'r' } and ends with: "bar" )
801
+ # Combining templated and concrete matchers
802
+ ok {test-number} - str, StartsWith( "foo" ) && !EqualsRange( bad_arr ) && EndsWith( "bar" ) for: "foobar" ( starts with: "foo" and not Equals: { 'o', 'o', 'f', 'b', 'a', 'r' } and ends with: "bar" )
803
+ # Combining templated and concrete matchers
804
+ ok {test-number} - str, EqualsRange( arr ) && StartsWith( "foo" ) && EndsWith( "bar" ) for: "foobar" ( Equals: { 'f', 'o', 'o', 'b', 'a', 'r' } and starts with: "foo" and ends with: "bar" )
805
+ # Combining templated and concrete matchers
806
+ ok {test-number} - str, !EqualsRange( bad_arr ) && StartsWith( "foo" ) && EndsWith( "bar" ) for: "foobar" ( not Equals: { 'o', 'o', 'f', 'b', 'a', 'r' } and starts with: "foo" and ends with: "bar" )
807
+ # Combining templated and concrete matchers
808
+ ok {test-number} - str, EqualsRange( bad_arr ) || ( StartsWith( "foo" ) && EndsWith( "bar" ) ) for: "foobar" ( Equals: { 'o', 'o', 'f', 'b', 'a', 'r' } or ( starts with: "foo" and ends with: "bar" ) )
809
+ # Combining templated and concrete matchers
810
+ ok {test-number} - str, ( StartsWith( "foo" ) && EndsWith( "bar" ) ) || EqualsRange( bad_arr ) for: "foobar" ( ( starts with: "foo" and ends with: "bar" ) or Equals: { 'o', 'o', 'f', 'b', 'a', 'r' } )
811
+ # Combining templated matchers
812
+ ok {test-number} - container, EqualsRange( a ) || EqualsRange( b ) || EqualsRange( c ) for: { 1, 2, 3 } ( Equals: { 1, 2, 3 } or Equals: { 0, 1, 2 } or Equals: { 4, 5, 6 } )
813
+ # Commas in various macros are allowed
814
+ ok {test-number} - std::vector<constructor_throws>{constructor_throws{}, constructor_throws{}}
815
+ # Commas in various macros are allowed
816
+ ok {test-number} - std::vector<constructor_throws>{constructor_throws{}, constructor_throws{}}
817
+ # Commas in various macros are allowed
818
+ ok {test-number} - std::vector<int>{1, 2, 3} == std::vector<int>{1, 2, 3}
819
+ # Commas in various macros are allowed
820
+ ok {test-number} - std::vector<int>{1, 2, 3} == std::vector<int>{1, 2, 3}
821
+ # Commas in various macros are allowed
822
+ ok {test-number} - std::vector<int>{1, 2} == std::vector<int>{1, 2} for: { 1, 2 } == { 1, 2 }
823
+ # Commas in various macros are allowed
824
+ ok {test-number} - std::vector<int>{1, 2} == std::vector<int>{1, 2} for: { 1, 2 } == { 1, 2 }
825
+ # Commas in various macros are allowed
826
+ ok {test-number} - !(std::vector<int>{1, 2} == std::vector<int>{1, 2, 3}) for: !({ 1, 2 } == { 1, 2, 3 })
827
+ # Commas in various macros are allowed
828
+ ok {test-number} - !(std::vector<int>{1, 2} == std::vector<int>{1, 2, 3}) for: !({ 1, 2 } == { 1, 2, 3 })
829
+ # Commas in various macros are allowed
830
+ ok {test-number} - std::vector<int>{1, 2} == std::vector<int>{1, 2} for: { 1, 2 } == { 1, 2 }
831
+ # Commas in various macros are allowed
832
+ ok {test-number} - std::vector<int>{1, 2} == std::vector<int>{1, 2} for: { 1, 2 } == { 1, 2 }
833
+ # Commas in various macros are allowed
834
+ ok {test-number} - true
835
+ # Commas in various macros are allowed
836
+ ok {test-number} - std::vector<int>{1, 2} == std::vector<int>{1, 2} for: { 1, 2 } == { 1, 2 }
837
+ # Comparing function pointers
838
+ ok {test-number} - a for: 0x<hex digits>
839
+ # Comparing function pointers
840
+ ok {test-number} - a == &foo for: 0x<hex digits> == 0x<hex digits>
841
+ # Comparison ops
842
+ ok {test-number} - SimplePcg32{} == SimplePcg32{} for: {?} == {?}
843
+ # Comparison ops
844
+ ok {test-number} - SimplePcg32{ 0 } != SimplePcg32{} for: {?} != {?}
845
+ # Comparison ops
846
+ ok {test-number} - !(SimplePcg32{ 1 } == SimplePcg32{ 2 }) for: !({?} == {?})
847
+ # Comparison ops
848
+ ok {test-number} - !(SimplePcg32{ 1 } != SimplePcg32{ 1 }) for: !({?} != {?})
849
+ # Comparison with explicitly convertible types
850
+ ok {test-number} - td == Approx(10.0) for: StrongDoubleTypedef(10) == Approx( 10.0 )
851
+ # Comparison with explicitly convertible types
852
+ ok {test-number} - Approx(10.0) == td for: Approx( 10.0 ) == StrongDoubleTypedef(10)
853
+ # Comparison with explicitly convertible types
854
+ ok {test-number} - td != Approx(11.0) for: StrongDoubleTypedef(10) != Approx( 11.0 )
855
+ # Comparison with explicitly convertible types
856
+ ok {test-number} - Approx(11.0) != td for: Approx( 11.0 ) != StrongDoubleTypedef(10)
857
+ # Comparison with explicitly convertible types
858
+ ok {test-number} - td <= Approx(10.0) for: StrongDoubleTypedef(10) <= Approx( 10.0 )
859
+ # Comparison with explicitly convertible types
860
+ ok {test-number} - td <= Approx(11.0) for: StrongDoubleTypedef(10) <= Approx( 11.0 )
861
+ # Comparison with explicitly convertible types
862
+ ok {test-number} - Approx(10.0) <= td for: Approx( 10.0 ) <= StrongDoubleTypedef(10)
863
+ # Comparison with explicitly convertible types
864
+ ok {test-number} - Approx(9.0) <= td for: Approx( 9.0 ) <= StrongDoubleTypedef(10)
865
+ # Comparison with explicitly convertible types
866
+ ok {test-number} - td >= Approx(9.0) for: StrongDoubleTypedef(10) >= Approx( 9.0 )
867
+ # Comparison with explicitly convertible types
868
+ ok {test-number} - td >= Approx(td) for: StrongDoubleTypedef(10) >= Approx( 10.0 )
869
+ # Comparison with explicitly convertible types
870
+ ok {test-number} - Approx(td) >= td for: Approx( 10.0 ) >= StrongDoubleTypedef(10)
871
+ # Comparison with explicitly convertible types
872
+ ok {test-number} - Approx(11.0) >= td for: Approx( 11.0 ) >= StrongDoubleTypedef(10)
873
+ # Comparisons between ints where one side is computed
874
+ ok {test-number} - 54 == 6*9 for: 54 == 54
875
+ # Comparisons between unsigned ints and negative signed ints match c++ standard behaviour
876
+ ok {test-number} - ( -1 > 2u ) for: true
877
+ # Comparisons between unsigned ints and negative signed ints match c++ standard behaviour
878
+ ok {test-number} - -1 > 2u for: -1 > 2
879
+ # Comparisons between unsigned ints and negative signed ints match c++ standard behaviour
880
+ ok {test-number} - ( 2u < -1 ) for: true
881
+ # Comparisons between unsigned ints and negative signed ints match c++ standard behaviour
882
+ ok {test-number} - 2u < -1 for: 2 < -1
883
+ # Comparisons between unsigned ints and negative signed ints match c++ standard behaviour
884
+ ok {test-number} - ( minInt > 2u ) for: true
885
+ # Comparisons between unsigned ints and negative signed ints match c++ standard behaviour
886
+ ok {test-number} - minInt > 2u for: -2147483648 > 2
887
+ # Comparisons with int literals don't warn when mixing signed/ unsigned
888
+ ok {test-number} - i == 1 for: 1 == 1
889
+ # Comparisons with int literals don't warn when mixing signed/ unsigned
890
+ ok {test-number} - ui == 2 for: 2 == 2
891
+ # Comparisons with int literals don't warn when mixing signed/ unsigned
892
+ ok {test-number} - l == 3 for: 3 == 3
893
+ # Comparisons with int literals don't warn when mixing signed/ unsigned
894
+ ok {test-number} - ul == 4 for: 4 == 4
895
+ # Comparisons with int literals don't warn when mixing signed/ unsigned
896
+ ok {test-number} - c == 5 for: 5 == 5
897
+ # Comparisons with int literals don't warn when mixing signed/ unsigned
898
+ ok {test-number} - uc == 6 for: 6 == 6
899
+ # Comparisons with int literals don't warn when mixing signed/ unsigned
900
+ ok {test-number} - 1 == i for: 1 == 1
901
+ # Comparisons with int literals don't warn when mixing signed/ unsigned
902
+ ok {test-number} - 2 == ui for: 2 == 2
903
+ # Comparisons with int literals don't warn when mixing signed/ unsigned
904
+ ok {test-number} - 3 == l for: 3 == 3
905
+ # Comparisons with int literals don't warn when mixing signed/ unsigned
906
+ ok {test-number} - 4 == ul for: 4 == 4
907
+ # Comparisons with int literals don't warn when mixing signed/ unsigned
908
+ ok {test-number} - 5 == c for: 5 == 5
909
+ # Comparisons with int literals don't warn when mixing signed/ unsigned
910
+ ok {test-number} - 6 == uc for: 6 == 6
911
+ # Comparisons with int literals don't warn when mixing signed/ unsigned
912
+ ok {test-number} - (std::numeric_limits<uint32_t>::max)() > ul for: 4294967295 (0x<hex digits>) > 4
913
+ # Composed generic matchers shortcircuit
914
+ ok {test-number} - !(matcher.match( 1 )) for: !false
915
+ # Composed generic matchers shortcircuit
916
+ ok {test-number} - first.matchCalled for: true
917
+ # Composed generic matchers shortcircuit
918
+ ok {test-number} - !second.matchCalled for: true
919
+ # Composed generic matchers shortcircuit
920
+ ok {test-number} - matcher.match( 1 ) for: true
921
+ # Composed generic matchers shortcircuit
922
+ ok {test-number} - first.matchCalled for: true
923
+ # Composed generic matchers shortcircuit
924
+ ok {test-number} - !second.matchCalled for: true
925
+ # Composed matchers shortcircuit
926
+ ok {test-number} - !(matcher.match( 1 )) for: !false
927
+ # Composed matchers shortcircuit
928
+ ok {test-number} - first.matchCalled for: true
929
+ # Composed matchers shortcircuit
930
+ ok {test-number} - !second.matchCalled for: true
931
+ # Composed matchers shortcircuit
932
+ ok {test-number} - matcher.match( 1 ) for: true
933
+ # Composed matchers shortcircuit
934
+ ok {test-number} - first.matchCalled for: true
935
+ # Composed matchers shortcircuit
936
+ ok {test-number} - !second.matchCalled for: true
937
+ # Contains string matcher
938
+ not ok {test-number} - testStringForMatching(), ContainsSubstring( "not there", Catch::CaseSensitive::No ) for: "this string contains 'abc' as a substring" contains: "not there" (case insensitive)
939
+ # Contains string matcher
940
+ not ok {test-number} - testStringForMatching(), ContainsSubstring( "STRING" ) for: "this string contains 'abc' as a substring" contains: "STRING"
941
+ # Copy and then generate a range
942
+ ok {test-number} - elem % 2 == 1 for: 1 == 1
943
+ # Copy and then generate a range
944
+ ok {test-number} - elem % 2 == 1 for: 1 == 1
945
+ # Copy and then generate a range
946
+ ok {test-number} - elem % 2 == 1 for: 1 == 1
947
+ # Copy and then generate a range
948
+ ok {test-number} - elem % 2 == 1 for: 1 == 1
949
+ # Copy and then generate a range
950
+ ok {test-number} - elem % 2 == 1 for: 1 == 1
951
+ # Copy and then generate a range
952
+ ok {test-number} - elem % 2 == 1 for: 1 == 1
953
+ # Copy and then generate a range
954
+ ok {test-number} - elem % 2 == 1 for: 1 == 1
955
+ # Copy and then generate a range
956
+ ok {test-number} - elem % 2 == 1 for: 1 == 1
957
+ # Copy and then generate a range
958
+ ok {test-number} - elem % 2 == 1 for: 1 == 1
959
+ # Copy and then generate a range
960
+ ok {test-number} - elem % 2 == 1 for: 1 == 1
961
+ # Copy and then generate a range
962
+ ok {test-number} - elem % 2 == 1 for: 1 == 1
963
+ # Copy and then generate a range
964
+ ok {test-number} - elem % 2 == 1 for: 1 == 1
965
+ # Copy and then generate a range
966
+ ok {test-number} - call_count == 1 for: 1 == 1
967
+ # Copy and then generate a range
968
+ ok {test-number} - make_data().size() == test_count for: 6 == 6
969
+ # Cout stream properly declares it writes to stdout
970
+ ok {test-number} - Catch::makeStream( "-" )->isConsole() for: true
971
+ # Custom exceptions can be translated when testing for nothrow
972
+ not ok {test-number} - unexpected exception with message: 'custom exception - not std'; expression was: throwCustom()
973
+ # Custom exceptions can be translated when testing for throwing as something else
974
+ not ok {test-number} - unexpected exception with message: 'custom exception - not std'; expression was: throwCustom(), std::exception
975
+ # Custom std-exceptions can be custom translated
976
+ not ok {test-number} - unexpected exception with message: 'custom std exception'
977
+ # Default scale is invisible to comparison
978
+ ok {test-number} - 101.000001 != Approx(100).epsilon(0.01) for: 101.000001 != Approx( 100.0 )
979
+ # Default scale is invisible to comparison
980
+ ok {test-number} - std::pow(10, -5) != Approx(std::pow(10, -7)) for: 0.00001 != Approx( 0.0000001 )
981
+ # Directly creating an EnumInfo
982
+ ok {test-number} - enumInfo->lookup(0) == "Value1" for: Value1 == "Value1"
983
+ # Directly creating an EnumInfo
984
+ ok {test-number} - enumInfo->lookup(1) == "Value2" for: Value2 == "Value2"
985
+ # Directly creating an EnumInfo
986
+ ok {test-number} - enumInfo->lookup(3) == "{** unexpected enum value **}" for: {** unexpected enum value **} == "{** unexpected enum value **}"
987
+ # Empty stream name opens cout stream
988
+ ok {test-number} - Catch::makeStream( "" )->isConsole() for: true
989
+ # Empty tag is not allowed
990
+ ok {test-number} - Catch::TestCaseInfo( "", { "fake test name", "[]" }, dummySourceLineInfo )
991
+ # EndsWith string matcher
992
+ not ok {test-number} - testStringForMatching(), EndsWith( "Substring" ) for: "this string contains 'abc' as a substring" ends with: "Substring"
993
+ # EndsWith string matcher
994
+ not ok {test-number} - testStringForMatching(), EndsWith( "this", Catch::CaseSensitive::No ) for: "this string contains 'abc' as a substring" ends with: "this" (case insensitive)
995
+ # Enums can quickly have stringification enabled using REGISTER_ENUM
996
+ ok {test-number} - stringify( EnumClass3::Value1 ) == "Value1" for: "Value1" == "Value1"
997
+ # Enums can quickly have stringification enabled using REGISTER_ENUM
998
+ ok {test-number} - stringify( EnumClass3::Value2 ) == "Value2" for: "Value2" == "Value2"
999
+ # Enums can quickly have stringification enabled using REGISTER_ENUM
1000
+ ok {test-number} - stringify( EnumClass3::Value3 ) == "Value3" for: "Value3" == "Value3"
1001
+ # Enums can quickly have stringification enabled using REGISTER_ENUM
1002
+ ok {test-number} - stringify( EnumClass3::Value4 ) == "{** unexpected enum value **}" for: "{** unexpected enum value **}" == "{** unexpected enum value **}"
1003
+ # Enums can quickly have stringification enabled using REGISTER_ENUM
1004
+ ok {test-number} - stringify( ec3 ) == "Value2" for: "Value2" == "Value2"
1005
+ # Enums in namespaces can quickly have stringification enabled using REGISTER_ENUM
1006
+ ok {test-number} - stringify( Bikeshed::Colours::Red ) == "Red" for: "Red" == "Red"
1007
+ # Enums in namespaces can quickly have stringification enabled using REGISTER_ENUM
1008
+ ok {test-number} - stringify( Bikeshed::Colours::Blue ) == "Blue" for: "Blue" == "Blue"
1009
+ # Epsilon only applies to Approx's value
1010
+ ok {test-number} - 101.01 != Approx(100).epsilon(0.01) for: 101.01 != Approx( 100.0 )
1011
+ # Equality checks that should fail
1012
+ not ok {test-number} - data.int_seven == 6 for: 7 == 6
1013
+ # Equality checks that should fail
1014
+ not ok {test-number} - data.int_seven == 8 for: 7 == 8
1015
+ # Equality checks that should fail
1016
+ not ok {test-number} - data.int_seven == 0 for: 7 == 0
1017
+ # Equality checks that should fail
1018
+ not ok {test-number} - data.float_nine_point_one == Approx( 9.11f ) for: 9.1f == Approx( 9.1099996567 )
1019
+ # Equality checks that should fail
1020
+ not ok {test-number} - data.float_nine_point_one == Approx( 9.0f ) for: 9.1f == Approx( 9.0 )
1021
+ # Equality checks that should fail
1022
+ not ok {test-number} - data.float_nine_point_one == Approx( 1 ) for: 9.1f == Approx( 1.0 )
1023
+ # Equality checks that should fail
1024
+ not ok {test-number} - data.float_nine_point_one == Approx( 0 ) for: 9.1f == Approx( 0.0 )
1025
+ # Equality checks that should fail
1026
+ not ok {test-number} - data.double_pi == Approx( 3.1415 ) for: 3.1415926535 == Approx( 3.1415 )
1027
+ # Equality checks that should fail
1028
+ not ok {test-number} - data.str_hello == "goodbye" for: "hello" == "goodbye"
1029
+ # Equality checks that should fail
1030
+ not ok {test-number} - data.str_hello == "hell" for: "hello" == "hell"
1031
+ # Equality checks that should fail
1032
+ not ok {test-number} - data.str_hello == "hello1" for: "hello" == "hello1"
1033
+ # Equality checks that should fail
1034
+ not ok {test-number} - data.str_hello.size() == 6 for: 5 == 6
1035
+ # Equality checks that should fail
1036
+ not ok {test-number} - x == Approx( 1.301 ) for: 1.3 == Approx( 1.301 )
1037
+ # Equality checks that should succeed
1038
+ ok {test-number} - data.int_seven == 7 for: 7 == 7
1039
+ # Equality checks that should succeed
1040
+ ok {test-number} - data.float_nine_point_one == Approx( 9.1f ) for: 9.1f == Approx( 9.1000003815 )
1041
+ # Equality checks that should succeed
1042
+ ok {test-number} - data.double_pi == Approx( 3.1415926535 ) for: 3.1415926535 == Approx( 3.1415926535 )
1043
+ # Equality checks that should succeed
1044
+ ok {test-number} - data.str_hello == "hello" for: "hello" == "hello"
1045
+ # Equality checks that should succeed
1046
+ ok {test-number} - "hello" == data.str_hello for: "hello" == "hello"
1047
+ # Equality checks that should succeed
1048
+ ok {test-number} - data.str_hello.size() == 5 for: 5 == 5
1049
+ # Equality checks that should succeed
1050
+ ok {test-number} - x == Approx( 1.3 ) for: 1.3 == Approx( 1.3 )
1051
+ # Equals
1052
+ ok {test-number} - testStringForMatching(), Equals( "this string contains 'abc' as a substring" ) for: "this string contains 'abc' as a substring" equals: "this string contains 'abc' as a substring"
1053
+ # Equals
1054
+ ok {test-number} - testStringForMatching(), Equals( "this string contains 'ABC' as a substring", Catch::CaseSensitive::No ) for: "this string contains 'abc' as a substring" equals: "this string contains 'abc' as a substring" (case insensitive)
1055
+ # Equals string matcher
1056
+ not ok {test-number} - testStringForMatching(), Equals( "this string contains 'ABC' as a substring" ) for: "this string contains 'abc' as a substring" equals: "this string contains 'ABC' as a substring"
1057
+ # Equals string matcher
1058
+ not ok {test-number} - testStringForMatching(), Equals( "something else", Catch::CaseSensitive::No ) for: "this string contains 'abc' as a substring" equals: "something else" (case insensitive)
1059
+ # Exception as a value (e.g. in REQUIRE_THROWS_MATCHES) can be stringified
1060
+ ok {test-number} - ::Catch::Detail::stringify(WhatException{}) == "This exception has overridden what() method" for: "This exception has overridden what() method" == "This exception has overridden what() method"
1061
+ # Exception as a value (e.g. in REQUIRE_THROWS_MATCHES) can be stringified
1062
+ ok {test-number} - ::Catch::Detail::stringify(OperatorException{}) == "OperatorException" for: "OperatorException" == "OperatorException"
1063
+ # Exception as a value (e.g. in REQUIRE_THROWS_MATCHES) can be stringified
1064
+ ok {test-number} - ::Catch::Detail::stringify(StringMakerException{}) == "StringMakerException" for: "StringMakerException" == "StringMakerException"
1065
+ # Exception matchers that fail
1066
+ not ok {test-number} - expected exception, got none; expression was: doesNotThrow(), SpecialException, ExceptionMatcher{ 1 }
1067
+ # Exception matchers that fail
1068
+ not ok {test-number} - expected exception, got none; expression was: doesNotThrow(), SpecialException, ExceptionMatcher{ 1 }
1069
+ # Exception matchers that fail
1070
+ not ok {test-number} - unexpected exception with message: 'Unknown exception'; expression was: throwsAsInt( 1 ), SpecialException, ExceptionMatcher{ 1 }
1071
+ # Exception matchers that fail
1072
+ not ok {test-number} - unexpected exception with message: 'Unknown exception'; expression was: throwsAsInt( 1 ), SpecialException, ExceptionMatcher{ 1 }
1073
+ # Exception matchers that fail
1074
+ not ok {test-number} - throwsSpecialException( 3 ), SpecialException, ExceptionMatcher{ 1 } for: SpecialException::what special exception has value of 1
1075
+ # Exception matchers that fail
1076
+ not ok {test-number} - throwsSpecialException( 4 ), SpecialException, ExceptionMatcher{ 1 } for: SpecialException::what special exception has value of 1
1077
+ # Exception matchers that succeed
1078
+ ok {test-number} - throwsSpecialException( 1 ), SpecialException, ExceptionMatcher{ 1 } for: SpecialException::what special exception has value of 1
1079
+ # Exception matchers that succeed
1080
+ ok {test-number} - throwsSpecialException( 2 ), SpecialException, ExceptionMatcher{ 2 } for: SpecialException::what special exception has value of 2
1081
+ # Exception message can be matched
1082
+ ok {test-number} - throwsDerivedException(), DerivedException, MessageMatches( StartsWith( "Derived" ) ) for: DerivedException::what matches "starts with: "Derived""
1083
+ # Exception message can be matched
1084
+ ok {test-number} - throwsDerivedException(), DerivedException, MessageMatches( EndsWith( "::what" ) ) for: DerivedException::what matches "ends with: "::what""
1085
+ # Exception message can be matched
1086
+ ok {test-number} - throwsDerivedException(), DerivedException, MessageMatches( !StartsWith( "::what" ) ) for: DerivedException::what matches "not starts with: "::what""
1087
+ # Exception message can be matched
1088
+ ok {test-number} - throwsSpecialException( 2 ), SpecialException, MessageMatches( StartsWith( "Special" ) ) for: SpecialException::what matches "starts with: "Special""
1089
+ # Exception messages can be tested for
1090
+ ok {test-number} - thisThrows(), "expected exception" for: "expected exception" equals: "expected exception"
1091
+ # Exception messages can be tested for
1092
+ ok {test-number} - thisThrows(), Equals( "expecteD Exception", Catch::CaseSensitive::No ) for: "expected exception" equals: "expected exception" (case insensitive)
1093
+ # Exception messages can be tested for
1094
+ ok {test-number} - thisThrows(), StartsWith( "expected" ) for: "expected exception" starts with: "expected"
1095
+ # Exception messages can be tested for
1096
+ ok {test-number} - thisThrows(), EndsWith( "exception" ) for: "expected exception" ends with: "exception"
1097
+ # Exception messages can be tested for
1098
+ ok {test-number} - thisThrows(), ContainsSubstring( "except" ) for: "expected exception" contains: "except"
1099
+ # Exception messages can be tested for
1100
+ ok {test-number} - thisThrows(), ContainsSubstring( "exCept", Catch::CaseSensitive::No ) for: "expected exception" contains: "except" (case insensitive)
1101
+ # Exceptions matchers
1102
+ ok {test-number} - throwsDerivedException(), DerivedException, Message( "DerivedException::what" ) for: DerivedException::what exception message matches "DerivedException::what"
1103
+ # Exceptions matchers
1104
+ ok {test-number} - throwsDerivedException(), DerivedException, !Message( "derivedexception::what" ) for: DerivedException::what not exception message matches "derivedexception::what"
1105
+ # Exceptions matchers
1106
+ ok {test-number} - throwsSpecialException( 2 ), SpecialException, !Message( "DerivedException::what" ) for: SpecialException::what not exception message matches "DerivedException::what"
1107
+ # Exceptions matchers
1108
+ ok {test-number} - throwsSpecialException( 2 ), SpecialException, Message( "SpecialException::what" ) for: SpecialException::what exception message matches "SpecialException::what"
1109
+ # Expected exceptions that don't throw or unexpected exceptions fail the test
1110
+ not ok {test-number} - unexpected exception with message: 'expected exception'; expression was: thisThrows(), std::string
1111
+ # Expected exceptions that don't throw or unexpected exceptions fail the test
1112
+ not ok {test-number} - expected exception, got none; expression was: thisDoesntThrow(), std::domain_error
1113
+ # Expected exceptions that don't throw or unexpected exceptions fail the test
1114
+ not ok {test-number} - unexpected exception with message: 'expected exception'; expression was: thisThrows()
1115
+ # FAIL aborts the test
1116
+ not ok {test-number} - explicitly with 1 message: 'This is a failure'
1117
+ # FAIL does not require an argument
1118
+ not ok {test-number} - explicitly
1119
+ # FAIL_CHECK does not abort the test
1120
+ not ok {test-number} - explicitly with 1 message: 'This is a failure'
1121
+ # FAIL_CHECK does not abort the test
1122
+ warning {test-number} - 'This message appears in the output'
1123
+ # Factorials are computed
1124
+ ok {test-number} - Factorial(0) == 1 for: 1 == 1
1125
+ # Factorials are computed
1126
+ ok {test-number} - Factorial(1) == 1 for: 1 == 1
1127
+ # Factorials are computed
1128
+ ok {test-number} - Factorial(2) == 2 for: 2 == 2
1129
+ # Factorials are computed
1130
+ ok {test-number} - Factorial(3) == 6 for: 6 == 6
1131
+ # Factorials are computed
1132
+ ok {test-number} - Factorial(10) == 3628800 for: 3628800 (0x<hex digits>) == 3628800 (0x<hex digits>)
1133
+ # Filter generator throws exception for empty generator
1134
+ ok {test-number} - filter( []( int ) { return false; }, value( 3 ) ), Catch::GeneratorException
1135
+ # Floating point matchers: double
1136
+ ok {test-number} - 10., WithinRel( 11.1, 0.1 ) for: 10.0 and 11.1 are within 10% of each other
1137
+ # Floating point matchers: double
1138
+ ok {test-number} - 10., !WithinRel( 11.2, 0.1 ) for: 10.0 not and 11.2 are within 10% of each other
1139
+ # Floating point matchers: double
1140
+ ok {test-number} - 1., !WithinRel( 0., 0.99 ) for: 1.0 not and 0 are within 99% of each other
1141
+ # Floating point matchers: double
1142
+ ok {test-number} - -0., WithinRel( 0. ) for: -0.0 and 0 are within 2.22045e-12% of each other
1143
+ # Floating point matchers: double
1144
+ ok {test-number} - v1, WithinRel( v2 ) for: 0.0 and 2.22507e-308 are within 2.22045e-12% of each other
1145
+ # Floating point matchers: double
1146
+ ok {test-number} - 1., WithinAbs( 1., 0 ) for: 1.0 is within 0.0 of 1.0
1147
+ # Floating point matchers: double
1148
+ ok {test-number} - 0., WithinAbs( 1., 1 ) for: 0.0 is within 1.0 of 1.0
1149
+ # Floating point matchers: double
1150
+ ok {test-number} - 0., !WithinAbs( 1., 0.99 ) for: 0.0 not is within 0.99 of 1.0
1151
+ # Floating point matchers: double
1152
+ ok {test-number} - 0., !WithinAbs( 1., 0.99 ) for: 0.0 not is within 0.99 of 1.0
1153
+ # Floating point matchers: double
1154
+ ok {test-number} - 11., !WithinAbs( 10., 0.5 ) for: 11.0 not is within 0.5 of 10.0
1155
+ # Floating point matchers: double
1156
+ ok {test-number} - 10., !WithinAbs( 11., 0.5 ) for: 10.0 not is within 0.5 of 11.0
1157
+ # Floating point matchers: double
1158
+ ok {test-number} - -10., WithinAbs( -10., 0.5 ) for: -10.0 is within 0.5 of -10.0
1159
+ # Floating point matchers: double
1160
+ ok {test-number} - -10., WithinAbs( -9.6, 0.5 ) for: -10.0 is within 0.5 of -9.6
1161
+ # Floating point matchers: double
1162
+ ok {test-number} - 1., WithinULP( 1., 0 ) for: 1.0 is within 0 ULPs of 1.0000000000000000e+00 ([1.0000000000000000e+00, 1.0000000000000000e+00])
1163
+ # Floating point matchers: double
1164
+ ok {test-number} - nextafter( 1., 2. ), WithinULP( 1., 1 ) for: 1.0 is within 1 ULPs of 1.0000000000000000e+00 ([9.9999999999999989e-01, 1.0000000000000002e+00])
1165
+ # Floating point matchers: double
1166
+ ok {test-number} - 0., WithinULP( nextafter( 0., 1. ), 1 ) for: 0.0 is within 1 ULPs of 4.9406564584124654e-324 ([0.0000000000000000e+00, 9.8813129168249309e-324])
1167
+ # Floating point matchers: double
1168
+ ok {test-number} - 1., WithinULP( nextafter( 1., 0. ), 1 ) for: 1.0 is within 1 ULPs of 9.9999999999999989e-01 ([9.9999999999999978e-01, 1.0000000000000000e+00])
1169
+ # Floating point matchers: double
1170
+ ok {test-number} - 1., !WithinULP( nextafter( 1., 2. ), 0 ) for: 1.0 not is within 0 ULPs of 1.0000000000000002e+00 ([1.0000000000000002e+00, 1.0000000000000002e+00])
1171
+ # Floating point matchers: double
1172
+ ok {test-number} - 1., WithinULP( 1., 0 ) for: 1.0 is within 0 ULPs of 1.0000000000000000e+00 ([1.0000000000000000e+00, 1.0000000000000000e+00])
1173
+ # Floating point matchers: double
1174
+ ok {test-number} - -0., WithinULP( 0., 0 ) for: -0.0 is within 0 ULPs of 0.0000000000000000e+00 ([0.0000000000000000e+00, 0.0000000000000000e+00])
1175
+ # Floating point matchers: double
1176
+ ok {test-number} - 1., WithinAbs( 1., 0.5 ) || WithinULP( 2., 1 ) for: 1.0 ( is within 0.5 of 1.0 or is within 1 ULPs of 2.0000000000000000e+00 ([1.9999999999999998e+00, 2.0000000000000004e+00]) )
1177
+ # Floating point matchers: double
1178
+ ok {test-number} - 1., WithinAbs( 2., 0.5 ) || WithinULP( 1., 0 ) for: 1.0 ( is within 0.5 of 2.0 or is within 0 ULPs of 1.0000000000000000e+00 ([1.0000000000000000e+00, 1.0000000000000000e+00]) )
1179
+ # Floating point matchers: double
1180
+ ok {test-number} - 0.0001, WithinAbs( 0., 0.001 ) || WithinRel( 0., 0.1 ) for: 0.0001 ( is within 0.001 of 0.0 or and 0 are within 10% of each other )
1181
+ # Floating point matchers: double
1182
+ ok {test-number} - WithinAbs( 1., 0. )
1183
+ # Floating point matchers: double
1184
+ ok {test-number} - WithinAbs( 1., -1. ), std::domain_error
1185
+ # Floating point matchers: double
1186
+ ok {test-number} - WithinULP( 1., 0 )
1187
+ # Floating point matchers: double
1188
+ ok {test-number} - WithinRel( 1., 0. )
1189
+ # Floating point matchers: double
1190
+ ok {test-number} - WithinRel( 1., -0.2 ), std::domain_error
1191
+ # Floating point matchers: double
1192
+ ok {test-number} - WithinRel( 1., 1. ), std::domain_error
1193
+ # Floating point matchers: double
1194
+ ok {test-number} - 1., !IsNaN() for: 1.0 not is NaN
1195
+ # Floating point matchers: float
1196
+ ok {test-number} - 10.f, WithinRel( 11.1f, 0.1f ) for: 10.0f and 11.1 are within 10% of each other
1197
+ # Floating point matchers: float
1198
+ ok {test-number} - 10.f, !WithinRel( 11.2f, 0.1f ) for: 10.0f not and 11.2 are within 10% of each other
1199
+ # Floating point matchers: float
1200
+ ok {test-number} - 1.f, !WithinRel( 0.f, 0.99f ) for: 1.0f not and 0 are within 99% of each other
1201
+ # Floating point matchers: float
1202
+ ok {test-number} - -0.f, WithinRel( 0.f ) for: -0.0f and 0 are within 0.00119209% of each other
1203
+ # Floating point matchers: float
1204
+ ok {test-number} - v1, WithinRel( v2 ) for: 0.0f and 1.17549e-38 are within 0.00119209% of each other
1205
+ # Floating point matchers: float
1206
+ ok {test-number} - 1.f, WithinAbs( 1.f, 0 ) for: 1.0f is within 0.0 of 1.0
1207
+ # Floating point matchers: float
1208
+ ok {test-number} - 0.f, WithinAbs( 1.f, 1 ) for: 0.0f is within 1.0 of 1.0
1209
+ # Floating point matchers: float
1210
+ ok {test-number} - 0.f, !WithinAbs( 1.f, 0.99f ) for: 0.0f not is within 0.9900000095 of 1.0
1211
+ # Floating point matchers: float
1212
+ ok {test-number} - 0.f, !WithinAbs( 1.f, 0.99f ) for: 0.0f not is within 0.9900000095 of 1.0
1213
+ # Floating point matchers: float
1214
+ ok {test-number} - 0.f, WithinAbs( -0.f, 0 ) for: 0.0f is within 0.0 of -0.0
1215
+ # Floating point matchers: float
1216
+ ok {test-number} - 11.f, !WithinAbs( 10.f, 0.5f ) for: 11.0f not is within 0.5 of 10.0
1217
+ # Floating point matchers: float
1218
+ ok {test-number} - 10.f, !WithinAbs( 11.f, 0.5f ) for: 10.0f not is within 0.5 of 11.0
1219
+ # Floating point matchers: float
1220
+ ok {test-number} - -10.f, WithinAbs( -10.f, 0.5f ) for: -10.0f is within 0.5 of -10.0
1221
+ # Floating point matchers: float
1222
+ ok {test-number} - -10.f, WithinAbs( -9.6f, 0.5f ) for: -10.0f is within 0.5 of -9.6000003815
1223
+ # Floating point matchers: float
1224
+ ok {test-number} - 1.f, WithinULP( 1.f, 0 ) for: 1.0f is within 0 ULPs of 1.00000000e+00f ([1.00000000e+00, 1.00000000e+00])
1225
+ # Floating point matchers: float
1226
+ ok {test-number} - -1.f, WithinULP( -1.f, 0 ) for: -1.0f is within 0 ULPs of -1.00000000e+00f ([-1.00000000e+00, -1.00000000e+00])
1227
+ # Floating point matchers: float
1228
+ ok {test-number} - nextafter( 1.f, 2.f ), WithinULP( 1.f, 1 ) for: 1.0f is within 1 ULPs of 1.00000000e+00f ([9.99999940e-01, 1.00000012e+00])
1229
+ # Floating point matchers: float
1230
+ ok {test-number} - 0.f, WithinULP( nextafter( 0.f, 1.f ), 1 ) for: 0.0f is within 1 ULPs of 1.40129846e-45f ([0.00000000e+00, 2.80259693e-45])
1231
+ # Floating point matchers: float
1232
+ ok {test-number} - 1.f, WithinULP( nextafter( 1.f, 0.f ), 1 ) for: 1.0f is within 1 ULPs of 9.99999940e-01f ([9.99999881e-01, 1.00000000e+00])
1233
+ # Floating point matchers: float
1234
+ ok {test-number} - 1.f, !WithinULP( nextafter( 1.f, 2.f ), 0 ) for: 1.0f not is within 0 ULPs of 1.00000012e+00f ([1.00000012e+00, 1.00000012e+00])
1235
+ # Floating point matchers: float
1236
+ ok {test-number} - 1.f, WithinULP( 1.f, 0 ) for: 1.0f is within 0 ULPs of 1.00000000e+00f ([1.00000000e+00, 1.00000000e+00])
1237
+ # Floating point matchers: float
1238
+ ok {test-number} - -0.f, WithinULP( 0.f, 0 ) for: -0.0f is within 0 ULPs of 0.00000000e+00f ([0.00000000e+00, 0.00000000e+00])
1239
+ # Floating point matchers: float
1240
+ ok {test-number} - 1.f, WithinAbs( 1.f, 0.5 ) || WithinULP( 1.f, 1 ) for: 1.0f ( is within 0.5 of 1.0 or is within 1 ULPs of 1.00000000e+00f ([9.99999940e-01, 1.00000012e+00]) )
1241
+ # Floating point matchers: float
1242
+ ok {test-number} - 1.f, WithinAbs( 2.f, 0.5 ) || WithinULP( 1.f, 0 ) for: 1.0f ( is within 0.5 of 2.0 or is within 0 ULPs of 1.00000000e+00f ([1.00000000e+00, 1.00000000e+00]) )
1243
+ # Floating point matchers: float
1244
+ ok {test-number} - 0.0001f, WithinAbs( 0.f, 0.001f ) || WithinRel( 0.f, 0.1f ) for: 0.0001f ( is within 0.001 of 0.0 or and 0 are within 10% of each other )
1245
+ # Floating point matchers: float
1246
+ ok {test-number} - WithinAbs( 1.f, 0.f )
1247
+ # Floating point matchers: float
1248
+ ok {test-number} - WithinAbs( 1.f, -1.f ), std::domain_error
1249
+ # Floating point matchers: float
1250
+ ok {test-number} - WithinULP( 1.f, 0 )
1251
+ # Floating point matchers: float
1252
+ ok {test-number} - WithinULP( 1.f, static_cast<uint64_t>( -1 ) ), std::domain_error
1253
+ # Floating point matchers: float
1254
+ ok {test-number} - WithinRel( 1.f, 0.f )
1255
+ # Floating point matchers: float
1256
+ ok {test-number} - WithinRel( 1.f, -0.2f ), std::domain_error
1257
+ # Floating point matchers: float
1258
+ ok {test-number} - WithinRel( 1.f, 1.f ), std::domain_error
1259
+ # Floating point matchers: float
1260
+ ok {test-number} - 1., !IsNaN() for: 1.0 not is NaN
1261
+ # Generators -- adapters
1262
+ ok {test-number} - i % 2 == 0 for: 0 == 0
1263
+ # Generators -- adapters
1264
+ ok {test-number} - i % 2 == 0 for: 0 == 0
1265
+ # Generators -- adapters
1266
+ ok {test-number} - i % 2 == 0 for: 0 == 0
1267
+ # Generators -- adapters
1268
+ ok {test-number} - filter([] (int) {return false; }, value(1)), Catch::GeneratorException
1269
+ # Generators -- adapters
1270
+ ok {test-number} - i < 4 for: 1 < 4
1271
+ # Generators -- adapters
1272
+ ok {test-number} - i < 4 for: 2 < 4
1273
+ # Generators -- adapters
1274
+ ok {test-number} - i < 4 for: 3 < 4
1275
+ # Generators -- adapters
1276
+ ok {test-number} - i % 2 == 0 for: 0 == 0
1277
+ # Generators -- adapters
1278
+ ok {test-number} - i % 2 == 0 for: 0 == 0
1279
+ # Generators -- adapters
1280
+ ok {test-number} - i % 2 == 0 for: 0 == 0
1281
+ # Generators -- adapters
1282
+ ok {test-number} - i.size() == 1 for: 1 == 1
1283
+ # Generators -- adapters
1284
+ ok {test-number} - i.size() == 1 for: 1 == 1
1285
+ # Generators -- adapters
1286
+ ok {test-number} - i.size() == 1 for: 1 == 1
1287
+ # Generators -- adapters
1288
+ ok {test-number} - i.size() == 1 for: 1 == 1
1289
+ # Generators -- adapters
1290
+ ok {test-number} - i.size() == 1 for: 1 == 1
1291
+ # Generators -- adapters
1292
+ ok {test-number} - i.size() == 1 for: 1 == 1
1293
+ # Generators -- adapters
1294
+ ok {test-number} - j > 0 for: 1 > 0
1295
+ # Generators -- adapters
1296
+ ok {test-number} - j > 0 for: 2 > 0
1297
+ # Generators -- adapters
1298
+ ok {test-number} - j > 0 for: 3 > 0
1299
+ # Generators -- adapters
1300
+ ok {test-number} - j > 0 for: 1 > 0
1301
+ # Generators -- adapters
1302
+ ok {test-number} - j > 0 for: 2 > 0
1303
+ # Generators -- adapters
1304
+ ok {test-number} - j > 0 for: 3 > 0
1305
+ # Generators -- adapters
1306
+ ok {test-number} - chunk2.size() == 2 for: 2 == 2
1307
+ # Generators -- adapters
1308
+ ok {test-number} - chunk2.front() == chunk2.back() for: 1 == 1
1309
+ # Generators -- adapters
1310
+ ok {test-number} - chunk2.size() == 2 for: 2 == 2
1311
+ # Generators -- adapters
1312
+ ok {test-number} - chunk2.front() == chunk2.back() for: 2 == 2
1313
+ # Generators -- adapters
1314
+ ok {test-number} - chunk2.size() == 2 for: 2 == 2
1315
+ # Generators -- adapters
1316
+ ok {test-number} - chunk2.front() == chunk2.back() for: 3 == 3
1317
+ # Generators -- adapters
1318
+ ok {test-number} - chunk2.size() == 2 for: 2 == 2
1319
+ # Generators -- adapters
1320
+ ok {test-number} - chunk2.front() == chunk2.back() for: 1 == 1
1321
+ # Generators -- adapters
1322
+ ok {test-number} - chunk2.front() < 3 for: 1 < 3
1323
+ # Generators -- adapters
1324
+ ok {test-number} - chunk2.size() == 2 for: 2 == 2
1325
+ # Generators -- adapters
1326
+ ok {test-number} - chunk2.front() == chunk2.back() for: 2 == 2
1327
+ # Generators -- adapters
1328
+ ok {test-number} - chunk2.front() < 3 for: 2 < 3
1329
+ # Generators -- adapters
1330
+ ok {test-number} - chunk2.size() == 0 for: 0 == 0
1331
+ # Generators -- adapters
1332
+ ok {test-number} - chunk2.size() == 0 for: 0 == 0
1333
+ # Generators -- adapters
1334
+ ok {test-number} - chunk2.size() == 0 for: 0 == 0
1335
+ # Generators -- adapters
1336
+ ok {test-number} - chunk(2, value(1)), Catch::GeneratorException
1337
+ # Generators -- simple
1338
+ ok {test-number} - j < i for: -3 < 1
1339
+ # Generators -- simple
1340
+ ok {test-number} - j < i for: -2 < 1
1341
+ # Generators -- simple
1342
+ ok {test-number} - j < i for: -1 < 1
1343
+ # Generators -- simple
1344
+ ok {test-number} - 4u * i > str.size() for: 4 > 1
1345
+ # Generators -- simple
1346
+ ok {test-number} - 4u * i > str.size() for: 4 > 2
1347
+ # Generators -- simple
1348
+ ok {test-number} - 4u * i > str.size() for: 4 > 3
1349
+ # Generators -- simple
1350
+ ok {test-number} - j < i for: -3 < 2
1351
+ # Generators -- simple
1352
+ ok {test-number} - j < i for: -2 < 2
1353
+ # Generators -- simple
1354
+ ok {test-number} - j < i for: -1 < 2
1355
+ # Generators -- simple
1356
+ ok {test-number} - 4u * i > str.size() for: 8 > 1
1357
+ # Generators -- simple
1358
+ ok {test-number} - 4u * i > str.size() for: 8 > 2
1359
+ # Generators -- simple
1360
+ ok {test-number} - 4u * i > str.size() for: 8 > 3
1361
+ # Generators -- simple
1362
+ ok {test-number} - j < i for: -3 < 3
1363
+ # Generators -- simple
1364
+ ok {test-number} - j < i for: -2 < 3
1365
+ # Generators -- simple
1366
+ ok {test-number} - j < i for: -1 < 3
1367
+ # Generators -- simple
1368
+ ok {test-number} - 4u * i > str.size() for: 12 > 1
1369
+ # Generators -- simple
1370
+ ok {test-number} - 4u * i > str.size() for: 12 > 2
1371
+ # Generators -- simple
1372
+ ok {test-number} - 4u * i > str.size() for: 12 > 3
1373
+ # Generators internals
1374
+ ok {test-number} - gen.get() == 123 for: 123 == 123
1375
+ # Generators internals
1376
+ ok {test-number} - !(gen.next()) for: !false
1377
+ # Generators internals
1378
+ ok {test-number} - gen.get() == 1 for: 1 == 1
1379
+ # Generators internals
1380
+ ok {test-number} - gen.next() for: true
1381
+ # Generators internals
1382
+ ok {test-number} - gen.get() == 3 for: 3 == 3
1383
+ # Generators internals
1384
+ ok {test-number} - gen.next() for: true
1385
+ # Generators internals
1386
+ ok {test-number} - gen.get() == 5 for: 5 == 5
1387
+ # Generators internals
1388
+ ok {test-number} - !(gen.next()) for: !false
1389
+ # Generators internals
1390
+ ok {test-number} - gen.get() == 1 for: 1 == 1
1391
+ # Generators internals
1392
+ ok {test-number} - gen.next() for: true
1393
+ # Generators internals
1394
+ ok {test-number} - gen.get() == 5 for: 5 == 5
1395
+ # Generators internals
1396
+ ok {test-number} - gen.next() for: true
1397
+ # Generators internals
1398
+ ok {test-number} - gen.get() == 2 for: 2 == 2
1399
+ # Generators internals
1400
+ ok {test-number} - gen.next() for: true
1401
+ # Generators internals
1402
+ ok {test-number} - gen.get() == 4 for: 4 == 4
1403
+ # Generators internals
1404
+ ok {test-number} - gen.next() for: true
1405
+ # Generators internals
1406
+ ok {test-number} - gen.get() == 0 for: 0 == 0
1407
+ # Generators internals
1408
+ ok {test-number} - !(gen.next()) for: !false
1409
+ # Generators internals
1410
+ ok {test-number} - gen.get().size() == 2 for: 2 == 2
1411
+ # Generators internals
1412
+ ok {test-number} - gen.get() == "aa" for: "aa" == "aa"
1413
+ # Generators internals
1414
+ ok {test-number} - gen.next() for: true
1415
+ # Generators internals
1416
+ ok {test-number} - gen.get() == "bb" for: "bb" == "bb"
1417
+ # Generators internals
1418
+ ok {test-number} - gen.next() for: true
1419
+ # Generators internals
1420
+ ok {test-number} - gen.get() == "cc" for: "cc" == "cc"
1421
+ # Generators internals
1422
+ ok {test-number} - !(gen.next()) for: !false
1423
+ # Generators internals
1424
+ ok {test-number} - gen.get() == 1 for: 1 == 1
1425
+ # Generators internals
1426
+ ok {test-number} - gen.next() for: true
1427
+ # Generators internals
1428
+ ok {test-number} - gen.get() == 3 for: 3 == 3
1429
+ # Generators internals
1430
+ ok {test-number} - !(gen.next()) for: !false
1431
+ # Generators internals
1432
+ ok {test-number} - gen.get() == 1 for: 1 == 1
1433
+ # Generators internals
1434
+ ok {test-number} - gen.next() for: true
1435
+ # Generators internals
1436
+ ok {test-number} - gen.get() == 3 for: 3 == 3
1437
+ # Generators internals
1438
+ ok {test-number} - !(gen.next()) for: !false
1439
+ # Generators internals
1440
+ ok {test-number} - filter([](int) { return false; }, value(1)), Catch::GeneratorException
1441
+ # Generators internals
1442
+ ok {test-number} - filter([](int) { return false; }, values({ 1, 2, 3 })), Catch::GeneratorException
1443
+ # Generators internals
1444
+ ok {test-number} - gen.get() == 1 for: 1 == 1
1445
+ # Generators internals
1446
+ ok {test-number} - gen.next() for: true
1447
+ # Generators internals
1448
+ ok {test-number} - gen.get() == 2 for: 2 == 2
1449
+ # Generators internals
1450
+ ok {test-number} - !(gen.next()) for: !false
1451
+ # Generators internals
1452
+ ok {test-number} - gen.get() == 1 for: 1 == 1
1453
+ # Generators internals
1454
+ ok {test-number} - !(gen.next()) for: !false
1455
+ # Generators internals
1456
+ ok {test-number} - gen.get() == 2.0 for: 2.0 == 2.0
1457
+ # Generators internals
1458
+ ok {test-number} - gen.next() for: true
1459
+ # Generators internals
1460
+ ok {test-number} - gen.get() == 4.0 for: 4.0 == 4.0
1461
+ # Generators internals
1462
+ ok {test-number} - gen.next() for: true
1463
+ # Generators internals
1464
+ ok {test-number} - gen.get() == 6.0 for: 6.0 == 6.0
1465
+ # Generators internals
1466
+ ok {test-number} - !(gen.next()) for: !false
1467
+ # Generators internals
1468
+ ok {test-number} - gen.get() == 2.0 for: 2.0 == 2.0
1469
+ # Generators internals
1470
+ ok {test-number} - gen.next() for: true
1471
+ # Generators internals
1472
+ ok {test-number} - gen.get() == 4.0 for: 4.0 == 4.0
1473
+ # Generators internals
1474
+ ok {test-number} - gen.next() for: true
1475
+ # Generators internals
1476
+ ok {test-number} - gen.get() == 6.0 for: 6.0 == 6.0
1477
+ # Generators internals
1478
+ ok {test-number} - !(gen.next()) for: !false
1479
+ # Generators internals
1480
+ ok {test-number} - gen.get() == 3 for: 3 == 3
1481
+ # Generators internals
1482
+ ok {test-number} - !(gen.next()) for: !false
1483
+ # Generators internals
1484
+ ok {test-number} - gen.get() == 1 for: 1 == 1
1485
+ # Generators internals
1486
+ ok {test-number} - gen.next() for: true
1487
+ # Generators internals
1488
+ ok {test-number} - gen.get() == 2 for: 2 == 2
1489
+ # Generators internals
1490
+ ok {test-number} - gen.next() for: true
1491
+ # Generators internals
1492
+ ok {test-number} - gen.get() == 3 for: 3 == 3
1493
+ # Generators internals
1494
+ ok {test-number} - gen.next() for: true
1495
+ # Generators internals
1496
+ ok {test-number} - gen.get() == 1 for: 1 == 1
1497
+ # Generators internals
1498
+ ok {test-number} - gen.next() for: true
1499
+ # Generators internals
1500
+ ok {test-number} - gen.get() == 2 for: 2 == 2
1501
+ # Generators internals
1502
+ ok {test-number} - gen.next() for: true
1503
+ # Generators internals
1504
+ ok {test-number} - gen.get() == 3 for: 3 == 3
1505
+ # Generators internals
1506
+ ok {test-number} - !(gen.next()) for: !false
1507
+ # Generators internals
1508
+ ok {test-number} - gen.get() == -2 for: -2 == -2
1509
+ # Generators internals
1510
+ ok {test-number} - gen.next() for: true
1511
+ # Generators internals
1512
+ ok {test-number} - gen.get() == -1 for: -1 == -1
1513
+ # Generators internals
1514
+ ok {test-number} - gen.next() for: true
1515
+ # Generators internals
1516
+ ok {test-number} - gen.get() == 0 for: 0 == 0
1517
+ # Generators internals
1518
+ ok {test-number} - gen.next() for: true
1519
+ # Generators internals
1520
+ ok {test-number} - gen.get() == 1 for: 1 == 1
1521
+ # Generators internals
1522
+ ok {test-number} - !(gen.next()) for: !false
1523
+ # Generators internals
1524
+ ok {test-number} - gen.get() == 2 for: 2 == 2
1525
+ # Generators internals
1526
+ ok {test-number} - gen.next() for: true
1527
+ # Generators internals
1528
+ ok {test-number} - gen.get() == 1 for: 1 == 1
1529
+ # Generators internals
1530
+ ok {test-number} - gen.next() for: true
1531
+ # Generators internals
1532
+ ok {test-number} - gen.get() == 0 for: 0 == 0
1533
+ # Generators internals
1534
+ ok {test-number} - gen.next() for: true
1535
+ # Generators internals
1536
+ ok {test-number} - gen.get() == -1 for: -1 == -1
1537
+ # Generators internals
1538
+ ok {test-number} - !(gen.next()) for: !false
1539
+ # Generators internals
1540
+ ok {test-number} - gen.get() == -7 for: -7 == -7
1541
+ # Generators internals
1542
+ ok {test-number} - gen.next() for: true
1543
+ # Generators internals
1544
+ ok {test-number} - gen.get() == -4 for: -4 == -4
1545
+ # Generators internals
1546
+ ok {test-number} - gen.next() for: true
1547
+ # Generators internals
1548
+ ok {test-number} - gen.get() == -1 for: -1 == -1
1549
+ # Generators internals
1550
+ ok {test-number} - gen.next() for: true
1551
+ # Generators internals
1552
+ ok {test-number} - gen.get() == 2 for: 2 == 2
1553
+ # Generators internals
1554
+ ok {test-number} - !(gen.next()) for: !false
1555
+ # Generators internals
1556
+ ok {test-number} - gen.get() == -7 for: -7 == -7
1557
+ # Generators internals
1558
+ ok {test-number} - gen.next() for: true
1559
+ # Generators internals
1560
+ ok {test-number} - gen.get() == -4 for: -4 == -4
1561
+ # Generators internals
1562
+ ok {test-number} - gen.next() for: true
1563
+ # Generators internals
1564
+ ok {test-number} - gen.get() == -1 for: -1 == -1
1565
+ # Generators internals
1566
+ ok {test-number} - gen.next() for: true
1567
+ # Generators internals
1568
+ ok {test-number} - gen.get() == 2 for: 2 == 2
1569
+ # Generators internals
1570
+ ok {test-number} - !(gen.next()) for: !false
1571
+ # Generators internals
1572
+ ok {test-number} - gen.get() == -7 for: -7 == -7
1573
+ # Generators internals
1574
+ ok {test-number} - gen.next() for: true
1575
+ # Generators internals
1576
+ ok {test-number} - gen.get() == -4 for: -4 == -4
1577
+ # Generators internals
1578
+ ok {test-number} - gen.next() for: true
1579
+ # Generators internals
1580
+ ok {test-number} - gen.get() == -1 for: -1 == -1
1581
+ # Generators internals
1582
+ ok {test-number} - gen.next() for: true
1583
+ # Generators internals
1584
+ ok {test-number} - gen.get() == 2 for: 2 == 2
1585
+ # Generators internals
1586
+ ok {test-number} - gen.next() for: true
1587
+ # Generators internals
1588
+ ok {test-number} - gen.get() == 5 for: 5 == 5
1589
+ # Generators internals
1590
+ ok {test-number} - !(gen.next()) for: !false
1591
+ # Generators internals
1592
+ ok {test-number} - gen.get() == Approx(expected) for: -1.0 == Approx( -1.0 ) with 1 message: 'Current expected value is -1'
1593
+ # Generators internals
1594
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is -1'
1595
+ # Generators internals
1596
+ ok {test-number} - gen.get() == Approx(expected) for: -0.9 == Approx( -0.9 ) with 1 message: 'Current expected value is -0.9'
1597
+ # Generators internals
1598
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is -0.9'
1599
+ # Generators internals
1600
+ ok {test-number} - gen.get() == Approx(expected) for: -0.8 == Approx( -0.8 ) with 1 message: 'Current expected value is -0.8'
1601
+ # Generators internals
1602
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is -0.8'
1603
+ # Generators internals
1604
+ ok {test-number} - gen.get() == Approx(expected) for: -0.7 == Approx( -0.7 ) with 1 message: 'Current expected value is -0.7'
1605
+ # Generators internals
1606
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is -0.7'
1607
+ # Generators internals
1608
+ ok {test-number} - gen.get() == Approx(expected) for: -0.6 == Approx( -0.6 ) with 1 message: 'Current expected value is -0.6'
1609
+ # Generators internals
1610
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is -0.6'
1611
+ # Generators internals
1612
+ ok {test-number} - gen.get() == Approx(expected) for: -0.5 == Approx( -0.5 ) with 1 message: 'Current expected value is -0.5'
1613
+ # Generators internals
1614
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is -0.5'
1615
+ # Generators internals
1616
+ ok {test-number} - gen.get() == Approx(expected) for: -0.4 == Approx( -0.4 ) with 1 message: 'Current expected value is -0.4'
1617
+ # Generators internals
1618
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is -0.4'
1619
+ # Generators internals
1620
+ ok {test-number} - gen.get() == Approx(expected) for: -0.3 == Approx( -0.3 ) with 1 message: 'Current expected value is -0.3'
1621
+ # Generators internals
1622
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is -0.3'
1623
+ # Generators internals
1624
+ ok {test-number} - gen.get() == Approx(expected) for: -0.2 == Approx( -0.2 ) with 1 message: 'Current expected value is -0.2'
1625
+ # Generators internals
1626
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is -0.2'
1627
+ # Generators internals
1628
+ ok {test-number} - gen.get() == Approx(expected) for: -0.1 == Approx( -0.1 ) with 1 message: 'Current expected value is -0.1'
1629
+ # Generators internals
1630
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is -0.1'
1631
+ # Generators internals
1632
+ ok {test-number} - gen.get() == Approx(expected) for: -0.0 == Approx( -0.0 ) with 1 message: 'Current expected value is -1.38778e-16'
1633
+ # Generators internals
1634
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is -1.38778e-16'
1635
+ # Generators internals
1636
+ ok {test-number} - gen.get() == Approx(expected) for: 0.1 == Approx( 0.1 ) with 1 message: 'Current expected value is 0.1'
1637
+ # Generators internals
1638
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is 0.1'
1639
+ # Generators internals
1640
+ ok {test-number} - gen.get() == Approx(expected) for: 0.2 == Approx( 0.2 ) with 1 message: 'Current expected value is 0.2'
1641
+ # Generators internals
1642
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is 0.2'
1643
+ # Generators internals
1644
+ ok {test-number} - gen.get() == Approx(expected) for: 0.3 == Approx( 0.3 ) with 1 message: 'Current expected value is 0.3'
1645
+ # Generators internals
1646
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is 0.3'
1647
+ # Generators internals
1648
+ ok {test-number} - gen.get() == Approx(expected) for: 0.4 == Approx( 0.4 ) with 1 message: 'Current expected value is 0.4'
1649
+ # Generators internals
1650
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is 0.4'
1651
+ # Generators internals
1652
+ ok {test-number} - gen.get() == Approx(expected) for: 0.5 == Approx( 0.5 ) with 1 message: 'Current expected value is 0.5'
1653
+ # Generators internals
1654
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is 0.5'
1655
+ # Generators internals
1656
+ ok {test-number} - gen.get() == Approx(expected) for: 0.6 == Approx( 0.6 ) with 1 message: 'Current expected value is 0.6'
1657
+ # Generators internals
1658
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is 0.6'
1659
+ # Generators internals
1660
+ ok {test-number} - gen.get() == Approx(expected) for: 0.7 == Approx( 0.7 ) with 1 message: 'Current expected value is 0.7'
1661
+ # Generators internals
1662
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is 0.7'
1663
+ # Generators internals
1664
+ ok {test-number} - gen.get() == Approx(expected) for: 0.8 == Approx( 0.8 ) with 1 message: 'Current expected value is 0.8'
1665
+ # Generators internals
1666
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is 0.8'
1667
+ # Generators internals
1668
+ ok {test-number} - gen.get() == Approx(expected) for: 0.9 == Approx( 0.9 ) with 1 message: 'Current expected value is 0.9'
1669
+ # Generators internals
1670
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is 0.9'
1671
+ # Generators internals
1672
+ ok {test-number} - gen.get() == Approx( rangeEnd ) for: 1.0 == Approx( 1.0 )
1673
+ # Generators internals
1674
+ ok {test-number} - !(gen.next()) for: !false
1675
+ # Generators internals
1676
+ ok {test-number} - gen.get() == Approx(expected) for: -1.0 == Approx( -1.0 ) with 1 message: 'Current expected value is -1'
1677
+ # Generators internals
1678
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is -1'
1679
+ # Generators internals
1680
+ ok {test-number} - gen.get() == Approx(expected) for: -0.7 == Approx( -0.7 ) with 1 message: 'Current expected value is -0.7'
1681
+ # Generators internals
1682
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is -0.7'
1683
+ # Generators internals
1684
+ ok {test-number} - gen.get() == Approx(expected) for: -0.4 == Approx( -0.4 ) with 1 message: 'Current expected value is -0.4'
1685
+ # Generators internals
1686
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is -0.4'
1687
+ # Generators internals
1688
+ ok {test-number} - gen.get() == Approx(expected) for: -0.1 == Approx( -0.1 ) with 1 message: 'Current expected value is -0.1'
1689
+ # Generators internals
1690
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is -0.1'
1691
+ # Generators internals
1692
+ ok {test-number} - gen.get() == Approx(expected) for: 0.2 == Approx( 0.2 ) with 1 message: 'Current expected value is 0.2'
1693
+ # Generators internals
1694
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is 0.2'
1695
+ # Generators internals
1696
+ ok {test-number} - gen.get() == Approx(expected) for: 0.5 == Approx( 0.5 ) with 1 message: 'Current expected value is 0.5'
1697
+ # Generators internals
1698
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is 0.5'
1699
+ # Generators internals
1700
+ ok {test-number} - !(gen.next()) for: !false
1701
+ # Generators internals
1702
+ ok {test-number} - gen.get() == Approx(expected) for: -1.0 == Approx( -1.0 ) with 1 message: 'Current expected value is -1'
1703
+ # Generators internals
1704
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is -1'
1705
+ # Generators internals
1706
+ ok {test-number} - gen.get() == Approx(expected) for: -0.7 == Approx( -0.7 ) with 1 message: 'Current expected value is -0.7'
1707
+ # Generators internals
1708
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is -0.7'
1709
+ # Generators internals
1710
+ ok {test-number} - gen.get() == Approx(expected) for: -0.4 == Approx( -0.4 ) with 1 message: 'Current expected value is -0.4'
1711
+ # Generators internals
1712
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is -0.4'
1713
+ # Generators internals
1714
+ ok {test-number} - gen.get() == Approx(expected) for: -0.1 == Approx( -0.1 ) with 1 message: 'Current expected value is -0.1'
1715
+ # Generators internals
1716
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is -0.1'
1717
+ # Generators internals
1718
+ ok {test-number} - gen.get() == Approx(expected) for: 0.2 == Approx( 0.2 ) with 1 message: 'Current expected value is 0.2'
1719
+ # Generators internals
1720
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is 0.2'
1721
+ # Generators internals
1722
+ ok {test-number} - gen.get() == Approx(expected) for: 0.5 == Approx( 0.5 ) with 1 message: 'Current expected value is 0.5'
1723
+ # Generators internals
1724
+ ok {test-number} - gen.next() for: true with 1 message: 'Current expected value is 0.5'
1725
+ # Generators internals
1726
+ ok {test-number} - !(gen.next()) for: !false
1727
+ # Generators internals
1728
+ ok {test-number} - gen.get() == 5 for: 5 == 5
1729
+ # Generators internals
1730
+ ok {test-number} - gen.next() for: true
1731
+ # Generators internals
1732
+ ok {test-number} - gen.get() == 2 for: 2 == 2
1733
+ # Generators internals
1734
+ ok {test-number} - gen.next() for: true
1735
+ # Generators internals
1736
+ ok {test-number} - gen.get() == -1 for: -1 == -1
1737
+ # Generators internals
1738
+ ok {test-number} - gen.next() for: true
1739
+ # Generators internals
1740
+ ok {test-number} - gen.get() == -4 for: -4 == -4
1741
+ # Generators internals
1742
+ ok {test-number} - !(gen.next()) for: !false
1743
+ # Generators internals
1744
+ ok {test-number} - gen.get() == 5 for: 5 == 5
1745
+ # Generators internals
1746
+ ok {test-number} - gen.next() for: true
1747
+ # Generators internals
1748
+ ok {test-number} - gen.get() == 2 for: 2 == 2
1749
+ # Generators internals
1750
+ ok {test-number} - gen.next() for: true
1751
+ # Generators internals
1752
+ ok {test-number} - gen.get() == -1 for: -1 == -1
1753
+ # Generators internals
1754
+ ok {test-number} - gen.next() for: true
1755
+ # Generators internals
1756
+ ok {test-number} - gen.get() == -4 for: -4 == -4
1757
+ # Generators internals
1758
+ ok {test-number} - !(gen.next()) for: !false
1759
+ # Generators internals
1760
+ ok {test-number} - gen.get() == 5 for: 5 == 5
1761
+ # Generators internals
1762
+ ok {test-number} - gen.next() for: true
1763
+ # Generators internals
1764
+ ok {test-number} - gen.get() == 2 for: 2 == 2
1765
+ # Generators internals
1766
+ ok {test-number} - gen.next() for: true
1767
+ # Generators internals
1768
+ ok {test-number} - gen.get() == -1 for: -1 == -1
1769
+ # Generators internals
1770
+ ok {test-number} - gen.next() for: true
1771
+ # Generators internals
1772
+ ok {test-number} - gen.get() == -4 for: -4 == -4
1773
+ # Generators internals
1774
+ ok {test-number} - gen.next() for: true
1775
+ # Generators internals
1776
+ ok {test-number} - gen.get() == -7 for: -7 == -7
1777
+ # Generators internals
1778
+ ok {test-number} - !(gen.next()) for: !false
1779
+ # Greater-than inequalities with different epsilons
1780
+ ok {test-number} - d >= Approx( 1.22 ) for: 1.23 >= Approx( 1.22 )
1781
+ # Greater-than inequalities with different epsilons
1782
+ ok {test-number} - d >= Approx( 1.23 ) for: 1.23 >= Approx( 1.23 )
1783
+ # Greater-than inequalities with different epsilons
1784
+ ok {test-number} - !(d >= Approx( 1.24 )) for: !(1.23 >= Approx( 1.24 ))
1785
+ # Greater-than inequalities with different epsilons
1786
+ ok {test-number} - d >= Approx( 1.24 ).epsilon(0.1) for: 1.23 >= Approx( 1.24 )
1787
+ # Hashers with different seed produce different hash with same test case
1788
+ ok {test-number} - h1( dummy ) != h2( dummy ) for: 3422778688 (0x<hex digits>) != 130711275 (0x<hex digits>)
1789
+ # Hashers with same seed produce same hash
1790
+ ok {test-number} - h1( dummy ) == h2( dummy ) for: 3422778688 (0x<hex digits>) == 3422778688 (0x<hex digits>)
1791
+ # Hashing different test cases produces different result
1792
+ ok {test-number} - h( dummy1 ) != h( dummy2 ) for: 2903002874 (0x<hex digits>) != 2668622104 (0x<hex digits>)
1793
+ # Hashing different test cases produces different result
1794
+ ok {test-number} - h( dummy1 ) != h( dummy2 ) for: 2673152918 (0x<hex digits>) != 3916075712 (0x<hex digits>)
1795
+ # Hashing different test cases produces different result
1796
+ ok {test-number} - h( dummy1 ) != h( dummy2 ) for: 2074929312 (0x<hex digits>) != 3429949824 (0x<hex digits>)
1797
+ # Hashing test case produces same hash across multiple calls
1798
+ ok {test-number} - h( dummy ) == h( dummy ) for: 3422778688 (0x<hex digits>) == 3422778688 (0x<hex digits>)
1799
+ # INFO and WARN do not abort tests
1800
+ warning {test-number} - 'this is a message' with 1 message: 'this is a warning'
1801
+ # INFO gets logged on failure
1802
+ not ok {test-number} - a == 1 for: 2 == 1 with 2 messages: 'this message should be logged' and 'so should this'
1803
+ # INFO gets logged on failure, even if captured before successful assertions
1804
+ ok {test-number} - a == 2 for: 2 == 2 with 1 message: 'this message may be logged later'
1805
+ # INFO gets logged on failure, even if captured before successful assertions
1806
+ not ok {test-number} - a == 1 for: 2 == 1 with 2 messages: 'this message may be logged later' and 'this message should be logged'
1807
+ # INFO gets logged on failure, even if captured before successful assertions
1808
+ not ok {test-number} - a == 0 for: 2 == 0 with 3 messages: 'this message may be logged later' and 'this message should be logged' and 'and this, but later'
1809
+ # INFO gets logged on failure, even if captured before successful assertions
1810
+ ok {test-number} - a == 2 for: 2 == 2 with 4 messages: 'this message may be logged later' and 'this message should be logged' and 'and this, but later' and 'but not this'
1811
+ # INFO is reset for each loop
1812
+ ok {test-number} - i < 10 for: 0 < 10 with 2 messages: 'current counter 0' and 'i := 0'
1813
+ # INFO is reset for each loop
1814
+ ok {test-number} - i < 10 for: 1 < 10 with 2 messages: 'current counter 1' and 'i := 1'
1815
+ # INFO is reset for each loop
1816
+ ok {test-number} - i < 10 for: 2 < 10 with 2 messages: 'current counter 2' and 'i := 2'
1817
+ # INFO is reset for each loop
1818
+ ok {test-number} - i < 10 for: 3 < 10 with 2 messages: 'current counter 3' and 'i := 3'
1819
+ # INFO is reset for each loop
1820
+ ok {test-number} - i < 10 for: 4 < 10 with 2 messages: 'current counter 4' and 'i := 4'
1821
+ # INFO is reset for each loop
1822
+ ok {test-number} - i < 10 for: 5 < 10 with 2 messages: 'current counter 5' and 'i := 5'
1823
+ # INFO is reset for each loop
1824
+ ok {test-number} - i < 10 for: 6 < 10 with 2 messages: 'current counter 6' and 'i := 6'
1825
+ # INFO is reset for each loop
1826
+ ok {test-number} - i < 10 for: 7 < 10 with 2 messages: 'current counter 7' and 'i := 7'
1827
+ # INFO is reset for each loop
1828
+ ok {test-number} - i < 10 for: 8 < 10 with 2 messages: 'current counter 8' and 'i := 8'
1829
+ # INFO is reset for each loop
1830
+ ok {test-number} - i < 10 for: 9 < 10 with 2 messages: 'current counter 9' and 'i := 9'
1831
+ # INFO is reset for each loop
1832
+ not ok {test-number} - i < 10 for: 10 < 10 with 2 messages: 'current counter 10' and 'i := 10'
1833
+ # Inequality checks that should fail
1834
+ not ok {test-number} - data.int_seven != 7 for: 7 != 7
1835
+ # Inequality checks that should fail
1836
+ not ok {test-number} - data.float_nine_point_one != Approx( 9.1f ) for: 9.1f != Approx( 9.1000003815 )
1837
+ # Inequality checks that should fail
1838
+ not ok {test-number} - data.double_pi != Approx( 3.1415926535 ) for: 3.1415926535 != Approx( 3.1415926535 )
1839
+ # Inequality checks that should fail
1840
+ not ok {test-number} - data.str_hello != "hello" for: "hello" != "hello"
1841
+ # Inequality checks that should fail
1842
+ not ok {test-number} - data.str_hello.size() != 5 for: 5 != 5
1843
+ # Inequality checks that should succeed
1844
+ ok {test-number} - data.int_seven != 6 for: 7 != 6
1845
+ # Inequality checks that should succeed
1846
+ ok {test-number} - data.int_seven != 8 for: 7 != 8
1847
+ # Inequality checks that should succeed
1848
+ ok {test-number} - data.float_nine_point_one != Approx( 9.11f ) for: 9.1f != Approx( 9.1099996567 )
1849
+ # Inequality checks that should succeed
1850
+ ok {test-number} - data.float_nine_point_one != Approx( 9.0f ) for: 9.1f != Approx( 9.0 )
1851
+ # Inequality checks that should succeed
1852
+ ok {test-number} - data.float_nine_point_one != Approx( 1 ) for: 9.1f != Approx( 1.0 )
1853
+ # Inequality checks that should succeed
1854
+ ok {test-number} - data.float_nine_point_one != Approx( 0 ) for: 9.1f != Approx( 0.0 )
1855
+ # Inequality checks that should succeed
1856
+ ok {test-number} - data.double_pi != Approx( 3.1415 ) for: 3.1415926535 != Approx( 3.1415 )
1857
+ # Inequality checks that should succeed
1858
+ ok {test-number} - data.str_hello != "goodbye" for: "hello" != "goodbye"
1859
+ # Inequality checks that should succeed
1860
+ ok {test-number} - data.str_hello != "hell" for: "hello" != "hell"
1861
+ # Inequality checks that should succeed
1862
+ ok {test-number} - data.str_hello != "hello1" for: "hello" != "hello1"
1863
+ # Inequality checks that should succeed
1864
+ ok {test-number} - data.str_hello.size() != 6 for: 5 != 6
1865
+ # Lambdas in assertions
1866
+ ok {test-number} - []() { return true; }() for: true
1867
+ # Less-than inequalities with different epsilons
1868
+ ok {test-number} - d <= Approx( 1.24 ) for: 1.23 <= Approx( 1.24 )
1869
+ # Less-than inequalities with different epsilons
1870
+ ok {test-number} - d <= Approx( 1.23 ) for: 1.23 <= Approx( 1.23 )
1871
+ # Less-than inequalities with different epsilons
1872
+ ok {test-number} - !(d <= Approx( 1.22 )) for: !(1.23 <= Approx( 1.22 ))
1873
+ # Less-than inequalities with different epsilons
1874
+ ok {test-number} - d <= Approx( 1.22 ).epsilon(0.1) for: 1.23 <= Approx( 1.22 )
1875
+ # ManuallyRegistered
1876
+ ok {test-number} - with 1 message: 'was called'
1877
+ # Matchers can be (AllOf) composed with the && operator
1878
+ ok {test-number} - testStringForMatching(), ContainsSubstring( "string" ) && ContainsSubstring( "abc" ) && ContainsSubstring( "substring" ) && ContainsSubstring( "contains" ) for: "this string contains 'abc' as a substring" ( contains: "string" and contains: "abc" and contains: "substring" and contains: "contains" )
1879
+ # Matchers can be (AnyOf) composed with the || operator
1880
+ ok {test-number} - testStringForMatching(), ContainsSubstring( "string" ) || ContainsSubstring( "different" ) || ContainsSubstring( "random" ) for: "this string contains 'abc' as a substring" ( contains: "string" or contains: "different" or contains: "random" )
1881
+ # Matchers can be (AnyOf) composed with the || operator
1882
+ ok {test-number} - testStringForMatching2(), ContainsSubstring( "string" ) || ContainsSubstring( "different" ) || ContainsSubstring( "random" ) for: "some completely different text that contains one common word" ( contains: "string" or contains: "different" or contains: "random" )
1883
+ # Matchers can be composed with both && and ||
1884
+ ok {test-number} - testStringForMatching(), ( ContainsSubstring( "string" ) || ContainsSubstring( "different" ) ) && ContainsSubstring( "substring" ) for: "this string contains 'abc' as a substring" ( ( contains: "string" or contains: "different" ) and contains: "substring" )
1885
+ # Matchers can be composed with both && and || - failing
1886
+ not ok {test-number} - testStringForMatching(), ( ContainsSubstring( "string" ) || ContainsSubstring( "different" ) ) && ContainsSubstring( "random" ) for: "this string contains 'abc' as a substring" ( ( contains: "string" or contains: "different" ) and contains: "random" )
1887
+ # Matchers can be negated (Not) with the ! operator
1888
+ ok {test-number} - testStringForMatching(), !ContainsSubstring( "different" ) for: "this string contains 'abc' as a substring" not contains: "different"
1889
+ # Matchers can be negated (Not) with the ! operator - failing
1890
+ not ok {test-number} - testStringForMatching(), !ContainsSubstring( "substring" ) for: "this string contains 'abc' as a substring" not contains: "substring"
1891
+ # Mayfail test case with nested sections
1892
+ not ok {test-number} - explicitly
1893
+ # Mayfail test case with nested sections
1894
+ not ok {test-number} - explicitly
1895
+ # Mayfail test case with nested sections
1896
+ not ok {test-number} - explicitly
1897
+ # Mayfail test case with nested sections
1898
+ not ok {test-number} - explicitly
1899
+ # Mismatching exception messages failing the test
1900
+ ok {test-number} - thisThrows(), "expected exception" for: "expected exception" equals: "expected exception"
1901
+ # Mismatching exception messages failing the test
1902
+ not ok {test-number} - thisThrows(), "should fail" for: "expected exception" equals: "should fail"
1903
+ # Multireporter calls reporters and listeners in correct order
1904
+ ok {test-number} - records == expected for: { "Hello", "world", "Goodbye", "world" } == { "Hello", "world", "Goodbye", "world" }
1905
+ # Multireporter updates ReporterPreferences properly
1906
+ ok {test-number} - multiReporter.getPreferences().shouldRedirectStdOut == false for: false == false
1907
+ # Multireporter updates ReporterPreferences properly
1908
+ ok {test-number} - multiReporter.getPreferences().shouldReportAllAssertions == false for: false == false
1909
+ # Multireporter updates ReporterPreferences properly
1910
+ ok {test-number} - multiReporter.getPreferences().shouldRedirectStdOut == true for: true == true
1911
+ # Multireporter updates ReporterPreferences properly
1912
+ ok {test-number} - multiReporter.getPreferences().shouldReportAllAssertions == false for: false == false
1913
+ # Multireporter updates ReporterPreferences properly
1914
+ ok {test-number} - multiReporter.getPreferences().shouldRedirectStdOut == true for: true == true
1915
+ # Multireporter updates ReporterPreferences properly
1916
+ ok {test-number} - multiReporter.getPreferences().shouldReportAllAssertions == true for: true == true
1917
+ # Multireporter updates ReporterPreferences properly
1918
+ ok {test-number} - multiReporter.getPreferences().shouldRedirectStdOut == true for: true == true
1919
+ # Multireporter updates ReporterPreferences properly
1920
+ ok {test-number} - multiReporter.getPreferences().shouldReportAllAssertions == true for: true == true
1921
+ # Multireporter updates ReporterPreferences properly
1922
+ ok {test-number} - multiReporter.getPreferences().shouldRedirectStdOut == false for: false == false
1923
+ # Multireporter updates ReporterPreferences properly
1924
+ ok {test-number} - multiReporter.getPreferences().shouldReportAllAssertions == false for: false == false
1925
+ # Multireporter updates ReporterPreferences properly
1926
+ ok {test-number} - multiReporter.getPreferences().shouldRedirectStdOut == true for: true == true
1927
+ # Multireporter updates ReporterPreferences properly
1928
+ ok {test-number} - multiReporter.getPreferences().shouldReportAllAssertions == false for: false == false
1929
+ # Multireporter updates ReporterPreferences properly
1930
+ ok {test-number} - multiReporter.getPreferences().shouldRedirectStdOut == true for: true == true
1931
+ # Multireporter updates ReporterPreferences properly
1932
+ ok {test-number} - multiReporter.getPreferences().shouldReportAllAssertions == true for: true == true
1933
+ # Multireporter updates ReporterPreferences properly
1934
+ ok {test-number} - multiReporter.getPreferences().shouldRedirectStdOut == true for: true == true
1935
+ # Multireporter updates ReporterPreferences properly
1936
+ ok {test-number} - multiReporter.getPreferences().shouldReportAllAssertions == true for: true == true
1937
+ # Nested generators and captured variables
1938
+ ok {test-number} - values > -6 for: 3 > -6
1939
+ # Nested generators and captured variables
1940
+ ok {test-number} - values > -6 for: 4 > -6
1941
+ # Nested generators and captured variables
1942
+ ok {test-number} - values > -6 for: 5 > -6
1943
+ # Nested generators and captured variables
1944
+ ok {test-number} - values > -6 for: 6 > -6
1945
+ # Nested generators and captured variables
1946
+ ok {test-number} - values > -6 for: -5 > -6
1947
+ # Nested generators and captured variables
1948
+ ok {test-number} - values > -6 for: -4 > -6
1949
+ # Nested generators and captured variables
1950
+ ok {test-number} - values > -6 for: 90 > -6
1951
+ # Nested generators and captured variables
1952
+ ok {test-number} - values > -6 for: 91 > -6
1953
+ # Nested generators and captured variables
1954
+ ok {test-number} - values > -6 for: 92 > -6
1955
+ # Nested generators and captured variables
1956
+ ok {test-number} - values > -6 for: 93 > -6
1957
+ # Nested generators and captured variables
1958
+ ok {test-number} - values > -6 for: 94 > -6
1959
+ # Nested generators and captured variables
1960
+ ok {test-number} - values > -6 for: 95 > -6
1961
+ # Nested generators and captured variables
1962
+ ok {test-number} - values > -6 for: 96 > -6
1963
+ # Nested generators and captured variables
1964
+ ok {test-number} - values > -6 for: 97 > -6
1965
+ # Nested generators and captured variables
1966
+ ok {test-number} - values > -6 for: 98 > -6
1967
+ # Nested generators and captured variables
1968
+ ok {test-number} - values > -6 for: 99 > -6
1969
+ # Nice descriptive name
1970
+ warning {test-number} - 'This one ran'
1971
+ # Non-std exceptions can be translated
1972
+ not ok {test-number} - unexpected exception with message: 'custom exception'
1973
+ # Objects that evaluated in boolean contexts can be checked
1974
+ ok {test-number} - True for: {?}
1975
+ # Objects that evaluated in boolean contexts can be checked
1976
+ ok {test-number} - !False for: true
1977
+ # Objects that evaluated in boolean contexts can be checked
1978
+ ok {test-number} - !(False) for: !{?}
1979
+ # Optionally static assertions
1980
+ ok {test-number} - with 1 message: 'std::is_void<void>::value'
1981
+ # Optionally static assertions
1982
+ ok {test-number} - with 1 message: '!(std::is_void<int>::value)'
1983
+ # Optionally static assertions
1984
+ ok {test-number} - with 1 message: 'std::is_void<void>::value'
1985
+ # Optionally static assertions
1986
+ ok {test-number} - with 1 message: '!(std::is_void<int>::value)'
1987
+ # Ordering comparison checks that should fail
1988
+ not ok {test-number} - data.int_seven > 7 for: 7 > 7
1989
+ # Ordering comparison checks that should fail
1990
+ not ok {test-number} - data.int_seven < 7 for: 7 < 7
1991
+ # Ordering comparison checks that should fail
1992
+ not ok {test-number} - data.int_seven > 8 for: 7 > 8
1993
+ # Ordering comparison checks that should fail
1994
+ not ok {test-number} - data.int_seven < 6 for: 7 < 6
1995
+ # Ordering comparison checks that should fail
1996
+ not ok {test-number} - data.int_seven < 0 for: 7 < 0
1997
+ # Ordering comparison checks that should fail
1998
+ not ok {test-number} - data.int_seven < -1 for: 7 < -1
1999
+ # Ordering comparison checks that should fail
2000
+ not ok {test-number} - data.int_seven >= 8 for: 7 >= 8
2001
+ # Ordering comparison checks that should fail
2002
+ not ok {test-number} - data.int_seven <= 6 for: 7 <= 6
2003
+ # Ordering comparison checks that should fail
2004
+ not ok {test-number} - data.float_nine_point_one < 9 for: 9.1f < 9
2005
+ # Ordering comparison checks that should fail
2006
+ not ok {test-number} - data.float_nine_point_one > 10 for: 9.1f > 10
2007
+ # Ordering comparison checks that should fail
2008
+ not ok {test-number} - data.float_nine_point_one > 9.2 for: 9.1f > 9.2
2009
+ # Ordering comparison checks that should fail
2010
+ not ok {test-number} - data.str_hello > "hello" for: "hello" > "hello"
2011
+ # Ordering comparison checks that should fail
2012
+ not ok {test-number} - data.str_hello < "hello" for: "hello" < "hello"
2013
+ # Ordering comparison checks that should fail
2014
+ not ok {test-number} - data.str_hello > "hellp" for: "hello" > "hellp"
2015
+ # Ordering comparison checks that should fail
2016
+ not ok {test-number} - data.str_hello > "z" for: "hello" > "z"
2017
+ # Ordering comparison checks that should fail
2018
+ not ok {test-number} - data.str_hello < "hellm" for: "hello" < "hellm"
2019
+ # Ordering comparison checks that should fail
2020
+ not ok {test-number} - data.str_hello < "a" for: "hello" < "a"
2021
+ # Ordering comparison checks that should fail
2022
+ not ok {test-number} - data.str_hello >= "z" for: "hello" >= "z"
2023
+ # Ordering comparison checks that should fail
2024
+ not ok {test-number} - data.str_hello <= "a" for: "hello" <= "a"
2025
+ # Ordering comparison checks that should succeed
2026
+ ok {test-number} - data.int_seven < 8 for: 7 < 8
2027
+ # Ordering comparison checks that should succeed
2028
+ ok {test-number} - data.int_seven > 6 for: 7 > 6
2029
+ # Ordering comparison checks that should succeed
2030
+ ok {test-number} - data.int_seven > 0 for: 7 > 0
2031
+ # Ordering comparison checks that should succeed
2032
+ ok {test-number} - data.int_seven > -1 for: 7 > -1
2033
+ # Ordering comparison checks that should succeed
2034
+ ok {test-number} - data.int_seven >= 7 for: 7 >= 7
2035
+ # Ordering comparison checks that should succeed
2036
+ ok {test-number} - data.int_seven >= 6 for: 7 >= 6
2037
+ # Ordering comparison checks that should succeed
2038
+ ok {test-number} - data.int_seven <= 7 for: 7 <= 7
2039
+ # Ordering comparison checks that should succeed
2040
+ ok {test-number} - data.int_seven <= 8 for: 7 <= 8
2041
+ # Ordering comparison checks that should succeed
2042
+ ok {test-number} - data.float_nine_point_one > 9 for: 9.1f > 9
2043
+ # Ordering comparison checks that should succeed
2044
+ ok {test-number} - data.float_nine_point_one < 10 for: 9.1f < 10
2045
+ # Ordering comparison checks that should succeed
2046
+ ok {test-number} - data.float_nine_point_one < 9.2 for: 9.1f < 9.2
2047
+ # Ordering comparison checks that should succeed
2048
+ ok {test-number} - data.str_hello <= "hello" for: "hello" <= "hello"
2049
+ # Ordering comparison checks that should succeed
2050
+ ok {test-number} - data.str_hello >= "hello" for: "hello" >= "hello"
2051
+ # Ordering comparison checks that should succeed
2052
+ ok {test-number} - data.str_hello < "hellp" for: "hello" < "hellp"
2053
+ # Ordering comparison checks that should succeed
2054
+ ok {test-number} - data.str_hello < "zebra" for: "hello" < "zebra"
2055
+ # Ordering comparison checks that should succeed
2056
+ ok {test-number} - data.str_hello > "hellm" for: "hello" > "hellm"
2057
+ # Ordering comparison checks that should succeed
2058
+ ok {test-number} - data.str_hello > "a" for: "hello" > "a"
2059
+ # Our PCG implementation provides expected results for known seeds
2060
+ ok {test-number} - rng() == 0x<hex digits> for: 4242248763 (0x<hex digits>) == 4242248763 (0x<hex digits>)
2061
+ # Our PCG implementation provides expected results for known seeds
2062
+ ok {test-number} - rng() == 0x<hex digits> for: 1867888929 (0x<hex digits>) == 1867888929 (0x<hex digits>)
2063
+ # Our PCG implementation provides expected results for known seeds
2064
+ ok {test-number} - rng() == 0x<hex digits> for: 1276619030 (0x<hex digits>) == 1276619030 (0x<hex digits>)
2065
+ # Our PCG implementation provides expected results for known seeds
2066
+ ok {test-number} - rng() == 0x<hex digits> for: 1911218783 (0x<hex digits>) == 1911218783 (0x<hex digits>)
2067
+ # Our PCG implementation provides expected results for known seeds
2068
+ ok {test-number} - rng() == 0x<hex digits> for: 1827115164 (0x<hex digits>) == 1827115164 (0x<hex digits>)
2069
+ # Our PCG implementation provides expected results for known seeds
2070
+ ok {test-number} - rng() == 0x<hex digits> for: 1472234645 (0x<hex digits>) == 1472234645 (0x<hex digits>)
2071
+ # Our PCG implementation provides expected results for known seeds
2072
+ ok {test-number} - rng() == 0x<hex digits> for: 868832940 (0x<hex digits>) == 868832940 (0x<hex digits>)
2073
+ # Our PCG implementation provides expected results for known seeds
2074
+ ok {test-number} - rng() == 0x<hex digits> for: 570883446 (0x<hex digits>) == 570883446 (0x<hex digits>)
2075
+ # Our PCG implementation provides expected results for known seeds
2076
+ ok {test-number} - rng() == 0x<hex digits> for: 889299803 (0x<hex digits>) == 889299803 (0x<hex digits>)
2077
+ # Our PCG implementation provides expected results for known seeds
2078
+ ok {test-number} - rng() == 0x<hex digits> for: 4261393167 (0x<hex digits>) == 4261393167 (0x<hex digits>)
2079
+ # Our PCG implementation provides expected results for known seeds
2080
+ ok {test-number} - rng() == 0x<hex digits> for: 1472234645 (0x<hex digits>) == 1472234645 (0x<hex digits>)
2081
+ # Our PCG implementation provides expected results for known seeds
2082
+ ok {test-number} - rng() == 0x<hex digits> for: 868832940 (0x<hex digits>) == 868832940 (0x<hex digits>)
2083
+ # Our PCG implementation provides expected results for known seeds
2084
+ ok {test-number} - rng() == 0x<hex digits> for: 570883446 (0x<hex digits>) == 570883446 (0x<hex digits>)
2085
+ # Our PCG implementation provides expected results for known seeds
2086
+ ok {test-number} - rng() == 0x<hex digits> for: 889299803 (0x<hex digits>) == 889299803 (0x<hex digits>)
2087
+ # Our PCG implementation provides expected results for known seeds
2088
+ ok {test-number} - rng() == 0x<hex digits> for: 4261393167 (0x<hex digits>) == 4261393167 (0x<hex digits>)
2089
+ # Output from all sections is reported
2090
+ not ok {test-number} - explicitly with 1 message: 'Message from section one'
2091
+ # Output from all sections is reported
2092
+ not ok {test-number} - explicitly with 1 message: 'Message from section two'
2093
+ # Overloaded comma or address-of operators are not used
2094
+ ok {test-number} - ( EvilMatcher(), EvilMatcher() ), EvilCommaOperatorUsed
2095
+ # Overloaded comma or address-of operators are not used
2096
+ ok {test-number} - &EvilMatcher(), EvilAddressOfOperatorUsed
2097
+ # Overloaded comma or address-of operators are not used
2098
+ ok {test-number} - EvilMatcher() || ( EvilMatcher() && !EvilMatcher() )
2099
+ # Overloaded comma or address-of operators are not used
2100
+ ok {test-number} - ( EvilMatcher() && EvilMatcher() ) || !EvilMatcher()
2101
+ # Parse uints
2102
+ ok {test-number} - parseUInt( "0" ) == Optional<unsigned int>{ 0 } for: {?} == {?}
2103
+ # Parse uints
2104
+ ok {test-number} - parseUInt( "100" ) == Optional<unsigned int>{ 100 } for: {?} == {?}
2105
+ # Parse uints
2106
+ ok {test-number} - parseUInt( "4294967295" ) == Optional<unsigned int>{ 4294967295 } for: {?} == {?}
2107
+ # Parse uints
2108
+ ok {test-number} - parseUInt( "0x<hex digits>", 16 ) == Optional<unsigned int>{ 255 } for: {?} == {?}
2109
+ # Parse uints
2110
+ ok {test-number} - !(parseUInt( "" )) for: !{?}
2111
+ # Parse uints
2112
+ ok {test-number} - !(parseUInt( "!!KJHF*#" )) for: !{?}
2113
+ # Parse uints
2114
+ ok {test-number} - !(parseUInt( "-1" )) for: !{?}
2115
+ # Parse uints
2116
+ ok {test-number} - !(parseUInt( "4294967296" )) for: !{?}
2117
+ # Parse uints
2118
+ ok {test-number} - !(parseUInt( "42949672964294967296429496729642949672964294967296" )) for: !{?}
2119
+ # Parse uints
2120
+ ok {test-number} - !(parseUInt( "2 4" )) for: !{?}
2121
+ # Parse uints
2122
+ ok {test-number} - !(parseUInt( "0x<hex digits>", 10 )) for: !{?}
2123
+ # Parsed tags are matched case insensitive
2124
+ ok {test-number} - spec.hasFilters() for: true
2125
+ # Parsed tags are matched case insensitive
2126
+ ok {test-number} - spec.getInvalidSpecs().empty() for: true
2127
+ # Parsed tags are matched case insensitive
2128
+ ok {test-number} - spec.matches( testCase ) for: true
2129
+ # Parsing sharding-related cli flags
2130
+ ok {test-number} - cli.parse({ "test", "--shard-count=8" }) for: {?}
2131
+ # Parsing sharding-related cli flags
2132
+ ok {test-number} - config.shardCount == 8 for: 8 == 8
2133
+ # Parsing sharding-related cli flags
2134
+ ok {test-number} - !(result) for: !{?}
2135
+ # Parsing sharding-related cli flags
2136
+ ok {test-number} - result.errorMessage(), ContainsSubstring( "Could not parse '-1' as shard count" ) for: "Could not parse '-1' as shard count" contains: "Could not parse '-1' as shard count"
2137
+ # Parsing sharding-related cli flags
2138
+ ok {test-number} - !(result) for: !{?}
2139
+ # Parsing sharding-related cli flags
2140
+ ok {test-number} - result.errorMessage(), ContainsSubstring( "Shard count must be positive" ) for: "Shard count must be positive" contains: "Shard count must be positive"
2141
+ # Parsing sharding-related cli flags
2142
+ ok {test-number} - cli.parse({ "test", "--shard-index=2" }) for: {?}
2143
+ # Parsing sharding-related cli flags
2144
+ ok {test-number} - config.shardIndex == 2 for: 2 == 2
2145
+ # Parsing sharding-related cli flags
2146
+ ok {test-number} - !(result) for: !{?}
2147
+ # Parsing sharding-related cli flags
2148
+ ok {test-number} - result.errorMessage(), ContainsSubstring( "Could not parse '-12' as shard index" ) for: "Could not parse '-12' as shard index" contains: "Could not parse '-12' as shard index"
2149
+ # Parsing sharding-related cli flags
2150
+ ok {test-number} - cli.parse({ "test", "--shard-index=0" }) for: {?}
2151
+ # Parsing sharding-related cli flags
2152
+ ok {test-number} - config.shardIndex == 0 for: 0 == 0
2153
+ # Parsing tags with non-alphabetical characters is pass-through
2154
+ ok {test-number} - spec.hasFilters() for: true with 1 message: 'tagString := "[tag with spaces]"'
2155
+ # Parsing tags with non-alphabetical characters is pass-through
2156
+ ok {test-number} - spec.getInvalidSpecs().empty() for: true with 1 message: 'tagString := "[tag with spaces]"'
2157
+ # Parsing tags with non-alphabetical characters is pass-through
2158
+ ok {test-number} - spec.matches( testCase ) for: true with 1 message: 'tagString := "[tag with spaces]"'
2159
+ # Parsing tags with non-alphabetical characters is pass-through
2160
+ ok {test-number} - spec.hasFilters() for: true with 1 message: 'tagString := "[I said "good day" sir!]"'
2161
+ # Parsing tags with non-alphabetical characters is pass-through
2162
+ ok {test-number} - spec.getInvalidSpecs().empty() for: true with 1 message: 'tagString := "[I said "good day" sir!]"'
2163
+ # Parsing tags with non-alphabetical characters is pass-through
2164
+ ok {test-number} - spec.matches( testCase ) for: true with 1 message: 'tagString := "[I said "good day" sir!]"'
2165
+ # Parsing warnings
2166
+ ok {test-number} - cli.parse( { "test", "-w", "NoAssertions" } ) for: {?}
2167
+ # Parsing warnings
2168
+ ok {test-number} - config.warnings == WarnAbout::NoAssertions for: 1 == 1
2169
+ # Parsing warnings
2170
+ ok {test-number} - !(cli.parse( { "test", "-w", "NoTests" } )) for: !{?}
2171
+ # Parsing warnings
2172
+ ok {test-number} - cli.parse( { "test", "--warn", "NoAssertions", "--warn", "UnmatchedTestSpec" } ) for: {?}
2173
+ # Parsing warnings
2174
+ ok {test-number} - config.warnings == ( WarnAbout::NoAssertions | WarnAbout::UnmatchedTestSpec ) for: 3 == 3
2175
+ # Pointers can be compared to null
2176
+ ok {test-number} - p == 0 for: 0 == 0
2177
+ # Pointers can be compared to null
2178
+ ok {test-number} - p == pNULL for: 0 == 0
2179
+ # Pointers can be compared to null
2180
+ ok {test-number} - p != 0 for: 0x<hex digits> != 0
2181
+ # Pointers can be compared to null
2182
+ ok {test-number} - cp != 0 for: 0x<hex digits> != 0
2183
+ # Pointers can be compared to null
2184
+ ok {test-number} - cpc != 0 for: 0x<hex digits> != 0
2185
+ # Pointers can be compared to null
2186
+ ok {test-number} - returnsNull() == 0 for: {null string} == 0
2187
+ # Pointers can be compared to null
2188
+ ok {test-number} - returnsConstNull() == 0 for: {null string} == 0
2189
+ # Pointers can be compared to null
2190
+ ok {test-number} - 0 != p for: 0 != 0x<hex digits>
2191
+ # Precision of floating point stringification can be set
2192
+ ok {test-number} - str1.size() == 3 + 5 for: 8 == 8
2193
+ # Precision of floating point stringification can be set
2194
+ ok {test-number} - str2.size() == 3 + 10 for: 13 == 13
2195
+ # Precision of floating point stringification can be set
2196
+ ok {test-number} - str1.size() == 2 + 5 for: 7 == 7
2197
+ # Precision of floating point stringification can be set
2198
+ ok {test-number} - str2.size() == 2 + 15 for: 17 == 17
2199
+ # Predicate matcher can accept const char*
2200
+ ok {test-number} - "foo", Predicate<const char*>( []( const char* const& ) { return true; } ) for: "foo" matches undescribed predicate
2201
+ # Process can be configured on command line
2202
+ ok {test-number} - result for: {?}
2203
+ # Process can be configured on command line
2204
+ ok {test-number} - config.processName == "" for: "" == ""
2205
+ # Process can be configured on command line
2206
+ ok {test-number} - result for: {?}
2207
+ # Process can be configured on command line
2208
+ ok {test-number} - config.processName == "test" for: "test" == "test"
2209
+ # Process can be configured on command line
2210
+ ok {test-number} - config.shouldDebugBreak == false for: false == false
2211
+ # Process can be configured on command line
2212
+ ok {test-number} - config.abortAfter == -1 for: -1 == -1
2213
+ # Process can be configured on command line
2214
+ ok {test-number} - config.noThrow == false for: false == false
2215
+ # Process can be configured on command line
2216
+ ok {test-number} - config.reporterSpecifications.empty() for: true
2217
+ # Process can be configured on command line
2218
+ ok {test-number} - !(cfg.hasTestFilters()) for: !false
2219
+ # Process can be configured on command line
2220
+ ok {test-number} - cfg.getReporterSpecs().size() == 1 for: 1 == 1
2221
+ # Process can be configured on command line
2222
+ ok {test-number} - cfg.getReporterSpecs()[0] == Catch::ReporterSpec{ expectedReporter, {}, {}, {} } for: {?} == {?}
2223
+ # Process can be configured on command line
2224
+ ok {test-number} - cfg.getProcessedReporterSpecs().size() == 1 for: 1 == 1
2225
+ # Process can be configured on command line
2226
+ ok {test-number} - cfg.getProcessedReporterSpecs()[0] == Catch::ProcessedReporterSpec{ expectedReporter, std::string{}, Catch::ColourMode::PlatformDefault, {} } for: {?} == {?}
2227
+ # Process can be configured on command line
2228
+ ok {test-number} - result for: {?}
2229
+ # Process can be configured on command line
2230
+ ok {test-number} - cfg.hasTestFilters() for: true
2231
+ # Process can be configured on command line
2232
+ ok {test-number} - cfg.testSpec().matches(*fakeTestCase("notIncluded")) == false for: false == false
2233
+ # Process can be configured on command line
2234
+ ok {test-number} - cfg.testSpec().matches(*fakeTestCase("test1")) for: true
2235
+ # Process can be configured on command line
2236
+ ok {test-number} - result for: {?}
2237
+ # Process can be configured on command line
2238
+ ok {test-number} - cfg.hasTestFilters() for: true
2239
+ # Process can be configured on command line
2240
+ ok {test-number} - cfg.testSpec().matches(*fakeTestCase("test1")) == false for: false == false
2241
+ # Process can be configured on command line
2242
+ ok {test-number} - cfg.testSpec().matches(*fakeTestCase("alwaysIncluded")) for: true
2243
+ # Process can be configured on command line
2244
+ ok {test-number} - result for: {?}
2245
+ # Process can be configured on command line
2246
+ ok {test-number} - cfg.hasTestFilters() for: true
2247
+ # Process can be configured on command line
2248
+ ok {test-number} - cfg.testSpec().matches(*fakeTestCase("test1")) == false for: false == false
2249
+ # Process can be configured on command line
2250
+ ok {test-number} - cfg.testSpec().matches(*fakeTestCase("alwaysIncluded")) for: true
2251
+ # Process can be configured on command line
2252
+ ok {test-number} - result for: {?} with 1 message: 'result.errorMessage() := ""'
2253
+ # Process can be configured on command line
2254
+ ok {test-number} - config.reporterSpecifications == vec_Specs{ { "console", {}, {}, {} } } for: { {?} } == { {?} } with 1 message: 'result.errorMessage() := ""'
2255
+ # Process can be configured on command line
2256
+ ok {test-number} - result for: {?} with 1 message: 'result.errorMessage() := ""'
2257
+ # Process can be configured on command line
2258
+ ok {test-number} - config.reporterSpecifications == vec_Specs{ { "xml", {}, {}, {} } } for: { {?} } == { {?} } with 1 message: 'result.errorMessage() := ""'
2259
+ # Process can be configured on command line
2260
+ ok {test-number} - result for: {?} with 1 message: 'result.errorMessage() := ""'
2261
+ # Process can be configured on command line
2262
+ ok {test-number} - config.reporterSpecifications == vec_Specs{ { "junit", {}, {}, {} } } for: { {?} } == { {?} } with 1 message: 'result.errorMessage() := ""'
2263
+ # Process can be configured on command line
2264
+ ok {test-number} - !result for: true
2265
+ # Process can be configured on command line
2266
+ ok {test-number} - result.errorMessage(), ContainsSubstring("Unrecognized reporter") for: "Unrecognized reporter, 'unsupported'. Check available with --list-reporters" contains: "Unrecognized reporter"
2267
+ # Process can be configured on command line
2268
+ ok {test-number} - result for: {?} with 1 message: 'result.errorMessage() := ""'
2269
+ # Process can be configured on command line
2270
+ ok {test-number} - config.reporterSpecifications == vec_Specs{ { "console", "out.txt"s, {}, {} } } for: { {?} } == { {?} } with 1 message: 'result.errorMessage() := ""'
2271
+ # Process can be configured on command line
2272
+ ok {test-number} - result for: {?} with 1 message: 'result.errorMessage() := ""'
2273
+ # Process can be configured on command line
2274
+ ok {test-number} - config.reporterSpecifications == vec_Specs{ { "console", "C:\\Temp\\out.txt"s, {}, {} } } for: { {?} } == { {?} } with 1 message: 'result.errorMessage() := ""'
2275
+ # Process can be configured on command line
2276
+ ok {test-number} - cli.parse({ "test", "-r", "xml::out=output.xml", "-r", "junit::out=output-junit.xml" }) for: {?}
2277
+ # Process can be configured on command line
2278
+ ok {test-number} - config.reporterSpecifications == vec_Specs{ { "xml", "output.xml"s, {}, {} }, { "junit", "output-junit.xml"s, {}, {} } } for: { {?}, {?} } == { {?}, {?} }
2279
+ # Process can be configured on command line
2280
+ ok {test-number} - cli.parse({ "test", "-r", "xml::out=output.xml", "-r", "console" }) for: {?}
2281
+ # Process can be configured on command line
2282
+ ok {test-number} - config.reporterSpecifications == vec_Specs{ { "xml", "output.xml"s, {}, {} }, { "console", {}, {}, {} } } for: { {?}, {?} } == { {?}, {?} }
2283
+ # Process can be configured on command line
2284
+ ok {test-number} - !result for: true
2285
+ # Process can be configured on command line
2286
+ ok {test-number} - result.errorMessage(), ContainsSubstring("Only one reporter may have unspecified output file.") for: "Only one reporter may have unspecified output file." contains: "Only one reporter may have unspecified output file."
2287
+ # Process can be configured on command line
2288
+ ok {test-number} - cli.parse({"test", "-b"}) for: {?}
2289
+ # Process can be configured on command line
2290
+ ok {test-number} - config.shouldDebugBreak == true for: true == true
2291
+ # Process can be configured on command line
2292
+ ok {test-number} - cli.parse({"test", "--break"}) for: {?}
2293
+ # Process can be configured on command line
2294
+ ok {test-number} - config.shouldDebugBreak for: true
2295
+ # Process can be configured on command line
2296
+ ok {test-number} - cli.parse({"test", "-a"}) for: {?}
2297
+ # Process can be configured on command line
2298
+ ok {test-number} - config.abortAfter == 1 for: 1 == 1
2299
+ # Process can be configured on command line
2300
+ ok {test-number} - cli.parse({"test", "-x", "2"}) for: {?}
2301
+ # Process can be configured on command line
2302
+ ok {test-number} - config.abortAfter == 2 for: 2 == 2
2303
+ # Process can be configured on command line
2304
+ ok {test-number} - !result for: true
2305
+ # Process can be configured on command line
2306
+ ok {test-number} - result.errorMessage(), ContainsSubstring("convert") && ContainsSubstring("oops") for: "Unable to convert 'oops' to destination type" ( contains: "convert" and contains: "oops" )
2307
+ # Process can be configured on command line
2308
+ ok {test-number} - cli.parse({"test", "--wait-for-keypress", std::get<0>(input)}) for: {?}
2309
+ # Process can be configured on command line
2310
+ ok {test-number} - config.waitForKeypress == std::get<1>(input) for: 0 == 0
2311
+ # Process can be configured on command line
2312
+ ok {test-number} - cli.parse({"test", "--wait-for-keypress", std::get<0>(input)}) for: {?}
2313
+ # Process can be configured on command line
2314
+ ok {test-number} - config.waitForKeypress == std::get<1>(input) for: 1 == 1
2315
+ # Process can be configured on command line
2316
+ ok {test-number} - cli.parse({"test", "--wait-for-keypress", std::get<0>(input)}) for: {?}
2317
+ # Process can be configured on command line
2318
+ ok {test-number} - config.waitForKeypress == std::get<1>(input) for: 2 == 2
2319
+ # Process can be configured on command line
2320
+ ok {test-number} - cli.parse({"test", "--wait-for-keypress", std::get<0>(input)}) for: {?}
2321
+ # Process can be configured on command line
2322
+ ok {test-number} - config.waitForKeypress == std::get<1>(input) for: 3 == 3
2323
+ # Process can be configured on command line
2324
+ ok {test-number} - !result for: true
2325
+ # Process can be configured on command line
2326
+ ok {test-number} - result.errorMessage(), ContainsSubstring("never") && ContainsSubstring("both") for: "keypress argument must be one of: never, start, exit or both. 'sometimes' not recognised" ( contains: "never" and contains: "both" )
2327
+ # Process can be configured on command line
2328
+ ok {test-number} - cli.parse({"test", "-e"}) for: {?}
2329
+ # Process can be configured on command line
2330
+ ok {test-number} - config.noThrow for: true
2331
+ # Process can be configured on command line
2332
+ ok {test-number} - cli.parse({"test", "--nothrow"}) for: {?}
2333
+ # Process can be configured on command line
2334
+ ok {test-number} - config.noThrow for: true
2335
+ # Process can be configured on command line
2336
+ ok {test-number} - cli.parse({"test", "-o", "filename.ext"}) for: {?}
2337
+ # Process can be configured on command line
2338
+ ok {test-number} - config.defaultOutputFilename == "filename.ext" for: "filename.ext" == "filename.ext"
2339
+ # Process can be configured on command line
2340
+ ok {test-number} - cli.parse({"test", "--out", "filename.ext"}) for: {?}
2341
+ # Process can be configured on command line
2342
+ ok {test-number} - config.defaultOutputFilename == "filename.ext" for: "filename.ext" == "filename.ext"
2343
+ # Process can be configured on command line
2344
+ ok {test-number} - cli.parse({"test", "-abe"}) for: {?}
2345
+ # Process can be configured on command line
2346
+ ok {test-number} - config.abortAfter == 1 for: 1 == 1
2347
+ # Process can be configured on command line
2348
+ ok {test-number} - config.shouldDebugBreak for: true
2349
+ # Process can be configured on command line
2350
+ ok {test-number} - config.noThrow == true for: true == true
2351
+ # Process can be configured on command line
2352
+ ok {test-number} - cli.parse({"test"}) for: {?}
2353
+ # Process can be configured on command line
2354
+ ok {test-number} - config.defaultColourMode == ColourMode::PlatformDefault for: 0 == 0
2355
+ # Process can be configured on command line
2356
+ ok {test-number} - cli.parse( { "test", "--colour-mode", "default" } ) for: {?}
2357
+ # Process can be configured on command line
2358
+ ok {test-number} - config.defaultColourMode == ColourMode::PlatformDefault for: 0 == 0
2359
+ # Process can be configured on command line
2360
+ ok {test-number} - cli.parse({"test", "--colour-mode", "ansi"}) for: {?}
2361
+ # Process can be configured on command line
2362
+ ok {test-number} - config.defaultColourMode == ColourMode::ANSI for: 1 == 1
2363
+ # Process can be configured on command line
2364
+ ok {test-number} - cli.parse({"test", "--colour-mode", "none"}) for: {?}
2365
+ # Process can be configured on command line
2366
+ ok {test-number} - config.defaultColourMode == ColourMode::None for: 3 == 3
2367
+ # Process can be configured on command line
2368
+ ok {test-number} - !result for: true
2369
+ # Process can be configured on command line
2370
+ ok {test-number} - result.errorMessage(), ContainsSubstring( "colour mode must be one of" ) for: "colour mode must be one of: default, ansi, win32, or none. 'wrong' is not recognised" contains: "colour mode must be one of"
2371
+ # Process can be configured on command line
2372
+ ok {test-number} - cli.parse({ "test", "--benchmark-samples=200" }) for: {?}
2373
+ # Process can be configured on command line
2374
+ ok {test-number} - config.benchmarkSamples == 200 for: 200 == 200
2375
+ # Process can be configured on command line
2376
+ ok {test-number} - cli.parse({ "test", "--benchmark-resamples=20000" }) for: {?}
2377
+ # Process can be configured on command line
2378
+ ok {test-number} - config.benchmarkResamples == 20000 for: 20000 (0x<hex digits>) == 20000 (0x<hex digits>)
2379
+ # Process can be configured on command line
2380
+ ok {test-number} - cli.parse({ "test", "--benchmark-confidence-interval=0.99" }) for: {?}
2381
+ # Process can be configured on command line
2382
+ ok {test-number} - config.benchmarkConfidenceInterval == Catch::Approx(0.99) for: 0.99 == Approx( 0.99 )
2383
+ # Process can be configured on command line
2384
+ ok {test-number} - cli.parse({ "test", "--benchmark-no-analysis" }) for: {?}
2385
+ # Process can be configured on command line
2386
+ ok {test-number} - config.benchmarkNoAnalysis for: true
2387
+ # Process can be configured on command line
2388
+ ok {test-number} - cli.parse({ "test", "--benchmark-warmup-time=10" }) for: {?}
2389
+ # Process can be configured on command line
2390
+ ok {test-number} - config.benchmarkWarmupTime == 10 for: 10 == 10
2391
+ # Product with differing arities - std::tuple<int, double, float>
2392
+ ok {test-number} - std::tuple_size<TestType>::value >= 1 for: 3 >= 1
2393
+ # Product with differing arities - std::tuple<int, double>
2394
+ ok {test-number} - std::tuple_size<TestType>::value >= 1 for: 2 >= 1
2395
+ # Product with differing arities - std::tuple<int>
2396
+ ok {test-number} - std::tuple_size<TestType>::value >= 1 for: 1 >= 1
2397
+ # Random seed generation accepts known methods
2398
+ ok {test-number} - Catch::generateRandomSeed(method)
2399
+ # Random seed generation accepts known methods
2400
+ ok {test-number} - Catch::generateRandomSeed(method)
2401
+ # Random seed generation accepts known methods
2402
+ ok {test-number} - Catch::generateRandomSeed(method)
2403
+ # Random seed generation reports unknown methods
2404
+ ok {test-number} - Catch::generateRandomSeed(static_cast<Catch::GenerateFrom>(77))
2405
+ # Range type with sentinel
2406
+ ok {test-number} - Catch::Detail::stringify(UsesSentinel{}) == "{ }" for: "{ }" == "{ }"
2407
+ # Reconstruction should be based on stringification: #914
2408
+ not ok {test-number} - truthy(false) for: Hey, its truthy!
2409
+ # Regex string matcher
2410
+ not ok {test-number} - testStringForMatching(), Matches( "this STRING contains 'abc' as a substring" ) for: "this string contains 'abc' as a substring" matches "this STRING contains 'abc' as a substring" case sensitively
2411
+ # Regex string matcher
2412
+ not ok {test-number} - testStringForMatching(), Matches( "contains 'abc' as a substring" ) for: "this string contains 'abc' as a substring" matches "contains 'abc' as a substring" case sensitively
2413
+ # Regex string matcher
2414
+ not ok {test-number} - testStringForMatching(), Matches( "this string contains 'abc' as a" ) for: "this string contains 'abc' as a substring" matches "this string contains 'abc' as a" case sensitively
2415
+ # Registering reporter with '::' in name fails
2416
+ ok {test-number} - registry.registerReporter( "with::doublecolons", Catch::Detail::make_unique<TestReporterFactory>() ), "'::' is not allowed in reporter name: 'with::doublecolons'" for: "'::' is not allowed in reporter name: 'with::doublecolons'" equals: "'::' is not allowed in reporter name: 'with::doublecolons'"
2417
+ # Regression test #1
2418
+ ok {test-number} - actual, !UnorderedEquals( expected ) for: { 'a', 'b' } not UnorderedEquals: { 'c', 'b' }
2419
+ # Reporter's write listings to provided stream
2420
+ ok {test-number} - !(factories.empty()) for: !false
2421
+ # Reporter's write listings to provided stream
2422
+ ok {test-number} - listingString, ContainsSubstring("fakeTag"s) for: "All available tags: 1 [fakeTag] 1 tag " contains: "fakeTag" with 1 message: 'Tested reporter: Automake'
2423
+ # Reporter's write listings to provided stream
2424
+ ok {test-number} - !(factories.empty()) for: !false
2425
+ # Reporter's write listings to provided stream
2426
+ ok {test-number} - listingString, ContainsSubstring("fake reporter"s) for: "Available reporters: fake reporter: fake description " contains: "fake reporter" with 1 message: 'Tested reporter: Automake'
2427
+ # Reporter's write listings to provided stream
2428
+ ok {test-number} - !(factories.empty()) for: !false
2429
+ # Reporter's write listings to provided stream
2430
+ ok {test-number} - listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: "All available test cases: fake test name [fakeTestTag] 1 test case " ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: Automake'
2431
+ # Reporter's write listings to provided stream
2432
+ ok {test-number} - !(factories.empty()) for: !false
2433
+ # Reporter's write listings to provided stream
2434
+ ok {test-number} - listingString, ContainsSubstring("fakeTag"s) for: "All available tags: 1 [fakeTag] 1 tag " contains: "fakeTag" with 1 message: 'Tested reporter: compact'
2435
+ # Reporter's write listings to provided stream
2436
+ ok {test-number} - !(factories.empty()) for: !false
2437
+ # Reporter's write listings to provided stream
2438
+ ok {test-number} - listingString, ContainsSubstring("fake reporter"s) for: "Available reporters: fake reporter: fake description " contains: "fake reporter" with 1 message: 'Tested reporter: compact'
2439
+ # Reporter's write listings to provided stream
2440
+ ok {test-number} - !(factories.empty()) for: !false
2441
+ # Reporter's write listings to provided stream
2442
+ ok {test-number} - listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: "All available test cases: fake test name [fakeTestTag] 1 test case " ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: compact'
2443
+ # Reporter's write listings to provided stream
2444
+ ok {test-number} - !(factories.empty()) for: !false
2445
+ # Reporter's write listings to provided stream
2446
+ ok {test-number} - listingString, ContainsSubstring("fakeTag"s) for: "All available tags: 1 [fakeTag] 1 tag " contains: "fakeTag" with 1 message: 'Tested reporter: console'
2447
+ # Reporter's write listings to provided stream
2448
+ ok {test-number} - !(factories.empty()) for: !false
2449
+ # Reporter's write listings to provided stream
2450
+ ok {test-number} - listingString, ContainsSubstring("fake reporter"s) for: "Available reporters: fake reporter: fake description " contains: "fake reporter" with 1 message: 'Tested reporter: console'
2451
+ # Reporter's write listings to provided stream
2452
+ ok {test-number} - !(factories.empty()) for: !false
2453
+ # Reporter's write listings to provided stream
2454
+ ok {test-number} - listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: "All available test cases: fake test name [fakeTestTag] 1 test case " ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: console'
2455
+ # Reporter's write listings to provided stream
2456
+ ok {test-number} - !(factories.empty()) for: !false
2457
+ # Reporter's write listings to provided stream
2458
+ ok {test-number} - listingString, ContainsSubstring("fakeTag"s) for: "<?xml version="1.0" encoding="UTF-8"?> All available tags: 1 [fakeTag] 1 tag " contains: "fakeTag" with 1 message: 'Tested reporter: JUnit'
2459
+ # Reporter's write listings to provided stream
2460
+ ok {test-number} - !(factories.empty()) for: !false
2461
+ # Reporter's write listings to provided stream
2462
+ ok {test-number} - listingString, ContainsSubstring("fake reporter"s) for: "<?xml version="1.0" encoding="UTF-8"?> Available reporters: fake reporter: fake description " contains: "fake reporter" with 1 message: 'Tested reporter: JUnit'
2463
+ # Reporter's write listings to provided stream
2464
+ ok {test-number} - !(factories.empty()) for: !false
2465
+ # Reporter's write listings to provided stream
2466
+ ok {test-number} - listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: "<?xml version="1.0" encoding="UTF-8"?> All available test cases: fake test name [fakeTestTag] 1 test case " ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: JUnit'
2467
+ # Reporter's write listings to provided stream
2468
+ ok {test-number} - !(factories.empty()) for: !false
2469
+ # Reporter's write listings to provided stream
2470
+ ok {test-number} - listingString, ContainsSubstring("fakeTag"s) for: "<?xml version="1.0" encoding="UTF-8"?> All available tags: 1 [fakeTag] 1 tag " contains: "fakeTag" with 1 message: 'Tested reporter: SonarQube'
2471
+ # Reporter's write listings to provided stream
2472
+ ok {test-number} - !(factories.empty()) for: !false
2473
+ # Reporter's write listings to provided stream
2474
+ ok {test-number} - listingString, ContainsSubstring("fake reporter"s) for: "<?xml version="1.0" encoding="UTF-8"?> Available reporters: fake reporter: fake description " contains: "fake reporter" with 1 message: 'Tested reporter: SonarQube'
2475
+ # Reporter's write listings to provided stream
2476
+ ok {test-number} - !(factories.empty()) for: !false
2477
+ # Reporter's write listings to provided stream
2478
+ ok {test-number} - listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: "<?xml version="1.0" encoding="UTF-8"?> All available test cases: fake test name [fakeTestTag] 1 test case " ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: SonarQube'
2479
+ # Reporter's write listings to provided stream
2480
+ ok {test-number} - !(factories.empty()) for: !false
2481
+ # Reporter's write listings to provided stream
2482
+ ok {test-number} - listingString, ContainsSubstring("fakeTag"s) for: "All available tags: 1 [fakeTag] 1 tag " contains: "fakeTag" with 1 message: 'Tested reporter: TAP'
2483
+ # Reporter's write listings to provided stream
2484
+ ok {test-number} - !(factories.empty()) for: !false
2485
+ # Reporter's write listings to provided stream
2486
+ ok {test-number} - listingString, ContainsSubstring("fake reporter"s) for: "Available reporters: fake reporter: fake description " contains: "fake reporter" with 1 message: 'Tested reporter: TAP'
2487
+ # Reporter's write listings to provided stream
2488
+ ok {test-number} - !(factories.empty()) for: !false
2489
+ # Reporter's write listings to provided stream
2490
+ ok {test-number} - listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: "All available test cases: fake test name [fakeTestTag] 1 test case " ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: TAP'
2491
+ # Reporter's write listings to provided stream
2492
+ ok {test-number} - !(factories.empty()) for: !false
2493
+ # Reporter's write listings to provided stream
2494
+ ok {test-number} - listingString, ContainsSubstring("fakeTag"s) for: "All available tags: 1 [fakeTag] 1 tag " contains: "fakeTag" with 1 message: 'Tested reporter: TeamCity'
2495
+ # Reporter's write listings to provided stream
2496
+ ok {test-number} - !(factories.empty()) for: !false
2497
+ # Reporter's write listings to provided stream
2498
+ ok {test-number} - listingString, ContainsSubstring("fake reporter"s) for: "Available reporters: fake reporter: fake description " contains: "fake reporter" with 1 message: 'Tested reporter: TeamCity'
2499
+ # Reporter's write listings to provided stream
2500
+ ok {test-number} - !(factories.empty()) for: !false
2501
+ # Reporter's write listings to provided stream
2502
+ ok {test-number} - listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: "All available test cases: fake test name [fakeTestTag] 1 test case " ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: TeamCity'
2503
+ # Reporter's write listings to provided stream
2504
+ ok {test-number} - !(factories.empty()) for: !false
2505
+ # Reporter's write listings to provided stream
2506
+ ok {test-number} - listingString, ContainsSubstring("fakeTag"s) for: "<?xml version="1.0" encoding="UTF-8"?> <TagsFromMatchingTests> <Tag> <Count>1</Count> <Aliases> <Alias>fakeTag</Alias> </Aliases> </Tag> </TagsFromMatchingTests>" contains: "fakeTag" with 1 message: 'Tested reporter: XML'
2507
+ # Reporter's write listings to provided stream
2508
+ ok {test-number} - !(factories.empty()) for: !false
2509
+ # Reporter's write listings to provided stream
2510
+ ok {test-number} - listingString, ContainsSubstring("fake reporter"s) for: "<?xml version="1.0" encoding="UTF-8"?> <AvailableReporters> <Reporter> <Name>fake reporter</Name> <Description>fake description</Description> </Reporter> </AvailableReporters>" contains: "fake reporter" with 1 message: 'Tested reporter: XML'
2511
+ # Reporter's write listings to provided stream
2512
+ ok {test-number} - !(factories.empty()) for: !false
2513
+ # Reporter's write listings to provided stream
2514
+ ok {test-number} - listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: "<?xml version="1.0" encoding="UTF-8"?> <MatchingTests> <TestCase> <Name>fake test name</Name> <ClassName/> <Tags>[fakeTestTag]</Tags> <SourceInfo> <File>fake-file.cpp</File> <Line>123456789</Line> </SourceInfo> </TestCase> </MatchingTests>" ( contains: "fake test name" and contains: "fakeTestTag" ) with 1 message: 'Tested reporter: XML'
2515
+ # Reproducer for #2309 - a very long description past 80 chars (default console width) with a late colon : blablabla
2516
+ ok {test-number} -
2517
+ # SUCCEED counts as a test pass
2518
+ ok {test-number} - with 1 message: 'this is a success'
2519
+ # SUCCEED does not require an argument
2520
+ ok {test-number} -
2521
+ # Scenario: BDD tests requiring Fixtures to provide commonly-accessed data or methods
2522
+ ok {test-number} - before == 0 for: 0 == 0
2523
+ # Scenario: BDD tests requiring Fixtures to provide commonly-accessed data or methods
2524
+ ok {test-number} - after > before for: 1 > 0
2525
+ # Scenario: Do that thing with the thing
2526
+ ok {test-number} - itDoesThis() for: true
2527
+ # Scenario: Do that thing with the thing
2528
+ ok {test-number} - itDoesThat() for: true
2529
+ # Scenario: This is a really long scenario name to see how the list command deals with wrapping
2530
+ ok {test-number} - with 1 message: 'boo!'
2531
+ # Scenario: Vector resizing affects size and capacity
2532
+ ok {test-number} - v.size() == 0 for: 0 == 0
2533
+ # Scenario: Vector resizing affects size and capacity
2534
+ ok {test-number} - v.size() == 10 for: 10 == 10
2535
+ # Scenario: Vector resizing affects size and capacity
2536
+ ok {test-number} - v.capacity() >= 10 for: 10 >= 10
2537
+ # Scenario: Vector resizing affects size and capacity
2538
+ ok {test-number} - v.size() == 5 for: 5 == 5
2539
+ # Scenario: Vector resizing affects size and capacity
2540
+ ok {test-number} - v.capacity() >= 10 for: 10 >= 10
2541
+ # Scenario: Vector resizing affects size and capacity
2542
+ ok {test-number} - v.size() == 0 for: 0 == 0
2543
+ # Scenario: Vector resizing affects size and capacity
2544
+ ok {test-number} - v.capacity() >= 10 for: 10 >= 10
2545
+ # Scenario: Vector resizing affects size and capacity
2546
+ ok {test-number} - v.size() == 0 for: 0 == 0
2547
+ A string sent directly to stdout
2548
+ A string sent directly to stderr
2549
+ A string sent to stderr via clog
2550
+ # Some simple comparisons between doubles
2551
+ ok {test-number} - d == Approx( 1.23 ) for: 1.23 == Approx( 1.23 )
2552
+ # Some simple comparisons between doubles
2553
+ ok {test-number} - d != Approx( 1.22 ) for: 1.23 != Approx( 1.22 )
2554
+ # Some simple comparisons between doubles
2555
+ ok {test-number} - d != Approx( 1.24 ) for: 1.23 != Approx( 1.24 )
2556
+ # Some simple comparisons between doubles
2557
+ ok {test-number} - d == 1.23_a for: 1.23 == Approx( 1.23 )
2558
+ # Some simple comparisons between doubles
2559
+ ok {test-number} - d != 1.22_a for: 1.23 != Approx( 1.22 )
2560
+ # Some simple comparisons between doubles
2561
+ ok {test-number} - Approx( d ) == 1.23 for: Approx( 1.23 ) == 1.23
2562
+ # Some simple comparisons between doubles
2563
+ ok {test-number} - Approx( d ) != 1.22 for: Approx( 1.23 ) != 1.22
2564
+ # Some simple comparisons between doubles
2565
+ ok {test-number} - Approx( d ) != 1.24 for: Approx( 1.23 ) != 1.24
2566
+ Message from section one
2567
+ Message from section two
2568
+ # StartsWith string matcher
2569
+ not ok {test-number} - testStringForMatching(), StartsWith( "This String" ) for: "this string contains 'abc' as a substring" starts with: "This String"
2570
+ # StartsWith string matcher
2571
+ not ok {test-number} - testStringForMatching(), StartsWith( "string", Catch::CaseSensitive::No ) for: "this string contains 'abc' as a substring" starts with: "string" (case insensitive)
2572
+ # Static arrays are convertible to string
2573
+ ok {test-number} - Catch::Detail::stringify(singular) == "{ 1 }" for: "{ 1 }" == "{ 1 }"
2574
+ # Static arrays are convertible to string
2575
+ ok {test-number} - Catch::Detail::stringify(arr) == "{ 3, 2, 1 }" for: "{ 3, 2, 1 }" == "{ 3, 2, 1 }"
2576
+ # Static arrays are convertible to string
2577
+ ok {test-number} - Catch::Detail::stringify(arr) == R"({ { "1:1", "1:2", "1:3" }, { "2:1", "2:2" } })" for: "{ { "1:1", "1:2", "1:3" }, { "2:1", "2:2" } }" == "{ { "1:1", "1:2", "1:3" }, { "2:1", "2:2" } }"
2578
+ # String matchers
2579
+ ok {test-number} - testStringForMatching(), ContainsSubstring( "string" ) for: "this string contains 'abc' as a substring" contains: "string"
2580
+ # String matchers
2581
+ ok {test-number} - testStringForMatching(), ContainsSubstring( "string", Catch::CaseSensitive::No ) for: "this string contains 'abc' as a substring" contains: "string" (case insensitive)
2582
+ # String matchers
2583
+ ok {test-number} - testStringForMatching(), ContainsSubstring( "abc" ) for: "this string contains 'abc' as a substring" contains: "abc"
2584
+ # String matchers
2585
+ ok {test-number} - testStringForMatching(), ContainsSubstring( "aBC", Catch::CaseSensitive::No ) for: "this string contains 'abc' as a substring" contains: "abc" (case insensitive)
2586
+ # String matchers
2587
+ ok {test-number} - testStringForMatching(), StartsWith( "this" ) for: "this string contains 'abc' as a substring" starts with: "this"
2588
+ # String matchers
2589
+ ok {test-number} - testStringForMatching(), StartsWith( "THIS", Catch::CaseSensitive::No ) for: "this string contains 'abc' as a substring" starts with: "this" (case insensitive)
2590
+ # String matchers
2591
+ ok {test-number} - testStringForMatching(), EndsWith( "substring" ) for: "this string contains 'abc' as a substring" ends with: "substring"
2592
+ # String matchers
2593
+ ok {test-number} - testStringForMatching(), EndsWith( " SuBsTrInG", Catch::CaseSensitive::No ) for: "this string contains 'abc' as a substring" ends with: " substring" (case insensitive)
2594
+ # StringRef
2595
+ ok {test-number} - empty.empty() for: true
2596
+ # StringRef
2597
+ ok {test-number} - empty.size() == 0 for: 0 == 0
2598
+ # StringRef
2599
+ ok {test-number} - std::strcmp( empty.data(), "" ) == 0 for: 0 == 0
2600
+ # StringRef
2601
+ ok {test-number} - s.empty() == false for: false == false
2602
+ # StringRef
2603
+ ok {test-number} - s.size() == 5 for: 5 == 5
2604
+ # StringRef
2605
+ ok {test-number} - std::strcmp( rawChars, "hello" ) == 0 for: 0 == 0
2606
+ # StringRef
2607
+ ok {test-number} - s.data() == rawChars for: "hello" == "hello"
2608
+ # StringRef
2609
+ ok {test-number} - original == "original"
2610
+ # StringRef
2611
+ ok {test-number} - original.data()
2612
+ # StringRef
2613
+ ok {test-number} - original.begin() == copy.begin() for: "original string" == "original string"
2614
+ # StringRef
2615
+ ok {test-number} - original.begin() == copy.begin() for: "original string" == "original string"
2616
+ # StringRef
2617
+ ok {test-number} - ss.empty() == false for: false == false
2618
+ # StringRef
2619
+ ok {test-number} - ss.size() == 5 for: 5 == 5
2620
+ # StringRef
2621
+ ok {test-number} - std::strncmp( ss.data(), "hello", 5 ) == 0 for: 0 == 0
2622
+ # StringRef
2623
+ ok {test-number} - ss == "hello" for: hello == "hello"
2624
+ # StringRef
2625
+ ok {test-number} - ss.size() == 6 for: 6 == 6
2626
+ # StringRef
2627
+ ok {test-number} - std::strcmp( ss.data(), "world!" ) == 0 for: 0 == 0
2628
+ # StringRef
2629
+ ok {test-number} - s.data() == s2.data() for: "hello world!" == "hello world!"
2630
+ # StringRef
2631
+ ok {test-number} - s.data() == ss.data() for: "hello world!" == "hello world!"
2632
+ # StringRef
2633
+ ok {test-number} - s.substr(s.size() + 1, 123).empty() for: true
2634
+ # StringRef
2635
+ ok {test-number} - std::strcmp(ss.data(), "world!") == 0 for: 0 == 0
2636
+ # StringRef
2637
+ ok {test-number} - s.substr(1'000'000, 1).empty() for: true
2638
+ # StringRef
2639
+ ok {test-number} - reinterpret_cast<char*>(buffer1) != reinterpret_cast<char*>(buffer2) for: "Hello" != "Hello"
2640
+ # StringRef
2641
+ ok {test-number} - left == right for: Hello == Hello
2642
+ # StringRef
2643
+ ok {test-number} - left != left.substr(0, 3) for: Hello != Hel
2644
+ # StringRef
2645
+ ok {test-number} - sr == "a standard string" for: a standard string == "a standard string"
2646
+ # StringRef
2647
+ ok {test-number} - sr.size() == stdStr.size() for: 17 == 17
2648
+ # StringRef
2649
+ ok {test-number} - sr == "a standard string" for: a standard string == "a standard string"
2650
+ # StringRef
2651
+ ok {test-number} - sr.size() == stdStr.size() for: 17 == 17
2652
+ # StringRef
2653
+ ok {test-number} - sr == "a standard string" for: a standard string == "a standard string"
2654
+ # StringRef
2655
+ ok {test-number} - sr.size() == stdStr.size() for: 17 == 17
2656
+ # StringRef
2657
+ ok {test-number} - stdStr == "a stringref" for: "a stringref" == "a stringref"
2658
+ # StringRef
2659
+ ok {test-number} - stdStr.size() == sr.size() for: 11 == 11
2660
+ # StringRef
2661
+ ok {test-number} - stdStr == "a stringref" for: "a stringref" == "a stringref"
2662
+ # StringRef
2663
+ ok {test-number} - stdStr.size() == sr.size() for: 11 == 11
2664
+ # StringRef
2665
+ ok {test-number} - lhs == "some string += the stringref contents" for: "some string += the stringref contents" == "some string += the stringref contents"
2666
+ # StringRef
2667
+ ok {test-number} - together == "abrakadabra" for: "abrakadabra" == "abrakadabra"
2668
+ # StringRef at compilation time
2669
+ ok {test-number} - with 1 message: 'empty.size() == 0'
2670
+ # StringRef at compilation time
2671
+ ok {test-number} - with 1 message: 'empty.begin() == empty.end()'
2672
+ # StringRef at compilation time
2673
+ ok {test-number} - with 1 message: 'stringref.size() == 3'
2674
+ # StringRef at compilation time
2675
+ ok {test-number} - with 1 message: 'stringref.data() == abc'
2676
+ # StringRef at compilation time
2677
+ ok {test-number} - with 1 message: 'stringref.begin() == abc'
2678
+ # StringRef at compilation time
2679
+ ok {test-number} - with 1 message: 'stringref.begin() != stringref.end()'
2680
+ # StringRef at compilation time
2681
+ ok {test-number} - with 1 message: 'stringref.substr(10, 0).empty()'
2682
+ # StringRef at compilation time
2683
+ ok {test-number} - with 1 message: 'stringref.substr(2, 1).data() == abc + 2'
2684
+ # StringRef at compilation time
2685
+ ok {test-number} - with 1 message: 'stringref[1] == 'b''
2686
+ # StringRef at compilation time
2687
+ ok {test-number} - with 1 message: 'shortened.size() == 2'
2688
+ # StringRef at compilation time
2689
+ ok {test-number} - with 1 message: 'shortened.data() == abc'
2690
+ # StringRef at compilation time
2691
+ ok {test-number} - with 1 message: 'shortened.begin() != shortened.end()'
2692
+ # StringRef at compilation time
2693
+ ok {test-number} - with 1 message: '!(sr1.empty())'
2694
+ # StringRef at compilation time
2695
+ ok {test-number} - with 1 message: 'sr1.size() == 3'
2696
+ # StringRef at compilation time
2697
+ ok {test-number} - with 1 message: 'sr2.empty()'
2698
+ # StringRef at compilation time
2699
+ ok {test-number} - with 1 message: 'sr2.size() == 0'
2700
+ # Stringifying char arrays with statically known sizes - char
2701
+ ok {test-number} - ::Catch::Detail::stringify( with_null_terminator ) == R"("abc")"s for: ""abc"" == ""abc""
2702
+ # Stringifying char arrays with statically known sizes - char
2703
+ ok {test-number} - ::Catch::Detail::stringify( no_null_terminator ) == R"("abc")"s for: ""abc"" == ""abc""
2704
+ # Stringifying char arrays with statically known sizes - signed char
2705
+ ok {test-number} - ::Catch::Detail::stringify( with_null_terminator ) == R"("abc")"s for: ""abc"" == ""abc""
2706
+ # Stringifying char arrays with statically known sizes - signed char
2707
+ ok {test-number} - ::Catch::Detail::stringify( no_null_terminator ) == R"("abc")"s for: ""abc"" == ""abc""
2708
+ # Stringifying char arrays with statically known sizes - unsigned char
2709
+ ok {test-number} - ::Catch::Detail::stringify( with_null_terminator ) == R"("abc")"s for: ""abc"" == ""abc""
2710
+ # Stringifying char arrays with statically known sizes - unsigned char
2711
+ ok {test-number} - ::Catch::Detail::stringify( no_null_terminator ) == R"("abc")"s for: ""abc"" == ""abc""
2712
+ # Stringifying std::chrono::duration helpers
2713
+ ok {test-number} - minute == seconds for: 1 m == 60 s
2714
+ # Stringifying std::chrono::duration helpers
2715
+ ok {test-number} - hour != seconds for: 1 h != 60 s
2716
+ # Stringifying std::chrono::duration helpers
2717
+ ok {test-number} - micro != milli for: 1 us != 1 ms
2718
+ # Stringifying std::chrono::duration helpers
2719
+ ok {test-number} - nano != micro for: 1 ns != 1 us
2720
+ # Stringifying std::chrono::duration with weird ratios
2721
+ ok {test-number} - half_minute != femto_second for: 1 [30/1]s != 1 fs
2722
+ # Stringifying std::chrono::duration with weird ratios
2723
+ ok {test-number} - pico_second != atto_second for: 1 ps != 1 as
2724
+ # Stringifying std::chrono::time_point<system_clock>
2725
+ ok {test-number} - now != later for: {iso8601-timestamp} != {iso8601-timestamp}
2726
+ # Tabs and newlines show in output
2727
+ not ok {test-number} - s1 == s2 for: "if ($b == 10) { $a = 20; }" == "if ($b == 10) { $a = 20; } "
2728
+ # Tag alias can be registered against tag patterns
2729
+ ok {test-number} - what, ContainsSubstring( "[@zzz]" ) for: "error: tag alias, '[@zzz]' already registered. First seen at: file:2 Redefined at: file:10" contains: "[@zzz]"
2730
+ # Tag alias can be registered against tag patterns
2731
+ ok {test-number} - what, ContainsSubstring( "file" ) for: "error: tag alias, '[@zzz]' already registered. First seen at: file:2 Redefined at: file:10" contains: "file"
2732
+ # Tag alias can be registered against tag patterns
2733
+ ok {test-number} - what, ContainsSubstring( "2" ) for: "error: tag alias, '[@zzz]' already registered. First seen at: file:2 Redefined at: file:10" contains: "2"
2734
+ # Tag alias can be registered against tag patterns
2735
+ ok {test-number} - what, ContainsSubstring( "10" ) for: "error: tag alias, '[@zzz]' already registered. First seen at: file:2 Redefined at: file:10" contains: "10"
2736
+ # Tag alias can be registered against tag patterns
2737
+ ok {test-number} - registry.add( "[no ampersat]", "", Catch::SourceLineInfo( "file", 3 ) )
2738
+ # Tag alias can be registered against tag patterns
2739
+ ok {test-number} - registry.add( "[the @ is not at the start]", "", Catch::SourceLineInfo( "file", 3 ) )
2740
+ # Tag alias can be registered against tag patterns
2741
+ ok {test-number} - registry.add( "@no square bracket at start]", "", Catch::SourceLineInfo( "file", 3 ) )
2742
+ # Tag alias can be registered against tag patterns
2743
+ ok {test-number} - registry.add( "[@no square bracket at end", "", Catch::SourceLineInfo( "file", 3 ) )
2744
+ # Tags with spaces and non-alphanumerical characters are accepted
2745
+ ok {test-number} - testCase.tags.size() == 2 for: 2 == 2
2746
+ # Tags with spaces and non-alphanumerical characters are accepted
2747
+ ok {test-number} - testCase.tags, VectorContains( Tag( "tag with spaces" ) ) && VectorContains( Tag( "I said \"good day\" sir!"_catch_sr ) ) for: { {?}, {?} } ( Contains: {?} and Contains: {?} )
2748
+ # Template test case method with test types specified inside std::tuple - MyTypes - 0
2749
+ ok {test-number} - Template_Fixture<TestType>::m_a == 1 for: 1 == 1
2750
+ # Template test case method with test types specified inside std::tuple - MyTypes - 1
2751
+ ok {test-number} - Template_Fixture<TestType>::m_a == 1 for: 1 == 1
2752
+ # Template test case method with test types specified inside std::tuple - MyTypes - 2
2753
+ ok {test-number} - Template_Fixture<TestType>::m_a == 1 for: 1.0 == 1
2754
+ # Template test case with test types specified inside non-copyable and non-movable std::tuple - NonCopyableAndNonMovableTypes - 0
2755
+ ok {test-number} - sizeof(TestType) > 0 for: 1 > 0
2756
+ # Template test case with test types specified inside non-copyable and non-movable std::tuple - NonCopyableAndNonMovableTypes - 1
2757
+ ok {test-number} - sizeof(TestType) > 0 for: 4 > 0
2758
+ # Template test case with test types specified inside non-default-constructible std::tuple - MyNonDefaultConstructibleTypes - 0
2759
+ ok {test-number} - sizeof(TestType) > 0 for: 1 > 0
2760
+ # Template test case with test types specified inside non-default-constructible std::tuple - MyNonDefaultConstructibleTypes - 1
2761
+ ok {test-number} - sizeof(TestType) > 0 for: 4 > 0
2762
+ # Template test case with test types specified inside std::tuple - MyTypes - 0
2763
+ ok {test-number} - sizeof(TestType) > 0 for: 4 > 0
2764
+ # Template test case with test types specified inside std::tuple - MyTypes - 1
2765
+ ok {test-number} - sizeof(TestType) > 0 for: 1 > 0
2766
+ # Template test case with test types specified inside std::tuple - MyTypes - 2
2767
+ ok {test-number} - sizeof(TestType) > 0 for: 4 > 0
2768
+ # TemplateTest: vectors can be sized and resized - float
2769
+ ok {test-number} - v.size() == 5 for: 5 == 5
2770
+ # TemplateTest: vectors can be sized and resized - float
2771
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2772
+ # TemplateTest: vectors can be sized and resized - float
2773
+ ok {test-number} - v.size() == 10 for: 10 == 10
2774
+ # TemplateTest: vectors can be sized and resized - float
2775
+ ok {test-number} - v.capacity() >= 10 for: 10 >= 10
2776
+ # TemplateTest: vectors can be sized and resized - float
2777
+ ok {test-number} - v.size() == 5 for: 5 == 5
2778
+ # TemplateTest: vectors can be sized and resized - float
2779
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2780
+ # TemplateTest: vectors can be sized and resized - float
2781
+ ok {test-number} - v.size() == 0 for: 0 == 0
2782
+ # TemplateTest: vectors can be sized and resized - float
2783
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2784
+ # TemplateTest: vectors can be sized and resized - float
2785
+ ok {test-number} - v.capacity() == 0 for: 0 == 0
2786
+ # TemplateTest: vectors can be sized and resized - float
2787
+ ok {test-number} - v.size() == 5 for: 5 == 5
2788
+ # TemplateTest: vectors can be sized and resized - float
2789
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2790
+ # TemplateTest: vectors can be sized and resized - float
2791
+ ok {test-number} - v.size() == 5 for: 5 == 5
2792
+ # TemplateTest: vectors can be sized and resized - float
2793
+ ok {test-number} - v.capacity() >= 10 for: 10 >= 10
2794
+ # TemplateTest: vectors can be sized and resized - float
2795
+ ok {test-number} - v.size() == 5 for: 5 == 5
2796
+ # TemplateTest: vectors can be sized and resized - float
2797
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2798
+ # TemplateTest: vectors can be sized and resized - float
2799
+ ok {test-number} - v.size() == 5 for: 5 == 5
2800
+ # TemplateTest: vectors can be sized and resized - float
2801
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2802
+ # TemplateTest: vectors can be sized and resized - int
2803
+ ok {test-number} - v.size() == 5 for: 5 == 5
2804
+ # TemplateTest: vectors can be sized and resized - int
2805
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2806
+ # TemplateTest: vectors can be sized and resized - int
2807
+ ok {test-number} - v.size() == 10 for: 10 == 10
2808
+ # TemplateTest: vectors can be sized and resized - int
2809
+ ok {test-number} - v.capacity() >= 10 for: 10 >= 10
2810
+ # TemplateTest: vectors can be sized and resized - int
2811
+ ok {test-number} - v.size() == 5 for: 5 == 5
2812
+ # TemplateTest: vectors can be sized and resized - int
2813
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2814
+ # TemplateTest: vectors can be sized and resized - int
2815
+ ok {test-number} - v.size() == 0 for: 0 == 0
2816
+ # TemplateTest: vectors can be sized and resized - int
2817
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2818
+ # TemplateTest: vectors can be sized and resized - int
2819
+ ok {test-number} - v.capacity() == 0 for: 0 == 0
2820
+ # TemplateTest: vectors can be sized and resized - int
2821
+ ok {test-number} - v.size() == 5 for: 5 == 5
2822
+ # TemplateTest: vectors can be sized and resized - int
2823
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2824
+ # TemplateTest: vectors can be sized and resized - int
2825
+ ok {test-number} - v.size() == 5 for: 5 == 5
2826
+ # TemplateTest: vectors can be sized and resized - int
2827
+ ok {test-number} - v.capacity() >= 10 for: 10 >= 10
2828
+ # TemplateTest: vectors can be sized and resized - int
2829
+ ok {test-number} - v.size() == 5 for: 5 == 5
2830
+ # TemplateTest: vectors can be sized and resized - int
2831
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2832
+ # TemplateTest: vectors can be sized and resized - int
2833
+ ok {test-number} - v.size() == 5 for: 5 == 5
2834
+ # TemplateTest: vectors can be sized and resized - int
2835
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2836
+ # TemplateTest: vectors can be sized and resized - std::string
2837
+ ok {test-number} - v.size() == 5 for: 5 == 5
2838
+ # TemplateTest: vectors can be sized and resized - std::string
2839
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2840
+ # TemplateTest: vectors can be sized and resized - std::string
2841
+ ok {test-number} - v.size() == 10 for: 10 == 10
2842
+ # TemplateTest: vectors can be sized and resized - std::string
2843
+ ok {test-number} - v.capacity() >= 10 for: 10 >= 10
2844
+ # TemplateTest: vectors can be sized and resized - std::string
2845
+ ok {test-number} - v.size() == 5 for: 5 == 5
2846
+ # TemplateTest: vectors can be sized and resized - std::string
2847
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2848
+ # TemplateTest: vectors can be sized and resized - std::string
2849
+ ok {test-number} - v.size() == 0 for: 0 == 0
2850
+ # TemplateTest: vectors can be sized and resized - std::string
2851
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2852
+ # TemplateTest: vectors can be sized and resized - std::string
2853
+ ok {test-number} - v.capacity() == 0 for: 0 == 0
2854
+ # TemplateTest: vectors can be sized and resized - std::string
2855
+ ok {test-number} - v.size() == 5 for: 5 == 5
2856
+ # TemplateTest: vectors can be sized and resized - std::string
2857
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2858
+ # TemplateTest: vectors can be sized and resized - std::string
2859
+ ok {test-number} - v.size() == 5 for: 5 == 5
2860
+ # TemplateTest: vectors can be sized and resized - std::string
2861
+ ok {test-number} - v.capacity() >= 10 for: 10 >= 10
2862
+ # TemplateTest: vectors can be sized and resized - std::string
2863
+ ok {test-number} - v.size() == 5 for: 5 == 5
2864
+ # TemplateTest: vectors can be sized and resized - std::string
2865
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2866
+ # TemplateTest: vectors can be sized and resized - std::string
2867
+ ok {test-number} - v.size() == 5 for: 5 == 5
2868
+ # TemplateTest: vectors can be sized and resized - std::string
2869
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2870
+ # TemplateTest: vectors can be sized and resized - std::tuple<int,float>
2871
+ ok {test-number} - v.size() == 5 for: 5 == 5
2872
+ # TemplateTest: vectors can be sized and resized - std::tuple<int,float>
2873
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2874
+ # TemplateTest: vectors can be sized and resized - std::tuple<int,float>
2875
+ ok {test-number} - v.size() == 10 for: 10 == 10
2876
+ # TemplateTest: vectors can be sized and resized - std::tuple<int,float>
2877
+ ok {test-number} - v.capacity() >= 10 for: 10 >= 10
2878
+ # TemplateTest: vectors can be sized and resized - std::tuple<int,float>
2879
+ ok {test-number} - v.size() == 5 for: 5 == 5
2880
+ # TemplateTest: vectors can be sized and resized - std::tuple<int,float>
2881
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2882
+ # TemplateTest: vectors can be sized and resized - std::tuple<int,float>
2883
+ ok {test-number} - v.size() == 0 for: 0 == 0
2884
+ # TemplateTest: vectors can be sized and resized - std::tuple<int,float>
2885
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2886
+ # TemplateTest: vectors can be sized and resized - std::tuple<int,float>
2887
+ ok {test-number} - v.capacity() == 0 for: 0 == 0
2888
+ # TemplateTest: vectors can be sized and resized - std::tuple<int,float>
2889
+ ok {test-number} - v.size() == 5 for: 5 == 5
2890
+ # TemplateTest: vectors can be sized and resized - std::tuple<int,float>
2891
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2892
+ # TemplateTest: vectors can be sized and resized - std::tuple<int,float>
2893
+ ok {test-number} - v.size() == 5 for: 5 == 5
2894
+ # TemplateTest: vectors can be sized and resized - std::tuple<int,float>
2895
+ ok {test-number} - v.capacity() >= 10 for: 10 >= 10
2896
+ # TemplateTest: vectors can be sized and resized - std::tuple<int,float>
2897
+ ok {test-number} - v.size() == 5 for: 5 == 5
2898
+ # TemplateTest: vectors can be sized and resized - std::tuple<int,float>
2899
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2900
+ # TemplateTest: vectors can be sized and resized - std::tuple<int,float>
2901
+ ok {test-number} - v.size() == 5 for: 5 == 5
2902
+ # TemplateTest: vectors can be sized and resized - std::tuple<int,float>
2903
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
2904
+ # TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6
2905
+ ok {test-number} - v.size() == V for: 6 == 6
2906
+ # TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6
2907
+ ok {test-number} - v.capacity() >= V for: 6 >= 6
2908
+ # TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6
2909
+ ok {test-number} - v.size() == 2 * V for: 12 == 12
2910
+ # TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6
2911
+ ok {test-number} - v.capacity() >= 2 * V for: 12 >= 12
2912
+ # TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6
2913
+ ok {test-number} - v.size() == V for: 6 == 6
2914
+ # TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6
2915
+ ok {test-number} - v.capacity() >= V for: 6 >= 6
2916
+ # TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6
2917
+ ok {test-number} - v.size() == 0 for: 0 == 0
2918
+ # TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6
2919
+ ok {test-number} - v.capacity() >= V for: 6 >= 6
2920
+ # TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6
2921
+ ok {test-number} - v.capacity() == 0 for: 0 == 0
2922
+ # TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6
2923
+ ok {test-number} - v.size() == V for: 6 == 6
2924
+ # TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6
2925
+ ok {test-number} - v.capacity() >= V for: 6 >= 6
2926
+ # TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6
2927
+ ok {test-number} - v.size() == V for: 6 == 6
2928
+ # TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6
2929
+ ok {test-number} - v.capacity() >= 2 * V for: 12 >= 12
2930
+ # TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6
2931
+ ok {test-number} - v.size() == V for: 6 == 6
2932
+ # TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6
2933
+ ok {test-number} - v.capacity() >= V for: 6 >= 6
2934
+ # TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6
2935
+ ok {test-number} - v.size() == V for: 6 == 6
2936
+ # TemplateTestSig: vectors can be sized and resized - (std::tuple<int, float>), 6
2937
+ ok {test-number} - v.capacity() >= V for: 6 >= 6
2938
+ # TemplateTestSig: vectors can be sized and resized - float,4
2939
+ ok {test-number} - v.size() == V for: 4 == 4
2940
+ # TemplateTestSig: vectors can be sized and resized - float,4
2941
+ ok {test-number} - v.capacity() >= V for: 4 >= 4
2942
+ # TemplateTestSig: vectors can be sized and resized - float,4
2943
+ ok {test-number} - v.size() == 2 * V for: 8 == 8
2944
+ # TemplateTestSig: vectors can be sized and resized - float,4
2945
+ ok {test-number} - v.capacity() >= 2 * V for: 8 >= 8
2946
+ # TemplateTestSig: vectors can be sized and resized - float,4
2947
+ ok {test-number} - v.size() == V for: 4 == 4
2948
+ # TemplateTestSig: vectors can be sized and resized - float,4
2949
+ ok {test-number} - v.capacity() >= V for: 4 >= 4
2950
+ # TemplateTestSig: vectors can be sized and resized - float,4
2951
+ ok {test-number} - v.size() == 0 for: 0 == 0
2952
+ # TemplateTestSig: vectors can be sized and resized - float,4
2953
+ ok {test-number} - v.capacity() >= V for: 4 >= 4
2954
+ # TemplateTestSig: vectors can be sized and resized - float,4
2955
+ ok {test-number} - v.capacity() == 0 for: 0 == 0
2956
+ # TemplateTestSig: vectors can be sized and resized - float,4
2957
+ ok {test-number} - v.size() == V for: 4 == 4
2958
+ # TemplateTestSig: vectors can be sized and resized - float,4
2959
+ ok {test-number} - v.capacity() >= V for: 4 >= 4
2960
+ # TemplateTestSig: vectors can be sized and resized - float,4
2961
+ ok {test-number} - v.size() == V for: 4 == 4
2962
+ # TemplateTestSig: vectors can be sized and resized - float,4
2963
+ ok {test-number} - v.capacity() >= 2 * V for: 8 >= 8
2964
+ # TemplateTestSig: vectors can be sized and resized - float,4
2965
+ ok {test-number} - v.size() == V for: 4 == 4
2966
+ # TemplateTestSig: vectors can be sized and resized - float,4
2967
+ ok {test-number} - v.capacity() >= V for: 4 >= 4
2968
+ # TemplateTestSig: vectors can be sized and resized - float,4
2969
+ ok {test-number} - v.size() == V for: 4 == 4
2970
+ # TemplateTestSig: vectors can be sized and resized - float,4
2971
+ ok {test-number} - v.capacity() >= V for: 4 >= 4
2972
+ # TemplateTestSig: vectors can be sized and resized - int,5
2973
+ ok {test-number} - v.size() == V for: 5 == 5
2974
+ # TemplateTestSig: vectors can be sized and resized - int,5
2975
+ ok {test-number} - v.capacity() >= V for: 5 >= 5
2976
+ # TemplateTestSig: vectors can be sized and resized - int,5
2977
+ ok {test-number} - v.size() == 2 * V for: 10 == 10
2978
+ # TemplateTestSig: vectors can be sized and resized - int,5
2979
+ ok {test-number} - v.capacity() >= 2 * V for: 10 >= 10
2980
+ # TemplateTestSig: vectors can be sized and resized - int,5
2981
+ ok {test-number} - v.size() == V for: 5 == 5
2982
+ # TemplateTestSig: vectors can be sized and resized - int,5
2983
+ ok {test-number} - v.capacity() >= V for: 5 >= 5
2984
+ # TemplateTestSig: vectors can be sized and resized - int,5
2985
+ ok {test-number} - v.size() == 0 for: 0 == 0
2986
+ # TemplateTestSig: vectors can be sized and resized - int,5
2987
+ ok {test-number} - v.capacity() >= V for: 5 >= 5
2988
+ # TemplateTestSig: vectors can be sized and resized - int,5
2989
+ ok {test-number} - v.capacity() == 0 for: 0 == 0
2990
+ # TemplateTestSig: vectors can be sized and resized - int,5
2991
+ ok {test-number} - v.size() == V for: 5 == 5
2992
+ # TemplateTestSig: vectors can be sized and resized - int,5
2993
+ ok {test-number} - v.capacity() >= V for: 5 >= 5
2994
+ # TemplateTestSig: vectors can be sized and resized - int,5
2995
+ ok {test-number} - v.size() == V for: 5 == 5
2996
+ # TemplateTestSig: vectors can be sized and resized - int,5
2997
+ ok {test-number} - v.capacity() >= 2 * V for: 10 >= 10
2998
+ # TemplateTestSig: vectors can be sized and resized - int,5
2999
+ ok {test-number} - v.size() == V for: 5 == 5
3000
+ # TemplateTestSig: vectors can be sized and resized - int,5
3001
+ ok {test-number} - v.capacity() >= V for: 5 >= 5
3002
+ # TemplateTestSig: vectors can be sized and resized - int,5
3003
+ ok {test-number} - v.size() == V for: 5 == 5
3004
+ # TemplateTestSig: vectors can be sized and resized - int,5
3005
+ ok {test-number} - v.capacity() >= V for: 5 >= 5
3006
+ # TemplateTestSig: vectors can be sized and resized - std::string,15
3007
+ ok {test-number} - v.size() == V for: 15 == 15
3008
+ # TemplateTestSig: vectors can be sized and resized - std::string,15
3009
+ ok {test-number} - v.capacity() >= V for: 15 >= 15
3010
+ # TemplateTestSig: vectors can be sized and resized - std::string,15
3011
+ ok {test-number} - v.size() == 2 * V for: 30 == 30
3012
+ # TemplateTestSig: vectors can be sized and resized - std::string,15
3013
+ ok {test-number} - v.capacity() >= 2 * V for: 30 >= 30
3014
+ # TemplateTestSig: vectors can be sized and resized - std::string,15
3015
+ ok {test-number} - v.size() == V for: 15 == 15
3016
+ # TemplateTestSig: vectors can be sized and resized - std::string,15
3017
+ ok {test-number} - v.capacity() >= V for: 15 >= 15
3018
+ # TemplateTestSig: vectors can be sized and resized - std::string,15
3019
+ ok {test-number} - v.size() == 0 for: 0 == 0
3020
+ # TemplateTestSig: vectors can be sized and resized - std::string,15
3021
+ ok {test-number} - v.capacity() >= V for: 15 >= 15
3022
+ # TemplateTestSig: vectors can be sized and resized - std::string,15
3023
+ ok {test-number} - v.capacity() == 0 for: 0 == 0
3024
+ # TemplateTestSig: vectors can be sized and resized - std::string,15
3025
+ ok {test-number} - v.size() == V for: 15 == 15
3026
+ # TemplateTestSig: vectors can be sized and resized - std::string,15
3027
+ ok {test-number} - v.capacity() >= V for: 15 >= 15
3028
+ # TemplateTestSig: vectors can be sized and resized - std::string,15
3029
+ ok {test-number} - v.size() == V for: 15 == 15
3030
+ # TemplateTestSig: vectors can be sized and resized - std::string,15
3031
+ ok {test-number} - v.capacity() >= 2 * V for: 30 >= 30
3032
+ # TemplateTestSig: vectors can be sized and resized - std::string,15
3033
+ ok {test-number} - v.size() == V for: 15 == 15
3034
+ # TemplateTestSig: vectors can be sized and resized - std::string,15
3035
+ ok {test-number} - v.capacity() >= V for: 15 >= 15
3036
+ # TemplateTestSig: vectors can be sized and resized - std::string,15
3037
+ ok {test-number} - v.size() == V for: 15 == 15
3038
+ # TemplateTestSig: vectors can be sized and resized - std::string,15
3039
+ ok {test-number} - v.capacity() >= V for: 15 >= 15
3040
+ # Test case with identical tags keeps just one
3041
+ ok {test-number} - testCase.tags.size() == 1 for: 1 == 1
3042
+ # Test case with identical tags keeps just one
3043
+ ok {test-number} - testCase.tags[0] == Tag( "tag1" ) for: {?} == {?}
3044
+ # Test case with one argument
3045
+ ok {test-number} - with 1 message: 'no assertions'
3046
+ # Test enum bit values
3047
+ ok {test-number} - 0x<hex digits> == bit30and31 for: 3221225472 (0x<hex digits>) == 3221225472
3048
+ # Test with special, characters "in name
3049
+ ok {test-number} -
3050
+ # Testing checked-if
3051
+ ok {test-number} - true
3052
+ # Testing checked-if
3053
+ ok {test-number} -
3054
+ # Testing checked-if
3055
+ ok {test-number} - false # TODO
3056
+ # Testing checked-if
3057
+ ok {test-number} - true
3058
+ # Testing checked-if
3059
+ ok {test-number} - false # TODO
3060
+ # Testing checked-if
3061
+ ok {test-number} -
3062
+ # Testing checked-if 2
3063
+ ok {test-number} - true
3064
+ # Testing checked-if 2
3065
+ not ok {test-number} - explicitly
3066
+ # Testing checked-if 3
3067
+ ok {test-number} - false # TODO
3068
+ # Testing checked-if 3
3069
+ not ok {test-number} - explicitly
3070
+ # The NO_FAIL macro reports a failure but does not fail the test
3071
+ ok {test-number} - 1 == 2 # TODO
3072
+ # The default listing implementation write to provided stream
3073
+ ok {test-number} - listingString, ContainsSubstring("[fakeTag]"s) for: "All available tags: 1 [fakeTag] 1 tag " contains: "[fakeTag]"
3074
+ # The default listing implementation write to provided stream
3075
+ ok {test-number} - listingString, ContainsSubstring( "fake reporter"s ) && ContainsSubstring( "fake description"s ) for: "Available reporters: fake reporter: fake description " ( contains: "fake reporter" and contains: "fake description" )
3076
+ # The default listing implementation write to provided stream
3077
+ ok {test-number} - listingString, ContainsSubstring( "fake test name"s ) && ContainsSubstring( "fakeTestTag"s ) for: "All available test cases: fake test name [fakeTestTag] 1 test case " ( contains: "fake test name" and contains: "fakeTestTag" )
3078
+ # The default listing implementation write to provided stream
3079
+ ok {test-number} - listingString, ContainsSubstring( "fakeListener"s ) && ContainsSubstring( "fake description"s ) for: "Registered listeners: fakeListener: fake description " ( contains: "fakeListener" and contains: "fake description" )
3080
+ # This test 'should' fail but doesn't
3081
+ ok {test-number} - with 1 message: 'oops!'
3082
+ # Thrown string literals are translated
3083
+ not ok {test-number} - unexpected exception with message: 'For some reason someone is throwing a string literal!'
3084
+ # Tracker
3085
+ ok {test-number} - testCase.isOpen() for: true
3086
+ # Tracker
3087
+ ok {test-number} - s1.isOpen() for: true
3088
+ # Tracker
3089
+ ok {test-number} - s1.isSuccessfullyCompleted() for: true
3090
+ # Tracker
3091
+ ok {test-number} - testCase.isComplete() == false for: false == false
3092
+ # Tracker
3093
+ ok {test-number} - ctx.completedCycle() for: true
3094
+ # Tracker
3095
+ ok {test-number} - testCase.isSuccessfullyCompleted() for: true
3096
+ # Tracker
3097
+ ok {test-number} - testCase.isOpen() for: true
3098
+ # Tracker
3099
+ ok {test-number} - s1.isOpen() for: true
3100
+ # Tracker
3101
+ ok {test-number} - s1.isComplete() for: true
3102
+ # Tracker
3103
+ ok {test-number} - s1.isSuccessfullyCompleted() == false for: false == false
3104
+ # Tracker
3105
+ ok {test-number} - testCase.isComplete() == false for: false == false
3106
+ # Tracker
3107
+ ok {test-number} - ctx.completedCycle() for: true
3108
+ # Tracker
3109
+ ok {test-number} - testCase.isSuccessfullyCompleted() == false for: false == false
3110
+ # Tracker
3111
+ ok {test-number} - testCase2.isOpen() for: true
3112
+ # Tracker
3113
+ ok {test-number} - s1b.isOpen() == false for: false == false
3114
+ # Tracker
3115
+ ok {test-number} - ctx.completedCycle() for: true
3116
+ # Tracker
3117
+ ok {test-number} - testCase.isComplete() for: true
3118
+ # Tracker
3119
+ ok {test-number} - testCase.isSuccessfullyCompleted() for: true
3120
+ # Tracker
3121
+ ok {test-number} - testCase.isOpen() for: true
3122
+ # Tracker
3123
+ ok {test-number} - s1.isOpen() for: true
3124
+ # Tracker
3125
+ ok {test-number} - s1.isComplete() for: true
3126
+ # Tracker
3127
+ ok {test-number} - s1.isSuccessfullyCompleted() == false for: false == false
3128
+ # Tracker
3129
+ ok {test-number} - testCase.isComplete() == false for: false == false
3130
+ # Tracker
3131
+ ok {test-number} - ctx.completedCycle() for: true
3132
+ # Tracker
3133
+ ok {test-number} - testCase.isSuccessfullyCompleted() == false for: false == false
3134
+ # Tracker
3135
+ ok {test-number} - testCase2.isOpen() for: true
3136
+ # Tracker
3137
+ ok {test-number} - s1b.isOpen() == false for: false == false
3138
+ # Tracker
3139
+ ok {test-number} - s2.isOpen() for: true
3140
+ # Tracker
3141
+ ok {test-number} - ctx.completedCycle() for: true
3142
+ # Tracker
3143
+ ok {test-number} - testCase.isComplete() for: true
3144
+ # Tracker
3145
+ ok {test-number} - testCase.isSuccessfullyCompleted() for: true
3146
+ # Tracker
3147
+ ok {test-number} - testCase.isOpen() for: true
3148
+ # Tracker
3149
+ ok {test-number} - s1.isOpen() for: true
3150
+ # Tracker
3151
+ ok {test-number} - s2.isOpen() == false for: false == false
3152
+ # Tracker
3153
+ ok {test-number} - testCase.isComplete() == false for: false == false
3154
+ # Tracker
3155
+ ok {test-number} - testCase2.isOpen() for: true
3156
+ # Tracker
3157
+ ok {test-number} - s1b.isOpen() == false for: false == false
3158
+ # Tracker
3159
+ ok {test-number} - s2b.isOpen() for: true
3160
+ # Tracker
3161
+ ok {test-number} - ctx.completedCycle() == false for: false == false
3162
+ # Tracker
3163
+ ok {test-number} - ctx.completedCycle() for: true
3164
+ # Tracker
3165
+ ok {test-number} - s2b.isSuccessfullyCompleted() for: true
3166
+ # Tracker
3167
+ ok {test-number} - testCase2.isComplete() == false for: false == false
3168
+ # Tracker
3169
+ ok {test-number} - testCase2.isSuccessfullyCompleted() for: true
3170
+ # Tracker
3171
+ ok {test-number} - testCase.isOpen() for: true
3172
+ # Tracker
3173
+ ok {test-number} - s1.isOpen() for: true
3174
+ # Tracker
3175
+ ok {test-number} - s2.isOpen() == false for: false == false
3176
+ # Tracker
3177
+ ok {test-number} - testCase.isComplete() == false for: false == false
3178
+ # Tracker
3179
+ ok {test-number} - testCase2.isOpen() for: true
3180
+ # Tracker
3181
+ ok {test-number} - s1b.isOpen() == false for: false == false
3182
+ # Tracker
3183
+ ok {test-number} - s2b.isOpen() for: true
3184
+ # Tracker
3185
+ ok {test-number} - ctx.completedCycle() == false for: false == false
3186
+ # Tracker
3187
+ ok {test-number} - ctx.completedCycle() for: true
3188
+ # Tracker
3189
+ ok {test-number} - s2b.isComplete() for: true
3190
+ # Tracker
3191
+ ok {test-number} - s2b.isSuccessfullyCompleted() == false for: false == false
3192
+ # Tracker
3193
+ ok {test-number} - testCase2.isSuccessfullyCompleted() == false for: false == false
3194
+ # Tracker
3195
+ ok {test-number} - testCase3.isOpen() for: true
3196
+ # Tracker
3197
+ ok {test-number} - s1c.isOpen() == false for: false == false
3198
+ # Tracker
3199
+ ok {test-number} - s2c.isOpen() == false for: false == false
3200
+ # Tracker
3201
+ ok {test-number} - testCase3.isSuccessfullyCompleted() for: true
3202
+ # Tracker
3203
+ ok {test-number} - testCase.isOpen() for: true
3204
+ # Tracker
3205
+ ok {test-number} - s1.isOpen() for: true
3206
+ # Tracker
3207
+ ok {test-number} - s2.isOpen() for: true
3208
+ # Tracker
3209
+ ok {test-number} - s2.isComplete() for: true
3210
+ # Tracker
3211
+ ok {test-number} - s1.isComplete() == false for: false == false
3212
+ # Tracker
3213
+ ok {test-number} - s1.isComplete() for: true
3214
+ # Tracker
3215
+ ok {test-number} - testCase.isComplete() == false for: false == false
3216
+ # Tracker
3217
+ ok {test-number} - testCase.isComplete() for: true
3218
+ # Trim strings
3219
+ ok {test-number} - trim(std::string(no_whitespace)) == no_whitespace for: "There is no extra whitespace here" == "There is no extra whitespace here"
3220
+ # Trim strings
3221
+ ok {test-number} - trim(std::string(leading_whitespace)) == no_whitespace for: "There is no extra whitespace here" == "There is no extra whitespace here"
3222
+ # Trim strings
3223
+ ok {test-number} - trim(std::string(trailing_whitespace)) == no_whitespace for: "There is no extra whitespace here" == "There is no extra whitespace here"
3224
+ # Trim strings
3225
+ ok {test-number} - trim(std::string(whitespace_at_both_ends)) == no_whitespace for: "There is no extra whitespace here" == "There is no extra whitespace here"
3226
+ # Trim strings
3227
+ ok {test-number} - trim(StringRef(no_whitespace)) == StringRef(no_whitespace) for: There is no extra whitespace here == There is no extra whitespace here
3228
+ # Trim strings
3229
+ ok {test-number} - trim(StringRef(leading_whitespace)) == StringRef(no_whitespace) for: There is no extra whitespace here == There is no extra whitespace here
3230
+ # Trim strings
3231
+ ok {test-number} - trim(StringRef(trailing_whitespace)) == StringRef(no_whitespace) for: There is no extra whitespace here == There is no extra whitespace here
3232
+ # Trim strings
3233
+ ok {test-number} - trim(StringRef(whitespace_at_both_ends)) == StringRef(no_whitespace) for: There is no extra whitespace here == There is no extra whitespace here
3234
+ # Type conversions of RangeEquals and similar
3235
+ ok {test-number} - array_int_a, RangeEquals( c_array ) for: { 1, 2, 3 } elements are { 1, 2, 3 }
3236
+ # Type conversions of RangeEquals and similar
3237
+ ok {test-number} - array_int_a, UnorderedRangeEquals( c_array ) for: { 1, 2, 3 } unordered elements are { 1, 2, 3 }
3238
+ # Type conversions of RangeEquals and similar
3239
+ ok {test-number} - array_int_3, !RangeEquals( array_int_4 ) for: { 1, 2, 3 } not elements are { 1, 2, 3, 4 }
3240
+ # Type conversions of RangeEquals and similar
3241
+ ok {test-number} - array_int_3, !UnorderedRangeEquals( array_int_4 ) for: { 1, 2, 3 } not unordered elements are { 1, 2, 3, 4 }
3242
+ # Type conversions of RangeEquals and similar
3243
+ ok {test-number} - array_int_a, RangeEquals( vector_char_a ) for: { 1, 2, 3 } elements are { 1, 2, 3 }
3244
+ # Type conversions of RangeEquals and similar
3245
+ ok {test-number} - array_int_a, UnorderedRangeEquals( vector_char_a ) for: { 1, 2, 3 } unordered elements are { 1, 2, 3 }
3246
+ # Type conversions of RangeEquals and similar
3247
+ ok {test-number} - with 1 message: 'ContainerIsRandomAccess( array_int_a ) != ContainerIsRandomAccess( list_char_a )'
3248
+ # Type conversions of RangeEquals and similar
3249
+ ok {test-number} - array_int_a, RangeEquals( list_char_a ) for: { 1, 2, 3 } elements are { 1, 2, 3 }
3250
+ # Type conversions of RangeEquals and similar
3251
+ ok {test-number} - array_int_a, UnorderedRangeEquals( list_char_a ) for: { 1, 2, 3 } unordered elements are { 1, 2, 3 }
3252
+ # Type conversions of RangeEquals and similar
3253
+ ok {test-number} - vector_int_a, RangeEquals( vector_char_a ) for: { 1, 2, 3 } elements are { 1, 2, 3 }
3254
+ # Type conversions of RangeEquals and similar
3255
+ ok {test-number} - vector_int_a, UnorderedRangeEquals( vector_char_a ) for: { 1, 2, 3 } unordered elements are { 1, 2, 3 }
3256
+ # Type conversions of RangeEquals and similar
3257
+ ok {test-number} - vector_int_a, !RangeEquals( vector_char_b ) for: { 1, 2, 3 } not elements are { 1, 2, 2 }
3258
+ # Type conversions of RangeEquals and similar
3259
+ ok {test-number} - vector_int_a, !UnorderedRangeEquals( vector_char_b ) for: { 1, 2, 3 } not unordered elements are { 1, 2, 2 }
3260
+ # Type conversions of RangeEquals and similar
3261
+ ok {test-number} - a, !RangeEquals( b ) for: { 1, 2, 3 } not elements are { 3, 2, 1 }
3262
+ # Type conversions of RangeEquals and similar
3263
+ ok {test-number} - a, UnorderedRangeEquals( b ) for: { 1, 2, 3 } unordered elements are { 3, 2, 1 }
3264
+ # Type conversions of RangeEquals and similar
3265
+ ok {test-number} - vector_a, RangeEquals( array_a_plus_1, close_enough ) for: { 1, 2, 3 } elements are { 2, 3, 4 }
3266
+ # Type conversions of RangeEquals and similar
3267
+ ok {test-number} - vector_a, UnorderedRangeEquals( array_a_plus_1, close_enough ) for: { 1, 2, 3 } unordered elements are { 2, 3, 4 }
3268
+ # Unexpected exceptions can be translated
3269
+ not ok {test-number} - unexpected exception with message: '3.14'
3270
+ # Upcasting special member functions
3271
+ ok {test-number} - bptr->i == 3 for: 3 == 3
3272
+ # Upcasting special member functions
3273
+ ok {test-number} - bptr->i == 3 for: 3 == 3
3274
+ # Usage of AllMatch range matcher
3275
+ ok {test-number} - data, AllMatch(SizeIs(5)) for: { { 0, 1, 2, 3, 5 }, { 4, -3, -2, 5, 0 }, { 0, 0, 0, 5, 0 }, { 0, -5, 0, 5, 0 }, { 1, 0, 0, -1, 5 } } all match has size == 5
3276
+ # Usage of AllMatch range matcher
3277
+ ok {test-number} - data, !AllMatch(Contains(0) && Contains(1)) for: { { 0, 1, 2, 3, 5 }, { 4, -3, -2, 5, 0 }, { 0, 0, 0, 5, 0 }, { 0, -5, 0, 5, 0 }, { 1, 0, 0, -1, 5 } } not all match ( contains element 0 and contains element 1 )
3278
+ # Usage of AllMatch range matcher
3279
+ ok {test-number} - needs_adl, AllMatch( Predicate<int>( []( int elem ) { return elem < 6; } ) ) for: { 1, 2, 3, 4, 5 } all match matches undescribed predicate
3280
+ # Usage of AllMatch range matcher
3281
+ ok {test-number} - mocked, allMatch for: { 1, 2, 3, 4, 5 } all match matches undescribed predicate
3282
+ # Usage of AllMatch range matcher
3283
+ ok {test-number} - mocked.m_derefed[0] for: true
3284
+ # Usage of AllMatch range matcher
3285
+ ok {test-number} - mocked.m_derefed[1] for: true
3286
+ # Usage of AllMatch range matcher
3287
+ ok {test-number} - mocked.m_derefed[2] for: true
3288
+ # Usage of AllMatch range matcher
3289
+ ok {test-number} - mocked.m_derefed[3] for: true
3290
+ # Usage of AllMatch range matcher
3291
+ ok {test-number} - mocked.m_derefed[4] for: true
3292
+ # Usage of AllMatch range matcher
3293
+ ok {test-number} - mocked, !allMatch for: { 1, 2, 3, 4, 5 } not all match matches undescribed predicate
3294
+ # Usage of AllMatch range matcher
3295
+ ok {test-number} - mocked.m_derefed[0] for: true
3296
+ # Usage of AllMatch range matcher
3297
+ ok {test-number} - mocked.m_derefed[1] for: true
3298
+ # Usage of AllMatch range matcher
3299
+ ok {test-number} - mocked.m_derefed[2] for: true
3300
+ # Usage of AllMatch range matcher
3301
+ ok {test-number} - !(mocked.m_derefed[3]) for: !false
3302
+ # Usage of AllMatch range matcher
3303
+ ok {test-number} - !(mocked.m_derefed[4]) for: !false
3304
+ # Usage of AllTrue range matcher
3305
+ ok {test-number} - data, AllTrue() for: { true, true, true, true, true } contains only true
3306
+ # Usage of AllTrue range matcher
3307
+ ok {test-number} - data, AllTrue() for: { } contains only true
3308
+ # Usage of AllTrue range matcher
3309
+ ok {test-number} - data, !AllTrue() for: { true, true, false, true, true } not contains only true
3310
+ # Usage of AllTrue range matcher
3311
+ ok {test-number} - data, !AllTrue() for: { false, false, false, false, false } not contains only true
3312
+ # Usage of AllTrue range matcher
3313
+ ok {test-number} - data, AllTrue() for: { true, true, true, true, true } contains only true
3314
+ # Usage of AllTrue range matcher
3315
+ ok {test-number} - data, !AllTrue() for: { true, true, false, true, true } not contains only true
3316
+ # Usage of AllTrue range matcher
3317
+ ok {test-number} - data, !AllTrue() for: { false, false, false, false, false } not contains only true
3318
+ # Usage of AllTrue range matcher
3319
+ ok {test-number} - mocked, AllTrue() for: { true, true, true, true, true } contains only true
3320
+ # Usage of AllTrue range matcher
3321
+ ok {test-number} - mocked.m_derefed[0] for: true
3322
+ # Usage of AllTrue range matcher
3323
+ ok {test-number} - mocked.m_derefed[1] for: true
3324
+ # Usage of AllTrue range matcher
3325
+ ok {test-number} - mocked.m_derefed[2] for: true
3326
+ # Usage of AllTrue range matcher
3327
+ ok {test-number} - mocked.m_derefed[3] for: true
3328
+ # Usage of AllTrue range matcher
3329
+ ok {test-number} - mocked.m_derefed[4] for: true
3330
+ # Usage of AllTrue range matcher
3331
+ ok {test-number} - mocked, !AllTrue() for: { true, true, false, true, true } not contains only true
3332
+ # Usage of AllTrue range matcher
3333
+ ok {test-number} - mocked.m_derefed[0] for: true
3334
+ # Usage of AllTrue range matcher
3335
+ ok {test-number} - mocked.m_derefed[1] for: true
3336
+ # Usage of AllTrue range matcher
3337
+ ok {test-number} - mocked.m_derefed[2] for: true
3338
+ # Usage of AllTrue range matcher
3339
+ ok {test-number} - !(mocked.m_derefed[3]) for: !false
3340
+ # Usage of AllTrue range matcher
3341
+ ok {test-number} - !(mocked.m_derefed[4]) for: !false
3342
+ # Usage of AnyMatch range matcher
3343
+ ok {test-number} - data, AnyMatch(SizeIs(5)) for: { { 0, 1, 2, 3, 5 }, { 4, -3, -2, 5, 0 }, { 0, 0, 0, 5, 0 }, { 0, -5, 0, 5, 0 }, { 1, 0, 0, -1, 5 } } any match has size == 5
3344
+ # Usage of AnyMatch range matcher
3345
+ ok {test-number} - data, !AnyMatch(Contains(0) && Contains(10)) for: { { 0, 1, 2, 3, 5 }, { 4, -3, -2, 5, 0 }, { 0, 0, 0, 5, 0 }, { 0, -5, 0, 5, 0 }, { 1, 0, 0, -1, 5 } } not any match ( contains element 0 and contains element 10 )
3346
+ # Usage of AnyMatch range matcher
3347
+ ok {test-number} - needs_adl, AnyMatch( Predicate<int>( []( int elem ) { return elem < 3; } ) ) for: { 1, 2, 3, 4, 5 } any match matches undescribed predicate
3348
+ # Usage of AnyMatch range matcher
3349
+ ok {test-number} - mocked, !anyMatch for: { 1, 2, 3, 4, 5 } not any match matches undescribed predicate
3350
+ # Usage of AnyMatch range matcher
3351
+ ok {test-number} - mocked.m_derefed[0] for: true
3352
+ # Usage of AnyMatch range matcher
3353
+ ok {test-number} - mocked.m_derefed[1] for: true
3354
+ # Usage of AnyMatch range matcher
3355
+ ok {test-number} - mocked.m_derefed[2] for: true
3356
+ # Usage of AnyMatch range matcher
3357
+ ok {test-number} - mocked.m_derefed[3] for: true
3358
+ # Usage of AnyMatch range matcher
3359
+ ok {test-number} - mocked.m_derefed[4] for: true
3360
+ # Usage of AnyMatch range matcher
3361
+ ok {test-number} - mocked, anyMatch for: { 1, 2, 3, 4, 5 } any match matches undescribed predicate
3362
+ # Usage of AnyMatch range matcher
3363
+ ok {test-number} - mocked.m_derefed[0] for: true
3364
+ # Usage of AnyMatch range matcher
3365
+ ok {test-number} - !(mocked.m_derefed[1]) for: !false
3366
+ # Usage of AnyMatch range matcher
3367
+ ok {test-number} - !(mocked.m_derefed[2]) for: !false
3368
+ # Usage of AnyMatch range matcher
3369
+ ok {test-number} - !(mocked.m_derefed[3]) for: !false
3370
+ # Usage of AnyMatch range matcher
3371
+ ok {test-number} - !(mocked.m_derefed[4]) for: !false
3372
+ # Usage of AnyTrue range matcher
3373
+ ok {test-number} - data, AnyTrue() for: { true, true, true, true, true } contains at least one true
3374
+ # Usage of AnyTrue range matcher
3375
+ ok {test-number} - data, !AnyTrue() for: { } not contains at least one true
3376
+ # Usage of AnyTrue range matcher
3377
+ ok {test-number} - data, AnyTrue() for: { false, false, true, false, false } contains at least one true
3378
+ # Usage of AnyTrue range matcher
3379
+ ok {test-number} - data, !AnyTrue() for: { false, false, false, false, false } not contains at least one true
3380
+ # Usage of AnyTrue range matcher
3381
+ ok {test-number} - data, AnyTrue() for: { true, true, true, true, true } contains at least one true
3382
+ # Usage of AnyTrue range matcher
3383
+ ok {test-number} - data, AnyTrue() for: { false, false, true, false, false } contains at least one true
3384
+ # Usage of AnyTrue range matcher
3385
+ ok {test-number} - data, !AnyTrue() for: { false, false, false, false, false } not contains at least one true
3386
+ # Usage of AnyTrue range matcher
3387
+ ok {test-number} - mocked, AnyTrue() for: { false, false, false, false, true } contains at least one true
3388
+ # Usage of AnyTrue range matcher
3389
+ ok {test-number} - mocked.m_derefed[0] for: true
3390
+ # Usage of AnyTrue range matcher
3391
+ ok {test-number} - mocked.m_derefed[1] for: true
3392
+ # Usage of AnyTrue range matcher
3393
+ ok {test-number} - mocked.m_derefed[2] for: true
3394
+ # Usage of AnyTrue range matcher
3395
+ ok {test-number} - mocked.m_derefed[3] for: true
3396
+ # Usage of AnyTrue range matcher
3397
+ ok {test-number} - mocked.m_derefed[4] for: true
3398
+ # Usage of AnyTrue range matcher
3399
+ ok {test-number} - mocked, AnyTrue() for: { false, false, true, true, true } contains at least one true
3400
+ # Usage of AnyTrue range matcher
3401
+ ok {test-number} - mocked.m_derefed[0] for: true
3402
+ # Usage of AnyTrue range matcher
3403
+ ok {test-number} - mocked.m_derefed[1] for: true
3404
+ # Usage of AnyTrue range matcher
3405
+ ok {test-number} - mocked.m_derefed[2] for: true
3406
+ # Usage of AnyTrue range matcher
3407
+ ok {test-number} - !(mocked.m_derefed[3]) for: !false
3408
+ # Usage of AnyTrue range matcher
3409
+ ok {test-number} - !(mocked.m_derefed[4]) for: !false
3410
+ # Usage of NoneMatch range matcher
3411
+ ok {test-number} - data, NoneMatch(SizeIs(6)) for: { { 0, 1, 2, 3, 5 }, { 4, -3, -2, 5, 0 }, { 0, 0, 0, 5, 0 }, { 0, -5, 0, 5, 0 }, { 1, 0, 0, -1, 5 } } none match has size == 6
3412
+ # Usage of NoneMatch range matcher
3413
+ ok {test-number} - data, !NoneMatch(Contains(0) && Contains(1)) for: { { 0, 1, 2, 3, 5 }, { 4, -3, -2, 5, 0 }, { 0, 0, 0, 5, 0 }, { 0, -5, 0, 5, 0 }, { 1, 0, 0, -1, 5 } } not none match ( contains element 0 and contains element 1 )
3414
+ # Usage of NoneMatch range matcher
3415
+ ok {test-number} - needs_adl, NoneMatch( Predicate<int>( []( int elem ) { return elem > 6; } ) ) for: { 1, 2, 3, 4, 5 } none match matches undescribed predicate
3416
+ # Usage of NoneMatch range matcher
3417
+ ok {test-number} - mocked, noneMatch for: { 1, 2, 3, 4, 5 } none match matches undescribed predicate
3418
+ # Usage of NoneMatch range matcher
3419
+ ok {test-number} - mocked.m_derefed[0] for: true
3420
+ # Usage of NoneMatch range matcher
3421
+ ok {test-number} - mocked.m_derefed[1] for: true
3422
+ # Usage of NoneMatch range matcher
3423
+ ok {test-number} - mocked.m_derefed[2] for: true
3424
+ # Usage of NoneMatch range matcher
3425
+ ok {test-number} - mocked.m_derefed[3] for: true
3426
+ # Usage of NoneMatch range matcher
3427
+ ok {test-number} - mocked.m_derefed[4] for: true
3428
+ # Usage of NoneMatch range matcher
3429
+ ok {test-number} - mocked, !noneMatch for: { 1, 2, 3, 4, 5 } not none match matches undescribed predicate
3430
+ # Usage of NoneMatch range matcher
3431
+ ok {test-number} - mocked.m_derefed[0] for: true
3432
+ # Usage of NoneMatch range matcher
3433
+ ok {test-number} - !(mocked.m_derefed[1]) for: !false
3434
+ # Usage of NoneMatch range matcher
3435
+ ok {test-number} - !(mocked.m_derefed[2]) for: !false
3436
+ # Usage of NoneMatch range matcher
3437
+ ok {test-number} - !(mocked.m_derefed[3]) for: !false
3438
+ # Usage of NoneMatch range matcher
3439
+ ok {test-number} - !(mocked.m_derefed[4]) for: !false
3440
+ # Usage of NoneTrue range matcher
3441
+ ok {test-number} - data, !NoneTrue() for: { true, true, true, true, true } not contains no true
3442
+ # Usage of NoneTrue range matcher
3443
+ ok {test-number} - data, NoneTrue() for: { } contains no true
3444
+ # Usage of NoneTrue range matcher
3445
+ ok {test-number} - data, !NoneTrue() for: { false, false, true, false, false } not contains no true
3446
+ # Usage of NoneTrue range matcher
3447
+ ok {test-number} - data, NoneTrue() for: { false, false, false, false, false } contains no true
3448
+ # Usage of NoneTrue range matcher
3449
+ ok {test-number} - data, !NoneTrue() for: { true, true, true, true, true } not contains no true
3450
+ # Usage of NoneTrue range matcher
3451
+ ok {test-number} - data, !NoneTrue() for: { false, false, true, false, false } not contains no true
3452
+ # Usage of NoneTrue range matcher
3453
+ ok {test-number} - data, NoneTrue() for: { false, false, false, false, false } contains no true
3454
+ # Usage of NoneTrue range matcher
3455
+ ok {test-number} - mocked, NoneTrue() for: { false, false, false, false, false } contains no true
3456
+ # Usage of NoneTrue range matcher
3457
+ ok {test-number} - mocked.m_derefed[0] for: true
3458
+ # Usage of NoneTrue range matcher
3459
+ ok {test-number} - mocked.m_derefed[1] for: true
3460
+ # Usage of NoneTrue range matcher
3461
+ ok {test-number} - mocked.m_derefed[2] for: true
3462
+ # Usage of NoneTrue range matcher
3463
+ ok {test-number} - mocked.m_derefed[3] for: true
3464
+ # Usage of NoneTrue range matcher
3465
+ ok {test-number} - mocked.m_derefed[4] for: true
3466
+ # Usage of NoneTrue range matcher
3467
+ ok {test-number} - mocked, !NoneTrue() for: { false, false, true, true, true } not contains no true
3468
+ # Usage of NoneTrue range matcher
3469
+ ok {test-number} - mocked.m_derefed[0] for: true
3470
+ # Usage of NoneTrue range matcher
3471
+ ok {test-number} - mocked.m_derefed[1] for: true
3472
+ # Usage of NoneTrue range matcher
3473
+ ok {test-number} - mocked.m_derefed[2] for: true
3474
+ # Usage of NoneTrue range matcher
3475
+ ok {test-number} - !(mocked.m_derefed[3]) for: !false
3476
+ # Usage of NoneTrue range matcher
3477
+ ok {test-number} - !(mocked.m_derefed[4]) for: !false
3478
+ # Usage of RangeEquals range matcher
3479
+ ok {test-number} - empty_vector, RangeEquals( empty_vector ) for: { } elements are { }
3480
+ # Usage of RangeEquals range matcher
3481
+ ok {test-number} - empty_vector, !RangeEquals( non_empty_vector ) for: { } not elements are { 1 }
3482
+ # Usage of RangeEquals range matcher
3483
+ ok {test-number} - non_empty_vector, !RangeEquals( empty_vector ) for: { 1 } not elements are { }
3484
+ # Usage of RangeEquals range matcher
3485
+ ok {test-number} - non_empty_array, RangeEquals( non_empty_array ) for: { 1 } elements are { 1 }
3486
+ # Usage of RangeEquals range matcher
3487
+ ok {test-number} - array_a, RangeEquals( array_a ) for: { 1, 2, 3 } elements are { 1, 2, 3 }
3488
+ # Usage of RangeEquals range matcher
3489
+ ok {test-number} - array_a, !RangeEquals( array_b ) for: { 1, 2, 3 } not elements are { 2, 2, 3 }
3490
+ # Usage of RangeEquals range matcher
3491
+ ok {test-number} - array_a, !RangeEquals( array_c ) for: { 1, 2, 3 } not elements are { 1, 2, 2 }
3492
+ # Usage of RangeEquals range matcher
3493
+ ok {test-number} - vector_a, !RangeEquals( vector_b ) for: { 1, 2, 3 } not elements are { 1, 2, 3, 4 }
3494
+ # Usage of RangeEquals range matcher
3495
+ ok {test-number} - vector_a, RangeEquals( vector_a_plus_1, close_enough ) for: { 1, 2, 3 } elements are { 2, 3, 4 }
3496
+ # Usage of RangeEquals range matcher
3497
+ ok {test-number} - vector_a, !RangeEquals( vector_b, close_enough ) for: { 1, 2, 3 } not elements are { 3, 3, 4 }
3498
+ # Usage of RangeEquals range matcher
3499
+ ok {test-number} - needs_adl1, RangeEquals( needs_adl2 ) for: { 1, 2, 3, 4, 5 } elements are { 1, 2, 3, 4, 5 }
3500
+ # Usage of RangeEquals range matcher
3501
+ ok {test-number} - needs_adl1, RangeEquals( needs_adl3, []( int l, int r ) { return l + 1 == r; } ) for: { 1, 2, 3, 4, 5 } elements are { 2, 3, 4, 5, 6 }
3502
+ # Usage of RangeEquals range matcher
3503
+ ok {test-number} - mocked1, !RangeEquals( arr ) for: { 1, 2, 3, 4 } not elements are { 1, 2, 4, 4 }
3504
+ # Usage of RangeEquals range matcher
3505
+ ok {test-number} - mocked1.m_derefed[0] for: true
3506
+ # Usage of RangeEquals range matcher
3507
+ ok {test-number} - mocked1.m_derefed[1] for: true
3508
+ # Usage of RangeEquals range matcher
3509
+ ok {test-number} - mocked1.m_derefed[2] for: true
3510
+ # Usage of RangeEquals range matcher
3511
+ ok {test-number} - !(mocked1.m_derefed[3]) for: !false
3512
+ # Usage of RangeEquals range matcher
3513
+ ok {test-number} - mocked1, RangeEquals( arr ) for: { 1, 2, 3, 4 } elements are { 1, 2, 3, 4 }
3514
+ # Usage of RangeEquals range matcher
3515
+ ok {test-number} - mocked1.m_derefed[0] for: true
3516
+ # Usage of RangeEquals range matcher
3517
+ ok {test-number} - mocked1.m_derefed[1] for: true
3518
+ # Usage of RangeEquals range matcher
3519
+ ok {test-number} - mocked1.m_derefed[2] for: true
3520
+ # Usage of RangeEquals range matcher
3521
+ ok {test-number} - mocked1.m_derefed[3] for: true
3522
+ # Usage of UnorderedRangeEquals range matcher
3523
+ ok {test-number} - empty_vector, UnorderedRangeEquals( empty_vector ) for: { } unordered elements are { }
3524
+ # Usage of UnorderedRangeEquals range matcher
3525
+ ok {test-number} - empty_vector, !UnorderedRangeEquals( non_empty_vector ) for: { } not unordered elements are { 1 }
3526
+ # Usage of UnorderedRangeEquals range matcher
3527
+ ok {test-number} - non_empty_vector, !UnorderedRangeEquals( empty_vector ) for: { 1 } not unordered elements are { }
3528
+ # Usage of UnorderedRangeEquals range matcher
3529
+ ok {test-number} - non_empty_array, UnorderedRangeEquals( non_empty_array ) for: { 1 } unordered elements are { 1 }
3530
+ # Usage of UnorderedRangeEquals range matcher
3531
+ ok {test-number} - array_a, UnorderedRangeEquals( array_a ) for: { 1, 2, 3 } unordered elements are { 1, 2, 3 }
3532
+ # Usage of UnorderedRangeEquals range matcher
3533
+ ok {test-number} - array_a, !UnorderedRangeEquals( array_b ) for: { 1, 2, 3 } not unordered elements are { 2, 2, 3 }
3534
+ # Usage of UnorderedRangeEquals range matcher
3535
+ ok {test-number} - vector_a, !UnorderedRangeEquals( vector_b ) for: { 1, 2, 3 } not unordered elements are { 1, 2, 3, 4 }
3536
+ # Usage of UnorderedRangeEquals range matcher
3537
+ ok {test-number} - vector_a, UnorderedRangeEquals( vector_a_plus_1, close_enough ) for: { 1, 10, 20 } unordered elements are { 11, 21, 2 }
3538
+ # Usage of UnorderedRangeEquals range matcher
3539
+ ok {test-number} - vector_a, !UnorderedRangeEquals( vector_b, close_enough ) for: { 1, 10, 21 } not unordered elements are { 11, 21, 3 }
3540
+ # Usage of UnorderedRangeEquals range matcher
3541
+ ok {test-number} - needs_adl1, UnorderedRangeEquals( needs_adl2 ) for: { 1, 2, 3, 4, 5 } unordered elements are { 1, 2, 3, 4, 5 }
3542
+ # Usage of the SizeIs range matcher
3543
+ ok {test-number} - empty_vec, SizeIs(0) for: { } has size == 0
3544
+ # Usage of the SizeIs range matcher
3545
+ ok {test-number} - empty_vec, !SizeIs(2) for: { } not has size == 2
3546
+ # Usage of the SizeIs range matcher
3547
+ ok {test-number} - empty_vec, SizeIs(Lt(2)) for: { } size matches is less than 2
3548
+ # Usage of the SizeIs range matcher
3549
+ ok {test-number} - arr, SizeIs(2) for: { 0, 0 } has size == 2
3550
+ # Usage of the SizeIs range matcher
3551
+ ok {test-number} - arr, SizeIs( Lt(3)) for: { 0, 0 } size matches is less than 3
3552
+ # Usage of the SizeIs range matcher
3553
+ ok {test-number} - arr, !SizeIs(!Lt(3)) for: { 0, 0 } not size matches not is less than 3
3554
+ # Usage of the SizeIs range matcher
3555
+ ok {test-number} - map, SizeIs(3) for: { {?}, {?}, {?} } has size == 3
3556
+ # Usage of the SizeIs range matcher
3557
+ ok {test-number} - unrelated::ADL_size{}, SizeIs(12) for: {?} has size == 12
3558
+ # Usage of the SizeIs range matcher
3559
+ ok {test-number} - has_size{}, SizeIs(13) for: {?} has size == 13
3560
+ # Use a custom approx
3561
+ ok {test-number} - d == approx( 1.23 ) for: 1.23 == Approx( 1.23 )
3562
+ # Use a custom approx
3563
+ ok {test-number} - d == approx( 1.22 ) for: 1.23 == Approx( 1.22 )
3564
+ # Use a custom approx
3565
+ ok {test-number} - d == approx( 1.24 ) for: 1.23 == Approx( 1.24 )
3566
+ # Use a custom approx
3567
+ ok {test-number} - d != approx( 1.25 ) for: 1.23 != Approx( 1.25 )
3568
+ # Use a custom approx
3569
+ ok {test-number} - approx( d ) == 1.23 for: Approx( 1.23 ) == 1.23
3570
+ # Use a custom approx
3571
+ ok {test-number} - approx( d ) == 1.22 for: Approx( 1.23 ) == 1.22
3572
+ # Use a custom approx
3573
+ ok {test-number} - approx( d ) == 1.24 for: Approx( 1.23 ) == 1.24
3574
+ # Use a custom approx
3575
+ ok {test-number} - approx( d ) != 1.25 for: Approx( 1.23 ) != 1.25
3576
+ # Variadic macros
3577
+ ok {test-number} - with 1 message: 'no assertions'
3578
+ # Vector Approx matcher
3579
+ ok {test-number} - empty, Approx( empty ) for: { } is approx: { }
3580
+ # Vector Approx matcher
3581
+ ok {test-number} - v1, Approx( v1 ) for: { 1.0, 2.0, 3.0 } is approx: { 1.0, 2.0, 3.0 }
3582
+ # Vector Approx matcher
3583
+ ok {test-number} - v1, Approx<double>( { 1., 2., 3. } ) for: { 1.0, 2.0, 3.0 } is approx: { 1.0, 2.0, 3.0 }
3584
+ # Vector Approx matcher
3585
+ ok {test-number} - v1, !Approx( temp ) for: { 1.0, 2.0, 3.0 } not is approx: { 1.0, 2.0, 3.0, 4.0 }
3586
+ # Vector Approx matcher
3587
+ ok {test-number} - v1, !Approx( v2 ) for: { 1.0, 2.0, 3.0 } not is approx: { 1.5, 2.5, 3.5 }
3588
+ # Vector Approx matcher
3589
+ ok {test-number} - v1, Approx( v2 ).margin( 0.5 ) for: { 1.0, 2.0, 3.0 } is approx: { 1.5, 2.5, 3.5 }
3590
+ # Vector Approx matcher
3591
+ ok {test-number} - v1, Approx( v2 ).epsilon( 0.5 ) for: { 1.0, 2.0, 3.0 } is approx: { 1.5, 2.5, 3.5 }
3592
+ # Vector Approx matcher
3593
+ ok {test-number} - v1, Approx( v2 ).epsilon( 0.1 ).scale( 500 ) for: { 1.0, 2.0, 3.0 } is approx: { 1.5, 2.5, 3.5 }
3594
+ # Vector Approx matcher -- failing
3595
+ not ok {test-number} - empty, Approx( t1 ) for: { } is approx: { 1.0, 2.0 }
3596
+ # Vector Approx matcher -- failing
3597
+ not ok {test-number} - v1, Approx( v2 ) for: { 2.0, 4.0, 6.0 } is approx: { 1.0, 3.0, 5.0 }
3598
+ # Vector matchers
3599
+ ok {test-number} - v, VectorContains( 1 ) for: { 1, 2, 3 } Contains: 1
3600
+ # Vector matchers
3601
+ ok {test-number} - v, VectorContains( 2 ) for: { 1, 2, 3 } Contains: 2
3602
+ # Vector matchers
3603
+ ok {test-number} - v5, ( VectorContains<int, CustomAllocator<int>>( 2 ) ) for: { 1, 2, 3 } Contains: 2
3604
+ # Vector matchers
3605
+ ok {test-number} - v, Contains( v2 ) for: { 1, 2, 3 } Contains: { 1, 2 }
3606
+ # Vector matchers
3607
+ ok {test-number} - v, Contains<int>( { 1, 2 } ) for: { 1, 2, 3 } Contains: { 1, 2 }
3608
+ # Vector matchers
3609
+ ok {test-number} - v5, ( Contains<int, std::allocator<int>, CustomAllocator<int>>( v2 ) ) for: { 1, 2, 3 } Contains: { 1, 2 }
3610
+ # Vector matchers
3611
+ ok {test-number} - v, Contains( v2 ) for: { 1, 2, 3 } Contains: { 1, 2, 3 }
3612
+ # Vector matchers
3613
+ ok {test-number} - v, Contains( empty ) for: { 1, 2, 3 } Contains: { }
3614
+ # Vector matchers
3615
+ ok {test-number} - empty, Contains( empty ) for: { } Contains: { }
3616
+ # Vector matchers
3617
+ ok {test-number} - v5, ( Contains<int, std::allocator<int>, CustomAllocator<int>>( v2 ) ) for: { 1, 2, 3 } Contains: { 1, 2, 3 }
3618
+ # Vector matchers
3619
+ ok {test-number} - v5, Contains( v6 ) for: { 1, 2, 3 } Contains: { 1, 2 }
3620
+ # Vector matchers
3621
+ ok {test-number} - v, VectorContains( 1 ) && VectorContains( 2 ) for: { 1, 2, 3 } ( Contains: 1 and Contains: 2 )
3622
+ # Vector matchers
3623
+ ok {test-number} - v, Equals( v ) for: { 1, 2, 3 } Equals: { 1, 2, 3 }
3624
+ # Vector matchers
3625
+ ok {test-number} - empty, Equals( empty ) for: { } Equals: { }
3626
+ # Vector matchers
3627
+ ok {test-number} - v, Equals<int>( { 1, 2, 3 } ) for: { 1, 2, 3 } Equals: { 1, 2, 3 }
3628
+ # Vector matchers
3629
+ ok {test-number} - v, Equals( v2 ) for: { 1, 2, 3 } Equals: { 1, 2, 3 }
3630
+ # Vector matchers
3631
+ ok {test-number} - v5, ( Equals<int, std::allocator<int>, CustomAllocator<int>>( v2 ) ) for: { 1, 2, 3 } Equals: { 1, 2, 3 }
3632
+ # Vector matchers
3633
+ ok {test-number} - v5, Equals( v6 ) for: { 1, 2, 3 } Equals: { 1, 2, 3 }
3634
+ # Vector matchers
3635
+ ok {test-number} - v, UnorderedEquals( v ) for: { 1, 2, 3 } UnorderedEquals: { 1, 2, 3 }
3636
+ # Vector matchers
3637
+ ok {test-number} - v, UnorderedEquals<int>( { 3, 2, 1 } ) for: { 1, 2, 3 } UnorderedEquals: { 3, 2, 1 }
3638
+ # Vector matchers
3639
+ ok {test-number} - empty, UnorderedEquals( empty ) for: { } UnorderedEquals: { }
3640
+ # Vector matchers
3641
+ ok {test-number} - permuted, UnorderedEquals( v ) for: { 1, 3, 2 } UnorderedEquals: { 1, 2, 3 }
3642
+ # Vector matchers
3643
+ ok {test-number} - permuted, UnorderedEquals( v ) for: { 2, 3, 1 } UnorderedEquals: { 1, 2, 3 }
3644
+ # Vector matchers
3645
+ ok {test-number} - v5, ( UnorderedEquals<int, std::allocator<int>, CustomAllocator<int>>( permuted ) ) for: { 1, 2, 3 } UnorderedEquals: { 2, 3, 1 }
3646
+ # Vector matchers
3647
+ ok {test-number} - v5_permuted, UnorderedEquals( v5 ) for: { 1, 3, 2 } UnorderedEquals: { 1, 2, 3 }
3648
+ # Vector matchers that fail
3649
+ not ok {test-number} - v, VectorContains( -1 ) for: { 1, 2, 3 } Contains: -1
3650
+ # Vector matchers that fail
3651
+ not ok {test-number} - empty, VectorContains( 1 ) for: { } Contains: 1
3652
+ # Vector matchers that fail
3653
+ not ok {test-number} - empty, Contains( v ) for: { } Contains: { 1, 2, 3 }
3654
+ # Vector matchers that fail
3655
+ not ok {test-number} - v, Contains( v2 ) for: { 1, 2, 3 } Contains: { 1, 2, 4 }
3656
+ # Vector matchers that fail
3657
+ not ok {test-number} - v, Equals( v2 ) for: { 1, 2, 3 } Equals: { 1, 2 }
3658
+ # Vector matchers that fail
3659
+ not ok {test-number} - v2, Equals( v ) for: { 1, 2 } Equals: { 1, 2, 3 }
3660
+ # Vector matchers that fail
3661
+ not ok {test-number} - empty, Equals( v ) for: { } Equals: { 1, 2, 3 }
3662
+ # Vector matchers that fail
3663
+ not ok {test-number} - v, Equals( empty ) for: { 1, 2, 3 } Equals: { }
3664
+ # Vector matchers that fail
3665
+ not ok {test-number} - v, UnorderedEquals( empty ) for: { 1, 2, 3 } UnorderedEquals: { }
3666
+ # Vector matchers that fail
3667
+ not ok {test-number} - empty, UnorderedEquals( v ) for: { } UnorderedEquals: { 1, 2, 3 }
3668
+ # Vector matchers that fail
3669
+ not ok {test-number} - permuted, UnorderedEquals( v ) for: { 1, 3 } UnorderedEquals: { 1, 2, 3 }
3670
+ # Vector matchers that fail
3671
+ not ok {test-number} - permuted, UnorderedEquals( v ) for: { 3, 1 } UnorderedEquals: { 1, 2, 3 }
3672
+ # When checked exceptions are thrown they can be expected or unexpected
3673
+ ok {test-number} - thisThrows(), std::domain_error
3674
+ # When checked exceptions are thrown they can be expected or unexpected
3675
+ ok {test-number} - thisDoesntThrow()
3676
+ # When checked exceptions are thrown they can be expected or unexpected
3677
+ ok {test-number} - thisThrows()
3678
+ # When unchecked exceptions are thrown directly they are always failures
3679
+ not ok {test-number} - unexpected exception with message: 'unexpected exception'
3680
+ # When unchecked exceptions are thrown during a CHECK the test should continue
3681
+ not ok {test-number} - unexpected exception with message: 'expected exception'; expression was: thisThrows() == 0
3682
+ # When unchecked exceptions are thrown during a REQUIRE the test should abort fail
3683
+ not ok {test-number} - unexpected exception with message: 'expected exception'; expression was: thisThrows() == 0
3684
+ # When unchecked exceptions are thrown from functions they are always failures
3685
+ not ok {test-number} - unexpected exception with message: 'expected exception'; expression was: thisThrows() == 0
3686
+ # When unchecked exceptions are thrown from sections they are always failures
3687
+ not ok {test-number} - unexpected exception with message: 'unexpected exception'
3688
+ # X/level/0/a
3689
+ ok {test-number} -
3690
+ # X/level/0/b
3691
+ ok {test-number} -
3692
+ # X/level/1/a
3693
+ ok {test-number} -
3694
+ # X/level/1/b
3695
+ ok {test-number} -
3696
+ # XmlEncode
3697
+ ok {test-number} - encode( "normal string" ) == "normal string" for: "normal string" == "normal string"
3698
+ # XmlEncode
3699
+ ok {test-number} - encode( "" ) == "" for: "" == ""
3700
+ # XmlEncode
3701
+ ok {test-number} - encode( "smith & jones" ) == "smith &amp; jones" for: "smith &amp; jones" == "smith &amp; jones"
3702
+ # XmlEncode
3703
+ ok {test-number} - encode( "smith < jones" ) == "smith &lt; jones" for: "smith &lt; jones" == "smith &lt; jones"
3704
+ # XmlEncode
3705
+ ok {test-number} - encode( "smith > jones" ) == "smith > jones" for: "smith > jones" == "smith > jones"
3706
+ # XmlEncode
3707
+ ok {test-number} - encode( "smith ]]> jones" ) == "smith ]]&gt; jones" for: "smith ]]&gt; jones" == "smith ]]&gt; jones"
3708
+ # XmlEncode
3709
+ ok {test-number} - encode( stringWithQuotes ) == stringWithQuotes for: "don't "quote" me on that" == "don't "quote" me on that"
3710
+ # XmlEncode
3711
+ ok {test-number} - encode( stringWithQuotes, Catch::XmlEncode::ForAttributes ) == "don't &quot;quote&quot; me on that" for: "don't &quot;quote&quot; me on that" == "don't &quot;quote&quot; me on that"
3712
+ # XmlEncode
3713
+ ok {test-number} - encode( "[\x01]" ) == "[\\x01]" for: "[\x01]" == "[\x01]"
3714
+ # XmlEncode
3715
+ ok {test-number} - encode( "[\x7F]" ) == "[\\x7F]" for: "[\x7F]" == "[\x7F]"
3716
+ # XmlWriter writes boolean attributes as true/false
3717
+ ok {test-number} - stream.str(), ContainsSubstring(R"(attr1="true")") && ContainsSubstring(R"(attr2="false")") for: "<?xml version="1.0" encoding="UTF-8"?> <Element1 attr1="true" attr2="false"/> " ( contains: "attr1="true"" and contains: "attr2="false"" )
3718
+ # a succeeding test can still be skipped
3719
+ ok {test-number} -
3720
+ # a succeeding test can still be skipped
3721
+ ok {test-number} - # SKIP
3722
+ # analyse no analysis
3723
+ ok {test-number} - analysis.mean.point.count() == 23 for: 23.0 == 23
3724
+ # analyse no analysis
3725
+ ok {test-number} - analysis.mean.lower_bound.count() == 23 for: 23.0 == 23
3726
+ # analyse no analysis
3727
+ ok {test-number} - analysis.mean.upper_bound.count() == 23 for: 23.0 == 23
3728
+ # analyse no analysis
3729
+ ok {test-number} - analysis.standard_deviation.point.count() == 0 for: 0.0 == 0
3730
+ # analyse no analysis
3731
+ ok {test-number} - analysis.standard_deviation.lower_bound.count() == 0 for: 0.0 == 0
3732
+ # analyse no analysis
3733
+ ok {test-number} - analysis.standard_deviation.upper_bound.count() == 0 for: 0.0 == 0
3734
+ # analyse no analysis
3735
+ ok {test-number} - analysis.outliers.total() == 0 for: 0 == 0
3736
+ # analyse no analysis
3737
+ ok {test-number} - analysis.outliers.low_mild == 0 for: 0 == 0
3738
+ # analyse no analysis
3739
+ ok {test-number} - analysis.outliers.low_severe == 0 for: 0 == 0
3740
+ # analyse no analysis
3741
+ ok {test-number} - analysis.outliers.high_mild == 0 for: 0 == 0
3742
+ # analyse no analysis
3743
+ ok {test-number} - analysis.outliers.high_severe == 0 for: 0 == 0
3744
+ # analyse no analysis
3745
+ ok {test-number} - analysis.outliers.samples_seen == 0 for: 0 == 0
3746
+ # analyse no analysis
3747
+ ok {test-number} - analysis.outlier_variance == 0 for: 0.0 == 0
3748
+ # array<int, N> -> toString
3749
+ ok {test-number} - Catch::Detail::stringify( empty ) == "{ }" for: "{ }" == "{ }"
3750
+ # array<int, N> -> toString
3751
+ ok {test-number} - Catch::Detail::stringify( oneValue ) == "{ 42 }" for: "{ 42 }" == "{ 42 }"
3752
+ # array<int, N> -> toString
3753
+ ok {test-number} - Catch::Detail::stringify( twoValues ) == "{ 42, 250 }" for: "{ 42, 250 }" == "{ 42, 250 }"
3754
+ # benchmark function call
3755
+ ok {test-number} - model.started == 1 for: 1 == 1
3756
+ # benchmark function call
3757
+ ok {test-number} - model.finished == 0 for: 0 == 0
3758
+ # benchmark function call
3759
+ ok {test-number} - model.started == 1 for: 1 == 1
3760
+ # benchmark function call
3761
+ ok {test-number} - model.finished == 1 for: 1 == 1
3762
+ # benchmark function call
3763
+ ok {test-number} - called == 1 for: 1 == 1
3764
+ # benchmark function call
3765
+ ok {test-number} - model.started == 0 for: 0 == 0
3766
+ # benchmark function call
3767
+ ok {test-number} - model.finished == 0 for: 0 == 0
3768
+ # benchmark function call
3769
+ ok {test-number} - model.started == 0 for: 0 == 0
3770
+ # benchmark function call
3771
+ ok {test-number} - model.finished == 0 for: 0 == 0
3772
+ # benchmark function call
3773
+ ok {test-number} - called == 1 for: 1 == 1
3774
+ # boolean member
3775
+ ok {test-number} - obj.prop != 0 for: 0x<hex digits> != 0
3776
+ # checkedElse
3777
+ ok {test-number} - flag for: true
3778
+ # checkedElse
3779
+ ok {test-number} - testCheckedElse( true ) for: true
3780
+ # checkedElse, failing
3781
+ ok {test-number} - flag for: false # TODO
3782
+ # checkedElse, failing
3783
+ not ok {test-number} - testCheckedElse( false ) for: false
3784
+ # checkedIf
3785
+ ok {test-number} - flag for: true
3786
+ # checkedIf
3787
+ ok {test-number} - testCheckedIf( true ) for: true
3788
+ # checkedIf, failing
3789
+ ok {test-number} - flag for: false # TODO
3790
+ # checkedIf, failing
3791
+ not ok {test-number} - testCheckedIf( false ) for: false
3792
+ # classify_outliers
3793
+ ok {test-number} - o.samples_seen == static_cast<int>(x.size()) for: 6 == 6
3794
+ # classify_outliers
3795
+ ok {test-number} - o.low_severe == los for: 0 == 0
3796
+ # classify_outliers
3797
+ ok {test-number} - o.low_mild == lom for: 0 == 0
3798
+ # classify_outliers
3799
+ ok {test-number} - o.high_mild == him for: 0 == 0
3800
+ # classify_outliers
3801
+ ok {test-number} - o.high_severe == his for: 0 == 0
3802
+ # classify_outliers
3803
+ ok {test-number} - o.total() == los + lom + him + his for: 0 == 0
3804
+ # classify_outliers
3805
+ ok {test-number} - o.samples_seen == static_cast<int>(x.size()) for: 6 == 6
3806
+ # classify_outliers
3807
+ ok {test-number} - o.low_severe == los for: 1 == 1
3808
+ # classify_outliers
3809
+ ok {test-number} - o.low_mild == lom for: 0 == 0
3810
+ # classify_outliers
3811
+ ok {test-number} - o.high_mild == him for: 0 == 0
3812
+ # classify_outliers
3813
+ ok {test-number} - o.high_severe == his for: 0 == 0
3814
+ # classify_outliers
3815
+ ok {test-number} - o.total() == los + lom + him + his for: 1 == 1
3816
+ # classify_outliers
3817
+ ok {test-number} - o.samples_seen == static_cast<int>(x.size()) for: 6 == 6
3818
+ # classify_outliers
3819
+ ok {test-number} - o.low_severe == los for: 0 == 0
3820
+ # classify_outliers
3821
+ ok {test-number} - o.low_mild == lom for: 1 == 1
3822
+ # classify_outliers
3823
+ ok {test-number} - o.high_mild == him for: 0 == 0
3824
+ # classify_outliers
3825
+ ok {test-number} - o.high_severe == his for: 0 == 0
3826
+ # classify_outliers
3827
+ ok {test-number} - o.total() == los + lom + him + his for: 1 == 1
3828
+ # classify_outliers
3829
+ ok {test-number} - o.samples_seen == static_cast<int>(x.size()) for: 6 == 6
3830
+ # classify_outliers
3831
+ ok {test-number} - o.low_severe == los for: 0 == 0
3832
+ # classify_outliers
3833
+ ok {test-number} - o.low_mild == lom for: 0 == 0
3834
+ # classify_outliers
3835
+ ok {test-number} - o.high_mild == him for: 1 == 1
3836
+ # classify_outliers
3837
+ ok {test-number} - o.high_severe == his for: 0 == 0
3838
+ # classify_outliers
3839
+ ok {test-number} - o.total() == los + lom + him + his for: 1 == 1
3840
+ # classify_outliers
3841
+ ok {test-number} - o.samples_seen == static_cast<int>(x.size()) for: 6 == 6
3842
+ # classify_outliers
3843
+ ok {test-number} - o.low_severe == los for: 0 == 0
3844
+ # classify_outliers
3845
+ ok {test-number} - o.low_mild == lom for: 0 == 0
3846
+ # classify_outliers
3847
+ ok {test-number} - o.high_mild == him for: 0 == 0
3848
+ # classify_outliers
3849
+ ok {test-number} - o.high_severe == his for: 1 == 1
3850
+ # classify_outliers
3851
+ ok {test-number} - o.total() == los + lom + him + his for: 1 == 1
3852
+ # classify_outliers
3853
+ ok {test-number} - o.samples_seen == static_cast<int>(x.size()) for: 6 == 6
3854
+ # classify_outliers
3855
+ ok {test-number} - o.low_severe == los for: 1 == 1
3856
+ # classify_outliers
3857
+ ok {test-number} - o.low_mild == lom for: 0 == 0
3858
+ # classify_outliers
3859
+ ok {test-number} - o.high_mild == him for: 1 == 1
3860
+ # classify_outliers
3861
+ ok {test-number} - o.high_severe == his for: 0 == 0
3862
+ # classify_outliers
3863
+ ok {test-number} - o.total() == los + lom + him + his for: 2 == 2
3864
+ # comparisons between const int variables
3865
+ ok {test-number} - unsigned_char_var == 1 for: 1 == 1
3866
+ # comparisons between const int variables
3867
+ ok {test-number} - unsigned_short_var == 1 for: 1 == 1
3868
+ # comparisons between const int variables
3869
+ ok {test-number} - unsigned_int_var == 1 for: 1 == 1
3870
+ # comparisons between const int variables
3871
+ ok {test-number} - unsigned_long_var == 1 for: 1 == 1
3872
+ # comparisons between int variables
3873
+ ok {test-number} - long_var == unsigned_char_var for: 1 == 1
3874
+ # comparisons between int variables
3875
+ ok {test-number} - long_var == unsigned_short_var for: 1 == 1
3876
+ # comparisons between int variables
3877
+ ok {test-number} - long_var == unsigned_int_var for: 1 == 1
3878
+ # comparisons between int variables
3879
+ ok {test-number} - long_var == unsigned_long_var for: 1 == 1
3880
+ # convertToBits
3881
+ ok {test-number} - convertToBits( 0.f ) == 0 for: 0 == 0
3882
+ # convertToBits
3883
+ ok {test-number} - convertToBits( -0.f ) == ( 1ULL << 31 ) for: 2147483648 (0x<hex digits>) == 2147483648 (0x<hex digits>)
3884
+ # convertToBits
3885
+ ok {test-number} - convertToBits( 0. ) == 0 for: 0 == 0
3886
+ # convertToBits
3887
+ ok {test-number} - convertToBits( -0. ) == ( 1ULL << 63 ) for: 9223372036854775808 (0x<hex digits>) == 9223372036854775808 (0x<hex digits>)
3888
+ # convertToBits
3889
+ ok {test-number} - convertToBits( std::numeric_limits<float>::denorm_min() ) == 1 for: 1 == 1
3890
+ # convertToBits
3891
+ ok {test-number} - convertToBits( std::numeric_limits<double>::denorm_min() ) == 1 for: 1 == 1
3892
+ # dynamic skipping works with generators
3893
+ ok {test-number} - # SKIP 'skipping because answer = 41'
3894
+ # dynamic skipping works with generators
3895
+ ok {test-number} -
3896
+ # dynamic skipping works with generators
3897
+ ok {test-number} - # SKIP 'skipping because answer = 43'
3898
+ # empty tags are not allowed
3899
+ ok {test-number} - Catch::TestCaseInfo("", { "test with an empty tag", "[]" }, dummySourceLineInfo)
3900
+ # erfc_inv
3901
+ ok {test-number} - erfc_inv(1.103560) == Approx(-0.09203687623843015) for: -0.0920368762 == Approx( -0.0920368762 )
3902
+ # erfc_inv
3903
+ ok {test-number} - erfc_inv(1.067400) == Approx(-0.05980291115763361) for: -0.0598029112 == Approx( -0.0598029112 )
3904
+ # erfc_inv
3905
+ ok {test-number} - erfc_inv(0.050000) == Approx(1.38590382434967796) for: 1.3859038243 == Approx( 1.3859038243 )
3906
+ # estimate_clock_resolution
3907
+ ok {test-number} - res.mean.count() == rate for: 2000.0 == 2000 (0x<hex digits>)
3908
+ # estimate_clock_resolution
3909
+ ok {test-number} - res.outliers.total() == 0 for: 0 == 0
3910
+ # even more nested SECTION tests
3911
+ ok {test-number} -
3912
+ # even more nested SECTION tests
3913
+ ok {test-number} -
3914
+ # even more nested SECTION tests
3915
+ ok {test-number} -
3916
+ # failed assertions before SKIP cause test case to fail
3917
+ not ok {test-number} - 3 == 4
3918
+ # failed assertions before SKIP cause test case to fail
3919
+ ok {test-number} - # SKIP
3920
+ # failing for some generator values causes entire test case to fail
3921
+ not ok {test-number} - explicitly
3922
+ # failing for some generator values causes entire test case to fail
3923
+ ok {test-number} - # SKIP
3924
+ # failing for some generator values causes entire test case to fail
3925
+ not ok {test-number} - explicitly
3926
+ # failing for some generator values causes entire test case to fail
3927
+ ok {test-number} - # SKIP
3928
+ # failing in some unskipped sections causes entire test case to fail
3929
+ ok {test-number} - # SKIP
3930
+ # failing in some unskipped sections causes entire test case to fail
3931
+ not ok {test-number} - explicitly
3932
+ loose text artifact
3933
+ # is_unary_function
3934
+ ok {test-number} - with 1 message: 'Catch::Clara::Detail::is_unary_function<decltype(unary1)>::value'
3935
+ # is_unary_function
3936
+ ok {test-number} - with 1 message: 'Catch::Clara::Detail::is_unary_function<decltype(unary2)>::value'
3937
+ # is_unary_function
3938
+ ok {test-number} - with 1 message: 'Catch::Clara::Detail::is_unary_function<decltype(unary3)>::value'
3939
+ # is_unary_function
3940
+ ok {test-number} - with 1 message: 'Catch::Clara::Detail::is_unary_function<decltype(unary4)>::value'
3941
+ # is_unary_function
3942
+ ok {test-number} - with 1 message: 'Catch::Clara::Detail::is_unary_function<decltype(unary5)>::value'
3943
+ # is_unary_function
3944
+ ok {test-number} - with 1 message: 'Catch::Clara::Detail::is_unary_function<decltype(unary6)>::value'
3945
+ # is_unary_function
3946
+ ok {test-number} - with 1 message: '!(Catch::Clara::Detail::is_unary_function<decltype(binary1)>::value)'
3947
+ # is_unary_function
3948
+ ok {test-number} - with 1 message: '!(Catch::Clara::Detail::is_unary_function<decltype(binary2)>::value)'
3949
+ # is_unary_function
3950
+ ok {test-number} - with 1 message: '!(Catch::Clara::Detail::is_unary_function<decltype(nullary1)>::value)'
3951
+ # is_unary_function
3952
+ ok {test-number} - with 1 message: '!(Catch::Clara::Detail::is_unary_function<decltype(nullary2)>::value)'
3953
+ # is_unary_function
3954
+ ok {test-number} - with 1 message: '!(Catch::Clara::Detail::is_unary_function<int>::value)'
3955
+ # is_unary_function
3956
+ ok {test-number} - with 1 message: '!(Catch::Clara::Detail::is_unary_function<std::string const&>::value)'
3957
+ # just failure
3958
+ not ok {test-number} - explicitly with 1 message: 'Previous info should not be seen'
3959
+ # just failure after unscoped info
3960
+ not ok {test-number} - explicitly with 1 message: 'previous unscoped info SHOULD not be seen'
3961
+ # long long
3962
+ ok {test-number} - l == std::numeric_limits<long long>::max() for: 9223372036854775807 (0x<hex digits>) == 9223372036854775807 (0x<hex digits>)
3963
+ # looped SECTION tests
3964
+ not ok {test-number} - b > a for: 0 > 1
3965
+ # looped SECTION tests
3966
+ not ok {test-number} - b > a for: 1 > 1
3967
+ # looped SECTION tests
3968
+ ok {test-number} - b > a for: 2 > 1
3969
+ # looped SECTION tests
3970
+ ok {test-number} - b > a for: 3 > 1
3971
+ # looped SECTION tests
3972
+ ok {test-number} - b > a for: 4 > 1
3973
+ # looped SECTION tests
3974
+ ok {test-number} - b > a for: 5 > 1
3975
+ # looped SECTION tests
3976
+ ok {test-number} - b > a for: 6 > 1
3977
+ # looped SECTION tests
3978
+ ok {test-number} - b > a for: 7 > 1
3979
+ # looped SECTION tests
3980
+ ok {test-number} - b > a for: 8 > 1
3981
+ # looped SECTION tests
3982
+ ok {test-number} - b > a for: 9 > 1
3983
+ # looped tests
3984
+ not ok {test-number} - ( fib[i] % 2 ) == 0 for: 1 == 0 with 1 message: 'Testing if fib[0] (1) is even'
3985
+ # looped tests
3986
+ not ok {test-number} - ( fib[i] % 2 ) == 0 for: 1 == 0 with 1 message: 'Testing if fib[1] (1) is even'
3987
+ # looped tests
3988
+ ok {test-number} - ( fib[i] % 2 ) == 0 for: 0 == 0 with 1 message: 'Testing if fib[2] (2) is even'
3989
+ # looped tests
3990
+ not ok {test-number} - ( fib[i] % 2 ) == 0 for: 1 == 0 with 1 message: 'Testing if fib[3] (3) is even'
3991
+ # looped tests
3992
+ not ok {test-number} - ( fib[i] % 2 ) == 0 for: 1 == 0 with 1 message: 'Testing if fib[4] (5) is even'
3993
+ # looped tests
3994
+ ok {test-number} - ( fib[i] % 2 ) == 0 for: 0 == 0 with 1 message: 'Testing if fib[5] (8) is even'
3995
+ # looped tests
3996
+ not ok {test-number} - ( fib[i] % 2 ) == 0 for: 1 == 0 with 1 message: 'Testing if fib[6] (13) is even'
3997
+ # looped tests
3998
+ not ok {test-number} - ( fib[i] % 2 ) == 0 for: 1 == 0 with 1 message: 'Testing if fib[7] (21) is even'
3999
+ # makeStream recognizes %debug stream name
4000
+ ok {test-number} - Catch::makeStream( "%debug" )
4001
+ # make_unique reimplementation
4002
+ ok {test-number} - !(lval.has_moved) for: !false
4003
+ # make_unique reimplementation
4004
+ ok {test-number} - rval.has_moved for: true
4005
+ # make_unique reimplementation
4006
+ ok {test-number} - *ptr == std::tuple<int, double, int>{1, 2., 3} for: {?} == {?}
4007
+ # mean
4008
+ ok {test-number} - m == 19. for: 19.0 == 19.0
4009
+ # measure
4010
+ ok {test-number} - x == 17 for: 17 == 17
4011
+ # measure
4012
+ ok {test-number} - x == 23 for: 23 == 23
4013
+ # measure
4014
+ ok {test-number} - r.elapsed.count() == 42 for: 42 == 42
4015
+ # measure
4016
+ ok {test-number} - r.result == 23 for: 23 == 23
4017
+ # measure
4018
+ ok {test-number} - r.iterations == 1 for: 1 == 1
4019
+ # measure
4020
+ ok {test-number} - s.elapsed.count() == 69 for: 69 == 69
4021
+ # measure
4022
+ ok {test-number} - s.result == 17 for: 17 == 17
4023
+ # measure
4024
+ ok {test-number} - s.iterations == 1 for: 1 == 1
4025
+ # mix info, unscoped info and warning
4026
+ warning {test-number} - 'info' with 2 messages: 'unscoped info' and 'and warn may mix'
4027
+ # mix info, unscoped info and warning
4028
+ warning {test-number} - 'info' with 2 messages: 'unscoped info' and 'they are not cleared after warnings'
4029
+ # more nested SECTION tests
4030
+ not ok {test-number} - a == b for: 1 == 2
4031
+ # more nested SECTION tests
4032
+ ok {test-number} - a != b for: 1 != 2
4033
+ # more nested SECTION tests
4034
+ ok {test-number} - a < b for: 1 < 2
4035
+ # nested SECTION tests
4036
+ ok {test-number} - a != b for: 1 != 2
4037
+ # nested SECTION tests
4038
+ ok {test-number} - b != a for: 2 != 1
4039
+ # nested SECTION tests
4040
+ ok {test-number} - a != b for: 1 != 2
4041
+ a!
4042
+ b1!
4043
+ # nested sections can be skipped dynamically at runtime
4044
+ ok {test-number} - # SKIP
4045
+ !
4046
+ # non streamable - with conv. op
4047
+ ok {test-number} - s == "7" for: "7" == "7"
4048
+ # non-copyable objects
4049
+ ok {test-number} - ti == typeid(int) for: {?} == {?}
4050
+ # normal_cdf
4051
+ ok {test-number} - normal_cdf(0.000000) == Approx(0.50000000000000000) for: 0.5 == Approx( 0.5 )
4052
+ # normal_cdf
4053
+ ok {test-number} - normal_cdf(1.000000) == Approx(0.84134474606854293) for: 0.8413447461 == Approx( 0.8413447461 )
4054
+ # normal_cdf
4055
+ ok {test-number} - normal_cdf(-1.000000) == Approx(0.15865525393145705) for: 0.1586552539 == Approx( 0.1586552539 )
4056
+ # normal_cdf
4057
+ ok {test-number} - normal_cdf(2.809729) == Approx(0.99752083845315409) for: 0.9975208385 == Approx( 0.9975208385 )
4058
+ # normal_cdf
4059
+ ok {test-number} - normal_cdf(-1.352570) == Approx(0.08809652095066035) for: 0.088096521 == Approx( 0.088096521 )
4060
+ # normal_quantile
4061
+ ok {test-number} - normal_quantile(0.551780) == Approx(0.13015979861484198) for: 0.1301597986 == Approx( 0.1301597986 )
4062
+ # normal_quantile
4063
+ ok {test-number} - normal_quantile(0.533700) == Approx(0.08457408802851875) for: 0.084574088 == Approx( 0.084574088 )
4064
+ # normal_quantile
4065
+ ok {test-number} - normal_quantile(0.025000) == Approx(-1.95996398454005449) for: -1.9599639845 == Approx( -1.9599639845 )
4066
+ # not allowed
4067
+ ok {test-number} -
4068
+ # not prints unscoped info from previous failures
4069
+ ok {test-number} - true with 1 message: 'this MAY be seen only for the FIRST assertion IF info is printed for passing assertions'
4070
+ # not prints unscoped info from previous failures
4071
+ ok {test-number} - true with 1 message: 'this MAY be seen only for the SECOND assertion IF info is printed for passing assertions'
4072
+ # not prints unscoped info from previous failures
4073
+ not ok {test-number} - false with 1 message: 'this SHOULD be seen'
4074
+ # null strings
4075
+ ok {test-number} - makeString( false ) != static_cast<char*>(0) for: "valid string" != {null string}
4076
+ # null strings
4077
+ ok {test-number} - makeString( true ) == static_cast<char*>(0) for: {null string} == {null string}
4078
+ # null_ptr
4079
+ ok {test-number} - ptr.get() == 0 for: 0 == 0
4080
+ # pair<pair<int,const char *,pair<std::string,int> > -> toString
4081
+ ok {test-number} - ::Catch::Detail::stringify( pair ) == "{ { 42, \"Arthur\" }, { \"Ford\", 24 } }" for: "{ { 42, "Arthur" }, { "Ford", 24 } }" == "{ { 42, "Arthur" }, { "Ford", 24 } }"
4082
+ # parseEnums
4083
+ ok {test-number} - parseEnums( "" ), Equals( std::vector<Catch::StringRef>{} ) for: { } Equals: { }
4084
+ # parseEnums
4085
+ ok {test-number} - parseEnums( "ClassName::EnumName::Value1" ), Equals(std::vector<Catch::StringRef>{"Value1"} ) for: { Value1 } Equals: { Value1 }
4086
+ # parseEnums
4087
+ ok {test-number} - parseEnums( "Value1" ), Equals( std::vector<Catch::StringRef>{"Value1"} ) for: { Value1 } Equals: { Value1 }
4088
+ # parseEnums
4089
+ ok {test-number} - parseEnums( "EnumName::Value1" ), Equals(std::vector<Catch::StringRef>{"Value1"} ) for: { Value1 } Equals: { Value1 }
4090
+ # parseEnums
4091
+ ok {test-number} - parseEnums( "ClassName::EnumName::Value1, ClassName::EnumName::Value2" ), Equals( std::vector<Catch::StringRef>{"Value1", "Value2"} ) for: { Value1, Value2 } Equals: { Value1, Value2 }
4092
+ # parseEnums
4093
+ ok {test-number} - parseEnums( "ClassName::EnumName::Value1, ClassName::EnumName::Value2, ClassName::EnumName::Value3" ), Equals( std::vector<Catch::StringRef>{"Value1", "Value2", "Value3"} ) for: { Value1, Value2, Value3 } Equals: { Value1, Value2, Value3 }
4094
+ # parseEnums
4095
+ ok {test-number} - parseEnums( "ClassName::EnumName::Value1,ClassName::EnumName::Value2 , ClassName::EnumName::Value3" ), Equals( std::vector<Catch::StringRef>{"Value1", "Value2", "Value3"} ) for: { Value1, Value2, Value3 } Equals: { Value1, Value2, Value3 }
4096
+ # pointer to class
4097
+ ok {test-number} - p == 0 for: 0 == 0
4098
+ # print unscoped info if passing unscoped info is printed
4099
+ ok {test-number} - true with 1 message: 'this MAY be seen IF info is printed for passing assertions'
4100
+ # prints unscoped info on failure
4101
+ not ok {test-number} - false with 2 messages: 'this SHOULD be seen' and 'this SHOULD also be seen'
4102
+ # prints unscoped info only for the first assertion
4103
+ not ok {test-number} - false with 1 message: 'this SHOULD be seen only ONCE'
4104
+ # prints unscoped info only for the first assertion
4105
+ ok {test-number} - true
4106
+ # prints unscoped info only for the first assertion
4107
+ ok {test-number} - true with 1 message: 'this MAY also be seen only ONCE IF info is printed for passing assertions'
4108
+ # prints unscoped info only for the first assertion
4109
+ ok {test-number} - true
4110
+ # random SECTION tests
4111
+ ok {test-number} - a != b for: 1 != 2
4112
+ # random SECTION tests
4113
+ ok {test-number} - b != a for: 2 != 1
4114
+ # random SECTION tests
4115
+ ok {test-number} - a != b for: 1 != 2
4116
+ # replaceInPlace
4117
+ ok {test-number} - Catch::replaceInPlace(letters, "b", "z") for: true
4118
+ # replaceInPlace
4119
+ ok {test-number} - letters == "azcdefcg" for: "azcdefcg" == "azcdefcg"
4120
+ # replaceInPlace
4121
+ ok {test-number} - Catch::replaceInPlace(letters, "c", "z") for: true
4122
+ # replaceInPlace
4123
+ ok {test-number} - letters == "abzdefzg" for: "abzdefzg" == "abzdefzg"
4124
+ # replaceInPlace
4125
+ ok {test-number} - Catch::replaceInPlace(letters, "a", "z") for: true
4126
+ # replaceInPlace
4127
+ ok {test-number} - letters == "zbcdefcg" for: "zbcdefcg" == "zbcdefcg"
4128
+ # replaceInPlace
4129
+ ok {test-number} - Catch::replaceInPlace(letters, "g", "z") for: true
4130
+ # replaceInPlace
4131
+ ok {test-number} - letters == "abcdefcz" for: "abcdefcz" == "abcdefcz"
4132
+ # replaceInPlace
4133
+ ok {test-number} - Catch::replaceInPlace(letters, letters, "replaced") for: true
4134
+ # replaceInPlace
4135
+ ok {test-number} - letters == "replaced" for: "replaced" == "replaced"
4136
+ # replaceInPlace
4137
+ ok {test-number} - !(Catch::replaceInPlace(letters, "x", "z")) for: !false
4138
+ # replaceInPlace
4139
+ ok {test-number} - letters == letters for: "abcdefcg" == "abcdefcg"
4140
+ # replaceInPlace
4141
+ ok {test-number} - Catch::replaceInPlace(s, "'", "|'") for: true
4142
+ # replaceInPlace
4143
+ ok {test-number} - s == "didn|'t" for: "didn|'t" == "didn|'t"
4144
+ # request an unknown %-starting stream fails
4145
+ ok {test-number} - Catch::makeStream( "%somestream" )
4146
+ # resolution
4147
+ ok {test-number} - res.size() == count for: 10 == 10
4148
+ # resolution
4149
+ ok {test-number} - res[i] == rate for: 1000.0 == 1000 (0x<hex digits>)
4150
+ # resolution
4151
+ ok {test-number} - res[i] == rate for: 1000.0 == 1000 (0x<hex digits>)
4152
+ # resolution
4153
+ ok {test-number} - res[i] == rate for: 1000.0 == 1000 (0x<hex digits>)
4154
+ # resolution
4155
+ ok {test-number} - res[i] == rate for: 1000.0 == 1000 (0x<hex digits>)
4156
+ # resolution
4157
+ ok {test-number} - res[i] == rate for: 1000.0 == 1000 (0x<hex digits>)
4158
+ # resolution
4159
+ ok {test-number} - res[i] == rate for: 1000.0 == 1000 (0x<hex digits>)
4160
+ # resolution
4161
+ ok {test-number} - res[i] == rate for: 1000.0 == 1000 (0x<hex digits>)
4162
+ # resolution
4163
+ ok {test-number} - res[i] == rate for: 1000.0 == 1000 (0x<hex digits>)
4164
+ # resolution
4165
+ ok {test-number} - res[i] == rate for: 1000.0 == 1000 (0x<hex digits>)
4166
+ # run_for_at_least, chronometer
4167
+ ok {test-number} - meter.runs() >= old_runs for: 1 >= 1
4168
+ # run_for_at_least, chronometer
4169
+ ok {test-number} - meter.runs() >= old_runs for: 2 >= 1
4170
+ # run_for_at_least, chronometer
4171
+ ok {test-number} - meter.runs() >= old_runs for: 4 >= 2
4172
+ # run_for_at_least, chronometer
4173
+ ok {test-number} - meter.runs() >= old_runs for: 8 >= 4
4174
+ # run_for_at_least, chronometer
4175
+ ok {test-number} - meter.runs() >= old_runs for: 16 >= 8
4176
+ # run_for_at_least, chronometer
4177
+ ok {test-number} - meter.runs() >= old_runs for: 32 >= 16
4178
+ # run_for_at_least, chronometer
4179
+ ok {test-number} - meter.runs() >= old_runs for: 64 >= 32
4180
+ # run_for_at_least, chronometer
4181
+ ok {test-number} - meter.runs() >= old_runs for: 128 >= 64
4182
+ # run_for_at_least, chronometer
4183
+ ok {test-number} - Timing.elapsed >= time for: 128 ns >= 100 ns
4184
+ # run_for_at_least, chronometer
4185
+ ok {test-number} - Timing.result == Timing.iterations + 17 for: 145 == 145
4186
+ # run_for_at_least, chronometer
4187
+ ok {test-number} - Timing.iterations >= time.count() for: 128 >= 100
4188
+ # run_for_at_least, int
4189
+ ok {test-number} - x >= old_x for: 1 >= 1
4190
+ # run_for_at_least, int
4191
+ ok {test-number} - x >= old_x for: 2 >= 1
4192
+ # run_for_at_least, int
4193
+ ok {test-number} - x >= old_x for: 4 >= 2
4194
+ # run_for_at_least, int
4195
+ ok {test-number} - x >= old_x for: 8 >= 4
4196
+ # run_for_at_least, int
4197
+ ok {test-number} - x >= old_x for: 16 >= 8
4198
+ # run_for_at_least, int
4199
+ ok {test-number} - x >= old_x for: 32 >= 16
4200
+ # run_for_at_least, int
4201
+ ok {test-number} - x >= old_x for: 64 >= 32
4202
+ # run_for_at_least, int
4203
+ ok {test-number} - x >= old_x for: 128 >= 64
4204
+ # run_for_at_least, int
4205
+ ok {test-number} - Timing.elapsed >= time for: 128 ns >= 100 ns
4206
+ # run_for_at_least, int
4207
+ ok {test-number} - Timing.result == Timing.iterations + 17 for: 145 == 145
4208
+ # run_for_at_least, int
4209
+ ok {test-number} - Timing.iterations >= time.count() for: 128 >= 100
4210
+ # sections can be skipped dynamically at runtime
4211
+ ok {test-number} -
4212
+ # sections can be skipped dynamically at runtime
4213
+ ok {test-number} - # SKIP
4214
+ # sections can be skipped dynamically at runtime
4215
+ ok {test-number} -
4216
+ # send a single char to INFO
4217
+ not ok {test-number} - false with 1 message: '3'
4218
+ # sends information to INFO
4219
+ not ok {test-number} - false with 2 messages: 'hi' and 'i := 7'
4220
+ # shortened hide tags are split apart
4221
+ ok {test-number} - testcase.tags, VectorContains( Tag( "magic-tag" ) ) && VectorContains( Tag( "."_catch_sr ) ) for: { {?}, {?} } ( Contains: {?} and Contains: {?} )
4222
+ # skipped tests can optionally provide a reason
4223
+ ok {test-number} - # SKIP 'skipping because answer = 43'
4224
+ # splitString
4225
+ ok {test-number} - splitStringRef("", ','), Equals(std::vector<StringRef>()) for: { } Equals: { }
4226
+ # splitString
4227
+ ok {test-number} - splitStringRef("abc", ','), Equals(std::vector<StringRef>{"abc"}) for: { abc } Equals: { abc }
4228
+ # splitString
4229
+ ok {test-number} - splitStringRef("abc,def", ','), Equals(std::vector<StringRef>{"abc", "def"}) for: { abc, def } Equals: { abc, def }
4230
+ # stacks unscoped info in loops
4231
+ not ok {test-number} - false with 4 messages: 'Count 1 to 3...' and '1' and '2' and '3'
4232
+ # stacks unscoped info in loops
4233
+ not ok {test-number} - false with 4 messages: 'Count 4 to 6...' and '4' and '5' and '6'
4234
+ # startsWith
4235
+ ok {test-number} - !(startsWith("", 'c')) for: !false
4236
+ # startsWith
4237
+ ok {test-number} - startsWith(std::string("abc"), 'a') for: true
4238
+ # startsWith
4239
+ ok {test-number} - startsWith("def"_catch_sr, 'd') for: true
4240
+ # std::map is convertible string
4241
+ ok {test-number} - Catch::Detail::stringify( emptyMap ) == "{ }" for: "{ }" == "{ }"
4242
+ # std::map is convertible string
4243
+ ok {test-number} - Catch::Detail::stringify( map ) == "{ { \"one\", 1 } }" for: "{ { "one", 1 } }" == "{ { "one", 1 } }"
4244
+ # std::map is convertible string
4245
+ ok {test-number} - Catch::Detail::stringify( map ) == "{ { \"abc\", 1 }, { \"def\", 2 }, { \"ghi\", 3 } }" for: "{ { "abc", 1 }, { "def", 2 }, { "ghi", 3 } }" == "{ { "abc", 1 }, { "def", 2 }, { "ghi", 3 } }"
4246
+ # std::pair<int,const std::string> -> toString
4247
+ ok {test-number} - ::Catch::Detail::stringify(value) == "{ 34, \"xyzzy\" }" for: "{ 34, "xyzzy" }" == "{ 34, "xyzzy" }"
4248
+ # std::pair<int,std::string> -> toString
4249
+ ok {test-number} - ::Catch::Detail::stringify( value ) == "{ 34, \"xyzzy\" }" for: "{ 34, "xyzzy" }" == "{ 34, "xyzzy" }"
4250
+ # std::set is convertible string
4251
+ ok {test-number} - Catch::Detail::stringify( emptySet ) == "{ }" for: "{ }" == "{ }"
4252
+ # std::set is convertible string
4253
+ ok {test-number} - Catch::Detail::stringify( set ) == "{ \"one\" }" for: "{ "one" }" == "{ "one" }"
4254
+ # std::set is convertible string
4255
+ ok {test-number} - Catch::Detail::stringify( set ) == "{ \"abc\", \"def\", \"ghi\" }" for: "{ "abc", "def", "ghi" }" == "{ "abc", "def", "ghi" }"
4256
+ # std::vector<std::pair<std::string,int> > -> toString
4257
+ ok {test-number} - ::Catch::Detail::stringify( pr ) == "{ { \"green\", 55 } }" for: "{ { "green", 55 } }" == "{ { "green", 55 } }"
4258
+ # stdout and stderr streams have %-starting name
4259
+ ok {test-number} - Catch::makeStream( "%stderr" )->isConsole() for: true
4260
+ # stdout and stderr streams have %-starting name
4261
+ ok {test-number} - Catch::makeStream( "%stdout" )->isConsole() for: true
4262
+ # stringify ranges
4263
+ ok {test-number} - ::Catch::Detail::stringify(streamable_range{}) == "op<<(streamable_range)" for: "op<<(streamable_range)" == "op<<(streamable_range)"
4264
+ # stringify ranges
4265
+ ok {test-number} - ::Catch::Detail::stringify(stringmaker_range{}) == "stringmaker(streamable_range)" for: "stringmaker(streamable_range)" == "stringmaker(streamable_range)"
4266
+ # stringify ranges
4267
+ ok {test-number} - ::Catch::Detail::stringify(just_range{}) == "{ 1, 2, 3, 4 }" for: "{ 1, 2, 3, 4 }" == "{ 1, 2, 3, 4 }"
4268
+ # stringify ranges
4269
+ ok {test-number} - ::Catch::Detail::stringify(disabled_range{}) == "{?}" for: "{?}" == "{?}"
4270
+ # stringify( has_maker )
4271
+ ok {test-number} - ::Catch::Detail::stringify( item ) == "StringMaker<has_maker>" for: "StringMaker<has_maker>" == "StringMaker<has_maker>"
4272
+ # stringify( has_maker_and_operator )
4273
+ ok {test-number} - ::Catch::Detail::stringify( item ) == "StringMaker<has_maker_and_operator>" for: "StringMaker<has_maker_and_operator>" == "StringMaker<has_maker_and_operator>"
4274
+ # stringify( has_neither )
4275
+ ok {test-number} - ::Catch::Detail::stringify(item) == "{?}" for: "{?}" == "{?}"
4276
+ # stringify( has_operator )
4277
+ ok {test-number} - ::Catch::Detail::stringify( item ) == "operator<<( has_operator )" for: "operator<<( has_operator )" == "operator<<( has_operator )"
4278
+ # stringify( has_template_operator )
4279
+ ok {test-number} - ::Catch::Detail::stringify( item ) == "operator<<( has_template_operator )" for: "operator<<( has_template_operator )" == "operator<<( has_template_operator )"
4280
+ # stringify( vectors<has_maker> )
4281
+ ok {test-number} - ::Catch::Detail::stringify( v ) == "{ StringMaker<has_maker> }" for: "{ StringMaker<has_maker> }" == "{ StringMaker<has_maker> }"
4282
+ # stringify( vectors<has_maker_and_operator> )
4283
+ ok {test-number} - ::Catch::Detail::stringify( v ) == "{ StringMaker<has_maker_and_operator> }" for: "{ StringMaker<has_maker_and_operator> }" == "{ StringMaker<has_maker_and_operator> }"
4284
+ # stringify( vectors<has_operator> )
4285
+ ok {test-number} - ::Catch::Detail::stringify( v ) == "{ operator<<( has_operator ) }" for: "{ operator<<( has_operator ) }" == "{ operator<<( has_operator ) }"
4286
+ # strlen3
4287
+ ok {test-number} - data.str.size() == data.len for: 3 == 3
4288
+ # strlen3
4289
+ ok {test-number} - data.str.size() == data.len for: 3 == 3
4290
+ # strlen3
4291
+ ok {test-number} - data.str.size() == data.len for: 5 == 5
4292
+ # strlen3
4293
+ ok {test-number} - data.str.size() == data.len for: 4 == 4
4294
+ # tables
4295
+ ok {test-number} - strlen(std::get<0>(data)) == static_cast<size_t>(std::get<1>(data)) for: 5 == 5
4296
+ # tables
4297
+ ok {test-number} - strlen(std::get<0>(data)) == static_cast<size_t>(std::get<1>(data)) for: 6 == 6
4298
+ # tables
4299
+ ok {test-number} - strlen(std::get<0>(data)) == static_cast<size_t>(std::get<1>(data)) for: 5 == 5
4300
+ # tables
4301
+ ok {test-number} - strlen(std::get<0>(data)) == static_cast<size_t>(std::get<1>(data)) for: 6 == 6
4302
+ # tags with dots in later positions are not parsed as hidden
4303
+ ok {test-number} - testcase.tags.size() == 1 for: 1 == 1
4304
+ # tags with dots in later positions are not parsed as hidden
4305
+ ok {test-number} - testcase.tags[0].original == "magic.tag"_catch_sr for: magic.tag == magic.tag
4306
+ # tests can be skipped dynamically at runtime
4307
+ ok {test-number} - # SKIP
4308
+ # thrown std::strings are translated
4309
+ not ok {test-number} - unexpected exception with message: 'Why would you throw a std::string?'
4310
+ # toString on const wchar_t const pointer returns the string contents
4311
+ ok {test-number} - result == "\"wide load\"" for: ""wide load"" == ""wide load""
4312
+ # toString on const wchar_t pointer returns the string contents
4313
+ ok {test-number} - result == "\"wide load\"" for: ""wide load"" == ""wide load""
4314
+ # toString on wchar_t const pointer returns the string contents
4315
+ ok {test-number} - result == "\"wide load\"" for: ""wide load"" == ""wide load""
4316
+ # toString on wchar_t returns the string contents
4317
+ ok {test-number} - result == "\"wide load\"" for: ""wide load"" == ""wide load""
4318
+ # toString(enum class w/operator<<)
4319
+ ok {test-number} - ::Catch::Detail::stringify(e0) == "E2/V0" for: "E2/V0" == "E2/V0"
4320
+ # toString(enum class w/operator<<)
4321
+ ok {test-number} - ::Catch::Detail::stringify(e1) == "E2/V1" for: "E2/V1" == "E2/V1"
4322
+ # toString(enum class w/operator<<)
4323
+ ok {test-number} - ::Catch::Detail::stringify(e3) == "Unknown enum value 10" for: "Unknown enum value 10" == "Unknown enum value 10"
4324
+ # toString(enum class)
4325
+ ok {test-number} - ::Catch::Detail::stringify(e0) == "0" for: "0" == "0"
4326
+ # toString(enum class)
4327
+ ok {test-number} - ::Catch::Detail::stringify(e1) == "1" for: "1" == "1"
4328
+ # toString(enum w/operator<<)
4329
+ ok {test-number} - ::Catch::Detail::stringify(e0) == "E2{0}" for: "E2{0}" == "E2{0}"
4330
+ # toString(enum w/operator<<)
4331
+ ok {test-number} - ::Catch::Detail::stringify(e1) == "E2{1}" for: "E2{1}" == "E2{1}"
4332
+ # toString(enum)
4333
+ ok {test-number} - ::Catch::Detail::stringify(e0) == "0" for: "0" == "0"
4334
+ # toString(enum)
4335
+ ok {test-number} - ::Catch::Detail::stringify(e1) == "1" for: "1" == "1"
4336
+ # tuple<>
4337
+ ok {test-number} - "{ }" == ::Catch::Detail::stringify(type{}) for: "{ }" == "{ }"
4338
+ # tuple<>
4339
+ ok {test-number} - "{ }" == ::Catch::Detail::stringify(value) for: "{ }" == "{ }"
4340
+ # tuple<float,int>
4341
+ ok {test-number} - "1.2f" == ::Catch::Detail::stringify(float(1.2)) for: "1.2f" == "1.2f"
4342
+ # tuple<float,int>
4343
+ ok {test-number} - "{ 1.2f, 0 }" == ::Catch::Detail::stringify(type{1.2f,0}) for: "{ 1.2f, 0 }" == "{ 1.2f, 0 }"
4344
+ # tuple<int>
4345
+ ok {test-number} - "{ 0 }" == ::Catch::Detail::stringify(type{0}) for: "{ 0 }" == "{ 0 }"
4346
+ # tuple<string,string>
4347
+ ok {test-number} - "{ \"hello\", \"world\" }" == ::Catch::Detail::stringify(type{"hello","world"}) for: "{ "hello", "world" }" == "{ "hello", "world" }"
4348
+ # tuple<tuple<int>,tuple<>,float>
4349
+ ok {test-number} - "{ { 42 }, { }, 1.2f }" == ::Catch::Detail::stringify(value) for: "{ { 42 }, { }, 1.2f }" == "{ { 42 }, { }, 1.2f }"
4350
+ # uniform samples
4351
+ ok {test-number} - e.point == 23 for: 23.0 == 23
4352
+ # uniform samples
4353
+ ok {test-number} - e.upper_bound == 23 for: 23.0 == 23
4354
+ # uniform samples
4355
+ ok {test-number} - e.lower_bound == 23 for: 23.0 == 23
4356
+ # uniform samples
4357
+ ok {test-number} - e.confidence_interval == 0.95 for: 0.95 == 0.95
4358
+ # unique_ptr reimplementation: basic functionality
4359
+ ok {test-number} - !(ptr) for: !{?}
4360
+ # unique_ptr reimplementation: basic functionality
4361
+ ok {test-number} - ptr.get() == 0 for: 0 == 0
4362
+ # unique_ptr reimplementation: basic functionality
4363
+ ok {test-number} - ptr for: {?}
4364
+ # unique_ptr reimplementation: basic functionality
4365
+ ok {test-number} - *ptr == 0 for: 0 == 0
4366
+ # unique_ptr reimplementation: basic functionality
4367
+ ok {test-number} - ptr.get() == naked_ptr for: 0x<hex digits> == 0x<hex digits>
4368
+ # unique_ptr reimplementation: basic functionality
4369
+ ok {test-number} - !(ptr) for: !{?}
4370
+ # unique_ptr reimplementation: basic functionality
4371
+ ok {test-number} - ptr.get() == 0 for: 0 == 0
4372
+ # unique_ptr reimplementation: basic functionality
4373
+ ok {test-number} - ptr for: {?}
4374
+ # unique_ptr reimplementation: basic functionality
4375
+ ok {test-number} - *ptr == 0 for: 0 == 0
4376
+ # unique_ptr reimplementation: basic functionality
4377
+ ok {test-number} - ptr.get() == naked_ptr for: 0x<hex digits> == 0x<hex digits>
4378
+ # unique_ptr reimplementation: basic functionality
4379
+ ok {test-number} - ptr for: {?}
4380
+ # unique_ptr reimplementation: basic functionality
4381
+ ok {test-number} - ptr.get() != 0 for: 0x<hex digits> != 0
4382
+ # unique_ptr reimplementation: basic functionality
4383
+ ok {test-number} - *ptr == 2 for: 2 == 2
4384
+ # unique_ptr reimplementation: basic functionality
4385
+ ok {test-number} - !(ptr) for: !{?}
4386
+ # unique_ptr reimplementation: basic functionality
4387
+ ok {test-number} - ptr.get() == 0 for: 0 == 0
4388
+ # unique_ptr reimplementation: basic functionality
4389
+ ok {test-number} - !(ptr1) for: !{?}
4390
+ # unique_ptr reimplementation: basic functionality
4391
+ ok {test-number} - ptr2 for: {?}
4392
+ # unique_ptr reimplementation: basic functionality
4393
+ ok {test-number} - *ptr2 == 1 for: 1 == 1
4394
+ # unique_ptr reimplementation: basic functionality
4395
+ ok {test-number} - !(ptr2) for: !{?}
4396
+ # unique_ptr reimplementation: basic functionality
4397
+ ok {test-number} - ptr1 for: {?}
4398
+ # unique_ptr reimplementation: basic functionality
4399
+ ok {test-number} - *ptr1 == 2 for: 2 == 2
4400
+ # unique_ptr reimplementation: basic functionality
4401
+ ok {test-number} - *ptr1 == 2 for: 2 == 2
4402
+ # unique_ptr reimplementation: basic functionality
4403
+ ok {test-number} - *ptr2 == 1 for: 1 == 1
4404
+ # vec<vec<string,alloc>> -> toString
4405
+ ok {test-number} - ::Catch::Detail::stringify(v) == "{ }" for: "{ }" == "{ }"
4406
+ # vec<vec<string,alloc>> -> toString
4407
+ ok {test-number} - ::Catch::Detail::stringify(v) == "{ { \"hello\" }, { \"world\" } }" for: "{ { "hello" }, { "world" } }" == "{ { "hello" }, { "world" } }"
4408
+ # vector<bool> -> toString
4409
+ ok {test-number} - ::Catch::Detail::stringify(bools) == "{ }" for: "{ }" == "{ }"
4410
+ # vector<bool> -> toString
4411
+ ok {test-number} - ::Catch::Detail::stringify(bools) == "{ true }" for: "{ true }" == "{ true }"
4412
+ # vector<bool> -> toString
4413
+ ok {test-number} - ::Catch::Detail::stringify(bools) == "{ true, false }" for: "{ true, false }" == "{ true, false }"
4414
+ # vector<int,allocator> -> toString
4415
+ ok {test-number} - ::Catch::Detail::stringify(vv) == "{ }" for: "{ }" == "{ }"
4416
+ # vector<int,allocator> -> toString
4417
+ ok {test-number} - ::Catch::Detail::stringify(vv) == "{ 42 }" for: "{ 42 }" == "{ 42 }"
4418
+ # vector<int,allocator> -> toString
4419
+ ok {test-number} - ::Catch::Detail::stringify(vv) == "{ 42, 250 }" for: "{ 42, 250 }" == "{ 42, 250 }"
4420
+ # vector<int> -> toString
4421
+ ok {test-number} - ::Catch::Detail::stringify(vv) == "{ }" for: "{ }" == "{ }"
4422
+ # vector<int> -> toString
4423
+ ok {test-number} - ::Catch::Detail::stringify(vv) == "{ 42 }" for: "{ 42 }" == "{ 42 }"
4424
+ # vector<int> -> toString
4425
+ ok {test-number} - ::Catch::Detail::stringify(vv) == "{ 42, 250 }" for: "{ 42, 250 }" == "{ 42, 250 }"
4426
+ # vector<string> -> toString
4427
+ ok {test-number} - ::Catch::Detail::stringify(vv) == "{ }" for: "{ }" == "{ }"
4428
+ # vector<string> -> toString
4429
+ ok {test-number} - ::Catch::Detail::stringify(vv) == "{ \"hello\" }" for: "{ "hello" }" == "{ "hello" }"
4430
+ # vector<string> -> toString
4431
+ ok {test-number} - ::Catch::Detail::stringify(vv) == "{ \"hello\", \"world\" }" for: "{ "hello", "world" }" == "{ "hello", "world" }"
4432
+ # vectors can be sized and resized
4433
+ ok {test-number} - v.size() == 5 for: 5 == 5
4434
+ # vectors can be sized and resized
4435
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
4436
+ # vectors can be sized and resized
4437
+ ok {test-number} - v.size() == 10 for: 10 == 10
4438
+ # vectors can be sized and resized
4439
+ ok {test-number} - v.capacity() >= 10 for: 10 >= 10
4440
+ # vectors can be sized and resized
4441
+ ok {test-number} - v.size() == 5 for: 5 == 5
4442
+ # vectors can be sized and resized
4443
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
4444
+ # vectors can be sized and resized
4445
+ ok {test-number} - v.size() == 0 for: 0 == 0
4446
+ # vectors can be sized and resized
4447
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
4448
+ # vectors can be sized and resized
4449
+ ok {test-number} - v.capacity() == 0 for: 0 == 0
4450
+ # vectors can be sized and resized
4451
+ ok {test-number} - v.size() == 5 for: 5 == 5
4452
+ # vectors can be sized and resized
4453
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
4454
+ # vectors can be sized and resized
4455
+ ok {test-number} - v.size() == 5 for: 5 == 5
4456
+ # vectors can be sized and resized
4457
+ ok {test-number} - v.capacity() >= 10 for: 10 >= 10
4458
+ # vectors can be sized and resized
4459
+ ok {test-number} - v.size() == 5 for: 5 == 5
4460
+ # vectors can be sized and resized
4461
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
4462
+ # vectors can be sized and resized
4463
+ ok {test-number} - v.size() == 5 for: 5 == 5
4464
+ # vectors can be sized and resized
4465
+ ok {test-number} - v.capacity() >= 5 for: 5 >= 5
4466
+ # warmup
4467
+ ok {test-number} - (iterations * rate) > Catch::Benchmark::Detail::warmup_time.count() for: 160000000 (0x<hex digits>) > 100
4468
+ # warmup
4469
+ ok {test-number} - (end - start) > Catch::Benchmark::Detail::warmup_time for: 310016000 ns > 100 ms
4470
+ # weighted_average_quantile
4471
+ ok {test-number} - q1 == 14.5 for: 14.5 == 14.5
4472
+ # weighted_average_quantile
4473
+ ok {test-number} - med == 18. for: 18.0 == 18.0
4474
+ # weighted_average_quantile
4475
+ ok {test-number} - q3 == 23. for: 23.0 == 23.0
4476
+ # xmlentitycheck
4477
+ ok {test-number} -
4478
+ # xmlentitycheck
4479
+ ok {test-number} -
4480
+ 1..2237
4481
+