sonarqube.sw.approved.txt 90 KB

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