123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946 |
- Filters: ~[!nonportable]~[!benchmark]~[approvals] *
- Randomness seeded to: 1
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- <exe-name> is a Catch2 v<version> host application.
- Run with -? for options
- -------------------------------------------------------------------------------
- # A test name that starts with a #
- -------------------------------------------------------------------------------
- Misc.tests.cpp:<line number>
- ...............................................................................
- Misc.tests.cpp:<line number>: PASSED:
- with message:
- yay
- -------------------------------------------------------------------------------
- #1027: Bitfields can be captured
- -------------------------------------------------------------------------------
- Compilation.tests.cpp:<line number>
- ...............................................................................
- Compilation.tests.cpp:<line number>: PASSED:
- REQUIRE( y.v == 0 )
- with expansion:
- 0 == 0
- Compilation.tests.cpp:<line number>: PASSED:
- REQUIRE( 0 == y.v )
- with expansion:
- 0 == 0
- -------------------------------------------------------------------------------
- #1147
- -------------------------------------------------------------------------------
- Compilation.tests.cpp:<line number>
- ...............................................................................
- Compilation.tests.cpp:<line number>: PASSED:
- REQUIRE( t1 == t2 )
- with expansion:
- {?} == {?}
- Compilation.tests.cpp:<line number>: PASSED:
- REQUIRE( t1 != t2 )
- with expansion:
- {?} != {?}
- Compilation.tests.cpp:<line number>: PASSED:
- REQUIRE( t1 < t2 )
- with expansion:
- {?} < {?}
- Compilation.tests.cpp:<line number>: PASSED:
- REQUIRE( t1 > t2 )
- with expansion:
- {?} > {?}
- Compilation.tests.cpp:<line number>: PASSED:
- REQUIRE( t1 <= t2 )
- with expansion:
- {?} <= {?}
- Compilation.tests.cpp:<line number>: PASSED:
- REQUIRE( t1 >= t2 )
- with expansion:
- {?} >= {?}
- -------------------------------------------------------------------------------
- #1175 - Hidden Test
- -------------------------------------------------------------------------------
- Misc.tests.cpp:<line number>
- ...............................................................................
- Misc.tests.cpp:<line number>: PASSED:
- -------------------------------------------------------------------------------
- #1238
- -------------------------------------------------------------------------------
- Compilation.tests.cpp:<line number>
- ...............................................................................
- Compilation.tests.cpp:<line number>: PASSED:
- REQUIRE( std::memcmp(uarr, "123", sizeof(uarr)) == 0 )
- with expansion:
- 0 == 0
- with messages:
- uarr := "123"
- sarr := "456"
- Compilation.tests.cpp:<line number>: PASSED:
- REQUIRE( std::memcmp(sarr, "456", sizeof(sarr)) == 0 )
- with expansion:
- 0 == 0
- with messages:
- uarr := "123"
- sarr := "456"
- -------------------------------------------------------------------------------
- #1245
- -------------------------------------------------------------------------------
- Compilation.tests.cpp:<line number>
- ...............................................................................
- Compilation.tests.cpp:<line number>: PASSED:
- -------------------------------------------------------------------------------
- #1319: Sections can have description (even if it is not saved
- SectionName
- -------------------------------------------------------------------------------
- Compilation.tests.cpp:<line number>
- ...............................................................................
- Compilation.tests.cpp:<line number>: PASSED:
- -------------------------------------------------------------------------------
- #1403
- -------------------------------------------------------------------------------
- Compilation.tests.cpp:<line number>
- ...............................................................................
- Compilation.tests.cpp:<line number>: PASSED:
- REQUIRE( h1 == h2 )
- with expansion:
- [1403 helper] == [1403 helper]
- -------------------------------------------------------------------------------
- #1455 - INFO and WARN can start with a linebreak
- -------------------------------------------------------------------------------
- Message.tests.cpp:<line number>
- ...............................................................................
- Message.tests.cpp:<line number>: warning:
- This info message starts with a linebreak
- This warning message starts with a linebreak
- No assertions in test case '#1455 - INFO and WARN can start with a linebreak'
- This would not be caught previously
- Nor would this
- -------------------------------------------------------------------------------
- #1514: stderr/stdout is not captured in tests aborted by an exception
- -------------------------------------------------------------------------------
- Tricky.tests.cpp:<line number>
- ...............................................................................
- Tricky.tests.cpp:<line number>: FAILED:
- explicitly with message:
- 1514
- -------------------------------------------------------------------------------
- #1548
- -------------------------------------------------------------------------------
- Compilation.tests.cpp:<line number>
- ...............................................................................
- Compilation.tests.cpp:<line number>: PASSED:
- REQUIRE( std::is_same<TypeList<int>, TypeList<int>>::value )
- with expansion:
- true
- -------------------------------------------------------------------------------
- #1905 -- test spec parser properly clears internal state between compound tests
- -------------------------------------------------------------------------------
- CmdLine.tests.cpp:<line number>
- ...............................................................................
- CmdLine.tests.cpp:<line number>: PASSED:
- REQUIRE( spec.matches(*fakeTestCase("spec . char")) )
- with expansion:
- true
- CmdLine.tests.cpp:<line number>: PASSED:
- REQUIRE( spec.matches(*fakeTestCase("spec , char")) )
- with expansion:
- true
- CmdLine.tests.cpp:<line number>: PASSED:
- REQUIRE_FALSE( spec.matches(*fakeTestCase(R"(spec \, char)")) )
- with expansion:
- !false
- -------------------------------------------------------------------------------
- #1912 -- test spec parser handles escaping
- Various parentheses
- -------------------------------------------------------------------------------
- CmdLine.tests.cpp:<line number>
- ...............................................................................
- CmdLine.tests.cpp:<line number>: PASSED:
- REQUIRE( spec.matches(*fakeTestCase(R"(spec {a} char)")) )
- with expansion:
- true
- CmdLine.tests.cpp:<line number>: PASSED:
- REQUIRE( spec.matches(*fakeTestCase(R"(spec [a] char)")) )
- with expansion:
- true
- CmdLine.tests.cpp:<line number>: PASSED:
- REQUIRE_FALSE( spec.matches(*fakeTestCase("differs but has similar tag", "[a]")) )
- with expansion:
- !false
- -------------------------------------------------------------------------------
- #1912 -- test spec parser handles escaping
- backslash in test name
- -------------------------------------------------------------------------------
- CmdLine.tests.cpp:<line number>
- ...............................................................................
- CmdLine.tests.cpp:<line number>: PASSED:
- REQUIRE( spec.matches(*fakeTestCase(R"(spec \ char)")) )
- with expansion:
- true
- -------------------------------------------------------------------------------
- #1913 - GENERATE inside a for loop should not keep recreating the generator
- -------------------------------------------------------------------------------
- Generators.tests.cpp:<line number>
- ...............................................................................
- Generators.tests.cpp:<line number>: PASSED:
- REQUIRE( counter < 7 )
- with expansion:
- 3 < 7
- -------------------------------------------------------------------------------
- #1913 - GENERATE inside a for loop should not keep recreating the generator
- -------------------------------------------------------------------------------
- Generators.tests.cpp:<line number>
- ...............................................................................
- Generators.tests.cpp:<line number>: PASSED:
- REQUIRE( counter < 7 )
- with expansion:
- 6 < 7
- -------------------------------------------------------------------------------
- #1913 - GENERATEs can share a line
- -------------------------------------------------------------------------------
- Generators.tests.cpp:<line number>
- ...............................................................................
- Generators.tests.cpp:<line number>: PASSED:
- REQUIRE( i != j )
- with expansion:
- 1 != 3
- -------------------------------------------------------------------------------
- #1913 - GENERATEs can share a line
- -------------------------------------------------------------------------------
- Generators.tests.cpp:<line number>
- ...............................................................................
- Generators.tests.cpp:<line number>: PASSED:
- REQUIRE( i != j )
- with expansion:
- 1 != 4
- -------------------------------------------------------------------------------
- #1913 - GENERATEs can share a line
- -------------------------------------------------------------------------------
- Generators.tests.cpp:<line number>
- ...............................................................................
- Generators.tests.cpp:<line number>: PASSED:
- REQUIRE( i != j )
- with expansion:
- 2 != 3
- -------------------------------------------------------------------------------
- #1913 - GENERATEs can share a line
- -------------------------------------------------------------------------------
- Generators.tests.cpp:<line number>
- ...............................................................................
- Generators.tests.cpp:<line number>: PASSED:
- REQUIRE( i != j )
- with expansion:
- 2 != 4
- -------------------------------------------------------------------------------
- #1938 - GENERATE after a section
- A
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- with message:
- A
- -------------------------------------------------------------------------------
- #1938 - GENERATE after a section
- B
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( m )
- with expansion:
- 1
- -------------------------------------------------------------------------------
- #1938 - GENERATE after a section
- B
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( m )
- with expansion:
- 2
- -------------------------------------------------------------------------------
- #1938 - GENERATE after a section
- B
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( m )
- with expansion:
- 3
- -------------------------------------------------------------------------------
- #1938 - Section followed by flat generate
- A
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( 1 )
- -------------------------------------------------------------------------------
- #1938 - Section followed by flat generate
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( m )
- with expansion:
- 2
- -------------------------------------------------------------------------------
- #1938 - Section followed by flat generate
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( m )
- with expansion:
- 3
- -------------------------------------------------------------------------------
- #1938 - flat generate
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( m )
- with expansion:
- 1
- -------------------------------------------------------------------------------
- #1938 - flat generate
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( m )
- with expansion:
- 2
- -------------------------------------------------------------------------------
- #1938 - flat generate
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( m )
- with expansion:
- 3
- -------------------------------------------------------------------------------
- #1938 - mixed sections and generates
- A
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- with message:
- A
- -------------------------------------------------------------------------------
- #1938 - mixed sections and generates
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- with messages:
- i := 1
- j := 3
- k := 5
- -------------------------------------------------------------------------------
- #1938 - mixed sections and generates
- B
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- with message:
- B
- -------------------------------------------------------------------------------
- #1938 - mixed sections and generates
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- with messages:
- i := 1
- j := 3
- k := 6
- -------------------------------------------------------------------------------
- #1938 - mixed sections and generates
- B
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- with message:
- B
- -------------------------------------------------------------------------------
- #1938 - mixed sections and generates
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- with messages:
- i := 1
- j := 4
- k := 5
- -------------------------------------------------------------------------------
- #1938 - mixed sections and generates
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- with messages:
- i := 1
- j := 4
- k := 6
- -------------------------------------------------------------------------------
- #1938 - mixed sections and generates
- A
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- with message:
- A
- -------------------------------------------------------------------------------
- #1938 - mixed sections and generates
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- with messages:
- i := 2
- j := 3
- k := 5
- -------------------------------------------------------------------------------
- #1938 - mixed sections and generates
- B
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- with message:
- B
- -------------------------------------------------------------------------------
- #1938 - mixed sections and generates
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- with messages:
- i := 2
- j := 3
- k := 6
- -------------------------------------------------------------------------------
- #1938 - mixed sections and generates
- B
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- with message:
- B
- -------------------------------------------------------------------------------
- #1938 - mixed sections and generates
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- with messages:
- i := 2
- j := 4
- k := 5
- -------------------------------------------------------------------------------
- #1938 - mixed sections and generates
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- with messages:
- i := 2
- j := 4
- k := 6
- -------------------------------------------------------------------------------
- #1938 - nested generate
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( m )
- with expansion:
- 1
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( n )
- with expansion:
- 1
- -------------------------------------------------------------------------------
- #1938 - nested generate
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( m )
- with expansion:
- 1
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( n )
- with expansion:
- 2
- -------------------------------------------------------------------------------
- #1938 - nested generate
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( m )
- with expansion:
- 1
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( n )
- with expansion:
- 3
- -------------------------------------------------------------------------------
- #1938 - nested generate
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( m )
- with expansion:
- 2
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( n )
- with expansion:
- 1
- -------------------------------------------------------------------------------
- #1938 - nested generate
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( m )
- with expansion:
- 2
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( n )
- with expansion:
- 2
- -------------------------------------------------------------------------------
- #1938 - nested generate
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( m )
- with expansion:
- 2
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( n )
- with expansion:
- 3
- -------------------------------------------------------------------------------
- #1938 - nested generate
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( m )
- with expansion:
- 3
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( n )
- with expansion:
- 1
- -------------------------------------------------------------------------------
- #1938 - nested generate
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( m )
- with expansion:
- 3
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( n )
- with expansion:
- 2
- -------------------------------------------------------------------------------
- #1938 - nested generate
- -------------------------------------------------------------------------------
- PartTracker.tests.cpp:<line number>
- ...............................................................................
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( m )
- with expansion:
- 3
- PartTracker.tests.cpp:<line number>: PASSED:
- REQUIRE( n )
- with expansion:
- 3
- -------------------------------------------------------------------------------
- #1954 - 7 arg template test case sig compiles - 1, 1, 1, 1, 1, 0, 0
- -------------------------------------------------------------------------------
- Misc.tests.cpp:<line number>
- ...............................................................................
- Misc.tests.cpp:<line number>: PASSED:
- -------------------------------------------------------------------------------
- #1954 - 7 arg template test case sig compiles - 5, 1, 1, 1, 1, 0, 0
- -------------------------------------------------------------------------------
- Misc.tests.cpp:<line number>
- ...............................................................................
- Misc.tests.cpp:<line number>: PASSED:
- -------------------------------------------------------------------------------
- #1954 - 7 arg template test case sig compiles - 5, 3, 1, 1, 1, 0, 0
- -------------------------------------------------------------------------------
- Misc.tests.cpp:<line number>
- ...............................................................................
- Misc.tests.cpp:<line number>: PASSED:
- -------------------------------------------------------------------------------
- #2152 - ULP checks between differently signed values were wrong - double
- -------------------------------------------------------------------------------
- Matchers.tests.cpp:<line number>
- ...............................................................................
- Matchers.tests.cpp:<line number>: PASSED:
- CHECK_THAT( smallest_non_zero, WithinULP( -smallest_non_zero, 2 ) )
- with expansion:
- 0.0 is within 2 ULPs of -4.9406564584124654e-324 ([-1.4821969375237396e-323,
- 4.9406564584124654e-324])
- Matchers.tests.cpp:<line number>: PASSED:
- CHECK_THAT( smallest_non_zero, !WithinULP( -smallest_non_zero, 1 ) )
- with expansion:
- 0.0 not is within 1 ULPs of -4.9406564584124654e-324 ([-9.8813129168249309e-
- 324, -0.0000000000000000e+00])
- -------------------------------------------------------------------------------
- #2152 - ULP checks between differently signed values were wrong - float
- -------------------------------------------------------------------------------
- Matchers.tests.cpp:<line number>
- ...............................................................................
- Matchers.tests.cpp:<line number>: PASSED:
- CHECK_THAT( smallest_non_zero, WithinULP( -smallest_non_zero, 2 ) )
- with expansion:
- 0.0f is within 2 ULPs of -1.40129846e-45f ([-4.20389539e-45, 1.40129846e-45])
- Matchers.tests.cpp:<line number>: PASSED:
- CHECK_THAT( smallest_non_zero, !WithinULP( -smallest_non_zero, 1 ) )
- with expansion:
- 0.0f not is within 1 ULPs of -1.40129846e-45f ([-2.80259693e-45, -0.
- 00000000e+00])
- -------------------------------------------------------------------------------
- #748 - captures with unexpected exceptions
- outside assertions
- -------------------------------------------------------------------------------
- Exception.tests.cpp:<line number>
- ...............................................................................
- Exception.tests.cpp:<line number>: FAILED:
- due to unexpected exception with messages:
- answer := 42
- expected exception
- -------------------------------------------------------------------------------
- #748 - captures with unexpected exceptions
- inside REQUIRE_NOTHROW
- -------------------------------------------------------------------------------
- Exception.tests.cpp:<line number>
- ...............................................................................
- Exception.tests.cpp:<line number>: FAILED:
- REQUIRE_NOTHROW( thisThrows() )
- due to unexpected exception with messages:
- answer := 42
- expected exception
- -------------------------------------------------------------------------------
- #748 - captures with unexpected exceptions
- inside REQUIRE_THROWS
- -------------------------------------------------------------------------------
- Exception.tests.cpp:<line number>
- ...............................................................................
- Exception.tests.cpp:<line number>: PASSED:
- REQUIRE_THROWS( thisThrows() )
- with message:
- answer := 42
- -------------------------------------------------------------------------------
- #809
- -------------------------------------------------------------------------------
- Compilation.tests.cpp:<line number>
- ...............................................................................
- Compilation.tests.cpp:<line number>: PASSED:
- REQUIRE( 42 == f )
- with expansion:
- 42 == {?}
- -------------------------------------------------------------------------------
- #833
- -------------------------------------------------------------------------------
- Compilation.tests.cpp:<line number>
- ...............................................................................
- Compilation.tests.cpp:<line number>: PASSED:
- REQUIRE( a == t )
- with expansion:
- 3 == 3
- Compilation.tests.cpp:<line number>: PASSED:
- CHECK( a == t )
- with expansion:
- 3 == 3
- Compilation.tests.cpp:<line number>: PASSED:
- REQUIRE_THROWS( throws_int(true) )
- Compilation.tests.cpp:<line number>: PASSED:
- CHECK_THROWS_AS( throws_int(true), int )
- Compilation.tests.cpp:<line number>: PASSED:
- REQUIRE_NOTHROW( throws_int(false) )
- Compilation.tests.cpp:<line number>: PASSED:
- REQUIRE_THAT( "aaa", Catch::Matchers::EndsWith("aaa") )
- with expansion:
- "aaa" ends with: "aaa"
- Compilation.tests.cpp:<line number>: PASSED:
- REQUIRE( templated_tests<int>(3) )
- with expansion:
- true
- -------------------------------------------------------------------------------
- #835 -- errno should not be touched by Catch2
- -------------------------------------------------------------------------------
- Misc.tests.cpp:<line number>
- ...............................................................................
- Misc.tests.cpp:<line number>: FAILED:
- CHECK( f() == 0 )
- with expansion:
- 1 == 0
- Misc.tests.cpp:<line number>: PASSED:
- REQUIRE( errno_after == 1 )
- with expansion:
- 1 == 1
- -------------------------------------------------------------------------------
- #872
- -------------------------------------------------------------------------------
- Compilation.tests.cpp:<line number>
- ...............................................................................
- Compilation.tests.cpp:<line number>: PASSED:
- REQUIRE( x == 4 )
- with expansion:
- {?} == 4
- with message:
- dummy := 0
- -------------------------------------------------------------------------------
- #961 -- Dynamically created sections should all be reported
- Looped section 0
- -------------------------------------------------------------------------------
- Misc.tests.cpp:<line number>
- ...............................................................................
- Misc.tests.cpp:<line number>: PASSED:
- with message:
- Everything is OK
- -------------------------------------------------------------------------------
- #961 -- Dynamically created sections should all be reported
- Looped section 1
- -------------------------------------------------------------------------------
- Misc.tests.cpp:<line number>
- ...............................................................................
- Misc.tests.cpp:<line number>: PASSED:
- with message:
- Everything is OK
- -------------------------------------------------------------------------------
- #961 -- Dynamically created sections should all be reported
- Looped section 2
- -------------------------------------------------------------------------------
- Misc.tests.cpp:<line number>
- ...............................................................................
- Misc.tests.cpp:<line number>: PASSED:
- with message:
- Everything is OK
- -------------------------------------------------------------------------------
- #961 -- Dynamically created sections should all be reported
- Looped section 3
- -------------------------------------------------------------------------------
- Misc.tests.cpp:<line number>
- ...............................................................................
- Misc.tests.cpp:<line number>: PASSED:
- with message:
- Everything is OK
- -------------------------------------------------------------------------------
- #961 -- Dynamically created sections should all be reported
- Looped section 4
- -------------------------------------------------------------------------------
- Misc.tests.cpp:<line number>
- ...............................................................................
- Misc.tests.cpp:<line number>: PASSED:
- with message:
- Everything is OK
- -------------------------------------------------------------------------------
- 'Not' checks that should fail
- -------------------------------------------------------------------------------
- Condition.tests.cpp:<line number>
- ...............................................................................
- Condition.tests.cpp:<line number>: FAILED:
- CHECK( false != false )
- Condition.tests.cpp:<line number>: FAILED:
- CHECK( true != true )
- ===============================================================================
- test cases: 32 | 27 passed | 3 failed | 2 failed as expected
- assertions: 101 | 94 passed | 4 failed | 3 failed as expected
|