sonarqube.sw.approved.txt 111 KB

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