diff --git a/include/reporters/catch_reporter_console.hpp b/include/reporters/catch_reporter_console.hpp index 15a5ba4c..84e5ea05 100644 --- a/include/reporters/catch_reporter_console.hpp +++ b/include/reporters/catch_reporter_console.hpp @@ -67,8 +67,10 @@ namespace Catch { return doubleDashes; } void printHeader( std::string const& _type, std::string const& _name ) { + std::size_t labelLen = _type.size() + _name.size() + 8; + std::size_t dashLen = getDashes().size(); stream << "-- " << _type << ": '" << _name << "' " - << getDashes().substr( 0, getDashes().size() - ( _type.size() + _name.size() + 9 ) ) + << getDashes().substr( 0, labelLen < dashLen ? dashLen - labelLen : 0 ) << std::endl; } diff --git a/projects/SelfTest/Baselines/approvedResults.txt b/projects/SelfTest/Baselines/approvedResults.txt index 2b8419b7..2840f660 100644 --- a/projects/SelfTest/Baselines/approvedResults.txt +++ b/projects/SelfTest/Baselines/approvedResults.txt @@ -1,6 +1,6 @@ --- Started testing: 'CatchSelfTest' --------------------------- --- Group: '~dummy' -------------------------------------------- --- Test case: './succeeding/Approx/simple' -------------------- +-- Started testing: 'CatchSelfTest' ---------------------------- +-- Group: '~dummy' --------------------------------------------- +-- Test case: './succeeding/Approx/simple' --------------------- ApproxTests.cpp:20: d == Approx( 1.23 ) succeeded for: 1.23 == Approx( 1.23 ) line 21: @@ -17,7 +17,7 @@ Approx( d ) != 1.24 succeeded for: Approx( 1.23 ) != 1.24 Summary for test case './succeeding/Approx/simple': All tests passed (6 assertions in 1 test case) --- Test case: './succeeding/Approx/epsilon' ------------------- +-- Test case: './succeeding/Approx/epsilon' -------------------- ApproxTests.cpp:38: d != Approx( 1.231 ) succeeded for: 1.23 != Approx( 1.231 ) line 39: @@ -26,7 +26,7 @@ d == Approx( 1.231 ).epsilon( 0.1 ) succeeded for: 1.23 == Approx( 1.231 ) Summary for test case './succeeding/Approx/epsilon': All tests passed (2 assertions in 1 test case) --- Test case: './succeeding/Approx/float' --------------------- +-- Test case: './succeeding/Approx/float' ---------------------- ApproxTests.cpp:49: 1.23f == Approx( 1.23f ) succeeded for: 1.23 == Approx( 1.23 ) line 50: @@ -35,7 +35,7 @@ line 50: Summary for test case './succeeding/Approx/float': All tests passed (2 assertions in 1 test case) --- Test case: './succeeding/Approx/int' ----------------------- +-- Test case: './succeeding/Approx/int' ------------------------ ApproxTests.cpp:60: 1 == Approx( 1 ) succeeded line 61: @@ -44,7 +44,7 @@ line 61: Summary for test case './succeeding/Approx/int': All tests passed (2 assertions in 1 test case) --- Test case: './succeeding/Approx/mixed' --------------------- +-- Test case: './succeeding/Approx/mixed' ---------------------- ApproxTests.cpp:75: 1.0f == Approx( 1 ) succeeded for: 1 == Approx( 1 ) line 76: @@ -59,7 +59,7 @@ dMedium == Approx( 1.234f ) succeeded for: 1.234 == Approx( 1.234 ) Summary for test case './succeeding/Approx/mixed': All tests passed (5 assertions in 1 test case) --- Test case: './succeeding/Approx/custom' -------------------- +-- Test case: './succeeding/Approx/custom' --------------------- ApproxTests.cpp:93: d == approx( 1.23 ) succeeded for: 1.23 == Approx( 1.23 ) line 94: @@ -80,35 +80,35 @@ approx( d ) != 1.25 succeeded for: Approx( 1.23 ) != 1.25 Summary for test case './succeeding/Approx/custom': All tests passed (8 assertions in 1 test case) --- Test case: './succeeding/TestClass/succeedingCase' --------- +-- Test case: './succeeding/TestClass/succeedingCase' ---------- ClassTests.cpp:24: s == "hello" succeeded for: "hello" == "hello" ---------------------------------------------------------------- Summary for test case './succeeding/TestClass/succeedingCase': All tests passed (1 assertion in 1 test case) --- Test case: './failing/TestClass/failingCase' --------------- +-- Test case: './failing/TestClass/failingCase' ---------------- ClassTests.cpp:28: s == "world" failed for: "hello" == "world" ---------------------------------------------------------------- Summary for test case './failing/TestClass/failingCase': 1 test case - failed (1 assertion - failed) --- Test case: './succeeding/Fixture/succeedingCase' ----------- +-- Test case: './succeeding/Fixture/succeedingCase' ------------ ClassTests.cpp:47: m_a == 1 succeeded for: 1 == 1 ---------------------------------------------------------------- Summary for test case './succeeding/Fixture/succeedingCase': All tests passed (1 assertion in 1 test case) --- Test case: './failing/Fixture/failingCase' ----------------- +-- Test case: './failing/Fixture/failingCase' ------------------ ClassTests.cpp:55: m_a == 2 failed for: 1 == 2 ---------------------------------------------------------------- Summary for test case './failing/Fixture/failingCase': 1 test case - failed (1 assertion - failed) --- Test case: './succeeding/conditions/equality' -------------- +-- Test case: './succeeding/conditions/equality' --------------- ConditionTests.cpp:55: data.int_seven == 7 succeeded for: 7 == 7 line 56: @@ -127,7 +127,7 @@ x == Approx( 1.3 ) succeeded for: 1.3 == Approx( 1.3 ) Summary for test case './succeeding/conditions/equality': All tests passed (7 assertions in 1 test case) --- Test case: './failing/conditions/equality' ----------------- +-- Test case: './failing/conditions/equality' ------------------ ConditionTests.cpp:71: data.int_seven == 6 failed for: 7 == 6 line 72: @@ -158,7 +158,7 @@ x == Approx( 1.301 ) failed for: 1.3 == Approx( 1.301 ) Summary for test case './failing/conditions/equality': 1 test case - failed (13 assertions - all failed) --- Test case: './succeeding/conditions/inequality' ------------ +-- Test case: './succeeding/conditions/inequality' ------------- ConditionTests.cpp:93: data.int_seven != 6 succeeded for: 7 != 6 line 94: @@ -185,7 +185,7 @@ data.str_hello.size() != 6 succeeded for: 5 != 6 Summary for test case './succeeding/conditions/inequality': All tests passed (11 assertions in 1 test case) --- Test case: './failing/conditions/inequality' --------------- +-- Test case: './failing/conditions/inequality' ---------------- ConditionTests.cpp:111: data.int_seven != 7 failed for: 7 != 7 line 112: @@ -200,7 +200,7 @@ data.str_hello.size() != 5 failed for: 5 != 5 Summary for test case './failing/conditions/inequality': 1 test case - failed (5 assertions - all failed) --- Test case: './succeeding/conditions/ordered' --------------- +-- Test case: './succeeding/conditions/ordered' ---------------- ConditionTests.cpp:124: data.int_seven < 8 succeeded for: 7 < 8 line 125: @@ -239,7 +239,7 @@ data.str_hello > "a" succeeded for: "hello" > "a" Summary for test case './succeeding/conditions/ordered': All tests passed (17 assertions in 1 test case) --- Test case: './failing/conditions/ordered' ------------------ +-- Test case: './failing/conditions/ordered' ------------------- ConditionTests.cpp:152: data.int_seven > 7 failed for: 7 > 7 line 153: @@ -282,7 +282,7 @@ data.str_hello <= "a" failed for: "hello" <= "a" Summary for test case './failing/conditions/ordered': 1 test case - failed (19 assertions - all failed) --- Test case: './succeeding/conditions/int literals' ---------- +-- Test case: './succeeding/conditions/int literals' ----------- ConditionTests.cpp:188: i == 1 succeeded for: 1 == 1 line 189: @@ -313,7 +313,7 @@ line 202: Summary for test case './succeeding/conditions/int literals': All tests passed (13 assertions in 1 test case) --- Test case: './succeeding/conditions//long_to_unsigned_x' --- +-- Test case: './succeeding/conditions//long_to_unsigned_x' ---- ConditionTests.cpp:223: long_var == unsigned_char_var succeeded for: 1 ==  line 224: @@ -326,7 +326,7 @@ long_var == unsigned_long_var succeeded for: 1 == 1 Summary for test case './succeeding/conditions//long_to_unsigned_x': All tests passed (4 assertions in 1 test case) --- Test case: './succeeding/conditions/const ints to int literal' ---------------------------------------------------------------- +-- Test case: './succeeding/conditions/const ints to int literal' ConditionTests.cpp:237: unsigned_char_var == 1 succeeded for:  == 1 line 238: @@ -339,7 +339,7 @@ unsigned_long_var == 1 succeeded for: 1 == 1 Summary for test case './succeeding/conditions/const ints to int literal': All tests passed (4 assertions in 1 test case) --- Test case: './succeeding/conditions/negative ints' --------- +-- Test case: './succeeding/conditions/negative ints' ---------- ConditionTests.cpp:246: ( -1 > 2u ) succeeded for: true line 247: @@ -356,14 +356,14 @@ minInt > 2u succeeded for: -2147483648 > 2 Summary for test case './succeeding/conditions/negative ints': All tests passed (6 assertions in 1 test case) --- Test case: './succeeding/conditions/computed ints' --------- +-- Test case: './succeeding/conditions/computed ints' ---------- ConditionTests.cpp:269: 54 == 6*9 succeeded for: 54 == 54 ---------------------------------------------------------------- Summary for test case './succeeding/conditions/computed ints': All tests passed (1 assertion in 1 test case) --- Test case: './succeeding/conditions/ptr' ------------------- +-- Test case: './succeeding/conditions/ptr' -------------------- ConditionTests.cpp:285: p == __null succeeded for: __null == 0 line 286: @@ -384,7 +384,7 @@ __null != p succeeded for: 0 != 0x Summary for test case './succeeding/conditions/ptr': All tests passed (8 assertions in 1 test case) --- Test case: './succeeding/conditions/not' ------------------- +-- Test case: './succeeding/conditions/not' -------------------- ConditionTests.cpp:317: false == false succeeded line 318: @@ -405,7 +405,7 @@ line 326: Summary for test case './succeeding/conditions/not': All tests passed (8 assertions in 1 test case) --- Test case: './failing/conditions/not' ---------------------- +-- Test case: './failing/conditions/not' ----------------------- ConditionTests.cpp:334: false != false failed line 335: @@ -426,7 +426,7 @@ line 343: Summary for test case './failing/conditions/not': 1 test case - failed (8 assertions - all failed) --- Test case: './succeeding/exceptions/explicit' -------------- +-- Test case: './succeeding/exceptions/explicit' --------------- ExceptionTests.cpp:39: thisThrows() succeeded line 40: @@ -437,7 +437,7 @@ thisThrows() succeeded Summary for test case './succeeding/exceptions/explicit': All tests passed (3 assertions in 1 test case) --- Test case: './failing/exceptions/explicit' ----------------- +-- Test case: './failing/exceptions/explicit' ------------------ ExceptionTests.cpp:47: thisThrows() failed with unexpected exception with message: 'expected exception' line 48: @@ -448,14 +448,14 @@ thisThrows() failed with unexpected exception with message: 'expected exception' Summary for test case './failing/exceptions/explicit': 1 test case - failed (3 assertions - all failed) --- Test case: './failing/exceptions/implicit' ----------------- +-- Test case: './failing/exceptions/implicit' ------------------ ExceptionTests.cpp:52: Unexpected exception with message: 'unexpected exception' ---------------------------------------------------------------- Summary for test case './failing/exceptions/implicit': 1 test case - failed (1 assertion - failed) --- Test case: './failing/exceptions/implicit/2' --------------- +-- Test case: './failing/exceptions/implicit/2' ---------------- ExceptionTests.cpp:60: 1 == 1 succeeded {Unknown expression after this line} failed with unexpected exception with message: 'unexpected exception' @@ -463,7 +463,7 @@ ExceptionTests.cpp:60: Summary for test case './failing/exceptions/implicit/2': 1 test case - failed (2 assertions - 1 failed) --- Test case: './succeeding/exceptions/implicit' -------------- +-- Test case: './succeeding/exceptions/implicit' --------------- No assertions in test case, './succeeding/exceptions/implicit' @@ -471,42 +471,42 @@ No assertions in test case, './succeeding/exceptions/implicit' Summary for test case './succeeding/exceptions/implicit': 1 test case - failed (1 assertion - failed) --- Test case: './failing/exceptions/custom' ------------------- +-- Test case: './failing/exceptions/custom' -------------------- ExceptionTests.cpp:102: Unexpected exception with message: 'custom exception' ---------------------------------------------------------------- Summary for test case './failing/exceptions/custom': 1 test case - failed (1 assertion - failed) --- Test case: './failing/exceptions/custom/nothrow' ----------- +-- Test case: './failing/exceptions/custom/nothrow' ------------ ExceptionTests.cpp:109: throw CustomException( "unexpected custom exception" ) failed with unexpected exception with message: 'unexpected custom exception' ---------------------------------------------------------------- Summary for test case './failing/exceptions/custom/nothrow': 1 test case - failed (1 assertion - failed) --- Test case: './failing/exceptions/custom/throw' ------------- +-- Test case: './failing/exceptions/custom/throw' -------------- ExceptionTests.cpp:114: throw CustomException( "custom exception - not std" ) failed with unexpected exception with message: 'custom exception - not std' ---------------------------------------------------------------- Summary for test case './failing/exceptions/custom/throw': 1 test case - failed (1 assertion - failed) --- Test case: './failing/exceptions/custom/double' ------------ +-- Test case: './failing/exceptions/custom/double' ------------- ExceptionTests.cpp:118: Unexpected exception with message: '3.14' ---------------------------------------------------------------- Summary for test case './failing/exceptions/custom/double': 1 test case - failed (1 assertion - failed) --- Test case: './succeeding/exceptions/notimplemented' -------- +-- Test case: './succeeding/exceptions/notimplemented' --------- ExceptionTests.cpp:129: thisFunctionNotImplemented( 7 ) succeeded ---------------------------------------------------------------- Summary for test case './succeeding/exceptions/notimplemented': All tests passed (1 assertion in 1 test case) --- Test case: './succeeding/generators/1' --------------------- +-- Test case: './succeeding/generators/1' ---------------------- GeneratorTests.cpp:26: multiply( i, 2 ) == i*2 succeeded for: 2 == 2 line 27: @@ -728,7 +728,7 @@ multiply( j, 2 ) == j*2 succeeded for: 214 == 214 Summary for test case './succeeding/generators/1': All tests passed (144 assertions in 1 test case) --- Test case: './succeeding/message' -------------------------- +-- Test case: './succeeding/message' --------------------------- MessageTests.cpp:14: [warning: this is a warning] @@ -738,7 +738,7 @@ No assertions in test case, './succeeding/message' Summary for test case './succeeding/message': 1 test case - failed (1 assertion - failed) --- Test case: './succeeding/succeed' -------------------------- +-- Test case: './succeeding/succeed' --------------------------- MessageTests.cpp:18: succeeded [with message: this is a success] @@ -746,7 +746,7 @@ MessageTests.cpp:18: Summary for test case './succeeding/succeed': All tests passed (1 assertion in 1 test case) --- Test case: './failing/message/info/1' ---------------------- +-- Test case: './failing/message/info/1' ----------------------- MessageTests.cpp:23: [info: this message should be logged] line 24: @@ -757,7 +757,7 @@ a == 1 failed for: 2 == 1 Summary for test case './failing/message/info/1': 1 test case - failed (1 assertion - failed) --- Test case: './mixed/message/info/2' ------------------------ +-- Test case: './mixed/message/info/2' ------------------------- MessageTests.cpp:33: a == 2 succeeded for: 2 == 2 line 31: @@ -776,22 +776,22 @@ a == 2 succeeded for: 2 == 2 Summary for test case './mixed/message/info/2': 1 test case - failed (4 assertions - 2 failed) --- Test case: './failing/message/fail' ------------------------ +-- Test case: './failing/message/fail' ------------------------- MessageTests.cpp:51: failed with message: 'This is a failure' ---------------------------------------------------------------- Summary for test case './failing/message/fail': 1 test case - failed (1 assertion - failed) --- Test case: './failing/message/sections' -------------------- --- Section: 'one' --------------------------------------------- +-- Test case: './failing/message/sections' --------------------- +-- Section: 'one' ---------------------------------------------- MessageTests.cpp:58: failed with message: 'Message from section one' ---------------------------------------------------------------- Summary for section 'one': 1 assertion - failed --- Section: 'two' --------------------------------------------- +-- Section: 'two' ---------------------------------------------- MessageTests.cpp:63: failed with message: 'Message from section two' ---------------------------------------------------------------- @@ -803,8 +803,8 @@ Summary for test case './failing/message/sections': 1 test case - failed (2 assertions - both failed) Message from section one --- Test case: './succeeding/message/sections/stdout' ---------- --- Section: 'one' --------------------------------------------- +-- Test case: './succeeding/message/sections/stdout' ----------- +-- Section: 'one' ---------------------------------------------- No assertions in section, 'one' @@ -813,7 +813,7 @@ Summary for section 'one': 1 assertion - failed Message from section two --- Section: 'two' --------------------------------------------- +-- Section: 'two' ---------------------------------------------- No assertions in section, 'two' @@ -825,7 +825,7 @@ Summary for section 'two': Summary for test case './succeeding/message/sections/stdout': 1 test case - failed (2 assertions - both failed) --- Test case: './mixed/message/scoped' ------------------------ +-- Test case: './mixed/message/scoped' ------------------------- MessageTests.cpp:86: i < 10 succeeded for: 0 < 10 i < 10 succeeded for: 1 < 10 @@ -844,7 +844,7 @@ i < 10 failed for: 10 < 10 Summary for test case './mixed/message/scoped': 1 test case - failed (11 assertions - 1 failed) --- Test case: './succeeding/nofail' --------------------------- +-- Test case: './succeeding/nofail' ---------------------------- MessageTests.cpp:92: 1 == 2 failed - but was ok @@ -854,8 +854,8 @@ No assertions in test case, './succeeding/nofail' Summary for test case './succeeding/nofail': 1 test case - failed (1 assertion - failed) --- Test case: './succeeding/Misc/Sections' -------------------- --- Section: 's1' ---------------------------------------------- +-- Test case: './succeeding/Misc/Sections' --------------------- +-- Section: 's1' ----------------------------------------------- MiscTests.cpp:25: a != b succeeded for: 1 != 2 line 26: @@ -864,7 +864,7 @@ b != a succeeded for: 2 != 1 Summary for section 's1': All 2 assertions passed --- Section: 's2' ---------------------------------------------- +-- Section: 's2' ----------------------------------------------- MiscTests.cpp:31: a != b succeeded for: 1 != 2 ---------------------------------------------------------------- @@ -875,13 +875,13 @@ Summary for section 's2': Summary for test case './succeeding/Misc/Sections': All tests passed (3 assertions in 1 test case) --- Test case: './succeeding/Misc/Sections/nested' ------------- --- Section: 's1' ---------------------------------------------- +-- Test case: './succeeding/Misc/Sections/nested' -------------- +-- Section: 's1' ----------------------------------------------- MiscTests.cpp:42: a != b succeeded for: 1 != 2 line 43: b != a succeeded for: 2 != 1 --- Section: 's2' ---------------------------------------------- +-- Section: 's2' ----------------------------------------------- line 47: a != b succeeded for: 1 != 2 ---------------------------------------------------------------- @@ -896,9 +896,9 @@ All 3 assertions passed Summary for test case './succeeding/Misc/Sections/nested': All tests passed (3 assertions in 1 test case) --- Test case: './mixed/Misc/Sections/nested2' ----------------- --- Section: 's1' ---------------------------------------------- --- Section: 's2' ---------------------------------------------- +-- Test case: './mixed/Misc/Sections/nested2' ------------------ +-- Section: 's1' ----------------------------------------------- +-- Section: 's2' ----------------------------------------------- MiscTests.cpp:61: a == b failed for: 1 == 2 ---------------------------------------------------------------- @@ -909,8 +909,8 @@ Summary for section 's2': Summary for section 's1': 1 assertion - failed --- Section: 's1' ---------------------------------------------- --- Section: 's3' ---------------------------------------------- +-- Section: 's1' ----------------------------------------------- +-- Section: 's3' ----------------------------------------------- MiscTests.cpp:66: a != b succeeded for: 1 != 2 ---------------------------------------------------------------- @@ -921,8 +921,8 @@ Summary for section 's3': Summary for section 's1': 1 assertion passed --- Section: 's1' ---------------------------------------------- --- Section: 's4' ---------------------------------------------- +-- Section: 's1' ----------------------------------------------- +-- Section: 's4' ----------------------------------------------- MiscTests.cpp:70: a < b succeeded for: 1 < 2 ---------------------------------------------------------------- @@ -937,9 +937,9 @@ Summary for section 's1': Summary for test case './mixed/Misc/Sections/nested2': 1 test case - failed (3 assertions - 1 failed) --- Test case: './Sections/nested/a/b' ------------------------- --- Section: 'c' ----------------------------------------------- --- Section: 'd (leaf)' ---------------------------------------- +-- Test case: './Sections/nested/a/b' -------------------------- +-- Section: 'c' ------------------------------------------------ +-- Section: 'd (leaf)' ----------------------------------------- No assertions in section, 'd (leaf)' @@ -951,8 +951,8 @@ Summary for section 'd (leaf)': Summary for section 'c': 1 assertion - failed --- Section: 'c' ----------------------------------------------- --- Section: 'e (leaf)' ---------------------------------------- +-- Section: 'c' ------------------------------------------------ +-- Section: 'e (leaf)' ----------------------------------------- No assertions in section, 'e (leaf)' @@ -964,7 +964,7 @@ Summary for section 'e (leaf)': Summary for section 'c': 1 assertion - failed --- Section: 'f (leaf)' ---------------------------------------- +-- Section: 'f (leaf)' ----------------------------------------- No assertions in section, 'f (leaf)' @@ -976,8 +976,8 @@ Summary for section 'f (leaf)': Summary for test case './Sections/nested/a/b': 1 test case - failed (3 assertions - all failed) --- Test case: './mixed/Misc/Sections/loops' ------------------- --- Section: 's1' ---------------------------------------------- +-- Test case: './mixed/Misc/Sections/loops' -------------------- +-- Section: 's1' ----------------------------------------------- MiscTests.cpp:103: b > a failed for: 0 > 1 ---------------------------------------------------------------- @@ -988,7 +988,7 @@ Summary for section 's1': Summary for test case './mixed/Misc/Sections/loops': 1 test case - failed (1 assertion - failed) --- Test case: './mixed/Misc/loops' ---------------------------- +-- Test case: './mixed/Misc/loops' ----------------------------- MiscTests.cpp:114: [info: Testing if fib[0] (1) is even] line 115: @@ -1020,7 +1020,7 @@ Summary for test case './mixed/Misc/loops': Some information An error --- Test case: './succeeding/Misc/stdout,stderr' --------------- +-- Test case: './succeeding/Misc/stdout,stderr' ---------------- No assertions in test case, './succeeding/Misc/stdout,stderr' @@ -1028,7 +1028,7 @@ No assertions in test case, './succeeding/Misc/stdout,stderr' Summary for test case './succeeding/Misc/stdout,stderr': 1 test case - failed (1 assertion - failed) --- Test case: './succeeding/Misc/null strings' ---------------- +-- Test case: './succeeding/Misc/null strings' ----------------- MiscTests.cpp:133: makeString( false ) != static_cast(__null) succeeded for: "valid string" != {null string} line 134: @@ -1037,7 +1037,7 @@ makeString( true ) == static_cast(__null) succeeded for: {null string} == Summary for test case './succeeding/Misc/null strings': All tests passed (2 assertions in 1 test case) --- Test case: './failing/info' -------------------------------- +-- Test case: './failing/info' --------------------------------- MiscTests.cpp:139: [info: hi] line 141: @@ -1048,7 +1048,7 @@ false failed Summary for test case './failing/info': 1 test case - failed (1 assertion - failed) --- Test case: './succeeding/checkedif' ------------------------ +-- Test case: './succeeding/checkedif' ------------------------- MiscTests.cpp:147: flag succeeded for: true line 155: @@ -1057,7 +1057,7 @@ testCheckedIf( true ) succeeded for: true Summary for test case './succeeding/checkedif': All tests passed (2 assertions in 1 test case) --- Test case: './failing/checkedif' --------------------------- +-- Test case: './failing/checkedif' ---------------------------- MiscTests.cpp:147: flag failed for: false line 160: @@ -1066,7 +1066,7 @@ testCheckedIf( false ) failed for: false Summary for test case './failing/checkedif': 1 test case - failed (2 assertions - both failed) --- Test case: './succeeding/checkedelse' ---------------------- +-- Test case: './succeeding/checkedelse' ----------------------- MiscTests.cpp:165: flag succeeded for: true line 173: @@ -1075,7 +1075,7 @@ testCheckedElse( true ) succeeded for: true Summary for test case './succeeding/checkedelse': All tests passed (2 assertions in 1 test case) --- Test case: './failing/checkedelse' ------------------------- +-- Test case: './failing/checkedelse' -------------------------- MiscTests.cpp:165: flag failed for: false line 178: @@ -1084,8 +1084,8 @@ testCheckedElse( false ) failed for: false Summary for test case './failing/checkedelse': 1 test case - failed (2 assertions - both failed) --- Test case: './misc/xmlentitycheck' ------------------------- --- Section: 'embedded xml' ------------------------------------ +-- Test case: './misc/xmlentitycheck' -------------------------- +-- Section: 'embedded xml' ------------------------------------- No assertions in section, 'embedded xml' @@ -1093,7 +1093,7 @@ No assertions in section, 'embedded xml' Summary for section 'embedded xml': 1 assertion - failed --- Section: 'encoded chars' ----------------------------------- +-- Section: 'encoded chars' ------------------------------------ No assertions in section, 'encoded chars' @@ -1105,7 +1105,7 @@ Summary for section 'encoded chars': Summary for test case './misc/xmlentitycheck': 1 test case - failed (2 assertions - both failed) --- Test case: './manual/onechar' ------------------------------ +-- Test case: './manual/onechar' ------------------------------- MiscTests.cpp:195: [info: 3] line 196: @@ -1114,14 +1114,14 @@ false failed Summary for test case './manual/onechar': 1 test case - failed (1 assertion - failed) --- Test case: './succeeding/atomic if' ------------------------ +-- Test case: './succeeding/atomic if' ------------------------- MiscTests.cpp:206: x == 0 succeeded for: 0 == 0 ---------------------------------------------------------------- Summary for test case './succeeding/atomic if': All tests passed (1 assertion in 1 test case) --- Test case: './succeeding/matchers' ------------------------- +-- Test case: './succeeding/matchers' -------------------------- MiscTests.cpp:216: testStringForMatching() Contains( "string" ) succeeded for: "this string contains 'abc' as a substring" contains: "string" @@ -1138,7 +1138,7 @@ testStringForMatching() EndsWith( "substring" ) succeeded for: Summary for test case './succeeding/matchers': All tests passed (4 assertions in 1 test case) --- Test case: './failing/matchers/Contains' ------------------- +-- Test case: './failing/matchers/Contains' -------------------- MiscTests.cpp:225: testStringForMatching() Contains( "not there" ) failed for: "this string contains 'abc' as a substring" contains: "not there" @@ -1146,7 +1146,7 @@ testStringForMatching() Contains( "not there" ) failed for: Summary for test case './failing/matchers/Contains': 1 test case - failed (1 assertion - failed) --- Test case: './failing/matchers/StartsWith' ----------------- +-- Test case: './failing/matchers/StartsWith' ------------------ MiscTests.cpp:230: testStringForMatching() StartsWith( "string" ) failed for: "this string contains 'abc' as a substring" starts with: "string" @@ -1154,7 +1154,7 @@ testStringForMatching() StartsWith( "string" ) failed for: Summary for test case './failing/matchers/StartsWith': 1 test case - failed (1 assertion - failed) --- Test case: './failing/matchers/EndsWith' ------------------- +-- Test case: './failing/matchers/EndsWith' -------------------- MiscTests.cpp:235: testStringForMatching() EndsWith( "this" ) failed for: "this string contains 'abc' as a substring" ends with: "this" @@ -1162,7 +1162,7 @@ testStringForMatching() EndsWith( "this" ) failed for: Summary for test case './failing/matchers/EndsWith': 1 test case - failed (1 assertion - failed) --- Test case: './failing/matchers/Equals' --------------------- +-- Test case: './failing/matchers/Equals' ---------------------- MiscTests.cpp:240: testStringForMatching() Equals( "something else" ) failed for: "this string contains 'abc' as a substring" equals: "something else" @@ -1170,7 +1170,7 @@ testStringForMatching() Equals( "something else" ) failed for: Summary for test case './failing/matchers/Equals': 1 test case - failed (1 assertion - failed) --- Test case: '/succeeding/matchers/AllOf' -------------------- +-- Test case: '/succeeding/matchers/AllOf' --------------------- MiscTests.cpp:245: testStringForMatching() AllOf( Catch::Contains( "string" ), Catch::Contains( "abc" ) ) succeeded for: "this string contains 'abc' as a substring" ( contains: "string" and contains: "abc" ) @@ -1178,7 +1178,7 @@ testStringForMatching() AllOf( Catch::Contains( "string" ), Catch::Contains( "ab Summary for test case '/succeeding/matchers/AllOf': All tests passed (1 assertion in 1 test case) --- Test case: '/succeeding/matchers/AnyOf' -------------------- +-- Test case: '/succeeding/matchers/AnyOf' --------------------- MiscTests.cpp:249: testStringForMatching() AnyOf( Catch::Contains( "string" ), Catch::Contains( "not there" ) ) succeeded for: "this string contains 'abc' as a substring" ( contains: "string" or contains: "not there" ) @@ -1189,7 +1189,7 @@ testStringForMatching() AnyOf( Catch::Contains( "not there" ), Catch::Contains( Summary for test case '/succeeding/matchers/AnyOf': All tests passed (2 assertions in 1 test case) --- Test case: './succeeding/matchers/Equals' ------------------ +-- Test case: './succeeding/matchers/Equals' ------------------- MiscTests.cpp:255: testStringForMatching() Equals( "this string contains 'abc' as a substring" ) succeeded for: "this string contains 'abc' as a substring" equals: "this string contains 'abc' as a substring" @@ -1197,7 +1197,7 @@ testStringForMatching() Equals( "this string contains 'abc' as a substring" ) su Summary for test case './succeeding/matchers/Equals': All tests passed (1 assertion in 1 test case) --- Test case: 'example/factorial' ----------------------------- +-- Test case: 'example/factorial' ------------------------------ MiscTests.cpp:266: Factorial(0) == 1 succeeded for: 1 == 1 line 267: @@ -1212,7 +1212,7 @@ Factorial(10) == 3628800 succeeded for: 0x == 3628800 Summary for test case 'example/factorial': All tests passed (5 assertions in 1 test case) --- Test case: 'empty' ----------------------------------------- +-- Test case: 'empty' ------------------------------------------ No assertions in test case, 'empty' @@ -1220,7 +1220,7 @@ No assertions in test case, 'empty' Summary for test case 'empty': 1 test case - failed (1 assertion - failed) --- Test case: 'Nice descriptive name' ------------------------- +-- Test case: 'Nice descriptive name' -------------------------- MiscTests.cpp:279: [warning: This one ran] @@ -1230,7 +1230,7 @@ No assertions in test case, 'Nice descriptive name' Summary for test case 'Nice descriptive name': 1 test case - failed (1 assertion - failed) --- Test case: 'first tag' ------------------------------------- +-- Test case: 'first tag' -------------------------------------- No assertions in test case, 'first tag' @@ -1238,7 +1238,7 @@ No assertions in test case, 'first tag' Summary for test case 'first tag': 1 test case - failed (1 assertion - failed) --- Test case: 'second tag' ------------------------------------ +-- Test case: 'second tag' ------------------------------------- No assertions in test case, 'second tag' @@ -1246,9 +1246,9 @@ No assertions in test case, 'second tag' Summary for test case 'second tag': 1 test case - failed (1 assertion - failed) --- Test case: 'selftest/main' --------------------------------- --- Section: 'selftest/expected result' ------------------------ --- Section: 'selftest/expected result/failing tests' ---------- +-- Test case: 'selftest/main' ---------------------------------- +-- Section: 'selftest/expected result' ------------------------- +-- Section: 'selftest/expected result/failing tests' ----------- /Users/Phil/Dev/OSS/Catch/projects/XCode4/CatchSelfTest/CatchSelfTest/../../../SelfTest/catch_self_test.hpp:106: succeeded [with message: Tests failed, as expected] @@ -1308,8 +1308,8 @@ All 25 assertions passed Summary for section 'selftest/expected result': All 25 assertions passed --- Section: 'selftest/expected result' ------------------------ --- Section: 'selftest/expected result/succeeding tests' ------- +-- Section: 'selftest/expected result' ------------------------- +-- Section: 'selftest/expected result/succeeding tests' -------- /Users/Phil/Dev/OSS/Catch/projects/XCode4/CatchSelfTest/CatchSelfTest/../../../SelfTest/catch_self_test.hpp:95: succeeded [with message: Tests passed, as expected] @@ -1413,8 +1413,8 @@ Message from section one Message from section two Some information An error --- Section: 'selftest/test counts' ---------------------------- --- Section: 'selftest/test counts/succeeding tests' ----------- +-- Section: 'selftest/test counts' ----------------------------- +-- Section: 'selftest/test counts/succeeding tests' ------------ TestMain.cpp:40: totals.assertions.passed == 291 succeeded for: 291 == 291 line 41: @@ -1427,8 +1427,8 @@ All 2 assertions passed Summary for section 'selftest/test counts': All 2 assertions passed --- Section: 'selftest/test counts' ---------------------------- --- Section: 'selftest/test counts/failing tests' -------------- +-- Section: 'selftest/test counts' ----------------------------- +-- Section: 'selftest/test counts/failing tests' --------------- TestMain.cpp:47: totals.assertions.passed == 1 succeeded for: 1 == 1 line 48: @@ -1445,7 +1445,7 @@ All 2 assertions passed Summary for test case 'selftest/main': All tests passed (72 assertions in 1 test case) --- Test case: 'meta/Misc/Sections' ---------------------------- +-- Test case: 'meta/Misc/Sections' ----------------------------- TestMain.cpp:57: totals.assertions.passed == 2 succeeded for: 2 == 2 line 58: @@ -1454,8 +1454,8 @@ totals.assertions.failed == 1 succeeded for: 1 == 1 Summary for test case 'meta/Misc/Sections': All tests passed (2 assertions in 1 test case) --- Test case: 'selftest/parser/2' ----------------------------- --- Section: 'default' ----------------------------------------- +-- Test case: 'selftest/parser/2' ------------------------------ +-- Section: 'default' ------------------------------------------ TestMain.cpp:97: parseIntoConfig( argv, config ) succeeded line 99: @@ -1470,8 +1470,8 @@ config.reporter.empty() succeeded for: true Summary for section 'default': All 5 assertions passed --- Section: 'test lists' -------------------------------------- --- Section: '-t/1' -------------------------------------------- +-- Section: 'test lists' --------------------------------------- +-- Section: '-t/1' --------------------------------------------- TestMain.cpp:108: parseIntoConfig( argv, config ) succeeded line 110: @@ -1488,8 +1488,8 @@ All 4 assertions passed Summary for section 'test lists': All 4 assertions passed --- Section: 'test lists' -------------------------------------- --- Section: '-t/exclude:1' ------------------------------------ +-- Section: 'test lists' --------------------------------------- +-- Section: '-t/exclude:1' ------------------------------------- TestMain.cpp:116: parseIntoConfig( argv, config ) succeeded line 118: @@ -1506,8 +1506,8 @@ All 4 assertions passed Summary for section 'test lists': All 4 assertions passed --- Section: 'test lists' -------------------------------------- --- Section: '--test/1' ---------------------------------------- +-- Section: 'test lists' --------------------------------------- +-- Section: '--test/1' ----------------------------------------- TestMain.cpp:125: parseIntoConfig( argv, config ) succeeded line 127: @@ -1524,8 +1524,8 @@ All 4 assertions passed Summary for section 'test lists': All 4 assertions passed --- Section: 'test lists' -------------------------------------- --- Section: '--test/exclude:1' -------------------------------- +-- Section: 'test lists' --------------------------------------- +-- Section: '--test/exclude:1' --------------------------------- TestMain.cpp:134: parseIntoConfig( argv, config ) succeeded line 136: @@ -1542,8 +1542,8 @@ All 4 assertions passed Summary for section 'test lists': All 4 assertions passed --- Section: 'test lists' -------------------------------------- --- Section: '--test/exclude:2' -------------------------------- +-- Section: 'test lists' --------------------------------------- +-- Section: '--test/exclude:2' --------------------------------- TestMain.cpp:143: parseIntoConfig( argv, config ) succeeded line 145: @@ -1560,8 +1560,8 @@ All 4 assertions passed Summary for section 'test lists': All 4 assertions passed --- Section: 'test lists' -------------------------------------- --- Section: '-t/2' -------------------------------------------- +-- Section: 'test lists' --------------------------------------- +-- Section: '-t/2' --------------------------------------------- TestMain.cpp:152: parseIntoConfig( argv, config ) succeeded line 154: @@ -1580,8 +1580,8 @@ All 5 assertions passed Summary for section 'test lists': All 5 assertions passed --- Section: 'test lists' -------------------------------------- --- Section: '-t/0' -------------------------------------------- +-- Section: 'test lists' --------------------------------------- +-- Section: '-t/0' --------------------------------------------- TestMain.cpp:162: parseIntoConfigAndReturnError( argv, config ) Contains( "at least 1" ) succeeded for: "Error while parsing arguments. Expected at least 1 argument." contains: "at least 1" @@ -1593,8 +1593,8 @@ Summary for section '-t/0': Summary for section 'test lists': 1 assertion passed --- Section: 'reporter' ---------------------------------------- --- Section: '-r/basic' ---------------------------------------- +-- Section: 'reporter' ----------------------------------------- +-- Section: '-r/basic' ----------------------------------------- TestMain.cpp:169: parseIntoConfig( argv, config ) succeeded line 171: @@ -1607,8 +1607,8 @@ All 2 assertions passed Summary for section 'reporter': All 2 assertions passed --- Section: 'reporter' ---------------------------------------- --- Section: '-r/xml' ------------------------------------------ +-- Section: 'reporter' ----------------------------------------- +-- Section: '-r/xml' ------------------------------------------- TestMain.cpp:175: parseIntoConfig( argv, config ) succeeded line 177: @@ -1621,8 +1621,8 @@ All 2 assertions passed Summary for section 'reporter': All 2 assertions passed --- Section: 'reporter' ---------------------------------------- --- Section: '--reporter/junit' -------------------------------- +-- Section: 'reporter' ----------------------------------------- +-- Section: '--reporter/junit' --------------------------------- TestMain.cpp:181: parseIntoConfig( argv, config ) succeeded line 183: @@ -1635,8 +1635,8 @@ All 2 assertions passed Summary for section 'reporter': All 2 assertions passed --- Section: 'reporter' ---------------------------------------- --- Section: '-r/error' ---------------------------------------- +-- Section: 'reporter' ----------------------------------------- +-- Section: '-r/error' ----------------------------------------- TestMain.cpp:187: parseIntoConfigAndReturnError( argv, config ) Contains( "1 argument" ) succeeded for: "Error while parsing arguments. Expected 1 argument. Arguments were: one two" contains: "1 argument" @@ -1648,8 +1648,8 @@ Summary for section '-r/error': Summary for section 'reporter': 1 assertion passed --- Section: 'debugger' ---------------------------------------- --- Section: '-b' ---------------------------------------------- +-- Section: 'debugger' ----------------------------------------- +-- Section: '-b' ----------------------------------------------- TestMain.cpp:194: parseIntoConfig( argv, config ) succeeded line 196: @@ -1662,8 +1662,8 @@ All 2 assertions passed Summary for section 'debugger': All 2 assertions passed --- Section: 'debugger' ---------------------------------------- --- Section: '--break' ----------------------------------------- +-- Section: 'debugger' ----------------------------------------- +-- Section: '--break' ------------------------------------------ TestMain.cpp:200: parseIntoConfig( argv, config ) succeeded line 202: @@ -1676,8 +1676,8 @@ All 2 assertions passed Summary for section 'debugger': All 2 assertions passed --- Section: 'debugger' ---------------------------------------- --- Section: '-b' ---------------------------------------------- +-- Section: 'debugger' ----------------------------------------- +-- Section: '-b' ----------------------------------------------- TestMain.cpp:206: parseIntoConfigAndReturnError( argv, config ) Contains( "0 arguments" ) succeeded for: "Error while parsing arguments. Expected 0 arguments. Arguments were: unexpected" contains: "0 arguments" @@ -1689,8 +1689,8 @@ Summary for section '-b': Summary for section 'debugger': 1 assertion passed --- Section: 'abort' ------------------------------------------- --- Section: '-a' ---------------------------------------------- +-- Section: 'abort' -------------------------------------------- +-- Section: '-a' ----------------------------------------------- TestMain.cpp:213: parseIntoConfig( argv, config ) succeeded line 215: @@ -1703,8 +1703,8 @@ All 2 assertions passed Summary for section 'abort': All 2 assertions passed --- Section: 'abort' ------------------------------------------- --- Section: '-a/2' -------------------------------------------- +-- Section: 'abort' -------------------------------------------- +-- Section: '-a/2' --------------------------------------------- TestMain.cpp:219: parseIntoConfig( argv, config ) succeeded line 221: @@ -1717,8 +1717,8 @@ All 2 assertions passed Summary for section 'abort': All 2 assertions passed --- Section: 'abort' ------------------------------------------- --- Section: '-a/error/0' -------------------------------------- +-- Section: 'abort' -------------------------------------------- +-- Section: '-a/error/0' --------------------------------------- TestMain.cpp:225: parseIntoConfigAndReturnError( argv, config ) Contains( "greater than zero" ) succeeded for: "Error while parsing arguments. threshold must be a number greater than zero. Arguments were: 0" contains: "greater than zero" @@ -1730,8 +1730,8 @@ Summary for section '-a/error/0': Summary for section 'abort': 1 assertion passed --- Section: 'abort' ------------------------------------------- --- Section: '-a/error/non numeric' ---------------------------- +-- Section: 'abort' -------------------------------------------- +-- Section: '-a/error/non numeric' ----------------------------- TestMain.cpp:229: parseIntoConfigAndReturnError( argv, config ) Contains( "greater than zero" ) succeeded for: "Error while parsing arguments. threshold must be a number greater than zero. Arguments were: oops" contains: "greater than zero" @@ -1743,8 +1743,8 @@ Summary for section '-a/error/non numeric': Summary for section 'abort': 1 assertion passed --- Section: 'abort' ------------------------------------------- --- Section: '-a/error/two args' ------------------------------- +-- Section: 'abort' -------------------------------------------- +-- Section: '-a/error/two args' -------------------------------- TestMain.cpp:233: parseIntoConfigAndReturnError( argv, config ) Contains( "0 and 1 argument" ) succeeded for: "Error while parsing arguments. Expected between 0 and 1 argument. Arguments were: 1 2" contains: "0 and 1 argument" @@ -1756,8 +1756,8 @@ Summary for section '-a/error/two args': Summary for section 'abort': 1 assertion passed --- Section: 'nothrow' ----------------------------------------- --- Section: '-nt' --------------------------------------------- +-- Section: 'nothrow' ------------------------------------------ +-- Section: '-nt' ---------------------------------------------- TestMain.cpp:240: parseIntoConfig( argv, config ) succeeded line 242: @@ -1770,8 +1770,8 @@ All 2 assertions passed Summary for section 'nothrow': All 2 assertions passed --- Section: 'nothrow' ----------------------------------------- --- Section: '--nothrow' --------------------------------------- +-- Section: 'nothrow' ------------------------------------------ +-- Section: '--nothrow' ---------------------------------------- TestMain.cpp:246: parseIntoConfig( argv, config ) succeeded line 248: @@ -1784,8 +1784,8 @@ All 2 assertions passed Summary for section 'nothrow': All 2 assertions passed --- Section: 'streams' ----------------------------------------- --- Section: '-o filename' ------------------------------------- +-- Section: 'streams' ------------------------------------------ +-- Section: '-o filename' -------------------------------------- TestMain.cpp:255: parseIntoConfig( argv, config ) succeeded line 257: @@ -1800,8 +1800,8 @@ All 3 assertions passed Summary for section 'streams': All 3 assertions passed --- Section: 'streams' ----------------------------------------- --- Section: '-o %stdout' -------------------------------------- +-- Section: 'streams' ------------------------------------------ +-- Section: '-o %stdout' --------------------------------------- TestMain.cpp:262: parseIntoConfig( argv, config ) succeeded line 264: @@ -1816,8 +1816,8 @@ All 3 assertions passed Summary for section 'streams': All 3 assertions passed --- Section: 'streams' ----------------------------------------- --- Section: '--out' ------------------------------------------- +-- Section: 'streams' ------------------------------------------ +-- Section: '--out' -------------------------------------------- TestMain.cpp:269: parseIntoConfig( argv, config ) succeeded line 271: @@ -1830,8 +1830,8 @@ All 2 assertions passed Summary for section 'streams': All 2 assertions passed --- Section: 'combinations' ------------------------------------ --- Section: '-a -b' ------------------------------------------- +-- Section: 'combinations' ------------------------------------- +-- Section: '-a -b' -------------------------------------------- TestMain.cpp:278: parseIntoConfig( argv, config ) succeeded line 280: @@ -1852,7 +1852,7 @@ All 4 assertions passed Summary for test case 'selftest/parser/2': All tests passed (66 assertions in 1 test case) --- Test case: 'selftest/test filter' -------------------------- +-- Test case: 'selftest/test filter' --------------------------- TestMain.cpp:291: matchAny.shouldInclude( fakeTestCase( "any" ) ) succeeded for: true line 292: @@ -1869,7 +1869,7 @@ matchNonHidden.shouldInclude( fakeTestCase( "./any" ) ) == false succeeded for: Summary for test case 'selftest/test filter': All tests passed (6 assertions in 1 test case) --- Test case: 'selftest/test filters' ------------------------- +-- Test case: 'selftest/test filters' -------------------------- TestMain.cpp:312: matchHidden.shouldInclude( fakeTestCase( "./something" ) ) succeeded for: true line 314: @@ -1882,7 +1882,7 @@ filters.shouldInclude( fakeTestCase( "./anything" ) ) == false succeeded for: fa Summary for test case 'selftest/test filters': All tests passed (4 assertions in 1 test case) --- Test case: 'selftest/filter/prefix wildcard' --------------- +-- Test case: 'selftest/filter/prefix wildcard' ---------------- TestMain.cpp:322: matchBadgers.shouldInclude( fakeTestCase( "big badger" ) ) succeeded for: true line 323: @@ -1891,7 +1891,7 @@ matchBadgers.shouldInclude( fakeTestCase( "little badgers" ) ) == false succeede Summary for test case 'selftest/filter/prefix wildcard': All tests passed (2 assertions in 1 test case) --- Test case: 'selftest/filter/wildcard at both ends' --------- +-- Test case: 'selftest/filter/wildcard at both ends' ---------- TestMain.cpp:328: matchBadgers.shouldInclude( fakeTestCase( "big badger" ) ) succeeded for: true line 329: @@ -1904,7 +1904,7 @@ matchBadgers.shouldInclude( fakeTestCase( "hedgehogs" ) ) == false succeeded for Summary for test case 'selftest/filter/wildcard at both ends': All tests passed (4 assertions in 1 test case) --- Test case: 'selftest/option parsers' ----------------------- +-- Test case: 'selftest/option parsers' ------------------------ TestMain.cpp:351: opt.parseIntoConfig( parser, config ) succeeded line 353: @@ -1917,8 +1917,8 @@ config.filters[0].shouldInclude( fakeTestCase( "test1" ) ) succeeded for: true Summary for test case 'selftest/option parsers': All tests passed (4 assertions in 1 test case) --- Test case: 'selftest/tags' --------------------------------- --- Section: 'one tag' ----------------------------------------- +-- Test case: 'selftest/tags' ---------------------------------- +-- Section: 'one tag' ------------------------------------------ TestMain.cpp:369: oneTag.getTestCaseInfo().description == "" succeeded for: "" == "" line 370: @@ -1939,7 +1939,7 @@ oneTag.matchesTags( p5 ) == false succeeded for: false == false Summary for section 'one tag': All 8 assertions passed --- Section: 'two tags' ---------------------------------------- +-- Section: 'two tags' ----------------------------------------- TestMain.cpp:383: twoTags.getTestCaseInfo().description == "" succeeded for: "" == "" line 384: @@ -1964,7 +1964,7 @@ twoTags.matchesTags( p5 ) == true succeeded for: true == true Summary for section 'two tags': All 10 assertions passed --- Section: 'one tag with characters either side' ------------- +-- Section: 'one tag with characters either side' -------------- TestMain.cpp:399: oneTagWithExtras.getTestCaseInfo().description == "1234" succeeded for: "1234" == "1234" line 400: @@ -1977,7 +1977,7 @@ oneTagWithExtras.getTags().size() == 1 succeeded for: 1 == 1 Summary for section 'one tag with characters either side': All 4 assertions passed --- Section: 'start of a tag, but not closed' ------------------ +-- Section: 'start of a tag, but not closed' ------------------- TestMain.cpp:409: oneTagOpen.getTestCaseInfo().description == "[one" succeeded for: "[one" == "[one" line 410: @@ -1988,7 +1988,7 @@ oneTagOpen.getTags().size() == 0 succeeded for: 0 == 0 Summary for section 'start of a tag, but not closed': All 3 assertions passed --- Section: 'hidden' ------------------------------------------ +-- Section: 'hidden' ------------------------------------------- TestMain.cpp:417: oneTag.getTestCaseInfo().description == "" succeeded for: "" == "" line 418: @@ -2005,7 +2005,7 @@ All 4 assertions passed Summary for test case 'selftest/tags': All tests passed (29 assertions in 1 test case) --- Test case: './succeeding/Tricky/std::pair' ----------------- +-- Test case: './succeeding/Tricky/std::pair' ------------------ TrickyTests.cpp:37: (std::pair( 1, 2 )) == aNicePair succeeded for: @@ -2016,7 +2016,7 @@ TrickyTests.cpp:37: Summary for test case './succeeding/Tricky/std::pair': All tests passed (1 assertion in 1 test case) --- Test case: './inprogress/failing/Tricky/trailing expression' ---------------------------------------------------------------- +-- Test case: './inprogress/failing/Tricky/trailing expression' TrickyTests.cpp:55: [warning: Uncomment the code in this test to check that it gives a sensible compiler error] @@ -2026,7 +2026,7 @@ No assertions in test case, './inprogress/failing/Tricky/trailing expression' Summary for test case './inprogress/failing/Tricky/trailing expression': 1 test case - failed (1 assertion - failed) --- Test case: './inprogress/failing/Tricky/compound lhs' ------ +-- Test case: './inprogress/failing/Tricky/compound lhs' ------- TrickyTests.cpp:71: [warning: Uncomment the code in this test to check that it gives a sensible compiler error] @@ -2036,7 +2036,7 @@ No assertions in test case, './inprogress/failing/Tricky/compound lhs' Summary for test case './inprogress/failing/Tricky/compound lhs': 1 test case - failed (1 assertion - failed) --- Test case: './failing/Tricky/non streamable type' ---------- +-- Test case: './failing/Tricky/non streamable type' ----------- TrickyTests.cpp:95: &o1 == &o2 failed for: 0x == 0x line 96: @@ -2045,14 +2045,14 @@ o1 == o2 failed for: {?} == {?} Summary for test case './failing/Tricky/non streamable type': 1 test case - failed (2 assertions - both failed) --- Test case: './failing/string literals' --------------------- +-- Test case: './failing/string literals' ---------------------- TrickyTests.cpp:106: std::string( "first" ) == "second" failed for: "first" == "second" ---------------------------------------------------------------- Summary for test case './failing/string literals': 1 test case - failed (1 assertion - failed) --- Test case: './succeeding/side-effects' --------------------- +-- Test case: './succeeding/side-effects' ---------------------- TrickyTests.cpp:119: i++ == 7 succeeded for: 7 == 7 line 120: @@ -2061,36 +2061,36 @@ i++ == 8 succeeded for: 8 == 8 Summary for test case './succeeding/side-effects': All tests passed (2 assertions in 1 test case) --- Test case: './succeeding/koenig' --------------------------- +-- Test case: './succeeding/koenig' ---------------------------- TrickyTests.cpp:186: 0x == o succeeded for: 0x == {?} ---------------------------------------------------------------- Summary for test case './succeeding/koenig': All tests passed (1 assertion in 1 test case) --- Test case: './succeeding/non-const==' ---------------------- +-- Test case: './succeeding/non-const==' ----------------------- TrickyTests.cpp:212: t == 1u succeeded for: {?} == 1 ---------------------------------------------------------------- Summary for test case './succeeding/non-const==': All tests passed (1 assertion in 1 test case) --- Test case: './succeeding/enum/bits' ------------------------ +-- Test case: './succeeding/enum/bits' ------------------------- TrickyTests.cpp:224: 0x == bit30and31 succeeded for: 0x == 3221225472 ---------------------------------------------------------------- Summary for test case './succeeding/enum/bits': All tests passed (1 assertion in 1 test case) --- Test case: './succeeding/boolean member' ------------------- +-- Test case: './succeeding/boolean member' -------------------- TrickyTests.cpp:239: obj.prop != __null succeeded for: 0x != 0 ---------------------------------------------------------------- Summary for test case './succeeding/boolean member': All tests passed (1 assertion in 1 test case) --- Test case: './succeeding/unimplemented static bool' -------- --- Section: 'compare to true' --------------------------------- +-- Test case: './succeeding/unimplemented static bool' --------- +-- Section: 'compare to true' ---------------------------------- TrickyTests.cpp:259: is_true::value == true succeeded for: true == true line 260: @@ -2099,7 +2099,7 @@ true == is_true::value succeeded for: true == true Summary for section 'compare to true': All 2 assertions passed --- Section: 'compare to false' -------------------------------- +-- Section: 'compare to false' --------------------------------- TrickyTests.cpp:264: is_true::value == false succeeded for: false == false line 265: @@ -2108,21 +2108,21 @@ false == is_true::value succeeded for: false == false Summary for section 'compare to false': All 2 assertions passed --- Section: 'negation' ---------------------------------------- +-- Section: 'negation' ----------------------------------------- TrickyTests.cpp:270: !is_true::value succeeded for: true ---------------------------------------------------------------- Summary for section 'negation': 1 assertion passed --- Section: 'double negation' --------------------------------- +-- Section: 'double negation' ---------------------------------- TrickyTests.cpp:275: !!is_true::value succeeded for: true ---------------------------------------------------------------- Summary for section 'double negation': 1 assertion passed --- Section: 'direct' ------------------------------------------ +-- Section: 'direct' ------------------------------------------- TrickyTests.cpp:280: is_true::value succeeded for: true line 281: @@ -2135,7 +2135,7 @@ All 2 assertions passed Summary for test case './succeeding/unimplemented static bool': All tests passed (8 assertions in 1 test case) --- Test case: './succeeding/SafeBool' ------------------------- +-- Test case: './succeeding/SafeBool' -------------------------- TrickyTests.cpp:313: True succeeded for: true line 314: @@ -2146,10 +2146,10 @@ line 315: Summary for test case './succeeding/SafeBool': All tests passed (3 assertions in 1 test case) --- Test case: 'scenario name' --------------------------------- --- Section: 'This stuff exists' ------------------------------- --- Section: 'I do this' --------------------------------------- --- Section: 'it should do this' ------------------------------- +-- Test case: 'scenario name' ---------------------------------- +-- Section: 'This stuff exists' -------------------------------- +-- Section: 'I do this' ---------------------------------------- +-- Section: 'it should do this' -------------------------------- BDDTests.cpp:37: itDoesThis() succeeded for: true ---------------------------------------------------------------- @@ -2176,9 +2176,9 @@ Summary for group '~dummy': Summary for all tests in 'CatchSelfTest': 95 test cases - 44 failed (607 assertions - 101 failed) --- Started testing: 'CatchSelfTest' --------------------------- --- Group: '~dummy' -------------------------------------------- --- Test case: './succeeding/Approx/simple' -------------------- +-- Started testing: 'CatchSelfTest' ---------------------------- +-- Group: '~dummy' --------------------------------------------- +-- Test case: './succeeding/Approx/simple' --------------------- ApproxTests.cpp:20: d == Approx( 1.23 ) succeeded for: 1.23 == Approx( 1.23 ) line 21: @@ -2195,7 +2195,7 @@ Approx( d ) != 1.24 succeeded for: Approx( 1.23 ) != 1.24 Summary for test case './succeeding/Approx/simple': All tests passed (6 assertions in 1 test case) --- Test case: './succeeding/Approx/epsilon' ------------------- +-- Test case: './succeeding/Approx/epsilon' -------------------- ApproxTests.cpp:38: d != Approx( 1.231 ) succeeded for: 1.23 != Approx( 1.231 ) line 39: @@ -2204,7 +2204,7 @@ d == Approx( 1.231 ).epsilon( 0.1 ) succeeded for: 1.23 == Approx( 1.231 ) Summary for test case './succeeding/Approx/epsilon': All tests passed (2 assertions in 1 test case) --- Test case: './succeeding/Approx/float' --------------------- +-- Test case: './succeeding/Approx/float' ---------------------- ApproxTests.cpp:49: 1.23f == Approx( 1.23f ) succeeded for: 1.23 == Approx( 1.23 ) line 50: @@ -2213,7 +2213,7 @@ line 50: Summary for test case './succeeding/Approx/float': All tests passed (2 assertions in 1 test case) --- Test case: './succeeding/Approx/int' ----------------------- +-- Test case: './succeeding/Approx/int' ------------------------ ApproxTests.cpp:60: 1 == Approx( 1 ) succeeded line 61: @@ -2222,7 +2222,7 @@ line 61: Summary for test case './succeeding/Approx/int': All tests passed (2 assertions in 1 test case) --- Test case: './succeeding/Approx/mixed' --------------------- +-- Test case: './succeeding/Approx/mixed' ---------------------- ApproxTests.cpp:75: 1.0f == Approx( 1 ) succeeded for: 1 == Approx( 1 ) line 76: @@ -2237,7 +2237,7 @@ dMedium == Approx( 1.234f ) succeeded for: 1.234 == Approx( 1.234 ) Summary for test case './succeeding/Approx/mixed': All tests passed (5 assertions in 1 test case) --- Test case: './succeeding/Approx/custom' -------------------- +-- Test case: './succeeding/Approx/custom' --------------------- ApproxTests.cpp:93: d == approx( 1.23 ) succeeded for: 1.23 == Approx( 1.23 ) line 94: @@ -2258,35 +2258,35 @@ approx( d ) != 1.25 succeeded for: Approx( 1.23 ) != 1.25 Summary for test case './succeeding/Approx/custom': All tests passed (8 assertions in 1 test case) --- Test case: './succeeding/TestClass/succeedingCase' --------- +-- Test case: './succeeding/TestClass/succeedingCase' ---------- ClassTests.cpp:24: s == "hello" succeeded for: "hello" == "hello" ---------------------------------------------------------------- Summary for test case './succeeding/TestClass/succeedingCase': All tests passed (1 assertion in 1 test case) --- Test case: './failing/TestClass/failingCase' --------------- +-- Test case: './failing/TestClass/failingCase' ---------------- ClassTests.cpp:28: s == "world" failed for: "hello" == "world" ---------------------------------------------------------------- Summary for test case './failing/TestClass/failingCase': 1 test case - failed (1 assertion - failed) --- Test case: './succeeding/Fixture/succeedingCase' ----------- +-- Test case: './succeeding/Fixture/succeedingCase' ------------ ClassTests.cpp:47: m_a == 1 succeeded for: 1 == 1 ---------------------------------------------------------------- Summary for test case './succeeding/Fixture/succeedingCase': All tests passed (1 assertion in 1 test case) --- Test case: './failing/Fixture/failingCase' ----------------- +-- Test case: './failing/Fixture/failingCase' ------------------ ClassTests.cpp:55: m_a == 2 failed for: 1 == 2 ---------------------------------------------------------------- Summary for test case './failing/Fixture/failingCase': 1 test case - failed (1 assertion - failed) --- Test case: './succeeding/conditions/equality' -------------- +-- Test case: './succeeding/conditions/equality' --------------- ConditionTests.cpp:55: data.int_seven == 7 succeeded for: 7 == 7 line 56: @@ -2305,7 +2305,7 @@ x == Approx( 1.3 ) succeeded for: 1.3 == Approx( 1.3 ) Summary for test case './succeeding/conditions/equality': All tests passed (7 assertions in 1 test case) --- Test case: './failing/conditions/equality' ----------------- +-- Test case: './failing/conditions/equality' ------------------ ConditionTests.cpp:71: data.int_seven == 6 failed for: 7 == 6 line 72: