sonarqube.sw.multi.approved.txt 111 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- rng-seed=1 -->
  3. <testExecutions version="1">
  4. <file path="tests/<exe-name>/IntrospectiveTests/Clara.tests.cpp">
  5. <testCase name="Clara::Arg supports single-arg parse the way Opt does" duration="{duration}"/>
  6. <testCase name="Clara::Opt supports accept-many lambdas/Parsing fails on multiple options without accept_many" duration="{duration}"/>
  7. <testCase name="Clara::Opt supports accept-many lambdas/Parsing succeeds on multiple options with accept_many" duration="{duration}"/>
  8. <testCase name="is_unary_function" duration="{duration}"/>
  9. </file>
  10. <file path="tests/<exe-name>/IntrospectiveTests/CmdLine.tests.cpp">
  11. <testCase name="#1905 -- test spec parser properly clears internal state between compound tests" duration="{duration}"/>
  12. <testCase name="#1912 -- test spec parser handles escaping/Various parentheses" duration="{duration}"/>
  13. <testCase name="#1912 -- test spec parser handles escaping/backslash in test name" duration="{duration}"/>
  14. <testCase name="Parse test names and tags/Empty test spec should have no filters" duration="{duration}"/>
  15. <testCase name="Parse test names and tags/Test spec from empty string should have no filters" duration="{duration}"/>
  16. <testCase name="Parse test names and tags/Test spec from just a comma should have no filters" duration="{duration}"/>
  17. <testCase name="Parse test names and tags/Test spec from name should have one filter" duration="{duration}"/>
  18. <testCase name="Parse test names and tags/Test spec from quoted name should have one filter" duration="{duration}"/>
  19. <testCase name="Parse test names and tags/Test spec from name should have one filter" duration="{duration}"/>
  20. <testCase name="Parse test names and tags/Wildcard at the start" duration="{duration}"/>
  21. <testCase name="Parse test names and tags/Wildcard at the end" duration="{duration}"/>
  22. <testCase name="Parse test names and tags/Wildcard at both ends" duration="{duration}"/>
  23. <testCase name="Parse test names and tags/Redundant wildcard at the start" duration="{duration}"/>
  24. <testCase name="Parse test names and tags/Redundant wildcard at the end" duration="{duration}"/>
  25. <testCase name="Parse test names and tags/Redundant wildcard at both ends" duration="{duration}"/>
  26. <testCase name="Parse test names and tags/Wildcard at both ends, redundant at start" duration="{duration}"/>
  27. <testCase name="Parse test names and tags/Just wildcard" duration="{duration}"/>
  28. <testCase name="Parse test names and tags/Single tag" duration="{duration}"/>
  29. <testCase name="Parse test names and tags/Single tag, two matches" duration="{duration}"/>
  30. <testCase name="Parse test names and tags/Two tags" duration="{duration}"/>
  31. <testCase name="Parse test names and tags/Two tags, spare separated" duration="{duration}"/>
  32. <testCase name="Parse test names and tags/Wildcarded name and tag" duration="{duration}"/>
  33. <testCase name="Parse test names and tags/Single tag exclusion" duration="{duration}"/>
  34. <testCase name="Parse test names and tags/One tag exclusion and one tag inclusion" duration="{duration}"/>
  35. <testCase name="Parse test names and tags/One tag exclusion and one wldcarded name inclusion" duration="{duration}"/>
  36. <testCase name="Parse test names and tags/One tag exclusion, using exclude:, and one wldcarded name inclusion" duration="{duration}"/>
  37. <testCase name="Parse test names and tags/name exclusion" duration="{duration}"/>
  38. <testCase name="Parse test names and tags/wildcarded name exclusion" duration="{duration}"/>
  39. <testCase name="Parse test names and tags/wildcarded name exclusion with tag inclusion" duration="{duration}"/>
  40. <testCase name="Parse test names and tags/wildcarded name exclusion, using exclude:, with tag inclusion" duration="{duration}"/>
  41. <testCase name="Parse test names and tags/two wildcarded names" duration="{duration}"/>
  42. <testCase name="Parse test names and tags/empty tag" duration="{duration}"/>
  43. <testCase name="Parse test names and tags/empty quoted name" duration="{duration}"/>
  44. <testCase name="Parse test names and tags/quoted string followed by tag exclusion" duration="{duration}"/>
  45. <testCase name="Parse test names and tags/Leading and trailing spaces in test spec" duration="{duration}"/>
  46. <testCase name="Parse test names and tags/Leading and trailing spaces in test name" duration="{duration}"/>
  47. <testCase name="Parse test names and tags/Shortened hide tags are split apart when parsing" duration="{duration}"/>
  48. <testCase name="Parse test names and tags/Shortened hide tags also properly handle exclusion" duration="{duration}"/>
  49. <testCase name="Parsing sharding-related cli flags/shard-count" duration="{duration}"/>
  50. <testCase name="Parsing sharding-related cli flags/Negative shard count reports error" duration="{duration}"/>
  51. <testCase name="Parsing sharding-related cli flags/Zero shard count reports error" duration="{duration}"/>
  52. <testCase name="Parsing sharding-related cli flags/shard-index" duration="{duration}"/>
  53. <testCase name="Parsing sharding-related cli flags/Negative shard index reports error" duration="{duration}"/>
  54. <testCase name="Parsing sharding-related cli flags/Shard index 0 is accepted" duration="{duration}"/>
  55. <testCase name="Parsing warnings/NoAssertions" duration="{duration}"/>
  56. <testCase name="Parsing warnings/NoTests is no longer supported" duration="{duration}"/>
  57. <testCase name="Parsing warnings/Combining multiple warnings" duration="{duration}"/>
  58. <testCase name="Process can be configured on command line/empty args don't cause a crash" duration="{duration}"/>
  59. <testCase name="Process can be configured on command line/default - no arguments" duration="{duration}"/>
  60. <testCase name="Process can be configured on command line/test lists/Specify one test case using" duration="{duration}"/>
  61. <testCase name="Process can be configured on command line/test lists/Specify one test case exclusion using exclude:" duration="{duration}"/>
  62. <testCase name="Process can be configured on command line/test lists/Specify one test case exclusion using ~" duration="{duration}"/>
  63. <testCase name="Process can be configured on command line/reporter/-r/console" duration="{duration}"/>
  64. <testCase name="Process can be configured on command line/reporter/-r/xml" duration="{duration}"/>
  65. <testCase name="Process can be configured on command line/reporter/--reporter/junit" duration="{duration}"/>
  66. <testCase name="Process can be configured on command line/reporter/must match one of the available ones" duration="{duration}"/>
  67. <testCase name="Process can be configured on command line/reporter/With output file" duration="{duration}"/>
  68. <testCase name="Process can be configured on command line/reporter/With Windows-like absolute path as output file" duration="{duration}"/>
  69. <testCase name="Process can be configured on command line/reporter/Multiple reporters/All with output files" duration="{duration}"/>
  70. <testCase name="Process can be configured on command line/reporter/Multiple reporters/Mixed output files and default output" duration="{duration}"/>
  71. <testCase name="Process can be configured on command line/reporter/Multiple reporters/cannot have multiple reporters with default output" duration="{duration}"/>
  72. <testCase name="Process can be configured on command line/debugger/-b" duration="{duration}"/>
  73. <testCase name="Process can be configured on command line/debugger/--break" duration="{duration}"/>
  74. <testCase name="Process can be configured on command line/abort/-a aborts after first failure" duration="{duration}"/>
  75. <testCase name="Process can be configured on command line/abort/-x 2 aborts after two failures" duration="{duration}"/>
  76. <testCase name="Process can be configured on command line/abort/-x must be numeric" duration="{duration}"/>
  77. <testCase name="Process can be configured on command line/abort/wait-for-keypress/Accepted options" duration="{duration}"/>
  78. <testCase name="Process can be configured on command line/abort/wait-for-keypress/invalid options are reported" duration="{duration}"/>
  79. <testCase name="Process can be configured on command line/nothrow/-e" duration="{duration}"/>
  80. <testCase name="Process can be configured on command line/nothrow/--nothrow" duration="{duration}"/>
  81. <testCase name="Process can be configured on command line/output filename/-o filename" duration="{duration}"/>
  82. <testCase name="Process can be configured on command line/output filename/--out" duration="{duration}"/>
  83. <testCase name="Process can be configured on command line/combinations/Single character flags can be combined" duration="{duration}"/>
  84. <testCase name="Process can be configured on command line/use-colour/without option" duration="{duration}"/>
  85. <testCase name="Process can be configured on command line/use-colour/auto" duration="{duration}"/>
  86. <testCase name="Process can be configured on command line/use-colour/yes" duration="{duration}"/>
  87. <testCase name="Process can be configured on command line/use-colour/no" duration="{duration}"/>
  88. <testCase name="Process can be configured on command line/use-colour/error" duration="{duration}"/>
  89. <testCase name="Process can be configured on command line/Benchmark options/samples" duration="{duration}"/>
  90. <testCase name="Process can be configured on command line/Benchmark options/resamples" duration="{duration}"/>
  91. <testCase name="Process can be configured on command line/Benchmark options/confidence-interval" duration="{duration}"/>
  92. <testCase name="Process can be configured on command line/Benchmark options/no-analysis" duration="{duration}"/>
  93. <testCase name="Process can be configured on command line/Benchmark options/warmup-time" duration="{duration}"/>
  94. <testCase name="Test with special, characters &quot;in name" duration="{duration}"/>
  95. </file>
  96. <file path="tests/<exe-name>/IntrospectiveTests/ColourImpl.tests.cpp">
  97. <testCase name="ColourGuard behaviour/ColourGuard is disengaged by default" duration="{duration}"/>
  98. <testCase name="ColourGuard behaviour/ColourGuard is engaged by op&lt;&lt;" duration="{duration}"/>
  99. <testCase name="ColourGuard behaviour/ColourGuard can be engaged explicitly" duration="{duration}"/>
  100. </file>
  101. <file path="tests/<exe-name>/IntrospectiveTests/Details.tests.cpp">
  102. <testCase name="CaseInsensitiveEqualsTo is case insensitive/Degenerate cases" duration="{duration}"/>
  103. <testCase name="CaseInsensitiveEqualsTo is case insensitive/Plain comparisons" duration="{duration}"/>
  104. <testCase name="CaseInsensitiveLess is case insensitive/Degenerate cases" duration="{duration}"/>
  105. <testCase name="CaseInsensitiveLess is case insensitive/Plain comparisons" duration="{duration}"/>
  106. </file>
  107. <file path="tests/<exe-name>/IntrospectiveTests/FloatingPoint.tests.cpp">
  108. <testCase name="convertToBits" duration="{duration}"/>
  109. </file>
  110. <file path="tests/<exe-name>/IntrospectiveTests/GeneratorsImpl.tests.cpp">
  111. <testCase name="Generators internals/Single value" duration="{duration}"/>
  112. <testCase name="Generators internals/Preset values" duration="{duration}"/>
  113. <testCase name="Generators internals/Generator combinator" duration="{duration}"/>
  114. <testCase name="Generators internals/Explicitly typed generator sequence" duration="{duration}"/>
  115. <testCase name="Generators internals/Filter generator/Simple filtering" duration="{duration}"/>
  116. <testCase name="Generators internals/Filter generator/Filter out multiple elements at the start and end" duration="{duration}"/>
  117. <testCase name="Generators internals/Filter generator/Throws on construction if it can't get initial element" duration="{duration}"/>
  118. <testCase name="Generators internals/Take generator/Take less" duration="{duration}"/>
  119. <testCase name="Generators internals/Take generator/Take more" duration="{duration}"/>
  120. <testCase name="Generators internals/Map with explicit return type" duration="{duration}"/>
  121. <testCase name="Generators internals/Map with deduced return type" duration="{duration}"/>
  122. <testCase name="Generators internals/Repeat/Singular repeat" duration="{duration}"/>
  123. <testCase name="Generators internals/Repeat/Actual repeat" duration="{duration}"/>
  124. <testCase name="Generators internals/Range/Positive auto step/Integer" duration="{duration}"/>
  125. <testCase name="Generators internals/Range/Negative auto step/Integer" duration="{duration}"/>
  126. <testCase name="Generators internals/Range/Positive manual step/Integer/Exact" duration="{duration}"/>
  127. <testCase name="Generators internals/Range/Positive manual step/Integer/Slightly over end" duration="{duration}"/>
  128. <testCase name="Generators internals/Range/Positive manual step/Integer/Slightly under end" duration="{duration}"/>
  129. <testCase name="Generators internals/Range/Positive manual step/Floating Point/Exact" duration="{duration}"/>
  130. <testCase name="Generators internals/Range/Positive manual step/Floating Point/Slightly over end" duration="{duration}"/>
  131. <testCase name="Generators internals/Range/Positive manual step/Floating Point/Slightly under end" duration="{duration}"/>
  132. <testCase name="Generators internals/Range/Negative manual step/Integer/Exact" duration="{duration}"/>
  133. <testCase name="Generators internals/Range/Negative manual step/Integer/Slightly over end" duration="{duration}"/>
  134. <testCase name="Generators internals/Range/Negative manual step/Integer/Slightly under end" duration="{duration}"/>
  135. </file>
  136. <file path="tests/<exe-name>/IntrospectiveTests/InternalBenchmark.tests.cpp">
  137. <testCase name="analyse no analysis" duration="{duration}"/>
  138. <testCase name="benchmark function call/without chronometer" duration="{duration}"/>
  139. <testCase name="benchmark function call/with chronometer" duration="{duration}"/>
  140. <testCase name="classify_outliers/none" duration="{duration}"/>
  141. <testCase name="classify_outliers/low severe" duration="{duration}"/>
  142. <testCase name="classify_outliers/low mild" duration="{duration}"/>
  143. <testCase name="classify_outliers/high mild" duration="{duration}"/>
  144. <testCase name="classify_outliers/high severe" duration="{duration}"/>
  145. <testCase name="classify_outliers/mixed" duration="{duration}"/>
  146. <testCase name="erfc_inv" duration="{duration}"/>
  147. <testCase name="estimate_clock_resolution" duration="{duration}"/>
  148. <testCase name="mean" duration="{duration}"/>
  149. <testCase name="measure" duration="{duration}"/>
  150. <testCase name="normal_cdf" duration="{duration}"/>
  151. <testCase name="normal_quantile" duration="{duration}"/>
  152. <testCase name="resolution" duration="{duration}"/>
  153. <testCase name="run_for_at_least, chronometer" duration="{duration}"/>
  154. <testCase name="run_for_at_least, int" duration="{duration}"/>
  155. <testCase name="uniform samples" duration="{duration}"/>
  156. <testCase name="warmup" duration="{duration}"/>
  157. <testCase name="weighted_average_quantile" duration="{duration}"/>
  158. </file>
  159. <file path="tests/<exe-name>/IntrospectiveTests/PartTracker.tests.cpp">
  160. <testCase name="#1938 - GENERATE after a section/A" duration="{duration}"/>
  161. <testCase name="#1938 - GENERATE after a section/B" duration="{duration}"/>
  162. <testCase name="#1938 - Section followed by flat generate" duration="{duration}"/>
  163. <testCase name="#1938 - Section followed by flat generate/A" duration="{duration}"/>
  164. <testCase name="#1938 - flat generate" duration="{duration}"/>
  165. <testCase name="#1938 - mixed sections and generates" duration="{duration}"/>
  166. <testCase name="#1938 - mixed sections and generates/A" duration="{duration}"/>
  167. <testCase name="#1938 - mixed sections and generates/B" duration="{duration}"/>
  168. <testCase name="#1938 - nested generate" duration="{duration}"/>
  169. <testCase name="Tracker" duration="{duration}"/>
  170. <testCase name="Tracker/successfully close one section" duration="{duration}"/>
  171. <testCase name="Tracker/fail one section" duration="{duration}"/>
  172. <testCase name="Tracker/fail one section/re-enter after failed section" duration="{duration}"/>
  173. <testCase name="Tracker/fail one section/re-enter after failed section and find next section" duration="{duration}"/>
  174. <testCase name="Tracker/successfully close one section, then find another" duration="{duration}"/>
  175. <testCase name="Tracker/successfully close one section, then find another/Re-enter - skips S1 and enters S2" duration="{duration}"/>
  176. <testCase name="Tracker/successfully close one section, then find another/Re-enter - skips S1 and enters S2/Successfully close S2" duration="{duration}"/>
  177. <testCase name="Tracker/successfully close one section, then find another/Re-enter - skips S1 and enters S2/fail S2" duration="{duration}"/>
  178. <testCase name="Tracker/open a nested section" duration="{duration}"/>
  179. </file>
  180. <file path="tests/<exe-name>/IntrospectiveTests/RandomNumberGeneration.tests.cpp">
  181. <testCase name="Comparison ops" duration="{duration}"/>
  182. <testCase name="Our PCG implementation provides expected results for known seeds/Default seeded" duration="{duration}"/>
  183. <testCase name="Our PCG implementation provides expected results for known seeds/Specific seed" duration="{duration}"/>
  184. <testCase name="Random seed generation accepts known methods" duration="{duration}"/>
  185. <testCase name="Random seed generation reports unknown methods" duration="{duration}"/>
  186. </file>
  187. <file path="tests/<exe-name>/IntrospectiveTests/Reporters.tests.cpp">
  188. <testCase name="Multireporter calls reporters and listeners in correct order" duration="{duration}"/>
  189. <testCase name="Multireporter updates ReporterPreferences properly" duration="{duration}"/>
  190. <testCase name="Multireporter updates ReporterPreferences properly/Adding listeners" duration="{duration}"/>
  191. <testCase name="Multireporter updates ReporterPreferences properly/Adding reporters" duration="{duration}"/>
  192. <testCase name="Registering reporter with '::' in name fails" duration="{duration}"/>
  193. <testCase name="Reporter's write listings to provided stream" duration="{duration}"/>
  194. <testCase name="Reporter's write listings to provided stream/Automake reporter lists tags" duration="{duration}"/>
  195. <testCase name="Reporter's write listings to provided stream/Automake reporter lists reporters" duration="{duration}"/>
  196. <testCase name="Reporter's write listings to provided stream/Automake reporter lists tests" duration="{duration}"/>
  197. <testCase name="Reporter's write listings to provided stream/compact reporter lists tags" duration="{duration}"/>
  198. <testCase name="Reporter's write listings to provided stream/compact reporter lists reporters" duration="{duration}"/>
  199. <testCase name="Reporter's write listings to provided stream/compact reporter lists tests" duration="{duration}"/>
  200. <testCase name="Reporter's write listings to provided stream/console reporter lists tags" duration="{duration}"/>
  201. <testCase name="Reporter's write listings to provided stream/console reporter lists reporters" duration="{duration}"/>
  202. <testCase name="Reporter's write listings to provided stream/console reporter lists tests" duration="{duration}"/>
  203. <testCase name="Reporter's write listings to provided stream/JUnit reporter lists tags" duration="{duration}"/>
  204. <testCase name="Reporter's write listings to provided stream/JUnit reporter lists reporters" duration="{duration}"/>
  205. <testCase name="Reporter's write listings to provided stream/JUnit reporter lists tests" duration="{duration}"/>
  206. <testCase name="Reporter's write listings to provided stream/SonarQube reporter lists tags" duration="{duration}"/>
  207. <testCase name="Reporter's write listings to provided stream/SonarQube reporter lists reporters" duration="{duration}"/>
  208. <testCase name="Reporter's write listings to provided stream/SonarQube reporter lists tests" duration="{duration}"/>
  209. <testCase name="Reporter's write listings to provided stream/TAP reporter lists tags" duration="{duration}"/>
  210. <testCase name="Reporter's write listings to provided stream/TAP reporter lists reporters" duration="{duration}"/>
  211. <testCase name="Reporter's write listings to provided stream/TAP reporter lists tests" duration="{duration}"/>
  212. <testCase name="Reporter's write listings to provided stream/TeamCity reporter lists tags" duration="{duration}"/>
  213. <testCase name="Reporter's write listings to provided stream/TeamCity reporter lists reporters" duration="{duration}"/>
  214. <testCase name="Reporter's write listings to provided stream/TeamCity reporter lists tests" duration="{duration}"/>
  215. <testCase name="Reporter's write listings to provided stream/XML reporter lists tags" duration="{duration}"/>
  216. <testCase name="Reporter's write listings to provided stream/XML reporter lists reporters" duration="{duration}"/>
  217. <testCase name="Reporter's write listings to provided stream/XML reporter lists tests" duration="{duration}"/>
  218. <testCase name="Reproducer for #2309 - a very long description past 80 chars (default console width) with a late colon : blablabla" duration="{duration}"/>
  219. <testCase name="The default listing implementation write to provided stream/Listing tags" duration="{duration}"/>
  220. <testCase name="The default listing implementation write to provided stream/Listing reporters" duration="{duration}"/>
  221. <testCase name="The default listing implementation write to provided stream/Listing tests" duration="{duration}"/>
  222. <testCase name="The default listing implementation write to provided stream/Listing listeners" duration="{duration}"/>
  223. </file>
  224. <file path="tests/<exe-name>/IntrospectiveTests/Stream.tests.cpp">
  225. <testCase name="Cout stream properly declares it writes to stdout" duration="{duration}"/>
  226. <testCase name="Empty stream name opens cout stream" duration="{duration}"/>
  227. <testCase name="makeStream recognizes %debug stream name" duration="{duration}"/>
  228. <testCase name="request an unknown %-starting stream fails" duration="{duration}"/>
  229. <testCase name="stdout and stderr streams have %-starting name" duration="{duration}"/>
  230. </file>
  231. <file path="tests/<exe-name>/IntrospectiveTests/String.tests.cpp">
  232. <testCase name="StringRef/Empty string" duration="{duration}"/>
  233. <testCase name="StringRef/From string literal" duration="{duration}"/>
  234. <testCase name="StringRef/From sub-string" duration="{duration}"/>
  235. <testCase name="StringRef/Copy construction is shallow" duration="{duration}"/>
  236. <testCase name="StringRef/Copy assignment is shallow" duration="{duration}"/>
  237. <testCase name="StringRef/Substrings/zero-based substring" duration="{duration}"/>
  238. <testCase name="StringRef/Substrings/non-zero-based substring" duration="{duration}"/>
  239. <testCase name="StringRef/Substrings/Pointer values of full refs should match" duration="{duration}"/>
  240. <testCase name="StringRef/Substrings/Pointer values of substring refs should also match" duration="{duration}"/>
  241. <testCase name="StringRef/Substrings/Past the end substring" duration="{duration}"/>
  242. <testCase name="StringRef/Substrings/Substring off the end are trimmed" duration="{duration}"/>
  243. <testCase name="StringRef/Substrings/substring start after the end is empty" duration="{duration}"/>
  244. <testCase name="StringRef/Comparisons are deep" duration="{duration}"/>
  245. <testCase name="StringRef/from std::string/implicitly constructed" duration="{duration}"/>
  246. <testCase name="StringRef/from std::string/explicitly constructed" duration="{duration}"/>
  247. <testCase name="StringRef/from std::string/assigned" duration="{duration}"/>
  248. <testCase name="StringRef/to std::string/explicitly constructed" duration="{duration}"/>
  249. <testCase name="StringRef/to std::string/assigned" duration="{duration}"/>
  250. <testCase name="StringRef/std::string += StringRef" duration="{duration}"/>
  251. <testCase name="StringRef/StringRef + StringRef" duration="{duration}"/>
  252. <testCase name="StringRef at compilation time/Simple constructors" duration="{duration}"/>
  253. <testCase name="StringRef at compilation time/UDL construction" duration="{duration}"/>
  254. </file>
  255. <file path="tests/<exe-name>/IntrospectiveTests/StringManip.tests.cpp">
  256. <testCase name="Trim strings" duration="{duration}"/>
  257. <testCase name="replaceInPlace/replace single char" duration="{duration}"/>
  258. <testCase name="replaceInPlace/replace two chars" duration="{duration}"/>
  259. <testCase name="replaceInPlace/replace first char" duration="{duration}"/>
  260. <testCase name="replaceInPlace/replace last char" duration="{duration}"/>
  261. <testCase name="replaceInPlace/replace all chars" duration="{duration}"/>
  262. <testCase name="replaceInPlace/replace no chars" duration="{duration}"/>
  263. <testCase name="replaceInPlace/escape '" duration="{duration}"/>
  264. <testCase name="splitString" duration="{duration}"/>
  265. <testCase name="startsWith" duration="{duration}"/>
  266. </file>
  267. <file path="tests/<exe-name>/IntrospectiveTests/Tag.tests.cpp">
  268. <testCase name="Empty tag is not allowed" duration="{duration}"/>
  269. <testCase name="Tag alias can be registered against tag patterns/The same tag alias can only be registered once" duration="{duration}"/>
  270. <testCase name="Tag alias can be registered against tag patterns/Tag aliases must be of the form [@name]" duration="{duration}"/>
  271. <testCase name="Tags with spaces and non-alphanumerical characters are accepted" duration="{duration}"/>
  272. <testCase name="Test case with identical tags keeps just one" duration="{duration}"/>
  273. <testCase name="empty tags are not allowed" duration="{duration}"/>
  274. <testCase name="shortened hide tags are split apart" duration="{duration}"/>
  275. <testCase name="tags with dots in later positions are not parsed as hidden" duration="{duration}"/>
  276. </file>
  277. <file path="tests/<exe-name>/IntrospectiveTests/TestCaseInfoHasher.tests.cpp">
  278. <testCase name="Hashers with different seed produce different hash with same test case" duration="{duration}"/>
  279. <testCase name="Hashers with same seed produce same hash" duration="{duration}"/>
  280. <testCase name="Hashing different test cases produces different result/Different test name" duration="{duration}"/>
  281. <testCase name="Hashing different test cases produces different result/Different classname" duration="{duration}"/>
  282. <testCase name="Hashing different test cases produces different result/Different tags" duration="{duration}"/>
  283. <testCase name="Hashing test case produces same hash across multiple calls" duration="{duration}"/>
  284. </file>
  285. <file path="tests/<exe-name>/IntrospectiveTests/TestSpecParser.tests.cpp">
  286. <testCase name="Parsed tags are matched case insensitive" duration="{duration}"/>
  287. <testCase name="Parsing tags with non-alphabetical characters is pass-through" duration="{duration}"/>
  288. </file>
  289. <file path="tests/<exe-name>/IntrospectiveTests/ToString.tests.cpp">
  290. <testCase name="Directly creating an EnumInfo" duration="{duration}"/>
  291. <testCase name="Range type with sentinel" duration="{duration}"/>
  292. <testCase name="Stringifying char arrays with statically known sizes - char" duration="{duration}"/>
  293. <testCase name="Stringifying char arrays with statically known sizes - signed char" duration="{duration}"/>
  294. <testCase name="Stringifying char arrays with statically known sizes - unsigned char" duration="{duration}"/>
  295. <testCase name="parseEnums/No enums" duration="{duration}"/>
  296. <testCase name="parseEnums/One enum value" duration="{duration}"/>
  297. <testCase name="parseEnums/Multiple enum values" duration="{duration}"/>
  298. </file>
  299. <file path="tests/<exe-name>/IntrospectiveTests/UniquePtr.tests.cpp">
  300. <testCase name="Upcasting special member functions/Move constructor" duration="{duration}"/>
  301. <testCase name="Upcasting special member functions/move assignment" duration="{duration}"/>
  302. <testCase name="make_unique reimplementation/From lvalue copies" duration="{duration}"/>
  303. <testCase name="make_unique reimplementation/From rvalue moves" duration="{duration}"/>
  304. <testCase name="make_unique reimplementation/Variadic constructor" duration="{duration}"/>
  305. <testCase name="unique_ptr reimplementation: basic functionality/Default constructed unique_ptr is empty" duration="{duration}"/>
  306. <testCase name="unique_ptr reimplementation: basic functionality/Take ownership of allocation" duration="{duration}"/>
  307. <testCase name="unique_ptr reimplementation: basic functionality/Take ownership of allocation/Plain reset deallocates" duration="{duration}"/>
  308. <testCase name="unique_ptr reimplementation: basic functionality/Take ownership of allocation/Reset replaces ownership" duration="{duration}"/>
  309. <testCase name="unique_ptr reimplementation: basic functionality/Release releases ownership" duration="{duration}"/>
  310. <testCase name="unique_ptr reimplementation: basic functionality/Move constructor" duration="{duration}"/>
  311. <testCase name="unique_ptr reimplementation: basic functionality/Move assignment" duration="{duration}"/>
  312. <testCase name="unique_ptr reimplementation: basic functionality/free swap" duration="{duration}"/>
  313. </file>
  314. <file path="tests/<exe-name>/IntrospectiveTests/Xml.tests.cpp">
  315. <testCase name="XmlEncode/normal string" duration="{duration}"/>
  316. <testCase name="XmlEncode/empty string" duration="{duration}"/>
  317. <testCase name="XmlEncode/string with ampersand" duration="{duration}"/>
  318. <testCase name="XmlEncode/string with less-than" duration="{duration}"/>
  319. <testCase name="XmlEncode/string with greater-than" duration="{duration}"/>
  320. <testCase name="XmlEncode/string with quotes" duration="{duration}"/>
  321. <testCase name="XmlEncode/string with control char (1)" duration="{duration}"/>
  322. <testCase name="XmlEncode/string with control char (x7F)" duration="{duration}"/>
  323. <testCase name="XmlWriter writes boolean attributes as true/false" duration="{duration}"/>
  324. </file>
  325. <file path="tests/<exe-name>/UsageTests/Approx.tests.cpp">
  326. <testCase name="A comparison that uses literals instead of the normal constructor" duration="{duration}"/>
  327. <testCase name="Absolute margin" duration="{duration}"/>
  328. <testCase name="Approx setters validate their arguments" duration="{duration}"/>
  329. <testCase name="Approx with exactly-representable margin" duration="{duration}"/>
  330. <testCase name="Approximate PI" duration="{duration}"/>
  331. <testCase name="Approximate comparisons with different epsilons" duration="{duration}"/>
  332. <testCase name="Approximate comparisons with floats" duration="{duration}"/>
  333. <testCase name="Approximate comparisons with ints" duration="{duration}"/>
  334. <testCase name="Approximate comparisons with mixed numeric types" duration="{duration}"/>
  335. <testCase name="Comparison with explicitly convertible types" duration="{duration}"/>
  336. <testCase name="Default scale is invisible to comparison" duration="{duration}"/>
  337. <testCase name="Epsilon only applies to Approx's value" duration="{duration}"/>
  338. <testCase name="Greater-than inequalities with different epsilons" duration="{duration}"/>
  339. <testCase name="Less-than inequalities with different epsilons" duration="{duration}"/>
  340. <testCase name="Some simple comparisons between doubles" duration="{duration}"/>
  341. <testCase name="Use a custom approx" duration="{duration}"/>
  342. </file>
  343. <file path="tests/<exe-name>/UsageTests/BDD.tests.cpp">
  344. <testCase name="Scenario: BDD tests requiring Fixtures to provide commonly-accessed data or methods/Given: No operations precede me" duration="{duration}"/>
  345. <testCase name="Scenario: BDD tests requiring Fixtures to provide commonly-accessed data or methods/Given: No operations precede me/When: We get the count/Then: Subsequently values are higher" duration="{duration}"/>
  346. <testCase name="Scenario: Do that thing with the thing/Given: This stuff exists/And given: And some assumption/When: I do this/Then: it should do this" duration="{duration}"/>
  347. <testCase name="Scenario: Do that thing with the thing/Given: This stuff exists/And given: And some assumption/When: I do this/Then: it should do this/And: do that" duration="{duration}"/>
  348. <testCase name="Scenario: This is a really long scenario name to see how the list command deals with wrapping/Given: A section name that is so long that it cannot fit in a single console width/When: The test headers are printed as part of the normal running of the scenario/Then: The, deliberately very long and overly verbose (you see what I did there?) section names must wrap, along with an indent" duration="{duration}"/>
  349. <testCase name="Scenario: Vector resizing affects size and capacity/Given: an empty vector" duration="{duration}"/>
  350. <testCase name="Scenario: Vector resizing affects size and capacity/Given: an empty vector/When: it is made larger/Then: the size and capacity go up" duration="{duration}"/>
  351. <testCase name="Scenario: Vector resizing affects size and capacity/Given: an empty vector/When: it is made larger/Then: the size and capacity go up/And when: it is made smaller again/Then: the size goes down but the capacity stays the same" duration="{duration}"/>
  352. <testCase name="Scenario: Vector resizing affects size and capacity/Given: an empty vector/When: we reserve more space/Then: The capacity is increased but the size remains the same" duration="{duration}"/>
  353. </file>
  354. <file path="tests/<exe-name>/UsageTests/Class.tests.cpp">
  355. <testCase name="A METHOD_AS_TEST_CASE based test run that fails" duration="{duration}">
  356. <failure message="REQUIRE(s == &quot;world&quot;)">
  357. FAILED:
  358. REQUIRE( s == "world" )
  359. with expansion:
  360. "hello" == "world"
  361. Class.tests.cpp:<line number>
  362. </failure>
  363. </testCase>
  364. <testCase name="A METHOD_AS_TEST_CASE based test run that succeeds" duration="{duration}"/>
  365. <testCase name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that fails - Template_Foo&lt;float>" duration="{duration}">
  366. <failure message="REQUIRE(Template_Fixture_2&lt;TestType>::m_a.size() == 1)">
  367. FAILED:
  368. REQUIRE( Template_Fixture_2&lt;TestType>::m_a.size() == 1 )
  369. with expansion:
  370. 0 == 1
  371. Class.tests.cpp:<line number>
  372. </failure>
  373. </testCase>
  374. <testCase name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that fails - Template_Foo&lt;int>" duration="{duration}">
  375. <failure message="REQUIRE(Template_Fixture_2&lt;TestType>::m_a.size() == 1)">
  376. FAILED:
  377. REQUIRE( Template_Fixture_2&lt;TestType>::m_a.size() == 1 )
  378. with expansion:
  379. 0 == 1
  380. Class.tests.cpp:<line number>
  381. </failure>
  382. </testCase>
  383. <testCase name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that fails - std::vector&lt;float>" duration="{duration}">
  384. <failure message="REQUIRE(Template_Fixture_2&lt;TestType>::m_a.size() == 1)">
  385. FAILED:
  386. REQUIRE( Template_Fixture_2&lt;TestType>::m_a.size() == 1 )
  387. with expansion:
  388. 0 == 1
  389. Class.tests.cpp:<line number>
  390. </failure>
  391. </testCase>
  392. <testCase name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that fails - std::vector&lt;int>" duration="{duration}">
  393. <failure message="REQUIRE(Template_Fixture_2&lt;TestType>::m_a.size() == 1)">
  394. FAILED:
  395. REQUIRE( Template_Fixture_2&lt;TestType>::m_a.size() == 1 )
  396. with expansion:
  397. 0 == 1
  398. Class.tests.cpp:<line number>
  399. </failure>
  400. </testCase>
  401. <testCase name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that succeeds - Template_Foo&lt;float>" duration="{duration}"/>
  402. <testCase name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that succeeds - Template_Foo&lt;int>" duration="{duration}"/>
  403. <testCase name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that succeeds - std::vector&lt;float>" duration="{duration}"/>
  404. <testCase name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that succeeds - std::vector&lt;int>" duration="{duration}"/>
  405. <testCase name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that fails - Template_Foo_2&lt;float, 6>" duration="{duration}">
  406. <failure message="REQUIRE(Template_Fixture_2&lt;TestType>{}.m_a.size() &lt; 2)">
  407. FAILED:
  408. REQUIRE( Template_Fixture_2&lt;TestType>{}.m_a.size() &lt; 2 )
  409. with expansion:
  410. 6 &lt; 2
  411. Class.tests.cpp:<line number>
  412. </failure>
  413. </testCase>
  414. <testCase name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that fails - Template_Foo_2&lt;int, 2>" duration="{duration}">
  415. <failure message="REQUIRE(Template_Fixture_2&lt;TestType>{}.m_a.size() &lt; 2)">
  416. FAILED:
  417. REQUIRE( Template_Fixture_2&lt;TestType>{}.m_a.size() &lt; 2 )
  418. with expansion:
  419. 2 &lt; 2
  420. Class.tests.cpp:<line number>
  421. </failure>
  422. </testCase>
  423. <testCase name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that fails - std::array&lt;float, 6>" duration="{duration}">
  424. <failure message="REQUIRE(Template_Fixture_2&lt;TestType>{}.m_a.size() &lt; 2)">
  425. FAILED:
  426. REQUIRE( Template_Fixture_2&lt;TestType>{}.m_a.size() &lt; 2 )
  427. with expansion:
  428. 6 &lt; 2
  429. Class.tests.cpp:<line number>
  430. </failure>
  431. </testCase>
  432. <testCase name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that fails - std::array&lt;int, 2>" duration="{duration}">
  433. <failure message="REQUIRE(Template_Fixture_2&lt;TestType>{}.m_a.size() &lt; 2)">
  434. FAILED:
  435. REQUIRE( Template_Fixture_2&lt;TestType>{}.m_a.size() &lt; 2 )
  436. with expansion:
  437. 2 &lt; 2
  438. Class.tests.cpp:<line number>
  439. </failure>
  440. </testCase>
  441. <testCase name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that succeeds - Template_Foo_2&lt;float,6>" duration="{duration}"/>
  442. <testCase name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that succeeds - Template_Foo_2&lt;int,2>" duration="{duration}"/>
  443. <testCase name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that succeeds - std::array&lt;float,6>" duration="{duration}"/>
  444. <testCase name="A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that succeeds - std::array&lt;int,2>" duration="{duration}"/>
  445. <testCase name="A TEMPLATE_TEST_CASE_METHOD based test run that fails - double" duration="{duration}">
  446. <failure message="REQUIRE(Template_Fixture&lt;TestType>::m_a == 2)">
  447. FAILED:
  448. REQUIRE( Template_Fixture&lt;TestType>::m_a == 2 )
  449. with expansion:
  450. 1.0 == 2
  451. Class.tests.cpp:<line number>
  452. </failure>
  453. </testCase>
  454. <testCase name="A TEMPLATE_TEST_CASE_METHOD based test run that fails - float" duration="{duration}">
  455. <failure message="REQUIRE(Template_Fixture&lt;TestType>::m_a == 2)">
  456. FAILED:
  457. REQUIRE( Template_Fixture&lt;TestType>::m_a == 2 )
  458. with expansion:
  459. 1.0f == 2
  460. Class.tests.cpp:<line number>
  461. </failure>
  462. </testCase>
  463. <testCase name="A TEMPLATE_TEST_CASE_METHOD based test run that fails - int" duration="{duration}">
  464. <failure message="REQUIRE(Template_Fixture&lt;TestType>::m_a == 2)">
  465. FAILED:
  466. REQUIRE( Template_Fixture&lt;TestType>::m_a == 2 )
  467. with expansion:
  468. 1 == 2
  469. Class.tests.cpp:<line number>
  470. </failure>
  471. </testCase>
  472. <testCase name="A TEMPLATE_TEST_CASE_METHOD based test run that succeeds - double" duration="{duration}"/>
  473. <testCase name="A TEMPLATE_TEST_CASE_METHOD based test run that succeeds - float" duration="{duration}"/>
  474. <testCase name="A TEMPLATE_TEST_CASE_METHOD based test run that succeeds - int" duration="{duration}"/>
  475. <testCase name="A TEMPLATE_TEST_CASE_METHOD_SIG based test run that fails - 1" duration="{duration}">
  476. <failure message="REQUIRE(Nttp_Fixture&lt;V>::value == 0)">
  477. FAILED:
  478. REQUIRE( Nttp_Fixture&lt;V>::value == 0 )
  479. with expansion:
  480. 1 == 0
  481. Class.tests.cpp:<line number>
  482. </failure>
  483. </testCase>
  484. <testCase name="A TEMPLATE_TEST_CASE_METHOD_SIG based test run that fails - 3" duration="{duration}">
  485. <failure message="REQUIRE(Nttp_Fixture&lt;V>::value == 0)">
  486. FAILED:
  487. REQUIRE( Nttp_Fixture&lt;V>::value == 0 )
  488. with expansion:
  489. 3 == 0
  490. Class.tests.cpp:<line number>
  491. </failure>
  492. </testCase>
  493. <testCase name="A TEMPLATE_TEST_CASE_METHOD_SIG based test run that fails - 6" duration="{duration}">
  494. <failure message="REQUIRE(Nttp_Fixture&lt;V>::value == 0)">
  495. FAILED:
  496. REQUIRE( Nttp_Fixture&lt;V>::value == 0 )
  497. with expansion:
  498. 6 == 0
  499. Class.tests.cpp:<line number>
  500. </failure>
  501. </testCase>
  502. <testCase name="A TEMPLATE_TEST_CASE_METHOD_SIG based test run that succeeds - 1" duration="{duration}"/>
  503. <testCase name="A TEMPLATE_TEST_CASE_METHOD_SIG based test run that succeeds - 3" duration="{duration}"/>
  504. <testCase name="A TEMPLATE_TEST_CASE_METHOD_SIG based test run that succeeds - 6" duration="{duration}"/>
  505. <testCase name="A TEST_CASE_METHOD based test run that fails" duration="{duration}">
  506. <failure message="REQUIRE(m_a == 2)">
  507. FAILED:
  508. REQUIRE( m_a == 2 )
  509. with expansion:
  510. 1 == 2
  511. Class.tests.cpp:<line number>
  512. </failure>
  513. </testCase>
  514. <testCase name="A TEST_CASE_METHOD based test run that succeeds" duration="{duration}"/>
  515. <testCase name="Template test case method with test types specified inside std::tuple - MyTypes - 0" duration="{duration}"/>
  516. <testCase name="Template test case method with test types specified inside std::tuple - MyTypes - 1" duration="{duration}"/>
  517. <testCase name="Template test case method with test types specified inside std::tuple - MyTypes - 2" duration="{duration}"/>
  518. </file>
  519. <file path="tests/<exe-name>/UsageTests/Compilation.tests.cpp">
  520. <testCase name="#1027: Bitfields can be captured" duration="{duration}"/>
  521. <testCase name="#1147" duration="{duration}"/>
  522. <testCase name="#1238" duration="{duration}"/>
  523. <testCase name="#1245" duration="{duration}"/>
  524. <testCase name="#1319: Sections can have description (even if it is not saved/SectionName" duration="{duration}"/>
  525. <testCase name="#1403" duration="{duration}"/>
  526. <testCase name="#1548" duration="{duration}"/>
  527. <testCase name="#809" duration="{duration}"/>
  528. <testCase name="#833" duration="{duration}"/>
  529. <testCase name="#872" duration="{duration}"/>
  530. <testCase name="Assertion macros support bit operators and bool conversions" duration="{duration}"/>
  531. <testCase name="Lambdas in assertions" duration="{duration}"/>
  532. <testCase name="Optionally static assertions" duration="{duration}"/>
  533. </file>
  534. <file path="tests/<exe-name>/UsageTests/Condition.tests.cpp">
  535. <testCase name="'Not' checks that should fail" duration="{duration}">
  536. <failure message="CHECK(false != false)">
  537. FAILED:
  538. CHECK( false != false )
  539. Condition.tests.cpp:<line number>
  540. </failure>
  541. <failure message="CHECK(true != true)">
  542. FAILED:
  543. CHECK( true != true )
  544. Condition.tests.cpp:<line number>
  545. </failure>
  546. <failure message="CHECK(!true)">
  547. FAILED:
  548. CHECK( !true )
  549. with expansion:
  550. false
  551. Condition.tests.cpp:<line number>
  552. </failure>
  553. <failure message="CHECK_FALSE(!(true))">
  554. FAILED:
  555. CHECK_FALSE( true )
  556. with expansion:
  557. !true
  558. Condition.tests.cpp:<line number>
  559. </failure>
  560. <failure message="CHECK(!trueValue)">
  561. FAILED:
  562. CHECK( !trueValue )
  563. with expansion:
  564. false
  565. Condition.tests.cpp:<line number>
  566. </failure>
  567. <failure message="CHECK_FALSE(!(trueValue))">
  568. FAILED:
  569. CHECK_FALSE( trueValue )
  570. with expansion:
  571. !true
  572. Condition.tests.cpp:<line number>
  573. </failure>
  574. <failure message="CHECK(!(1 == 1))">
  575. FAILED:
  576. CHECK( !(1 == 1) )
  577. with expansion:
  578. false
  579. Condition.tests.cpp:<line number>
  580. </failure>
  581. <failure message="CHECK_FALSE(!(1 == 1))">
  582. FAILED:
  583. CHECK_FALSE( 1 == 1 )
  584. Condition.tests.cpp:<line number>
  585. </failure>
  586. </testCase>
  587. <testCase name="'Not' checks that should succeed" duration="{duration}"/>
  588. <testCase name="Comparisons between ints where one side is computed" duration="{duration}"/>
  589. <testCase name="Comparisons between unsigned ints and negative signed ints match c++ standard behaviour" duration="{duration}"/>
  590. <testCase name="Comparisons with int literals don't warn when mixing signed/ unsigned" duration="{duration}"/>
  591. <testCase name="Equality checks that should fail" duration="{duration}">
  592. <skipped message="CHECK(data.int_seven == 6)">
  593. FAILED:
  594. CHECK( data.int_seven == 6 )
  595. with expansion:
  596. 7 == 6
  597. Condition.tests.cpp:<line number>
  598. </skipped>
  599. <skipped message="CHECK(data.int_seven == 8)">
  600. FAILED:
  601. CHECK( data.int_seven == 8 )
  602. with expansion:
  603. 7 == 8
  604. Condition.tests.cpp:<line number>
  605. </skipped>
  606. <skipped message="CHECK(data.int_seven == 0)">
  607. FAILED:
  608. CHECK( data.int_seven == 0 )
  609. with expansion:
  610. 7 == 0
  611. Condition.tests.cpp:<line number>
  612. </skipped>
  613. <skipped message="CHECK(data.float_nine_point_one == Approx( 9.11f ))">
  614. FAILED:
  615. CHECK( data.float_nine_point_one == Approx( 9.11f ) )
  616. with expansion:
  617. 9.1f == Approx( 9.1099996567 )
  618. Condition.tests.cpp:<line number>
  619. </skipped>
  620. <skipped message="CHECK(data.float_nine_point_one == Approx( 9.0f ))">
  621. FAILED:
  622. CHECK( data.float_nine_point_one == Approx( 9.0f ) )
  623. with expansion:
  624. 9.1f == Approx( 9.0 )
  625. Condition.tests.cpp:<line number>
  626. </skipped>
  627. <skipped message="CHECK(data.float_nine_point_one == Approx( 1 ))">
  628. FAILED:
  629. CHECK( data.float_nine_point_one == Approx( 1 ) )
  630. with expansion:
  631. 9.1f == Approx( 1.0 )
  632. Condition.tests.cpp:<line number>
  633. </skipped>
  634. <skipped message="CHECK(data.float_nine_point_one == Approx( 0 ))">
  635. FAILED:
  636. CHECK( data.float_nine_point_one == Approx( 0 ) )
  637. with expansion:
  638. 9.1f == Approx( 0.0 )
  639. Condition.tests.cpp:<line number>
  640. </skipped>
  641. <skipped message="CHECK(data.double_pi == Approx( 3.1415 ))">
  642. FAILED:
  643. CHECK( data.double_pi == Approx( 3.1415 ) )
  644. with expansion:
  645. 3.1415926535 == Approx( 3.1415 )
  646. Condition.tests.cpp:<line number>
  647. </skipped>
  648. <skipped message="CHECK(data.str_hello == &quot;goodbye&quot;)">
  649. FAILED:
  650. CHECK( data.str_hello == "goodbye" )
  651. with expansion:
  652. "hello" == "goodbye"
  653. Condition.tests.cpp:<line number>
  654. </skipped>
  655. <skipped message="CHECK(data.str_hello == &quot;hell&quot;)">
  656. FAILED:
  657. CHECK( data.str_hello == "hell" )
  658. with expansion:
  659. "hello" == "hell"
  660. Condition.tests.cpp:<line number>
  661. </skipped>
  662. <skipped message="CHECK(data.str_hello == &quot;hello1&quot;)">
  663. FAILED:
  664. CHECK( data.str_hello == "hello1" )
  665. with expansion:
  666. "hello" == "hello1"
  667. Condition.tests.cpp:<line number>
  668. </skipped>
  669. <skipped message="CHECK(data.str_hello.size() == 6)">
  670. FAILED:
  671. CHECK( data.str_hello.size() == 6 )
  672. with expansion:
  673. 5 == 6
  674. Condition.tests.cpp:<line number>
  675. </skipped>
  676. <skipped message="CHECK(x == Approx( 1.301 ))">
  677. FAILED:
  678. CHECK( x == Approx( 1.301 ) )
  679. with expansion:
  680. 1.3 == Approx( 1.301 )
  681. Condition.tests.cpp:<line number>
  682. </skipped>
  683. </testCase>
  684. <testCase name="Equality checks that should succeed" duration="{duration}"/>
  685. <testCase name="Inequality checks that should fail" duration="{duration}">
  686. <skipped message="CHECK(data.int_seven != 7)">
  687. FAILED:
  688. CHECK( data.int_seven != 7 )
  689. with expansion:
  690. 7 != 7
  691. Condition.tests.cpp:<line number>
  692. </skipped>
  693. <skipped message="CHECK(data.float_nine_point_one != Approx( 9.1f ))">
  694. FAILED:
  695. CHECK( data.float_nine_point_one != Approx( 9.1f ) )
  696. with expansion:
  697. 9.1f != Approx( 9.1000003815 )
  698. Condition.tests.cpp:<line number>
  699. </skipped>
  700. <skipped message="CHECK(data.double_pi != Approx( 3.1415926535 ))">
  701. FAILED:
  702. CHECK( data.double_pi != Approx( 3.1415926535 ) )
  703. with expansion:
  704. 3.1415926535 != Approx( 3.1415926535 )
  705. Condition.tests.cpp:<line number>
  706. </skipped>
  707. <skipped message="CHECK(data.str_hello != &quot;hello&quot;)">
  708. FAILED:
  709. CHECK( data.str_hello != "hello" )
  710. with expansion:
  711. "hello" != "hello"
  712. Condition.tests.cpp:<line number>
  713. </skipped>
  714. <skipped message="CHECK(data.str_hello.size() != 5)">
  715. FAILED:
  716. CHECK( data.str_hello.size() != 5 )
  717. with expansion:
  718. 5 != 5
  719. Condition.tests.cpp:<line number>
  720. </skipped>
  721. </testCase>
  722. <testCase name="Inequality checks that should succeed" duration="{duration}"/>
  723. <testCase name="Mayfail test case with nested sections/1/A" duration="{duration}">
  724. <skipped message="FAIL()">
  725. FAILED:
  726. Condition.tests.cpp:<line number>
  727. </skipped>
  728. </testCase>
  729. <testCase name="Mayfail test case with nested sections/2/A" duration="{duration}">
  730. <skipped message="FAIL()">
  731. FAILED:
  732. Condition.tests.cpp:<line number>
  733. </skipped>
  734. </testCase>
  735. <testCase name="Mayfail test case with nested sections/1/B" duration="{duration}">
  736. <skipped message="FAIL()">
  737. FAILED:
  738. Condition.tests.cpp:<line number>
  739. </skipped>
  740. </testCase>
  741. <testCase name="Mayfail test case with nested sections/2/B" duration="{duration}">
  742. <skipped message="FAIL()">
  743. FAILED:
  744. Condition.tests.cpp:<line number>
  745. </skipped>
  746. </testCase>
  747. <testCase name="Ordering comparison checks that should fail" duration="{duration}">
  748. <failure message="CHECK(data.int_seven > 7)">
  749. FAILED:
  750. CHECK( data.int_seven > 7 )
  751. with expansion:
  752. 7 > 7
  753. Condition.tests.cpp:<line number>
  754. </failure>
  755. <failure message="CHECK(data.int_seven &lt; 7)">
  756. FAILED:
  757. CHECK( data.int_seven &lt; 7 )
  758. with expansion:
  759. 7 &lt; 7
  760. Condition.tests.cpp:<line number>
  761. </failure>
  762. <failure message="CHECK(data.int_seven > 8)">
  763. FAILED:
  764. CHECK( data.int_seven > 8 )
  765. with expansion:
  766. 7 > 8
  767. Condition.tests.cpp:<line number>
  768. </failure>
  769. <failure message="CHECK(data.int_seven &lt; 6)">
  770. FAILED:
  771. CHECK( data.int_seven &lt; 6 )
  772. with expansion:
  773. 7 &lt; 6
  774. Condition.tests.cpp:<line number>
  775. </failure>
  776. <failure message="CHECK(data.int_seven &lt; 0)">
  777. FAILED:
  778. CHECK( data.int_seven &lt; 0 )
  779. with expansion:
  780. 7 &lt; 0
  781. Condition.tests.cpp:<line number>
  782. </failure>
  783. <failure message="CHECK(data.int_seven &lt; -1)">
  784. FAILED:
  785. CHECK( data.int_seven &lt; -1 )
  786. with expansion:
  787. 7 &lt; -1
  788. Condition.tests.cpp:<line number>
  789. </failure>
  790. <failure message="CHECK(data.int_seven >= 8)">
  791. FAILED:
  792. CHECK( data.int_seven >= 8 )
  793. with expansion:
  794. 7 >= 8
  795. Condition.tests.cpp:<line number>
  796. </failure>
  797. <failure message="CHECK(data.int_seven &lt;= 6)">
  798. FAILED:
  799. CHECK( data.int_seven &lt;= 6 )
  800. with expansion:
  801. 7 &lt;= 6
  802. Condition.tests.cpp:<line number>
  803. </failure>
  804. <failure message="CHECK(data.float_nine_point_one &lt; 9)">
  805. FAILED:
  806. CHECK( data.float_nine_point_one &lt; 9 )
  807. with expansion:
  808. 9.1f &lt; 9
  809. Condition.tests.cpp:<line number>
  810. </failure>
  811. <failure message="CHECK(data.float_nine_point_one > 10)">
  812. FAILED:
  813. CHECK( data.float_nine_point_one > 10 )
  814. with expansion:
  815. 9.1f > 10
  816. Condition.tests.cpp:<line number>
  817. </failure>
  818. <failure message="CHECK(data.float_nine_point_one > 9.2)">
  819. FAILED:
  820. CHECK( data.float_nine_point_one > 9.2 )
  821. with expansion:
  822. 9.1f > 9.2
  823. Condition.tests.cpp:<line number>
  824. </failure>
  825. <failure message="CHECK(data.str_hello > &quot;hello&quot;)">
  826. FAILED:
  827. CHECK( data.str_hello > "hello" )
  828. with expansion:
  829. "hello" > "hello"
  830. Condition.tests.cpp:<line number>
  831. </failure>
  832. <failure message="CHECK(data.str_hello &lt; &quot;hello&quot;)">
  833. FAILED:
  834. CHECK( data.str_hello &lt; "hello" )
  835. with expansion:
  836. "hello" &lt; "hello"
  837. Condition.tests.cpp:<line number>
  838. </failure>
  839. <failure message="CHECK(data.str_hello > &quot;hellp&quot;)">
  840. FAILED:
  841. CHECK( data.str_hello > "hellp" )
  842. with expansion:
  843. "hello" > "hellp"
  844. Condition.tests.cpp:<line number>
  845. </failure>
  846. <failure message="CHECK(data.str_hello > &quot;z&quot;)">
  847. FAILED:
  848. CHECK( data.str_hello > "z" )
  849. with expansion:
  850. "hello" > "z"
  851. Condition.tests.cpp:<line number>
  852. </failure>
  853. <failure message="CHECK(data.str_hello &lt; &quot;hellm&quot;)">
  854. FAILED:
  855. CHECK( data.str_hello &lt; "hellm" )
  856. with expansion:
  857. "hello" &lt; "hellm"
  858. Condition.tests.cpp:<line number>
  859. </failure>
  860. <failure message="CHECK(data.str_hello &lt; &quot;a&quot;)">
  861. FAILED:
  862. CHECK( data.str_hello &lt; "a" )
  863. with expansion:
  864. "hello" &lt; "a"
  865. Condition.tests.cpp:<line number>
  866. </failure>
  867. <failure message="CHECK(data.str_hello >= &quot;z&quot;)">
  868. FAILED:
  869. CHECK( data.str_hello >= "z" )
  870. with expansion:
  871. "hello" >= "z"
  872. Condition.tests.cpp:<line number>
  873. </failure>
  874. <failure message="CHECK(data.str_hello &lt;= &quot;a&quot;)">
  875. FAILED:
  876. CHECK( data.str_hello &lt;= "a" )
  877. with expansion:
  878. "hello" &lt;= "a"
  879. Condition.tests.cpp:<line number>
  880. </failure>
  881. </testCase>
  882. <testCase name="Ordering comparison checks that should succeed" duration="{duration}"/>
  883. <testCase name="Pointers can be compared to null" duration="{duration}"/>
  884. <testCase name="comparisons between const int variables" duration="{duration}"/>
  885. <testCase name="comparisons between int variables" duration="{duration}"/>
  886. </file>
  887. <file path="tests/<exe-name>/UsageTests/Decomposition.tests.cpp">
  888. <testCase name="Reconstruction should be based on stringification: #914" duration="{duration}">
  889. <failure message="CHECK(truthy(false))">
  890. FAILED:
  891. CHECK( truthy(false) )
  892. with expansion:
  893. Hey, its truthy!
  894. Decomposition.tests.cpp:<line number>
  895. </failure>
  896. </testCase>
  897. </file>
  898. <file path="tests/<exe-name>/UsageTests/EnumToString.tests.cpp">
  899. <testCase name="Enums can quickly have stringification enabled using REGISTER_ENUM" duration="{duration}"/>
  900. <testCase name="Enums in namespaces can quickly have stringification enabled using REGISTER_ENUM" duration="{duration}"/>
  901. <testCase name="toString(enum class w/operator&lt;&lt;)" duration="{duration}"/>
  902. <testCase name="toString(enum class)" duration="{duration}"/>
  903. <testCase name="toString(enum w/operator&lt;&lt;)" duration="{duration}"/>
  904. <testCase name="toString(enum)" duration="{duration}"/>
  905. </file>
  906. <file path="tests/<exe-name>/UsageTests/Exception.tests.cpp">
  907. <testCase name="#748 - captures with unexpected exceptions/outside assertions" duration="{duration}">
  908. <skipped message="TEST_CASE()">
  909. FAILED:
  910. expected exception
  911. answer := 42
  912. Exception.tests.cpp:<line number>
  913. </skipped>
  914. </testCase>
  915. <testCase name="#748 - captures with unexpected exceptions/inside REQUIRE_NOTHROW" duration="{duration}">
  916. <skipped message="REQUIRE_NOTHROW(thisThrows())">
  917. FAILED:
  918. REQUIRE_NOTHROW( thisThrows() )
  919. expected exception
  920. answer := 42
  921. Exception.tests.cpp:<line number>
  922. </skipped>
  923. </testCase>
  924. <testCase name="#748 - captures with unexpected exceptions/inside REQUIRE_THROWS" duration="{duration}"/>
  925. <testCase name="An unchecked exception reports the line of the last assertion" duration="{duration}">
  926. <error message="({Unknown expression after the reported line})">
  927. FAILED:
  928. {Unknown expression after the reported line}
  929. unexpected exception
  930. Exception.tests.cpp:<line number>
  931. </error>
  932. </testCase>
  933. <testCase name="Custom exceptions can be translated when testing for nothrow" duration="{duration}">
  934. <error message="REQUIRE_NOTHROW(throwCustom())">
  935. FAILED:
  936. REQUIRE_NOTHROW( throwCustom() )
  937. custom exception - not std
  938. Exception.tests.cpp:<line number>
  939. </error>
  940. </testCase>
  941. <testCase name="Custom exceptions can be translated when testing for throwing as something else" duration="{duration}">
  942. <error message="REQUIRE_THROWS_AS(throwCustom(), std::exception)">
  943. FAILED:
  944. REQUIRE_THROWS_AS( throwCustom(), std::exception )
  945. custom exception - not std
  946. Exception.tests.cpp:<line number>
  947. </error>
  948. </testCase>
  949. <testCase name="Custom std-exceptions can be custom translated" duration="{duration}">
  950. <error message="TEST_CASE()">
  951. FAILED:
  952. custom std exception
  953. Exception.tests.cpp:<line number>
  954. </error>
  955. </testCase>
  956. <testCase name="Exception messages can be tested for/exact match" duration="{duration}"/>
  957. <testCase name="Exception messages can be tested for/different case" duration="{duration}"/>
  958. <testCase name="Exception messages can be tested for/wildcarded" duration="{duration}"/>
  959. <testCase name="Expected exceptions that don't throw or unexpected exceptions fail the test" duration="{duration}">
  960. <error message="CHECK_THROWS_AS(thisThrows(), std::string)">
  961. FAILED:
  962. CHECK_THROWS_AS( thisThrows(), std::string )
  963. expected exception
  964. Exception.tests.cpp:<line number>
  965. </error>
  966. <failure message="CHECK_THROWS_AS(thisDoesntThrow(), std::domain_error)">
  967. FAILED:
  968. CHECK_THROWS_AS( thisDoesntThrow(), std::domain_error )
  969. Exception.tests.cpp:<line number>
  970. </failure>
  971. <error message="CHECK_NOTHROW(thisThrows())">
  972. FAILED:
  973. CHECK_NOTHROW( thisThrows() )
  974. expected exception
  975. Exception.tests.cpp:<line number>
  976. </error>
  977. </testCase>
  978. <testCase name="Mismatching exception messages failing the test" duration="{duration}">
  979. <failure message="REQUIRE_THROWS_WITH(thisThrows(), &quot;should fail&quot;)">
  980. FAILED:
  981. REQUIRE_THROWS_WITH( thisThrows(), "should fail" )
  982. with expansion:
  983. "expected exception" equals: "should fail"
  984. Exception.tests.cpp:<line number>
  985. </failure>
  986. </testCase>
  987. <testCase name="Non-std exceptions can be translated" duration="{duration}">
  988. <error message="TEST_CASE()">
  989. FAILED:
  990. custom exception
  991. Exception.tests.cpp:<line number>
  992. </error>
  993. </testCase>
  994. <testCase name="Thrown string literals are translated" duration="{duration}">
  995. <error message="TEST_CASE()">
  996. FAILED:
  997. For some reason someone is throwing a string literal!
  998. Exception.tests.cpp:<line number>
  999. </error>
  1000. </testCase>
  1001. <testCase name="Unexpected exceptions can be translated" duration="{duration}">
  1002. <error message="TEST_CASE()">
  1003. FAILED:
  1004. 3.14
  1005. Exception.tests.cpp:<line number>
  1006. </error>
  1007. </testCase>
  1008. <testCase name="When checked exceptions are thrown they can be expected or unexpected" duration="{duration}"/>
  1009. <testCase name="When unchecked exceptions are thrown directly they are always failures" duration="{duration}">
  1010. <error message="TEST_CASE()">
  1011. FAILED:
  1012. unexpected exception
  1013. Exception.tests.cpp:<line number>
  1014. </error>
  1015. </testCase>
  1016. <testCase name="When unchecked exceptions are thrown during a CHECK the test should continue" duration="{duration}">
  1017. <error message="CHECK(thisThrows() == 0)">
  1018. FAILED:
  1019. CHECK( thisThrows() == 0 )
  1020. expected exception
  1021. Exception.tests.cpp:<line number>
  1022. </error>
  1023. </testCase>
  1024. <testCase name="When unchecked exceptions are thrown during a REQUIRE the test should abort fail" duration="{duration}">
  1025. <error message="REQUIRE(thisThrows() == 0)">
  1026. FAILED:
  1027. REQUIRE( thisThrows() == 0 )
  1028. expected exception
  1029. Exception.tests.cpp:<line number>
  1030. </error>
  1031. </testCase>
  1032. <testCase name="When unchecked exceptions are thrown from functions they are always failures" duration="{duration}">
  1033. <error message="CHECK(thisThrows() == 0)">
  1034. FAILED:
  1035. CHECK( thisThrows() == 0 )
  1036. expected exception
  1037. Exception.tests.cpp:<line number>
  1038. </error>
  1039. </testCase>
  1040. <testCase name="When unchecked exceptions are thrown from sections they are always failures/section name" duration="{duration}">
  1041. <error message="TEST_CASE()">
  1042. FAILED:
  1043. unexpected exception
  1044. Exception.tests.cpp:<line number>
  1045. </error>
  1046. </testCase>
  1047. <testCase name="thrown std::strings are translated" duration="{duration}">
  1048. <error message="TEST_CASE()">
  1049. FAILED:
  1050. Why would you throw a std::string?
  1051. Exception.tests.cpp:<line number>
  1052. </error>
  1053. </testCase>
  1054. </file>
  1055. <file path="tests/<exe-name>/UsageTests/Generators.tests.cpp">
  1056. <testCase name="#1913 - GENERATE inside a for loop should not keep recreating the generator" duration="{duration}"/>
  1057. <testCase name="#1913 - GENERATEs can share a line" duration="{duration}"/>
  1058. <testCase name="3x3x3 ints" duration="{duration}"/>
  1059. <testCase name="Copy and then generate a range/from var and iterators" duration="{duration}"/>
  1060. <testCase name="Copy and then generate a range/From a temporary container" duration="{duration}"/>
  1061. <testCase name="Copy and then generate a range/Final validation" duration="{duration}"/>
  1062. <testCase name="Generators -- adapters/Filtering by predicate/Basic usage" duration="{duration}"/>
  1063. <testCase name="Generators -- adapters/Filtering by predicate/Throws if there are no matching values" duration="{duration}"/>
  1064. <testCase name="Generators -- adapters/Shortening a range" duration="{duration}"/>
  1065. <testCase name="Generators -- adapters/Transforming elements/Same type" duration="{duration}"/>
  1066. <testCase name="Generators -- adapters/Transforming elements/Different type" duration="{duration}"/>
  1067. <testCase name="Generators -- adapters/Transforming elements/Different deduced type" duration="{duration}"/>
  1068. <testCase name="Generators -- adapters/Repeating a generator" duration="{duration}"/>
  1069. <testCase name="Generators -- adapters/Chunking a generator into sized pieces/Number of elements in source is divisible by chunk size" duration="{duration}"/>
  1070. <testCase name="Generators -- adapters/Chunking a generator into sized pieces/Number of elements in source is not divisible by chunk size" duration="{duration}"/>
  1071. <testCase name="Generators -- adapters/Chunking a generator into sized pieces/Chunk size of zero" duration="{duration}"/>
  1072. <testCase name="Generators -- adapters/Chunking a generator into sized pieces/Throws on too small generators" duration="{duration}"/>
  1073. <testCase name="Generators -- simple/one" duration="{duration}"/>
  1074. <testCase name="Generators -- simple/two" duration="{duration}"/>
  1075. <testCase name="Nested generators and captured variables" duration="{duration}"/>
  1076. <testCase name="strlen3" duration="{duration}"/>
  1077. <testCase name="tables" duration="{duration}"/>
  1078. </file>
  1079. <file path="tests/<exe-name>/UsageTests/Matchers.tests.cpp">
  1080. <testCase name="#2152 - ULP checks between differently signed values were wrong - double" duration="{duration}"/>
  1081. <testCase name="#2152 - ULP checks between differently signed values were wrong - float" duration="{duration}"/>
  1082. <testCase name="Arbitrary predicate matcher/Function pointer" duration="{duration}"/>
  1083. <testCase name="Arbitrary predicate matcher/Lambdas + different type" duration="{duration}"/>
  1084. <testCase name="Combining MatchAllOfGeneric does not nest" duration="{duration}"/>
  1085. <testCase name="Combining MatchAnyOfGeneric does not nest" duration="{duration}"/>
  1086. <testCase name="Combining MatchNotOfGeneric does not nest" duration="{duration}"/>
  1087. <testCase name="Combining concrete matchers does not use templated matchers" duration="{duration}"/>
  1088. <testCase name="Combining only templated matchers" duration="{duration}"/>
  1089. <testCase name="Combining templated and concrete matchers" duration="{duration}"/>
  1090. <testCase name="Combining templated matchers" duration="{duration}"/>
  1091. <testCase name="Composed generic matchers shortcircuit/MatchAllOf" duration="{duration}"/>
  1092. <testCase name="Composed generic matchers shortcircuit/MatchAnyOf" duration="{duration}"/>
  1093. <testCase name="Composed matchers shortcircuit/MatchAllOf" duration="{duration}"/>
  1094. <testCase name="Composed matchers shortcircuit/MatchAnyOf" duration="{duration}"/>
  1095. <testCase name="Contains string matcher" duration="{duration}">
  1096. <failure message="CHECK_THAT(testStringForMatching(), ContainsSubstring( &quot;not there&quot;, Catch::CaseSensitive::No ))">
  1097. FAILED:
  1098. CHECK_THAT( testStringForMatching(), ContainsSubstring( "not there", Catch::CaseSensitive::No ) )
  1099. with expansion:
  1100. "this string contains 'abc' as a substring" contains: "not there" (case insensitive)
  1101. Matchers.tests.cpp:<line number>
  1102. </failure>
  1103. <failure message="CHECK_THAT(testStringForMatching(), ContainsSubstring( &quot;STRING&quot; ))">
  1104. FAILED:
  1105. CHECK_THAT( testStringForMatching(), ContainsSubstring( "STRING" ) )
  1106. with expansion:
  1107. "this string contains 'abc' as a substring" contains: "STRING"
  1108. Matchers.tests.cpp:<line number>
  1109. </failure>
  1110. </testCase>
  1111. <testCase name="EndsWith string matcher" duration="{duration}">
  1112. <failure message="CHECK_THAT(testStringForMatching(), EndsWith( &quot;Substring&quot; ))">
  1113. FAILED:
  1114. CHECK_THAT( testStringForMatching(), EndsWith( "Substring" ) )
  1115. with expansion:
  1116. "this string contains 'abc' as a substring" ends with: "Substring"
  1117. Matchers.tests.cpp:<line number>
  1118. </failure>
  1119. <failure message="CHECK_THAT(testStringForMatching(), EndsWith( &quot;this&quot;, Catch::CaseSensitive::No ))">
  1120. FAILED:
  1121. CHECK_THAT( testStringForMatching(), EndsWith( "this", Catch::CaseSensitive::No ) )
  1122. with expansion:
  1123. "this string contains 'abc' as a substring" ends with: "this" (case insensitive)
  1124. Matchers.tests.cpp:<line number>
  1125. </failure>
  1126. </testCase>
  1127. <testCase name="Equals" duration="{duration}"/>
  1128. <testCase name="Equals string matcher" duration="{duration}">
  1129. <failure message="CHECK_THAT(testStringForMatching(), Equals( &quot;this string contains 'ABC' as a substring&quot; ))">
  1130. FAILED:
  1131. CHECK_THAT( testStringForMatching(), Equals( "this string contains 'ABC' as a substring" ) )
  1132. with expansion:
  1133. "this string contains 'abc' as a substring" equals: "this string contains 'ABC' as a substring"
  1134. Matchers.tests.cpp:<line number>
  1135. </failure>
  1136. <failure message="CHECK_THAT(testStringForMatching(), Equals( &quot;something else&quot;, Catch::CaseSensitive::No ))">
  1137. FAILED:
  1138. CHECK_THAT( testStringForMatching(), Equals( "something else", Catch::CaseSensitive::No ) )
  1139. with expansion:
  1140. "this string contains 'abc' as a substring" equals: "something else" (case insensitive)
  1141. Matchers.tests.cpp:<line number>
  1142. </failure>
  1143. </testCase>
  1144. <testCase name="Exception matchers that fail/No exception" duration="{duration}">
  1145. <failure message="CHECK_THROWS_MATCHES(doesNotThrow(), SpecialException, ExceptionMatcher{ 1 })">
  1146. FAILED:
  1147. CHECK_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } )
  1148. Matchers.tests.cpp:<line number>
  1149. </failure>
  1150. <failure message="REQUIRE_THROWS_MATCHES(doesNotThrow(), SpecialException, ExceptionMatcher{ 1 })">
  1151. FAILED:
  1152. REQUIRE_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } )
  1153. Matchers.tests.cpp:<line number>
  1154. </failure>
  1155. </testCase>
  1156. <testCase name="Exception matchers that fail/Type mismatch" duration="{duration}">
  1157. <error message="CHECK_THROWS_MATCHES(throwsAsInt( 1 ), SpecialException, ExceptionMatcher{ 1 })">
  1158. FAILED:
  1159. CHECK_THROWS_MATCHES( throwsAsInt( 1 ), SpecialException, ExceptionMatcher{ 1 } )
  1160. Unknown exception
  1161. Matchers.tests.cpp:<line number>
  1162. </error>
  1163. <error message="REQUIRE_THROWS_MATCHES(throwsAsInt( 1 ), SpecialException, ExceptionMatcher{ 1 })">
  1164. FAILED:
  1165. REQUIRE_THROWS_MATCHES( throwsAsInt( 1 ), SpecialException, ExceptionMatcher{ 1 } )
  1166. Unknown exception
  1167. Matchers.tests.cpp:<line number>
  1168. </error>
  1169. </testCase>
  1170. <testCase name="Exception matchers that fail/Contents are wrong" duration="{duration}">
  1171. <failure message="CHECK_THROWS_MATCHES(throwsSpecialException( 3 ), SpecialException, ExceptionMatcher{ 1 })">
  1172. FAILED:
  1173. CHECK_THROWS_MATCHES( throwsSpecialException( 3 ), SpecialException, ExceptionMatcher{ 1 } )
  1174. with expansion:
  1175. SpecialException::what special exception has value of 1
  1176. Matchers.tests.cpp:<line number>
  1177. </failure>
  1178. <failure message="REQUIRE_THROWS_MATCHES(throwsSpecialException( 4 ), SpecialException, ExceptionMatcher{ 1 })">
  1179. FAILED:
  1180. REQUIRE_THROWS_MATCHES( throwsSpecialException( 4 ), SpecialException, ExceptionMatcher{ 1 } )
  1181. with expansion:
  1182. SpecialException::what special exception has value of 1
  1183. Matchers.tests.cpp:<line number>
  1184. </failure>
  1185. </testCase>
  1186. <testCase name="Exception matchers that succeed" duration="{duration}"/>
  1187. <testCase name="Exceptions matchers" duration="{duration}"/>
  1188. <testCase name="Floating point matchers: double/Relative" duration="{duration}"/>
  1189. <testCase name="Floating point matchers: double/Relative/Some subnormal values" duration="{duration}"/>
  1190. <testCase name="Floating point matchers: double/Margin" duration="{duration}"/>
  1191. <testCase name="Floating point matchers: double/ULPs" duration="{duration}"/>
  1192. <testCase name="Floating point matchers: double/Composed" duration="{duration}"/>
  1193. <testCase name="Floating point matchers: double/Constructor validation" duration="{duration}"/>
  1194. <testCase name="Floating point matchers: float/Relative" duration="{duration}"/>
  1195. <testCase name="Floating point matchers: float/Relative/Some subnormal values" duration="{duration}"/>
  1196. <testCase name="Floating point matchers: float/Margin" duration="{duration}"/>
  1197. <testCase name="Floating point matchers: float/ULPs" duration="{duration}"/>
  1198. <testCase name="Floating point matchers: float/Composed" duration="{duration}"/>
  1199. <testCase name="Floating point matchers: float/Constructor validation" duration="{duration}"/>
  1200. <testCase name="Matchers can be (AllOf) composed with the &amp;&amp; operator" duration="{duration}"/>
  1201. <testCase name="Matchers can be (AnyOf) composed with the || operator" duration="{duration}"/>
  1202. <testCase name="Matchers can be composed with both &amp;&amp; and ||" duration="{duration}"/>
  1203. <testCase name="Matchers can be composed with both &amp;&amp; and || - failing" duration="{duration}">
  1204. <failure message="CHECK_THAT(testStringForMatching(), ( ContainsSubstring( &quot;string&quot; ) || ContainsSubstring( &quot;different&quot; ) ) &amp;&amp; ContainsSubstring( &quot;random&quot; ))">
  1205. FAILED:
  1206. CHECK_THAT( testStringForMatching(), ( ContainsSubstring( "string" ) || ContainsSubstring( "different" ) ) &amp;&amp; ContainsSubstring( "random" ) )
  1207. with expansion:
  1208. "this string contains 'abc' as a substring" ( ( contains: "string" or contains: "different" ) and contains: "random" )
  1209. Matchers.tests.cpp:<line number>
  1210. </failure>
  1211. </testCase>
  1212. <testCase name="Matchers can be negated (Not) with the ! operator" duration="{duration}"/>
  1213. <testCase name="Matchers can be negated (Not) with the ! operator - failing" duration="{duration}">
  1214. <failure message="CHECK_THAT(testStringForMatching(), !ContainsSubstring( &quot;substring&quot; ))">
  1215. FAILED:
  1216. CHECK_THAT( testStringForMatching(), !ContainsSubstring( "substring" ) )
  1217. with expansion:
  1218. "this string contains 'abc' as a substring" not contains: "substring"
  1219. Matchers.tests.cpp:<line number>
  1220. </failure>
  1221. </testCase>
  1222. <testCase name="Overloaded comma or address-of operators are not used" duration="{duration}"/>
  1223. <testCase name="Predicate matcher can accept const char*" duration="{duration}"/>
  1224. <testCase name="Regex string matcher" duration="{duration}">
  1225. <failure message="CHECK_THAT(testStringForMatching(), Matches( &quot;this STRING contains 'abc' as a substring&quot; ))">
  1226. FAILED:
  1227. CHECK_THAT( testStringForMatching(), Matches( "this STRING contains 'abc' as a substring" ) )
  1228. with expansion:
  1229. "this string contains 'abc' as a substring" matches "this STRING contains 'abc' as a substring" case sensitively
  1230. Matchers.tests.cpp:<line number>
  1231. </failure>
  1232. <failure message="CHECK_THAT(testStringForMatching(), Matches( &quot;contains 'abc' as a substring&quot; ))">
  1233. FAILED:
  1234. CHECK_THAT( testStringForMatching(), Matches( "contains 'abc' as a substring" ) )
  1235. with expansion:
  1236. "this string contains 'abc' as a substring" matches "contains 'abc' as a substring" case sensitively
  1237. Matchers.tests.cpp:<line number>
  1238. </failure>
  1239. <failure message="CHECK_THAT(testStringForMatching(), Matches( &quot;this string contains 'abc' as a&quot; ))">
  1240. FAILED:
  1241. CHECK_THAT( testStringForMatching(), Matches( "this string contains 'abc' as a" ) )
  1242. with expansion:
  1243. "this string contains 'abc' as a substring" matches "this string contains 'abc' as a" case sensitively
  1244. Matchers.tests.cpp:<line number>
  1245. </failure>
  1246. </testCase>
  1247. <testCase name="Regression test #1" duration="{duration}"/>
  1248. <testCase name="StartsWith string matcher" duration="{duration}">
  1249. <failure message="CHECK_THAT(testStringForMatching(), StartsWith( &quot;This String&quot; ))">
  1250. FAILED:
  1251. CHECK_THAT( testStringForMatching(), StartsWith( "This String" ) )
  1252. with expansion:
  1253. "this string contains 'abc' as a substring" starts with: "This String"
  1254. Matchers.tests.cpp:<line number>
  1255. </failure>
  1256. <failure message="CHECK_THAT(testStringForMatching(), StartsWith( &quot;string&quot;, Catch::CaseSensitive::No ))">
  1257. FAILED:
  1258. CHECK_THAT( testStringForMatching(), StartsWith( "string", Catch::CaseSensitive::No ) )
  1259. with expansion:
  1260. "this string contains 'abc' as a substring" starts with: "string" (case insensitive)
  1261. Matchers.tests.cpp:<line number>
  1262. </failure>
  1263. </testCase>
  1264. <testCase name="String matchers" duration="{duration}"/>
  1265. <testCase name="Vector Approx matcher/Empty vector is roughly equal to an empty vector" duration="{duration}"/>
  1266. <testCase name="Vector Approx matcher/Vectors with elements/A vector is approx equal to itself" duration="{duration}"/>
  1267. <testCase name="Vector Approx matcher/Vectors with elements/Different length" duration="{duration}"/>
  1268. <testCase name="Vector Approx matcher/Vectors with elements/Same length, different elements" duration="{duration}"/>
  1269. <testCase name="Vector Approx matcher -- failing/Empty and non empty vectors are not approx equal" duration="{duration}">
  1270. <failure message="CHECK_THAT(empty, Approx( t1 ))">
  1271. FAILED:
  1272. CHECK_THAT( empty, Approx( t1 ) )
  1273. with expansion:
  1274. { } is approx: { 1.0, 2.0 }
  1275. Matchers.tests.cpp:<line number>
  1276. </failure>
  1277. </testCase>
  1278. <testCase name="Vector Approx matcher -- failing/Just different vectors" duration="{duration}">
  1279. <failure message="CHECK_THAT(v1, Approx( v2 ))">
  1280. FAILED:
  1281. CHECK_THAT( v1, Approx( v2 ) )
  1282. with expansion:
  1283. { 2.0, 4.0, 6.0 } is approx: { 1.0, 3.0, 5.0 }
  1284. Matchers.tests.cpp:<line number>
  1285. </failure>
  1286. </testCase>
  1287. <testCase name="Vector matchers/Contains (element)" duration="{duration}"/>
  1288. <testCase name="Vector matchers/Contains (vector)" duration="{duration}"/>
  1289. <testCase name="Vector matchers/Contains (element), composed" duration="{duration}"/>
  1290. <testCase name="Vector matchers/Equals" duration="{duration}"/>
  1291. <testCase name="Vector matchers/UnorderedEquals" duration="{duration}"/>
  1292. <testCase name="Vector matchers that fail/Contains (element)" duration="{duration}">
  1293. <failure message="CHECK_THAT(v, VectorContains( -1 ))">
  1294. FAILED:
  1295. CHECK_THAT( v, VectorContains( -1 ) )
  1296. with expansion:
  1297. { 1, 2, 3 } Contains: -1
  1298. Matchers.tests.cpp:<line number>
  1299. </failure>
  1300. <failure message="CHECK_THAT(empty, VectorContains( 1 ))">
  1301. FAILED:
  1302. CHECK_THAT( empty, VectorContains( 1 ) )
  1303. with expansion:
  1304. { } Contains: 1
  1305. Matchers.tests.cpp:<line number>
  1306. </failure>
  1307. </testCase>
  1308. <testCase name="Vector matchers that fail/Contains (vector)" duration="{duration}">
  1309. <failure message="CHECK_THAT(empty, Contains( v ))">
  1310. FAILED:
  1311. CHECK_THAT( empty, Contains( v ) )
  1312. with expansion:
  1313. { } Contains: { 1, 2, 3 }
  1314. Matchers.tests.cpp:<line number>
  1315. </failure>
  1316. <failure message="CHECK_THAT(v, Contains( v2 ))">
  1317. FAILED:
  1318. CHECK_THAT( v, Contains( v2 ) )
  1319. with expansion:
  1320. { 1, 2, 3 } Contains: { 1, 2, 4 }
  1321. Matchers.tests.cpp:<line number>
  1322. </failure>
  1323. </testCase>
  1324. <testCase name="Vector matchers that fail/Equals" duration="{duration}">
  1325. <failure message="CHECK_THAT(v, Equals( v2 ))">
  1326. FAILED:
  1327. CHECK_THAT( v, Equals( v2 ) )
  1328. with expansion:
  1329. { 1, 2, 3 } Equals: { 1, 2 }
  1330. Matchers.tests.cpp:<line number>
  1331. </failure>
  1332. <failure message="CHECK_THAT(v2, Equals( v ))">
  1333. FAILED:
  1334. CHECK_THAT( v2, Equals( v ) )
  1335. with expansion:
  1336. { 1, 2 } Equals: { 1, 2, 3 }
  1337. Matchers.tests.cpp:<line number>
  1338. </failure>
  1339. <failure message="CHECK_THAT(empty, Equals( v ))">
  1340. FAILED:
  1341. CHECK_THAT( empty, Equals( v ) )
  1342. with expansion:
  1343. { } Equals: { 1, 2, 3 }
  1344. Matchers.tests.cpp:<line number>
  1345. </failure>
  1346. <failure message="CHECK_THAT(v, Equals( empty ))">
  1347. FAILED:
  1348. CHECK_THAT( v, Equals( empty ) )
  1349. with expansion:
  1350. { 1, 2, 3 } Equals: { }
  1351. Matchers.tests.cpp:<line number>
  1352. </failure>
  1353. </testCase>
  1354. <testCase name="Vector matchers that fail/UnorderedEquals" duration="{duration}">
  1355. <failure message="CHECK_THAT(v, UnorderedEquals( empty ))">
  1356. FAILED:
  1357. CHECK_THAT( v, UnorderedEquals( empty ) )
  1358. with expansion:
  1359. { 1, 2, 3 } UnorderedEquals: { }
  1360. Matchers.tests.cpp:<line number>
  1361. </failure>
  1362. <failure message="CHECK_THAT(empty, UnorderedEquals( v ))">
  1363. FAILED:
  1364. CHECK_THAT( empty, UnorderedEquals( v ) )
  1365. with expansion:
  1366. { } UnorderedEquals: { 1, 2, 3 }
  1367. Matchers.tests.cpp:<line number>
  1368. </failure>
  1369. <failure message="CHECK_THAT(permuted, UnorderedEquals( v ))">
  1370. FAILED:
  1371. CHECK_THAT( permuted, UnorderedEquals( v ) )
  1372. with expansion:
  1373. { 1, 3 } UnorderedEquals: { 1, 2, 3 }
  1374. Matchers.tests.cpp:<line number>
  1375. </failure>
  1376. <failure message="CHECK_THAT(permuted, UnorderedEquals( v ))">
  1377. FAILED:
  1378. CHECK_THAT( permuted, UnorderedEquals( v ) )
  1379. with expansion:
  1380. { 3, 1 } UnorderedEquals: { 1, 2, 3 }
  1381. Matchers.tests.cpp:<line number>
  1382. </failure>
  1383. </testCase>
  1384. </file>
  1385. <file path="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp">
  1386. <testCase name="Basic use of the Contains range matcher/Different argument ranges, same element type, default comparison" duration="{duration}"/>
  1387. <testCase name="Basic use of the Contains range matcher/Different argument ranges, same element type, custom comparison" duration="{duration}"/>
  1388. <testCase name="Basic use of the Contains range matcher/Different element type, custom comparisons" duration="{duration}"/>
  1389. <testCase name="Basic use of the Contains range matcher/Can handle type that requires ADL-found free function begin and end" duration="{duration}"/>
  1390. <testCase name="Basic use of the Contains range matcher/Initialization with move only types" duration="{duration}"/>
  1391. <testCase name="Basic use of the Contains range matcher/Matching using matcher" duration="{duration}"/>
  1392. <testCase name="Basic use of the Empty range matcher/Simple, std-provided containers" duration="{duration}"/>
  1393. <testCase name="Basic use of the Empty range matcher/Type with empty" duration="{duration}"/>
  1394. <testCase name="Basic use of the Empty range matcher/Type requires ADL found empty free function" duration="{duration}"/>
  1395. <testCase name="Usage of AllMatch range matcher/Basic usage" duration="{duration}"/>
  1396. <testCase name="Usage of AllMatch range matcher/Type requires ADL found begin and end" duration="{duration}"/>
  1397. <testCase name="Usage of AllMatch range matcher/Shortcircuiting/All are read" duration="{duration}"/>
  1398. <testCase name="Usage of AllMatch range matcher/Shortcircuiting/Short-circuited" duration="{duration}"/>
  1399. <testCase name="Usage of AllTrue range matcher/Basic usage/All true evaluates to true" duration="{duration}"/>
  1400. <testCase name="Usage of AllTrue range matcher/Basic usage/Empty evaluates to true" duration="{duration}"/>
  1401. <testCase name="Usage of AllTrue range matcher/Basic usage/One false evalutes to false" duration="{duration}"/>
  1402. <testCase name="Usage of AllTrue range matcher/Basic usage/All false evaluates to false" duration="{duration}"/>
  1403. <testCase name="Usage of AllTrue range matcher/Contained type is convertible to bool/All true evaluates to true" duration="{duration}"/>
  1404. <testCase name="Usage of AllTrue range matcher/Contained type is convertible to bool/One false evalutes to false" duration="{duration}"/>
  1405. <testCase name="Usage of AllTrue range matcher/Contained type is convertible to bool/All false evaluates to false" duration="{duration}"/>
  1406. <testCase name="Usage of AllTrue range matcher/Shortcircuiting/All are read" duration="{duration}"/>
  1407. <testCase name="Usage of AllTrue range matcher/Shortcircuiting/Short-circuited" duration="{duration}"/>
  1408. <testCase name="Usage of AnyMatch range matcher/Basic usage" duration="{duration}"/>
  1409. <testCase name="Usage of AnyMatch range matcher/Type requires ADL found begin and end" duration="{duration}"/>
  1410. <testCase name="Usage of AnyMatch range matcher/Shortcircuiting/All are read" duration="{duration}"/>
  1411. <testCase name="Usage of AnyMatch range matcher/Shortcircuiting/Short-circuited" duration="{duration}"/>
  1412. <testCase name="Usage of AnyTrue range matcher/Basic usage/All true evaluates to true" duration="{duration}"/>
  1413. <testCase name="Usage of AnyTrue range matcher/Basic usage/Empty evaluates to false" duration="{duration}"/>
  1414. <testCase name="Usage of AnyTrue range matcher/Basic usage/One true evalutes to true" duration="{duration}"/>
  1415. <testCase name="Usage of AnyTrue range matcher/Basic usage/All false evaluates to false" duration="{duration}"/>
  1416. <testCase name="Usage of AnyTrue range matcher/Contained type is convertible to bool/All true evaluates to true" duration="{duration}"/>
  1417. <testCase name="Usage of AnyTrue range matcher/Contained type is convertible to bool/One true evalutes to true" duration="{duration}"/>
  1418. <testCase name="Usage of AnyTrue range matcher/Contained type is convertible to bool/All false evaluates to false" duration="{duration}"/>
  1419. <testCase name="Usage of AnyTrue range matcher/Shortcircuiting/All are read" duration="{duration}"/>
  1420. <testCase name="Usage of AnyTrue range matcher/Shortcircuiting/Short-circuited" duration="{duration}"/>
  1421. <testCase name="Usage of NoneMatch range matcher/Basic usage" duration="{duration}"/>
  1422. <testCase name="Usage of NoneMatch range matcher/Type requires ADL found begin and end" duration="{duration}"/>
  1423. <testCase name="Usage of NoneMatch range matcher/Shortcircuiting/All are read" duration="{duration}"/>
  1424. <testCase name="Usage of NoneMatch range matcher/Shortcircuiting/Short-circuited" duration="{duration}"/>
  1425. <testCase name="Usage of NoneTrue range matcher/Basic usage/All true evaluates to false" duration="{duration}"/>
  1426. <testCase name="Usage of NoneTrue range matcher/Basic usage/Empty evaluates to true" duration="{duration}"/>
  1427. <testCase name="Usage of NoneTrue range matcher/Basic usage/One true evalutes to false" duration="{duration}"/>
  1428. <testCase name="Usage of NoneTrue range matcher/Basic usage/All false evaluates to true" duration="{duration}"/>
  1429. <testCase name="Usage of NoneTrue range matcher/Contained type is convertible to bool/All true evaluates to false" duration="{duration}"/>
  1430. <testCase name="Usage of NoneTrue range matcher/Contained type is convertible to bool/One true evalutes to false" duration="{duration}"/>
  1431. <testCase name="Usage of NoneTrue range matcher/Contained type is convertible to bool/All false evaluates to true" duration="{duration}"/>
  1432. <testCase name="Usage of NoneTrue range matcher/Shortcircuiting/All are read" duration="{duration}"/>
  1433. <testCase name="Usage of NoneTrue range matcher/Shortcircuiting/Short-circuited" duration="{duration}"/>
  1434. <testCase name="Usage of the SizeIs range matcher/Some with stdlib containers" duration="{duration}"/>
  1435. <testCase name="Usage of the SizeIs range matcher/Type requires ADL found size free function" duration="{duration}"/>
  1436. <testCase name="Usage of the SizeIs range matcher/Type has size member" duration="{duration}"/>
  1437. </file>
  1438. <file path="tests/<exe-name>/UsageTests/Message.tests.cpp">
  1439. <testCase name="#1455 - INFO and WARN can start with a linebreak" duration="{duration}"/>
  1440. <testCase name="CAPTURE can deal with complex expressions" duration="{duration}"/>
  1441. <testCase name="CAPTURE can deal with complex expressions involving commas" duration="{duration}"/>
  1442. <testCase name="CAPTURE parses string and character constants" duration="{duration}"/>
  1443. <testCase name="FAIL aborts the test" duration="{duration}">
  1444. <failure message="FAIL()">
  1445. FAILED:
  1446. This is a failure
  1447. Message.tests.cpp:<line number>
  1448. </failure>
  1449. </testCase>
  1450. <testCase name="FAIL does not require an argument" duration="{duration}">
  1451. <failure message="FAIL()">
  1452. FAILED:
  1453. Message.tests.cpp:<line number>
  1454. </failure>
  1455. </testCase>
  1456. <testCase name="FAIL_CHECK does not abort the test" duration="{duration}">
  1457. <failure message="FAIL_CHECK()">
  1458. FAILED:
  1459. This is a failure
  1460. Message.tests.cpp:<line number>
  1461. </failure>
  1462. </testCase>
  1463. <testCase name="INFO and WARN do not abort tests" duration="{duration}"/>
  1464. <testCase name="INFO gets logged on failure" duration="{duration}">
  1465. <failure message="REQUIRE(a == 1)">
  1466. FAILED:
  1467. REQUIRE( a == 1 )
  1468. with expansion:
  1469. 2 == 1
  1470. this message should be logged
  1471. so should this
  1472. Message.tests.cpp:<line number>
  1473. </failure>
  1474. </testCase>
  1475. <testCase name="INFO gets logged on failure, even if captured before successful assertions" duration="{duration}">
  1476. <failure message="CHECK(a == 1)">
  1477. FAILED:
  1478. CHECK( a == 1 )
  1479. with expansion:
  1480. 2 == 1
  1481. this message may be logged later
  1482. this message should be logged
  1483. Message.tests.cpp:<line number>
  1484. </failure>
  1485. <failure message="CHECK(a == 0)">
  1486. FAILED:
  1487. CHECK( a == 0 )
  1488. with expansion:
  1489. 2 == 0
  1490. this message may be logged later
  1491. this message should be logged
  1492. and this, but later
  1493. Message.tests.cpp:<line number>
  1494. </failure>
  1495. </testCase>
  1496. <testCase name="INFO is reset for each loop" duration="{duration}">
  1497. <failure message="REQUIRE(i &lt; 10)">
  1498. FAILED:
  1499. REQUIRE( i &lt; 10 )
  1500. with expansion:
  1501. 10 &lt; 10
  1502. current counter 10
  1503. i := 10
  1504. Message.tests.cpp:<line number>
  1505. </failure>
  1506. </testCase>
  1507. <testCase name="Output from all sections is reported/one" duration="{duration}">
  1508. <failure message="FAIL()">
  1509. FAILED:
  1510. Message from section one
  1511. Message.tests.cpp:<line number>
  1512. </failure>
  1513. </testCase>
  1514. <testCase name="Output from all sections is reported/two" duration="{duration}">
  1515. <failure message="FAIL()">
  1516. FAILED:
  1517. Message from section two
  1518. Message.tests.cpp:<line number>
  1519. </failure>
  1520. </testCase>
  1521. <testCase name="SUCCEED counts as a test pass" duration="{duration}"/>
  1522. <testCase name="SUCCEED does not require an argument" duration="{duration}"/>
  1523. <testCase name="Standard output from all sections is reported/two" duration="{duration}"/>
  1524. <testCase name="The NO_FAIL macro reports a failure but does not fail the test" duration="{duration}"/>
  1525. <testCase name="just failure" duration="{duration}">
  1526. <failure message="FAIL()">
  1527. FAILED:
  1528. Previous info should not be seen
  1529. Message.tests.cpp:<line number>
  1530. </failure>
  1531. </testCase>
  1532. <testCase name="just failure after unscoped info" duration="{duration}">
  1533. <failure message="FAIL()">
  1534. FAILED:
  1535. previous unscoped info SHOULD not be seen
  1536. Message.tests.cpp:<line number>
  1537. </failure>
  1538. </testCase>
  1539. <testCase name="mix info, unscoped info and warning" duration="{duration}"/>
  1540. <testCase name="not prints unscoped info from previous failures" duration="{duration}">
  1541. <failure message="REQUIRE(false)">
  1542. FAILED:
  1543. REQUIRE( false )
  1544. this SHOULD be seen
  1545. Message.tests.cpp:<line number>
  1546. </failure>
  1547. </testCase>
  1548. <testCase name="print unscoped info if passing unscoped info is printed" duration="{duration}"/>
  1549. <testCase name="prints unscoped info on failure" duration="{duration}">
  1550. <failure message="REQUIRE(false)">
  1551. FAILED:
  1552. REQUIRE( false )
  1553. this SHOULD be seen
  1554. this SHOULD also be seen
  1555. Message.tests.cpp:<line number>
  1556. </failure>
  1557. </testCase>
  1558. <testCase name="prints unscoped info only for the first assertion" duration="{duration}">
  1559. <failure message="CHECK(false)">
  1560. FAILED:
  1561. CHECK( false )
  1562. this SHOULD be seen only ONCE
  1563. Message.tests.cpp:<line number>
  1564. </failure>
  1565. </testCase>
  1566. <testCase name="sends information to INFO" duration="{duration}">
  1567. <failure message="REQUIRE(false)">
  1568. FAILED:
  1569. REQUIRE( false )
  1570. hi
  1571. i := 7
  1572. Message.tests.cpp:<line number>
  1573. </failure>
  1574. </testCase>
  1575. <testCase name="stacks unscoped info in loops" duration="{duration}">
  1576. <failure message="CHECK(false)">
  1577. FAILED:
  1578. CHECK( false )
  1579. Count 1 to 3...
  1580. 1
  1581. 2
  1582. 3
  1583. Message.tests.cpp:<line number>
  1584. </failure>
  1585. <failure message="CHECK(false)">
  1586. FAILED:
  1587. CHECK( false )
  1588. Count 4 to 6...
  1589. 4
  1590. 5
  1591. 6
  1592. Message.tests.cpp:<line number>
  1593. </failure>
  1594. </testCase>
  1595. </file>
  1596. <file path="tests/<exe-name>/UsageTests/Misc.tests.cpp">
  1597. <testCase name="# A test name that starts with a #" duration="{duration}"/>
  1598. <testCase name="#1175 - Hidden Test" duration="{duration}"/>
  1599. <testCase name="#1954 - 7 arg template test case sig compiles - 1, 1, 1, 1, 1, 0, 0" duration="{duration}"/>
  1600. <testCase name="#1954 - 7 arg template test case sig compiles - 5, 1, 1, 1, 1, 0, 0" duration="{duration}"/>
  1601. <testCase name="#1954 - 7 arg template test case sig compiles - 5, 3, 1, 1, 1, 0, 0" duration="{duration}"/>
  1602. <testCase name="#835 -- errno should not be touched by Catch2" duration="{duration}">
  1603. <skipped message="CHECK(f() == 0)">
  1604. FAILED:
  1605. CHECK( f() == 0 )
  1606. with expansion:
  1607. 1 == 0
  1608. Misc.tests.cpp:<line number>
  1609. </skipped>
  1610. </testCase>
  1611. <testCase name="#961 -- Dynamically created sections should all be reported/Looped section 0" duration="{duration}"/>
  1612. <testCase name="#961 -- Dynamically created sections should all be reported/Looped section 1" duration="{duration}"/>
  1613. <testCase name="#961 -- Dynamically created sections should all be reported/Looped section 2" duration="{duration}"/>
  1614. <testCase name="#961 -- Dynamically created sections should all be reported/Looped section 3" duration="{duration}"/>
  1615. <testCase name="#961 -- Dynamically created sections should all be reported/Looped section 4" duration="{duration}"/>
  1616. <testCase name="A Template product test case - Foo&lt;float>" duration="{duration}"/>
  1617. <testCase name="A Template product test case - Foo&lt;int>" duration="{duration}"/>
  1618. <testCase name="A Template product test case - std::vector&lt;float>" duration="{duration}"/>
  1619. <testCase name="A Template product test case - std::vector&lt;int>" duration="{duration}"/>
  1620. <testCase name="A Template product test case with array signature - Bar&lt;float, 42>" duration="{duration}"/>
  1621. <testCase name="A Template product test case with array signature - Bar&lt;int, 9>" duration="{duration}"/>
  1622. <testCase name="A Template product test case with array signature - std::array&lt;float, 42>" duration="{duration}"/>
  1623. <testCase name="A Template product test case with array signature - std::array&lt;int, 9>" duration="{duration}"/>
  1624. <testCase name="A couple of nested sections followed by a failure" duration="{duration}">
  1625. <failure message="FAIL()">
  1626. FAILED:
  1627. to infinity and beyond
  1628. Misc.tests.cpp:<line number>
  1629. </failure>
  1630. </testCase>
  1631. <testCase name="A couple of nested sections followed by a failure/Outer/Inner" duration="{duration}"/>
  1632. <testCase name="Factorials are computed" duration="{duration}"/>
  1633. <testCase name="ManuallyRegistered" duration="{duration}"/>
  1634. <testCase name="Nice descriptive name" duration="{duration}"/>
  1635. <testCase name="Product with differing arities - std::tuple&lt;int, double, float>" duration="{duration}"/>
  1636. <testCase name="Product with differing arities - std::tuple&lt;int, double>" duration="{duration}"/>
  1637. <testCase name="Product with differing arities - std::tuple&lt;int>" duration="{duration}"/>
  1638. <testCase name="Sends stuff to stdout and stderr" duration="{duration}"/>
  1639. <testCase name="Tabs and newlines show in output" duration="{duration}">
  1640. <failure message="CHECK(s1 == s2)">
  1641. FAILED:
  1642. CHECK( s1 == s2 )
  1643. with expansion:
  1644. "if ($b == 10) {
  1645. $a = 20;
  1646. }"
  1647. ==
  1648. "if ($b == 10) {
  1649. $a = 20;
  1650. }
  1651. "
  1652. Misc.tests.cpp:<line number>
  1653. </failure>
  1654. </testCase>
  1655. <testCase name="Template test case with test types specified inside non-copyable and non-movable std::tuple - NonCopyableAndNonMovableTypes - 0" duration="{duration}"/>
  1656. <testCase name="Template test case with test types specified inside non-copyable and non-movable std::tuple - NonCopyableAndNonMovableTypes - 1" duration="{duration}"/>
  1657. <testCase name="Template test case with test types specified inside non-default-constructible std::tuple - MyNonDefaultConstructibleTypes - 0" duration="{duration}"/>
  1658. <testCase name="Template test case with test types specified inside non-default-constructible std::tuple - MyNonDefaultConstructibleTypes - 1" duration="{duration}"/>
  1659. <testCase name="Template test case with test types specified inside std::tuple - MyTypes - 0" duration="{duration}"/>
  1660. <testCase name="Template test case with test types specified inside std::tuple - MyTypes - 1" duration="{duration}"/>
  1661. <testCase name="Template test case with test types specified inside std::tuple - MyTypes - 2" duration="{duration}"/>
  1662. <testCase name="TemplateTest: vectors can be sized and resized - float" duration="{duration}"/>
  1663. <testCase name="TemplateTest: vectors can be sized and resized - float/resizing bigger changes size and capacity" duration="{duration}"/>
  1664. <testCase name="TemplateTest: vectors can be sized and resized - float/resizing smaller changes size but not capacity" duration="{duration}"/>
  1665. <testCase name="TemplateTest: vectors can be sized and resized - float/resizing smaller changes size but not capacity/We can use the 'swap trick' to reset the capacity" duration="{duration}"/>
  1666. <testCase name="TemplateTest: vectors can be sized and resized - float/reserving bigger changes capacity but not size" duration="{duration}"/>
  1667. <testCase name="TemplateTest: vectors can be sized and resized - float/reserving smaller does not change size or capacity" duration="{duration}"/>
  1668. <testCase name="TemplateTest: vectors can be sized and resized - int" duration="{duration}"/>
  1669. <testCase name="TemplateTest: vectors can be sized and resized - int/resizing bigger changes size and capacity" duration="{duration}"/>
  1670. <testCase name="TemplateTest: vectors can be sized and resized - int/resizing smaller changes size but not capacity" duration="{duration}"/>
  1671. <testCase name="TemplateTest: vectors can be sized and resized - int/resizing smaller changes size but not capacity/We can use the 'swap trick' to reset the capacity" duration="{duration}"/>
  1672. <testCase name="TemplateTest: vectors can be sized and resized - int/reserving bigger changes capacity but not size" duration="{duration}"/>
  1673. <testCase name="TemplateTest: vectors can be sized and resized - int/reserving smaller does not change size or capacity" duration="{duration}"/>
  1674. <testCase name="TemplateTest: vectors can be sized and resized - std::string" duration="{duration}"/>
  1675. <testCase name="TemplateTest: vectors can be sized and resized - std::string/resizing bigger changes size and capacity" duration="{duration}"/>
  1676. <testCase name="TemplateTest: vectors can be sized and resized - std::string/resizing smaller changes size but not capacity" duration="{duration}"/>
  1677. <testCase name="TemplateTest: vectors can be sized and resized - std::string/resizing smaller changes size but not capacity/We can use the 'swap trick' to reset the capacity" duration="{duration}"/>
  1678. <testCase name="TemplateTest: vectors can be sized and resized - std::string/reserving bigger changes capacity but not size" duration="{duration}"/>
  1679. <testCase name="TemplateTest: vectors can be sized and resized - std::string/reserving smaller does not change size or capacity" duration="{duration}"/>
  1680. <testCase name="TemplateTest: vectors can be sized and resized - std::tuple&lt;int,float>" duration="{duration}"/>
  1681. <testCase name="TemplateTest: vectors can be sized and resized - std::tuple&lt;int,float>/resizing bigger changes size and capacity" duration="{duration}"/>
  1682. <testCase name="TemplateTest: vectors can be sized and resized - std::tuple&lt;int,float>/resizing smaller changes size but not capacity" duration="{duration}"/>
  1683. <testCase name="TemplateTest: vectors can be sized and resized - std::tuple&lt;int,float>/resizing smaller changes size but not capacity/We can use the 'swap trick' to reset the capacity" duration="{duration}"/>
  1684. <testCase name="TemplateTest: vectors can be sized and resized - std::tuple&lt;int,float>/reserving bigger changes capacity but not size" duration="{duration}"/>
  1685. <testCase name="TemplateTest: vectors can be sized and resized - std::tuple&lt;int,float>/reserving smaller does not change size or capacity" duration="{duration}"/>
  1686. <testCase name="TemplateTestSig: vectors can be sized and resized - (std::tuple&lt;int, float>), 6" duration="{duration}"/>
  1687. <testCase name="TemplateTestSig: vectors can be sized and resized - (std::tuple&lt;int, float>), 6/resizing bigger changes size and capacity" duration="{duration}"/>
  1688. <testCase name="TemplateTestSig: vectors can be sized and resized - (std::tuple&lt;int, float>), 6/resizing smaller changes size but not capacity" duration="{duration}"/>
  1689. <testCase name="TemplateTestSig: vectors can be sized and resized - (std::tuple&lt;int, float>), 6/resizing smaller changes size but not capacity/We can use the 'swap trick' to reset the capacity" duration="{duration}"/>
  1690. <testCase name="TemplateTestSig: vectors can be sized and resized - (std::tuple&lt;int, float>), 6/reserving bigger changes capacity but not size" duration="{duration}"/>
  1691. <testCase name="TemplateTestSig: vectors can be sized and resized - (std::tuple&lt;int, float>), 6/reserving smaller does not change size or capacity" duration="{duration}"/>
  1692. <testCase name="TemplateTestSig: vectors can be sized and resized - float,4" duration="{duration}"/>
  1693. <testCase name="TemplateTestSig: vectors can be sized and resized - float,4/resizing bigger changes size and capacity" duration="{duration}"/>
  1694. <testCase name="TemplateTestSig: vectors can be sized and resized - float,4/resizing smaller changes size but not capacity" duration="{duration}"/>
  1695. <testCase name="TemplateTestSig: vectors can be sized and resized - float,4/resizing smaller changes size but not capacity/We can use the 'swap trick' to reset the capacity" duration="{duration}"/>
  1696. <testCase name="TemplateTestSig: vectors can be sized and resized - float,4/reserving bigger changes capacity but not size" duration="{duration}"/>
  1697. <testCase name="TemplateTestSig: vectors can be sized and resized - float,4/reserving smaller does not change size or capacity" duration="{duration}"/>
  1698. <testCase name="TemplateTestSig: vectors can be sized and resized - int,5" duration="{duration}"/>
  1699. <testCase name="TemplateTestSig: vectors can be sized and resized - int,5/resizing bigger changes size and capacity" duration="{duration}"/>
  1700. <testCase name="TemplateTestSig: vectors can be sized and resized - int,5/resizing smaller changes size but not capacity" duration="{duration}"/>
  1701. <testCase name="TemplateTestSig: vectors can be sized and resized - int,5/resizing smaller changes size but not capacity/We can use the 'swap trick' to reset the capacity" duration="{duration}"/>
  1702. <testCase name="TemplateTestSig: vectors can be sized and resized - int,5/reserving bigger changes capacity but not size" duration="{duration}"/>
  1703. <testCase name="TemplateTestSig: vectors can be sized and resized - int,5/reserving smaller does not change size or capacity" duration="{duration}"/>
  1704. <testCase name="TemplateTestSig: vectors can be sized and resized - std::string,15" duration="{duration}"/>
  1705. <testCase name="TemplateTestSig: vectors can be sized and resized - std::string,15/resizing bigger changes size and capacity" duration="{duration}"/>
  1706. <testCase name="TemplateTestSig: vectors can be sized and resized - std::string,15/resizing smaller changes size but not capacity" duration="{duration}"/>
  1707. <testCase name="TemplateTestSig: vectors can be sized and resized - std::string,15/resizing smaller changes size but not capacity/We can use the 'swap trick' to reset the capacity" duration="{duration}"/>
  1708. <testCase name="TemplateTestSig: vectors can be sized and resized - std::string,15/reserving bigger changes capacity but not size" duration="{duration}"/>
  1709. <testCase name="TemplateTestSig: vectors can be sized and resized - std::string,15/reserving smaller does not change size or capacity" duration="{duration}"/>
  1710. <testCase name="Testing checked-if" duration="{duration}"/>
  1711. <testCase name="Testing checked-if 2" duration="{duration}">
  1712. <skipped message="FAIL()">
  1713. FAILED:
  1714. Misc.tests.cpp:<line number>
  1715. </skipped>
  1716. </testCase>
  1717. <testCase name="Testing checked-if 3" duration="{duration}">
  1718. <skipped message="FAIL()">
  1719. FAILED:
  1720. Misc.tests.cpp:<line number>
  1721. </skipped>
  1722. </testCase>
  1723. <testCase name="This test 'should' fail but doesn't" duration="{duration}"/>
  1724. <testCase name="checkedElse" duration="{duration}"/>
  1725. <testCase name="checkedElse, failing" duration="{duration}">
  1726. <failure message="REQUIRE(testCheckedElse( false ))">
  1727. FAILED:
  1728. REQUIRE( testCheckedElse( false ) )
  1729. with expansion:
  1730. false
  1731. Misc.tests.cpp:<line number>
  1732. </failure>
  1733. </testCase>
  1734. <testCase name="checkedIf" duration="{duration}"/>
  1735. <testCase name="checkedIf, failing" duration="{duration}">
  1736. <failure message="REQUIRE(testCheckedIf( false ))">
  1737. FAILED:
  1738. REQUIRE( testCheckedIf( false ) )
  1739. with expansion:
  1740. false
  1741. Misc.tests.cpp:<line number>
  1742. </failure>
  1743. </testCase>
  1744. <testCase name="even more nested SECTION tests/c/d (leaf)" duration="{duration}"/>
  1745. <testCase name="even more nested SECTION tests/c/e (leaf)" duration="{duration}"/>
  1746. <testCase name="even more nested SECTION tests/f (leaf)" duration="{duration}"/>
  1747. <testCase name="long long" duration="{duration}"/>
  1748. <testCase name="looped SECTION tests/b is currently: 0" duration="{duration}">
  1749. <failure message="CHECK(b > a)">
  1750. FAILED:
  1751. CHECK( b > a )
  1752. with expansion:
  1753. 0 > 1
  1754. Misc.tests.cpp:<line number>
  1755. </failure>
  1756. </testCase>
  1757. <testCase name="looped SECTION tests/b is currently: 1" duration="{duration}">
  1758. <failure message="CHECK(b > a)">
  1759. FAILED:
  1760. CHECK( b > a )
  1761. with expansion:
  1762. 1 > 1
  1763. Misc.tests.cpp:<line number>
  1764. </failure>
  1765. </testCase>
  1766. <testCase name="looped SECTION tests/b is currently: 2" duration="{duration}"/>
  1767. <testCase name="looped SECTION tests/b is currently: 3" duration="{duration}"/>
  1768. <testCase name="looped SECTION tests/b is currently: 4" duration="{duration}"/>
  1769. <testCase name="looped SECTION tests/b is currently: 5" duration="{duration}"/>
  1770. <testCase name="looped SECTION tests/b is currently: 6" duration="{duration}"/>
  1771. <testCase name="looped SECTION tests/b is currently: 7" duration="{duration}"/>
  1772. <testCase name="looped SECTION tests/b is currently: 8" duration="{duration}"/>
  1773. <testCase name="looped SECTION tests/b is currently: 9" duration="{duration}"/>
  1774. <testCase name="looped tests" duration="{duration}">
  1775. <failure message="CHECK(( fib[i] % 2 ) == 0)">
  1776. FAILED:
  1777. CHECK( ( fib[i] % 2 ) == 0 )
  1778. with expansion:
  1779. 1 == 0
  1780. Testing if fib[0] (1) is even
  1781. Misc.tests.cpp:<line number>
  1782. </failure>
  1783. <failure message="CHECK(( fib[i] % 2 ) == 0)">
  1784. FAILED:
  1785. CHECK( ( fib[i] % 2 ) == 0 )
  1786. with expansion:
  1787. 1 == 0
  1788. Testing if fib[1] (1) is even
  1789. Misc.tests.cpp:<line number>
  1790. </failure>
  1791. <failure message="CHECK(( fib[i] % 2 ) == 0)">
  1792. FAILED:
  1793. CHECK( ( fib[i] % 2 ) == 0 )
  1794. with expansion:
  1795. 1 == 0
  1796. Testing if fib[3] (3) is even
  1797. Misc.tests.cpp:<line number>
  1798. </failure>
  1799. <failure message="CHECK(( fib[i] % 2 ) == 0)">
  1800. FAILED:
  1801. CHECK( ( fib[i] % 2 ) == 0 )
  1802. with expansion:
  1803. 1 == 0
  1804. Testing if fib[4] (5) is even
  1805. Misc.tests.cpp:<line number>
  1806. </failure>
  1807. <failure message="CHECK(( fib[i] % 2 ) == 0)">
  1808. FAILED:
  1809. CHECK( ( fib[i] % 2 ) == 0 )
  1810. with expansion:
  1811. 1 == 0
  1812. Testing if fib[6] (13) is even
  1813. Misc.tests.cpp:<line number>
  1814. </failure>
  1815. <failure message="CHECK(( fib[i] % 2 ) == 0)">
  1816. FAILED:
  1817. CHECK( ( fib[i] % 2 ) == 0 )
  1818. with expansion:
  1819. 1 == 0
  1820. Testing if fib[7] (21) is even
  1821. Misc.tests.cpp:<line number>
  1822. </failure>
  1823. </testCase>
  1824. <testCase name="more nested SECTION tests/equal/doesn't equal" duration="{duration}">
  1825. <failure message="REQUIRE(a == b)">
  1826. FAILED:
  1827. REQUIRE( a == b )
  1828. with expansion:
  1829. 1 == 2
  1830. Misc.tests.cpp:<line number>
  1831. </failure>
  1832. </testCase>
  1833. <testCase name="more nested SECTION tests/doesn't equal/not equal" duration="{duration}"/>
  1834. <testCase name="more nested SECTION tests/doesn't equal/less than" duration="{duration}"/>
  1835. <testCase name="nested SECTION tests/doesn't equal" duration="{duration}"/>
  1836. <testCase name="nested SECTION tests/doesn't equal/not equal" duration="{duration}"/>
  1837. <testCase name="not allowed" duration="{duration}"/>
  1838. <testCase name="null strings" duration="{duration}"/>
  1839. <testCase name="random SECTION tests/doesn't equal" duration="{duration}"/>
  1840. <testCase name="random SECTION tests/not equal" duration="{duration}"/>
  1841. <testCase name="send a single char to INFO" duration="{duration}">
  1842. <failure message="REQUIRE(false)">
  1843. FAILED:
  1844. REQUIRE( false )
  1845. 3
  1846. Misc.tests.cpp:<line number>
  1847. </failure>
  1848. </testCase>
  1849. <testCase name="toString on const wchar_t const pointer returns the string contents" duration="{duration}"/>
  1850. <testCase name="toString on const wchar_t pointer returns the string contents" duration="{duration}"/>
  1851. <testCase name="toString on wchar_t const pointer returns the string contents" duration="{duration}"/>
  1852. <testCase name="toString on wchar_t returns the string contents" duration="{duration}"/>
  1853. <testCase name="vectors can be sized and resized" duration="{duration}"/>
  1854. <testCase name="vectors can be sized and resized/resizing bigger changes size and capacity" duration="{duration}"/>
  1855. <testCase name="vectors can be sized and resized/resizing smaller changes size but not capacity" duration="{duration}"/>
  1856. <testCase name="vectors can be sized and resized/resizing smaller changes size but not capacity/We can use the 'swap trick' to reset the capacity" duration="{duration}"/>
  1857. <testCase name="vectors can be sized and resized/reserving bigger changes capacity but not size" duration="{duration}"/>
  1858. <testCase name="vectors can be sized and resized/reserving smaller does not change size or capacity" duration="{duration}"/>
  1859. <testCase name="xmlentitycheck/embedded xml: &lt;test>it should be possible to embed xml characters, such as &lt;, &quot; or &amp;, or even whole &lt;xml>documents&lt;/xml> within an attribute&lt;/test>" duration="{duration}"/>
  1860. <testCase name="xmlentitycheck/encoded chars: these should all be encoded: &amp;&amp;&amp;&quot;&quot;&quot;&lt;&lt;&lt;&amp;&quot;&lt;&lt;&amp;&quot;" duration="{duration}"/>
  1861. </file>
  1862. <file path="tests/<exe-name>/UsageTests/ToStringChrono.tests.cpp">
  1863. <testCase name="Stringifying std::chrono::duration helpers" duration="{duration}"/>
  1864. <testCase name="Stringifying std::chrono::duration with weird ratios" duration="{duration}"/>
  1865. <testCase name="Stringifying std::chrono::time_point&lt;system_clock>" duration="{duration}"/>
  1866. </file>
  1867. <file path="tests/<exe-name>/UsageTests/ToStringGeneral.tests.cpp">
  1868. <testCase name="Capture and info messages/Capture should stringify like assertions" duration="{duration}"/>
  1869. <testCase name="Capture and info messages/Info should NOT stringify the way assertions do" duration="{duration}"/>
  1870. <testCase name="Character pretty printing/Specifically escaped" duration="{duration}"/>
  1871. <testCase name="Character pretty printing/General chars" duration="{duration}"/>
  1872. <testCase name="Character pretty printing/Low ASCII" duration="{duration}"/>
  1873. <testCase name="Exception as a value (e.g. in REQUIRE_THROWS_MATCHES) can be stringified" duration="{duration}"/>
  1874. <testCase name="Precision of floating point stringification can be set/Floats" duration="{duration}"/>
  1875. <testCase name="Precision of floating point stringification can be set/Double" duration="{duration}"/>
  1876. <testCase name="Static arrays are convertible to string/Single item" duration="{duration}"/>
  1877. <testCase name="Static arrays are convertible to string/Multiple" duration="{duration}"/>
  1878. <testCase name="Static arrays are convertible to string/Non-trivial inner items" duration="{duration}"/>
  1879. <testCase name="std::map is convertible string/empty" duration="{duration}"/>
  1880. <testCase name="std::map is convertible string/single item" duration="{duration}"/>
  1881. <testCase name="std::map is convertible string/several items" duration="{duration}"/>
  1882. <testCase name="std::set is convertible string/empty" duration="{duration}"/>
  1883. <testCase name="std::set is convertible string/single item" duration="{duration}"/>
  1884. <testCase name="std::set is convertible string/several items" duration="{duration}"/>
  1885. </file>
  1886. <file path="tests/<exe-name>/UsageTests/ToStringPair.tests.cpp">
  1887. <testCase name="pair&lt;pair&lt;int,const char *,pair&lt;std::string,int> > -> toString" duration="{duration}"/>
  1888. <testCase name="std::pair&lt;int,const std::string> -> toString" duration="{duration}"/>
  1889. <testCase name="std::pair&lt;int,std::string> -> toString" duration="{duration}"/>
  1890. <testCase name="std::vector&lt;std::pair&lt;std::string,int> > -> toString" duration="{duration}"/>
  1891. </file>
  1892. <file path="tests/<exe-name>/UsageTests/ToStringTuple.tests.cpp">
  1893. <testCase name="tuple&lt;>" duration="{duration}"/>
  1894. <testCase name="tuple&lt;float,int>" duration="{duration}"/>
  1895. <testCase name="tuple&lt;int>" duration="{duration}"/>
  1896. <testCase name="tuple&lt;string,string>" duration="{duration}"/>
  1897. <testCase name="tuple&lt;tuple&lt;int>,tuple&lt;>,float>" duration="{duration}"/>
  1898. </file>
  1899. <file path="tests/<exe-name>/UsageTests/ToStringVector.tests.cpp">
  1900. <testCase name="array&lt;int, N> -> toString" duration="{duration}"/>
  1901. <testCase name="vec&lt;vec&lt;string,alloc>> -> toString" duration="{duration}"/>
  1902. <testCase name="vector&lt;bool> -> toString" duration="{duration}"/>
  1903. <testCase name="vector&lt;int,allocator> -> toString" duration="{duration}"/>
  1904. <testCase name="vector&lt;int> -> toString" duration="{duration}"/>
  1905. <testCase name="vector&lt;string> -> toString" duration="{duration}"/>
  1906. </file>
  1907. <file path="tests/<exe-name>/UsageTests/ToStringWhich.tests.cpp">
  1908. <testCase name="stringify ranges" duration="{duration}"/>
  1909. <testCase name="stringify( has_maker )" duration="{duration}"/>
  1910. <testCase name="stringify( has_maker_and_operator )" duration="{duration}"/>
  1911. <testCase name="stringify( has_neither )" duration="{duration}"/>
  1912. <testCase name="stringify( has_operator )" duration="{duration}"/>
  1913. <testCase name="stringify( has_template_operator )" duration="{duration}"/>
  1914. <testCase name="stringify( vectors&lt;has_maker> )" duration="{duration}"/>
  1915. <testCase name="stringify( vectors&lt;has_maker_and_operator> )" duration="{duration}"/>
  1916. <testCase name="stringify( vectors&lt;has_operator> )" duration="{duration}"/>
  1917. </file>
  1918. <file path="tests/<exe-name>/UsageTests/Tricky.tests.cpp">
  1919. <testCase name="#1514: stderr/stdout is not captured in tests aborted by an exception" duration="{duration}">
  1920. <failure message="FAIL()">
  1921. FAILED:
  1922. 1514
  1923. Tricky.tests.cpp:<line number>
  1924. </failure>
  1925. </testCase>
  1926. <testCase name="(unimplemented) static bools can be evaluated/compare to true" duration="{duration}"/>
  1927. <testCase name="(unimplemented) static bools can be evaluated/compare to false" duration="{duration}"/>
  1928. <testCase name="(unimplemented) static bools can be evaluated/negation" duration="{duration}"/>
  1929. <testCase name="(unimplemented) static bools can be evaluated/double negation" duration="{duration}"/>
  1930. <testCase name="(unimplemented) static bools can be evaluated/direct" duration="{duration}"/>
  1931. <testCase name="A failing expression with a non streamable type is still captured" duration="{duration}">
  1932. <failure message="CHECK(&amp;o1 == &amp;o2)">
  1933. FAILED:
  1934. CHECK( &amp;o1 == &amp;o2 )
  1935. with expansion:
  1936. 0x<hex digits> == 0x<hex digits>
  1937. Tricky.tests.cpp:<line number>
  1938. </failure>
  1939. <failure message="CHECK(o1 == o2)">
  1940. FAILED:
  1941. CHECK( o1 == o2 )
  1942. with expansion:
  1943. {?} == {?}
  1944. Tricky.tests.cpp:<line number>
  1945. </failure>
  1946. </testCase>
  1947. <testCase name="An expression with side-effects should only be evaluated once" duration="{duration}"/>
  1948. <testCase name="Assertions then sections" duration="{duration}"/>
  1949. <testCase name="Assertions then sections/A section" duration="{duration}"/>
  1950. <testCase name="Assertions then sections/A section/Another section" duration="{duration}"/>
  1951. <testCase name="Assertions then sections/A section/Another other section" duration="{duration}"/>
  1952. <testCase name="Commas in various macros are allowed" duration="{duration}"/>
  1953. <testCase name="Comparing function pointers" duration="{duration}"/>
  1954. <testCase name="Objects that evaluated in boolean contexts can be checked" duration="{duration}"/>
  1955. <testCase name="Test enum bit values" duration="{duration}"/>
  1956. <testCase name="X/level/0/a" duration="{duration}"/>
  1957. <testCase name="X/level/0/b" duration="{duration}"/>
  1958. <testCase name="X/level/1/a" duration="{duration}"/>
  1959. <testCase name="X/level/1/b" duration="{duration}"/>
  1960. <testCase name="boolean member" duration="{duration}"/>
  1961. <testCase name="non streamable - with conv. op" duration="{duration}"/>
  1962. <testCase name="non-copyable objects" duration="{duration}"/>
  1963. <testCase name="null_ptr" duration="{duration}"/>
  1964. <testCase name="pointer to class" duration="{duration}"/>
  1965. </file>
  1966. <file path="tests/<exe-name>/UsageTests/VariadicMacros.tests.cpp">
  1967. <testCase name="Anonymous test case 1" duration="{duration}"/>
  1968. <testCase name="Test case with one argument" duration="{duration}"/>
  1969. <testCase name="Variadic macros/Section with one argument" duration="{duration}"/>
  1970. </file>
  1971. </testExecutions>