From c6635a7b7933250a76f4eeb3e10b6a7e373b6026 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Tue, 30 Dec 2014 18:25:27 +0000 Subject: [PATCH] Added type attribute to xml reporter output - reports the macro used --- include/reporters/catch_reporter_xml.hpp | 2 +- .../SelfTest/Baselines/xml.sw.approved.txt | 1462 ++++++++--------- 2 files changed, 732 insertions(+), 732 deletions(-) diff --git a/include/reporters/catch_reporter_xml.hpp b/include/reporters/catch_reporter_xml.hpp index 08971d1f..d8cb1dd1 100644 --- a/include/reporters/catch_reporter_xml.hpp +++ b/include/reporters/catch_reporter_xml.hpp @@ -99,7 +99,7 @@ namespace Catch { if( assertionResult.hasExpression() ) { m_xml.startElement( "Expression" ) .writeAttribute( "success", assertionResult.succeeded() ) -// .writeAttribute( "type", assertionResult.getTestMacroName() ) + .writeAttribute( "type", assertionResult.getTestMacroName() ) .writeAttribute( "filename", assertionResult.getSourceInfo().file ) .writeAttribute( "line", assertionResult.getSourceInfo().line ); diff --git a/projects/SelfTest/Baselines/xml.sw.approved.txt b/projects/SelfTest/Baselines/xml.sw.approved.txt index f05a2726..1dcfec76 100644 --- a/projects/SelfTest/Baselines/xml.sw.approved.txt +++ b/projects/SelfTest/Baselines/xml.sw.approved.txt @@ -1,7 +1,7 @@ - + Catch::toString(e0) == "0" @@ -9,7 +9,7 @@ "0" == "0" - + Catch::toString(e1) == "1" @@ -20,7 +20,7 @@ - + Catch::toString(e0) == "E2{0}" @@ -28,7 +28,7 @@ "E2{0}" == "E2{0}" - + Catch::toString(e1) == "E2{1}" @@ -39,7 +39,7 @@ - + Catch::toString(e0) == "0" @@ -47,7 +47,7 @@ "0" == "0" - + Catch::toString(e1) == "1" @@ -58,7 +58,7 @@ - + Catch::toString(e0) == "E2/V0" @@ -66,7 +66,7 @@ "E2/V0" == "E2/V0" - + Catch::toString(e1) == "E2/V1" @@ -74,7 +74,7 @@ "E2/V1" == "E2/V1" - + Catch::toString(e3) == "Unknown enum value 10" @@ -87,7 +87,7 @@ - + d == Approx( 1.23 ) @@ -95,7 +95,7 @@ 1.23 == Approx( 1.23 ) - + d != Approx( 1.22 ) @@ -103,7 +103,7 @@ 1.23 != Approx( 1.22 ) - + d != Approx( 1.24 ) @@ -111,7 +111,7 @@ 1.23 != Approx( 1.24 ) - + Approx( d ) == 1.23 @@ -119,7 +119,7 @@ Approx( 1.23 ) == 1.23 - + Approx( d ) != 1.22 @@ -127,7 +127,7 @@ Approx( 1.23 ) != 1.22 - + Approx( d ) != 1.24 @@ -138,7 +138,7 @@ - + d != Approx( 1.231 ) @@ -146,7 +146,7 @@ 1.23 != Approx( 1.231 ) - + d == Approx( 1.231 ).epsilon( 0.1 ) @@ -157,7 +157,7 @@ - + 1.23f == Approx( 1.23f ) @@ -165,7 +165,7 @@ 1.23f == Approx( 1.2300000191 ) - + 0.0f == Approx( 0.0f ) @@ -176,7 +176,7 @@ - + 1 == Approx( 1 ) @@ -184,7 +184,7 @@ 1 == Approx( 1.0 ) - + 0 == Approx( 0 ) @@ -195,7 +195,7 @@ - + 1.0f == Approx( 1 ) @@ -203,7 +203,7 @@ 1.0f == Approx( 1.0 ) - + 0 == Approx( dZero) @@ -211,7 +211,7 @@ 0 == Approx( 0.0 ) - + 0 == Approx( dSmall ).epsilon( 0.001 ) @@ -219,7 +219,7 @@ 0 == Approx( 0.00001 ) - + 1.234f == Approx( dMedium ) @@ -227,7 +227,7 @@ 1.234f == Approx( 1.234 ) - + dMedium == Approx( 1.234f ) @@ -238,7 +238,7 @@ - + d == approx( 1.23 ) @@ -246,7 +246,7 @@ 1.23 == Approx( 1.23 ) - + d == approx( 1.22 ) @@ -254,7 +254,7 @@ 1.23 == Approx( 1.22 ) - + d == approx( 1.24 ) @@ -262,7 +262,7 @@ 1.23 == Approx( 1.24 ) - + d != approx( 1.25 ) @@ -270,7 +270,7 @@ 1.23 != Approx( 1.25 ) - + approx( d ) == 1.23 @@ -278,7 +278,7 @@ Approx( 1.23 ) == 1.23 - + approx( d ) == 1.22 @@ -286,7 +286,7 @@ Approx( 1.23 ) == 1.22 - + approx( d ) == 1.24 @@ -294,7 +294,7 @@ Approx( 1.23 ) == 1.24 - + approx( d ) != 1.25 @@ -305,7 +305,7 @@ - + divide( 22, 7 ) == Approx( 3.141 ).epsilon( 0.001 ) @@ -313,7 +313,7 @@ 3.1428571429 == Approx( 3.141 ) - + divide( 22, 7 ) != Approx( 3.141 ).epsilon( 0.0001 ) @@ -324,7 +324,7 @@ - + s == "hello" @@ -335,7 +335,7 @@ - + s == "world" @@ -346,7 +346,7 @@ - + m_a == 1 @@ -357,7 +357,7 @@ - + m_a == 2 @@ -368,7 +368,7 @@ - + data.int_seven == 7 @@ -376,7 +376,7 @@ 7 == 7 - + data.float_nine_point_one == Approx( 9.1f ) @@ -384,7 +384,7 @@ 9.1f == Approx( 9.1000003815 ) - + data.double_pi == Approx( 3.1415926535 ) @@ -392,7 +392,7 @@ 3.1415926535 == Approx( 3.1415926535 ) - + data.str_hello == "hello" @@ -400,7 +400,7 @@ "hello" == "hello" - + "hello" == data.str_hello @@ -408,7 +408,7 @@ "hello" == "hello" - + data.str_hello.size() == 5 @@ -416,7 +416,7 @@ 5 == 5 - + x == Approx( 1.3 ) @@ -427,7 +427,7 @@ - + data.int_seven == 6 @@ -435,7 +435,7 @@ 7 == 6 - + data.int_seven == 8 @@ -443,7 +443,7 @@ 7 == 8 - + data.int_seven == 0 @@ -451,7 +451,7 @@ 7 == 0 - + data.float_nine_point_one == Approx( 9.11f ) @@ -459,7 +459,7 @@ 9.1f == Approx( 9.1099996567 ) - + data.float_nine_point_one == Approx( 9.0f ) @@ -467,7 +467,7 @@ 9.1f == Approx( 9.0 ) - + data.float_nine_point_one == Approx( 1 ) @@ -475,7 +475,7 @@ 9.1f == Approx( 1.0 ) - + data.float_nine_point_one == Approx( 0 ) @@ -483,7 +483,7 @@ 9.1f == Approx( 0.0 ) - + data.double_pi == Approx( 3.1415 ) @@ -491,7 +491,7 @@ 3.1415926535 == Approx( 3.1415 ) - + data.str_hello == "goodbye" @@ -499,7 +499,7 @@ "hello" == "goodbye" - + data.str_hello == "hell" @@ -507,7 +507,7 @@ "hello" == "hell" - + data.str_hello == "hello1" @@ -515,7 +515,7 @@ "hello" == "hello1" - + data.str_hello.size() == 6 @@ -523,7 +523,7 @@ 5 == 6 - + x == Approx( 1.301 ) @@ -534,7 +534,7 @@ - + data.int_seven != 6 @@ -542,7 +542,7 @@ 7 != 6 - + data.int_seven != 8 @@ -550,7 +550,7 @@ 7 != 8 - + data.float_nine_point_one != Approx( 9.11f ) @@ -558,7 +558,7 @@ 9.1f != Approx( 9.1099996567 ) - + data.float_nine_point_one != Approx( 9.0f ) @@ -566,7 +566,7 @@ 9.1f != Approx( 9.0 ) - + data.float_nine_point_one != Approx( 1 ) @@ -574,7 +574,7 @@ 9.1f != Approx( 1.0 ) - + data.float_nine_point_one != Approx( 0 ) @@ -582,7 +582,7 @@ 9.1f != Approx( 0.0 ) - + data.double_pi != Approx( 3.1415 ) @@ -590,7 +590,7 @@ 3.1415926535 != Approx( 3.1415 ) - + data.str_hello != "goodbye" @@ -598,7 +598,7 @@ "hello" != "goodbye" - + data.str_hello != "hell" @@ -606,7 +606,7 @@ "hello" != "hell" - + data.str_hello != "hello1" @@ -614,7 +614,7 @@ "hello" != "hello1" - + data.str_hello.size() != 6 @@ -625,7 +625,7 @@ - + data.int_seven != 7 @@ -633,7 +633,7 @@ 7 != 7 - + data.float_nine_point_one != Approx( 9.1f ) @@ -641,7 +641,7 @@ 9.1f != Approx( 9.1000003815 ) - + data.double_pi != Approx( 3.1415926535 ) @@ -649,7 +649,7 @@ 3.1415926535 != Approx( 3.1415926535 ) - + data.str_hello != "hello" @@ -657,7 +657,7 @@ "hello" != "hello" - + data.str_hello.size() != 5 @@ -668,7 +668,7 @@ - + data.int_seven < 8 @@ -676,7 +676,7 @@ 7 < 8 - + data.int_seven > 6 @@ -684,7 +684,7 @@ 7 > 6 - + data.int_seven > 0 @@ -692,7 +692,7 @@ 7 > 0 - + data.int_seven > -1 @@ -700,7 +700,7 @@ 7 > -1 - + data.int_seven >= 7 @@ -708,7 +708,7 @@ 7 >= 7 - + data.int_seven >= 6 @@ -716,7 +716,7 @@ 7 >= 6 - + data.int_seven <= 7 @@ -724,7 +724,7 @@ 7 <= 7 - + data.int_seven <= 8 @@ -732,7 +732,7 @@ 7 <= 8 - + data.float_nine_point_one > 9 @@ -740,7 +740,7 @@ 9.1f > 9 - + data.float_nine_point_one < 10 @@ -748,7 +748,7 @@ 9.1f < 10 - + data.float_nine_point_one < 9.2 @@ -756,7 +756,7 @@ 9.1f < 9.2 - + data.str_hello <= "hello" @@ -764,7 +764,7 @@ "hello" <= "hello" - + data.str_hello >= "hello" @@ -772,7 +772,7 @@ "hello" >= "hello" - + data.str_hello < "hellp" @@ -780,7 +780,7 @@ "hello" < "hellp" - + data.str_hello < "zebra" @@ -788,7 +788,7 @@ "hello" < "zebra" - + data.str_hello > "hellm" @@ -796,7 +796,7 @@ "hello" > "hellm" - + data.str_hello > "a" @@ -807,7 +807,7 @@ - + data.int_seven > 7 @@ -815,7 +815,7 @@ 7 > 7 - + data.int_seven < 7 @@ -823,7 +823,7 @@ 7 < 7 - + data.int_seven > 8 @@ -831,7 +831,7 @@ 7 > 8 - + data.int_seven < 6 @@ -839,7 +839,7 @@ 7 < 6 - + data.int_seven < 0 @@ -847,7 +847,7 @@ 7 < 0 - + data.int_seven < -1 @@ -855,7 +855,7 @@ 7 < -1 - + data.int_seven >= 8 @@ -863,7 +863,7 @@ 7 >= 8 - + data.int_seven <= 6 @@ -871,7 +871,7 @@ 7 <= 6 - + data.float_nine_point_one < 9 @@ -879,7 +879,7 @@ 9.1f < 9 - + data.float_nine_point_one > 10 @@ -887,7 +887,7 @@ 9.1f > 10 - + data.float_nine_point_one > 9.2 @@ -895,7 +895,7 @@ 9.1f > 9.2 - + data.str_hello > "hello" @@ -903,7 +903,7 @@ "hello" > "hello" - + data.str_hello < "hello" @@ -911,7 +911,7 @@ "hello" < "hello" - + data.str_hello > "hellp" @@ -919,7 +919,7 @@ "hello" > "hellp" - + data.str_hello > "z" @@ -927,7 +927,7 @@ "hello" > "z" - + data.str_hello < "hellm" @@ -935,7 +935,7 @@ "hello" < "hellm" - + data.str_hello < "a" @@ -943,7 +943,7 @@ "hello" < "a" - + data.str_hello >= "z" @@ -951,7 +951,7 @@ "hello" >= "z" - + data.str_hello <= "a" @@ -962,7 +962,7 @@ - + i == 1 @@ -970,7 +970,7 @@ 1 == 1 - + ui == 2 @@ -978,7 +978,7 @@ 2 == 2 - + l == 3 @@ -986,7 +986,7 @@ 3 == 3 - + ul == 4 @@ -994,7 +994,7 @@ 4 == 4 - + c == 5 @@ -1002,7 +1002,7 @@ 5 == 5 - + uc == 6 @@ -1010,7 +1010,7 @@ 6 == 6 - + 1 == i @@ -1018,7 +1018,7 @@ 1 == 1 - + 2 == ui @@ -1026,7 +1026,7 @@ 2 == 2 - + 3 == l @@ -1034,7 +1034,7 @@ 3 == 3 - + 4 == ul @@ -1042,7 +1042,7 @@ 4 == 4 - + 5 == c @@ -1050,7 +1050,7 @@ 5 == 5 - + 6 == uc @@ -1058,7 +1058,7 @@ 6 == 6 - + (std::numeric_limits<unsigned long>::max)() > ul @@ -1069,7 +1069,7 @@ - + long_var == unsigned_char_var @@ -1077,7 +1077,7 @@ 1 == 1 - + long_var == unsigned_short_var @@ -1085,7 +1085,7 @@ 1 == 1 - + long_var == unsigned_int_var @@ -1093,7 +1093,7 @@ 1 == 1 - + long_var == unsigned_long_var @@ -1104,7 +1104,7 @@ - + unsigned_char_var == 1 @@ -1112,7 +1112,7 @@ 1 == 1 - + unsigned_short_var == 1 @@ -1120,7 +1120,7 @@ 1 == 1 - + unsigned_int_var == 1 @@ -1128,7 +1128,7 @@ 1 == 1 - + unsigned_long_var == 1 @@ -1139,7 +1139,7 @@ - + ( -1 > 2u ) @@ -1147,7 +1147,7 @@ true - + -1 > 2u @@ -1155,7 +1155,7 @@ -1 > 2 - + ( 2u < -1 ) @@ -1163,7 +1163,7 @@ true - + 2u < -1 @@ -1171,7 +1171,7 @@ 2 < -1 - + ( minInt > 2u ) @@ -1179,7 +1179,7 @@ true - + minInt > 2u @@ -1190,7 +1190,7 @@ - + 54 == 6*9 @@ -1201,7 +1201,7 @@ - + p == __null @@ -1209,7 +1209,7 @@ __null == 0 - + p == pNULL @@ -1217,7 +1217,7 @@ __null == __null - + p != __null @@ -1225,7 +1225,7 @@ 0x != 0 - + cp != __null @@ -1233,7 +1233,7 @@ 0x != 0 - + cpc != __null @@ -1241,7 +1241,7 @@ 0x != 0 - + returnsNull() == __null @@ -1249,7 +1249,7 @@ {null string} == 0 - + returnsConstNull() == __null @@ -1257,7 +1257,7 @@ {null string} == 0 - + __null != p @@ -1268,7 +1268,7 @@ - + false == false @@ -1276,7 +1276,7 @@ false == false - + true == true @@ -1284,7 +1284,7 @@ true == true - + !false @@ -1292,7 +1292,7 @@ true - + !false @@ -1300,7 +1300,7 @@ !false - + !falseValue @@ -1308,7 +1308,7 @@ true - + !falseValue @@ -1316,7 +1316,7 @@ !false - + !(1 == 2) @@ -1324,7 +1324,7 @@ true - + !1 == 2 @@ -1335,7 +1335,7 @@ - + false != false @@ -1343,7 +1343,7 @@ false != false - + true != true @@ -1351,7 +1351,7 @@ true != true - + !true @@ -1359,7 +1359,7 @@ false - + !true @@ -1367,7 +1367,7 @@ !true - + !trueValue @@ -1375,7 +1375,7 @@ false - + !trueValue @@ -1383,7 +1383,7 @@ !true - + !(1 == 1) @@ -1391,7 +1391,7 @@ false - + !1 == 1 @@ -1402,7 +1402,7 @@ - + thisThrows() @@ -1410,7 +1410,7 @@ thisThrows() - + thisDoesntThrow() @@ -1418,7 +1418,7 @@ thisDoesntThrow() - + thisThrows() @@ -1429,7 +1429,7 @@ - + thisThrows() @@ -1440,7 +1440,7 @@ expected exception - + thisDoesntThrow() @@ -1448,7 +1448,7 @@ thisDoesntThrow() - + thisThrows() @@ -1468,7 +1468,7 @@ - + 1 == 1 @@ -1499,7 +1499,7 @@ - + thisThrows() == 0 @@ -1513,7 +1513,7 @@ - + thisThrows() == 0 @@ -1527,7 +1527,7 @@ - + thisThrows() == 0 @@ -1550,7 +1550,7 @@ - + throwCustom() @@ -1564,7 +1564,7 @@ - + throwCustom() @@ -1584,7 +1584,7 @@ - + thisFunctionNotImplemented( 7 ) @@ -1595,7 +1595,7 @@ - + multiply( i, 2 ) == i*2 @@ -1603,7 +1603,7 @@ 2 == 2 - + multiply( j, 2 ) == j*2 @@ -1611,7 +1611,7 @@ 200 == 200 - + multiply( i, 2 ) == i*2 @@ -1619,7 +1619,7 @@ 4 == 4 - + multiply( j, 2 ) == j*2 @@ -1627,7 +1627,7 @@ 200 == 200 - + multiply( i, 2 ) == i*2 @@ -1635,7 +1635,7 @@ 6 == 6 - + multiply( j, 2 ) == j*2 @@ -1643,7 +1643,7 @@ 200 == 200 - + multiply( i, 2 ) == i*2 @@ -1651,7 +1651,7 @@ 8 == 8 - + multiply( j, 2 ) == j*2 @@ -1659,7 +1659,7 @@ 200 == 200 - + multiply( i, 2 ) == i*2 @@ -1667,7 +1667,7 @@ 10 == 10 - + multiply( j, 2 ) == j*2 @@ -1675,7 +1675,7 @@ 200 == 200 - + multiply( i, 2 ) == i*2 @@ -1683,7 +1683,7 @@ 30 == 30 - + multiply( j, 2 ) == j*2 @@ -1691,7 +1691,7 @@ 200 == 200 - + multiply( i, 2 ) == i*2 @@ -1699,7 +1699,7 @@ 40 == 40 - + multiply( j, 2 ) == j*2 @@ -1707,7 +1707,7 @@ 200 == 200 - + multiply( i, 2 ) == i*2 @@ -1715,7 +1715,7 @@ 42 == 42 - + multiply( j, 2 ) == j*2 @@ -1723,7 +1723,7 @@ 200 == 200 - + multiply( i, 2 ) == i*2 @@ -1731,7 +1731,7 @@ 72 == 72 - + multiply( j, 2 ) == j*2 @@ -1739,7 +1739,7 @@ 200 == 200 - + multiply( i, 2 ) == i*2 @@ -1747,7 +1747,7 @@ 2 == 2 - + multiply( j, 2 ) == j*2 @@ -1755,7 +1755,7 @@ 202 == 202 - + multiply( i, 2 ) == i*2 @@ -1763,7 +1763,7 @@ 4 == 4 - + multiply( j, 2 ) == j*2 @@ -1771,7 +1771,7 @@ 202 == 202 - + multiply( i, 2 ) == i*2 @@ -1779,7 +1779,7 @@ 6 == 6 - + multiply( j, 2 ) == j*2 @@ -1787,7 +1787,7 @@ 202 == 202 - + multiply( i, 2 ) == i*2 @@ -1795,7 +1795,7 @@ 8 == 8 - + multiply( j, 2 ) == j*2 @@ -1803,7 +1803,7 @@ 202 == 202 - + multiply( i, 2 ) == i*2 @@ -1811,7 +1811,7 @@ 10 == 10 - + multiply( j, 2 ) == j*2 @@ -1819,7 +1819,7 @@ 202 == 202 - + multiply( i, 2 ) == i*2 @@ -1827,7 +1827,7 @@ 30 == 30 - + multiply( j, 2 ) == j*2 @@ -1835,7 +1835,7 @@ 202 == 202 - + multiply( i, 2 ) == i*2 @@ -1843,7 +1843,7 @@ 40 == 40 - + multiply( j, 2 ) == j*2 @@ -1851,7 +1851,7 @@ 202 == 202 - + multiply( i, 2 ) == i*2 @@ -1859,7 +1859,7 @@ 42 == 42 - + multiply( j, 2 ) == j*2 @@ -1867,7 +1867,7 @@ 202 == 202 - + multiply( i, 2 ) == i*2 @@ -1875,7 +1875,7 @@ 72 == 72 - + multiply( j, 2 ) == j*2 @@ -1883,7 +1883,7 @@ 202 == 202 - + multiply( i, 2 ) == i*2 @@ -1891,7 +1891,7 @@ 2 == 2 - + multiply( j, 2 ) == j*2 @@ -1899,7 +1899,7 @@ 204 == 204 - + multiply( i, 2 ) == i*2 @@ -1907,7 +1907,7 @@ 4 == 4 - + multiply( j, 2 ) == j*2 @@ -1915,7 +1915,7 @@ 204 == 204 - + multiply( i, 2 ) == i*2 @@ -1923,7 +1923,7 @@ 6 == 6 - + multiply( j, 2 ) == j*2 @@ -1931,7 +1931,7 @@ 204 == 204 - + multiply( i, 2 ) == i*2 @@ -1939,7 +1939,7 @@ 8 == 8 - + multiply( j, 2 ) == j*2 @@ -1947,7 +1947,7 @@ 204 == 204 - + multiply( i, 2 ) == i*2 @@ -1955,7 +1955,7 @@ 10 == 10 - + multiply( j, 2 ) == j*2 @@ -1963,7 +1963,7 @@ 204 == 204 - + multiply( i, 2 ) == i*2 @@ -1971,7 +1971,7 @@ 30 == 30 - + multiply( j, 2 ) == j*2 @@ -1979,7 +1979,7 @@ 204 == 204 - + multiply( i, 2 ) == i*2 @@ -1987,7 +1987,7 @@ 40 == 40 - + multiply( j, 2 ) == j*2 @@ -1995,7 +1995,7 @@ 204 == 204 - + multiply( i, 2 ) == i*2 @@ -2003,7 +2003,7 @@ 42 == 42 - + multiply( j, 2 ) == j*2 @@ -2011,7 +2011,7 @@ 204 == 204 - + multiply( i, 2 ) == i*2 @@ -2019,7 +2019,7 @@ 72 == 72 - + multiply( j, 2 ) == j*2 @@ -2027,7 +2027,7 @@ 204 == 204 - + multiply( i, 2 ) == i*2 @@ -2035,7 +2035,7 @@ 2 == 2 - + multiply( j, 2 ) == j*2 @@ -2043,7 +2043,7 @@ 206 == 206 - + multiply( i, 2 ) == i*2 @@ -2051,7 +2051,7 @@ 4 == 4 - + multiply( j, 2 ) == j*2 @@ -2059,7 +2059,7 @@ 206 == 206 - + multiply( i, 2 ) == i*2 @@ -2067,7 +2067,7 @@ 6 == 6 - + multiply( j, 2 ) == j*2 @@ -2075,7 +2075,7 @@ 206 == 206 - + multiply( i, 2 ) == i*2 @@ -2083,7 +2083,7 @@ 8 == 8 - + multiply( j, 2 ) == j*2 @@ -2091,7 +2091,7 @@ 206 == 206 - + multiply( i, 2 ) == i*2 @@ -2099,7 +2099,7 @@ 10 == 10 - + multiply( j, 2 ) == j*2 @@ -2107,7 +2107,7 @@ 206 == 206 - + multiply( i, 2 ) == i*2 @@ -2115,7 +2115,7 @@ 30 == 30 - + multiply( j, 2 ) == j*2 @@ -2123,7 +2123,7 @@ 206 == 206 - + multiply( i, 2 ) == i*2 @@ -2131,7 +2131,7 @@ 40 == 40 - + multiply( j, 2 ) == j*2 @@ -2139,7 +2139,7 @@ 206 == 206 - + multiply( i, 2 ) == i*2 @@ -2147,7 +2147,7 @@ 42 == 42 - + multiply( j, 2 ) == j*2 @@ -2155,7 +2155,7 @@ 206 == 206 - + multiply( i, 2 ) == i*2 @@ -2163,7 +2163,7 @@ 72 == 72 - + multiply( j, 2 ) == j*2 @@ -2171,7 +2171,7 @@ 206 == 206 - + multiply( i, 2 ) == i*2 @@ -2179,7 +2179,7 @@ 2 == 2 - + multiply( j, 2 ) == j*2 @@ -2187,7 +2187,7 @@ 208 == 208 - + multiply( i, 2 ) == i*2 @@ -2195,7 +2195,7 @@ 4 == 4 - + multiply( j, 2 ) == j*2 @@ -2203,7 +2203,7 @@ 208 == 208 - + multiply( i, 2 ) == i*2 @@ -2211,7 +2211,7 @@ 6 == 6 - + multiply( j, 2 ) == j*2 @@ -2219,7 +2219,7 @@ 208 == 208 - + multiply( i, 2 ) == i*2 @@ -2227,7 +2227,7 @@ 8 == 8 - + multiply( j, 2 ) == j*2 @@ -2235,7 +2235,7 @@ 208 == 208 - + multiply( i, 2 ) == i*2 @@ -2243,7 +2243,7 @@ 10 == 10 - + multiply( j, 2 ) == j*2 @@ -2251,7 +2251,7 @@ 208 == 208 - + multiply( i, 2 ) == i*2 @@ -2259,7 +2259,7 @@ 30 == 30 - + multiply( j, 2 ) == j*2 @@ -2267,7 +2267,7 @@ 208 == 208 - + multiply( i, 2 ) == i*2 @@ -2275,7 +2275,7 @@ 40 == 40 - + multiply( j, 2 ) == j*2 @@ -2283,7 +2283,7 @@ 208 == 208 - + multiply( i, 2 ) == i*2 @@ -2291,7 +2291,7 @@ 42 == 42 - + multiply( j, 2 ) == j*2 @@ -2299,7 +2299,7 @@ 208 == 208 - + multiply( i, 2 ) == i*2 @@ -2307,7 +2307,7 @@ 72 == 72 - + multiply( j, 2 ) == j*2 @@ -2315,7 +2315,7 @@ 208 == 208 - + multiply( i, 2 ) == i*2 @@ -2323,7 +2323,7 @@ 2 == 2 - + multiply( j, 2 ) == j*2 @@ -2331,7 +2331,7 @@ 210 == 210 - + multiply( i, 2 ) == i*2 @@ -2339,7 +2339,7 @@ 4 == 4 - + multiply( j, 2 ) == j*2 @@ -2347,7 +2347,7 @@ 210 == 210 - + multiply( i, 2 ) == i*2 @@ -2355,7 +2355,7 @@ 6 == 6 - + multiply( j, 2 ) == j*2 @@ -2363,7 +2363,7 @@ 210 == 210 - + multiply( i, 2 ) == i*2 @@ -2371,7 +2371,7 @@ 8 == 8 - + multiply( j, 2 ) == j*2 @@ -2379,7 +2379,7 @@ 210 == 210 - + multiply( i, 2 ) == i*2 @@ -2387,7 +2387,7 @@ 10 == 10 - + multiply( j, 2 ) == j*2 @@ -2395,7 +2395,7 @@ 210 == 210 - + multiply( i, 2 ) == i*2 @@ -2403,7 +2403,7 @@ 30 == 30 - + multiply( j, 2 ) == j*2 @@ -2411,7 +2411,7 @@ 210 == 210 - + multiply( i, 2 ) == i*2 @@ -2419,7 +2419,7 @@ 40 == 40 - + multiply( j, 2 ) == j*2 @@ -2427,7 +2427,7 @@ 210 == 210 - + multiply( i, 2 ) == i*2 @@ -2435,7 +2435,7 @@ 42 == 42 - + multiply( j, 2 ) == j*2 @@ -2443,7 +2443,7 @@ 210 == 210 - + multiply( i, 2 ) == i*2 @@ -2451,7 +2451,7 @@ 72 == 72 - + multiply( j, 2 ) == j*2 @@ -2459,7 +2459,7 @@ 210 == 210 - + multiply( i, 2 ) == i*2 @@ -2467,7 +2467,7 @@ 2 == 2 - + multiply( j, 2 ) == j*2 @@ -2475,7 +2475,7 @@ 212 == 212 - + multiply( i, 2 ) == i*2 @@ -2483,7 +2483,7 @@ 4 == 4 - + multiply( j, 2 ) == j*2 @@ -2491,7 +2491,7 @@ 212 == 212 - + multiply( i, 2 ) == i*2 @@ -2499,7 +2499,7 @@ 6 == 6 - + multiply( j, 2 ) == j*2 @@ -2507,7 +2507,7 @@ 212 == 212 - + multiply( i, 2 ) == i*2 @@ -2515,7 +2515,7 @@ 8 == 8 - + multiply( j, 2 ) == j*2 @@ -2523,7 +2523,7 @@ 212 == 212 - + multiply( i, 2 ) == i*2 @@ -2531,7 +2531,7 @@ 10 == 10 - + multiply( j, 2 ) == j*2 @@ -2539,7 +2539,7 @@ 212 == 212 - + multiply( i, 2 ) == i*2 @@ -2547,7 +2547,7 @@ 30 == 30 - + multiply( j, 2 ) == j*2 @@ -2555,7 +2555,7 @@ 212 == 212 - + multiply( i, 2 ) == i*2 @@ -2563,7 +2563,7 @@ 40 == 40 - + multiply( j, 2 ) == j*2 @@ -2571,7 +2571,7 @@ 212 == 212 - + multiply( i, 2 ) == i*2 @@ -2579,7 +2579,7 @@ 42 == 42 - + multiply( j, 2 ) == j*2 @@ -2587,7 +2587,7 @@ 212 == 212 - + multiply( i, 2 ) == i*2 @@ -2595,7 +2595,7 @@ 72 == 72 - + multiply( j, 2 ) == j*2 @@ -2603,7 +2603,7 @@ 212 == 212 - + multiply( i, 2 ) == i*2 @@ -2611,7 +2611,7 @@ 2 == 2 - + multiply( j, 2 ) == j*2 @@ -2619,7 +2619,7 @@ 214 == 214 - + multiply( i, 2 ) == i*2 @@ -2627,7 +2627,7 @@ 4 == 4 - + multiply( j, 2 ) == j*2 @@ -2635,7 +2635,7 @@ 214 == 214 - + multiply( i, 2 ) == i*2 @@ -2643,7 +2643,7 @@ 6 == 6 - + multiply( j, 2 ) == j*2 @@ -2651,7 +2651,7 @@ 214 == 214 - + multiply( i, 2 ) == i*2 @@ -2659,7 +2659,7 @@ 8 == 8 - + multiply( j, 2 ) == j*2 @@ -2667,7 +2667,7 @@ 214 == 214 - + multiply( i, 2 ) == i*2 @@ -2675,7 +2675,7 @@ 10 == 10 - + multiply( j, 2 ) == j*2 @@ -2683,7 +2683,7 @@ 214 == 214 - + multiply( i, 2 ) == i*2 @@ -2691,7 +2691,7 @@ 30 == 30 - + multiply( j, 2 ) == j*2 @@ -2699,7 +2699,7 @@ 214 == 214 - + multiply( i, 2 ) == i*2 @@ -2707,7 +2707,7 @@ 40 == 40 - + multiply( j, 2 ) == j*2 @@ -2715,7 +2715,7 @@ 214 == 214 - + multiply( i, 2 ) == i*2 @@ -2723,7 +2723,7 @@ 42 == 42 - + multiply( j, 2 ) == j*2 @@ -2731,7 +2731,7 @@ 214 == 214 - + multiply( i, 2 ) == i*2 @@ -2739,7 +2739,7 @@ 72 == 72 - + multiply( j, 2 ) == j*2 @@ -2750,7 +2750,7 @@ - + i->first == i->second-1 @@ -2758,7 +2758,7 @@ 0 == 0 - + i->first == i->second-1 @@ -2787,7 +2787,7 @@ so should this - + a == 1 @@ -2798,7 +2798,7 @@ - + a == 2 @@ -2809,7 +2809,7 @@ this message should be logged - + a == 1 @@ -2820,7 +2820,7 @@ and this, but later - + a == 0 @@ -2828,7 +2828,7 @@ 2 == 0 - + a == 2 @@ -2876,7 +2876,7 @@ - + i < 10 @@ -2884,7 +2884,7 @@ 0 < 10 - + i < 10 @@ -2892,7 +2892,7 @@ 1 < 10 - + i < 10 @@ -2900,7 +2900,7 @@ 2 < 10 - + i < 10 @@ -2908,7 +2908,7 @@ 3 < 10 - + i < 10 @@ -2916,7 +2916,7 @@ 4 < 10 - + i < 10 @@ -2924,7 +2924,7 @@ 5 < 10 - + i < 10 @@ -2932,7 +2932,7 @@ 6 < 10 - + i < 10 @@ -2940,7 +2940,7 @@ 7 < 10 - + i < 10 @@ -2948,7 +2948,7 @@ 8 < 10 - + i < 10 @@ -2962,7 +2962,7 @@ i := 10 - + i < 10 @@ -2973,7 +2973,7 @@ - + 1 == 2 @@ -2999,7 +2999,7 @@ i := 7 - + false @@ -3020,7 +3020,7 @@
- + a != b @@ -3028,7 +3028,7 @@ 1 != 2 - + b != a @@ -3039,7 +3039,7 @@
- + a != b @@ -3053,7 +3053,7 @@
- + a != b @@ -3061,7 +3061,7 @@ 1 != 2 - + b != a @@ -3070,7 +3070,7 @@
- + a != b @@ -3087,7 +3087,7 @@
- + a == b @@ -3121,7 +3121,7 @@
- + b > a @@ -3137,7 +3137,7 @@ Testing if fib[0] (1) is even - + ( fib[i] % 2 ) == 0 @@ -3148,7 +3148,7 @@ Testing if fib[1] (1) is even - + ( fib[i] % 2 ) == 0 @@ -3156,7 +3156,7 @@ 1 == 0 - + ( fib[i] % 2 ) == 0 @@ -3167,7 +3167,7 @@ Testing if fib[3] (3) is even - + ( fib[i] % 2 ) == 0 @@ -3178,7 +3178,7 @@ Testing if fib[4] (5) is even - + ( fib[i] % 2 ) == 0 @@ -3186,7 +3186,7 @@ 1 == 0 - + ( fib[i] % 2 ) == 0 @@ -3197,7 +3197,7 @@ Testing if fib[6] (13) is even - + ( fib[i] % 2 ) == 0 @@ -3208,7 +3208,7 @@ Testing if fib[7] (21) is even - + ( fib[i] % 2 ) == 0 @@ -3222,7 +3222,7 @@ - + makeString( false ) != static_cast<char*>(__null) @@ -3230,7 +3230,7 @@ "valid string" != {null string} - + makeString( true ) == static_cast<char*>(__null) @@ -3241,7 +3241,7 @@ - + flag @@ -3249,7 +3249,7 @@ true - + testCheckedIf( true ) @@ -3260,7 +3260,7 @@ - + flag @@ -3268,7 +3268,7 @@ false - + testCheckedIf( false ) @@ -3279,7 +3279,7 @@ - + flag @@ -3287,7 +3287,7 @@ true - + testCheckedElse( true ) @@ -3298,7 +3298,7 @@ - + flag @@ -3306,7 +3306,7 @@ false - + testCheckedElse( false ) @@ -3329,7 +3329,7 @@ 3 - + false @@ -3340,7 +3340,7 @@ - + x == 0 @@ -3351,7 +3351,7 @@ - + testStringForMatching() Contains( "string" ) @@ -3359,7 +3359,7 @@ "this string contains 'abc' as a substring" contains: "string" - + testStringForMatching() Contains( "abc" ) @@ -3367,7 +3367,7 @@ "this string contains 'abc' as a substring" contains: "abc" - + testStringForMatching() StartsWith( "this" ) @@ -3375,7 +3375,7 @@ "this string contains 'abc' as a substring" starts with: "this" - + testStringForMatching() EndsWith( "substring" ) @@ -3386,7 +3386,7 @@ - + testStringForMatching() Contains( "not there" ) @@ -3397,7 +3397,7 @@ - + testStringForMatching() StartsWith( "string" ) @@ -3408,7 +3408,7 @@ - + testStringForMatching() EndsWith( "this" ) @@ -3419,7 +3419,7 @@ - + testStringForMatching() Equals( "something else" ) @@ -3430,7 +3430,7 @@ - + "" Equals(__null) @@ -3441,7 +3441,7 @@ - + testStringForMatching() AllOf( Catch::Contains( "string" ), Catch::Contains( "abc" ) ) @@ -3452,7 +3452,7 @@ - + testStringForMatching() AnyOf( Catch::Contains( "string" ), Catch::Contains( "not there" ) ) @@ -3460,7 +3460,7 @@ "this string contains 'abc' as a substring" ( contains: "string" or contains: "not there" ) - + testStringForMatching() AnyOf( Catch::Contains( "not there" ), Catch::Contains( "string" ) ) @@ -3471,7 +3471,7 @@ - + testStringForMatching() Equals( "this string contains 'abc' as a substring" ) @@ -3482,7 +3482,7 @@ - + Factorial(0) == 1 @@ -3490,7 +3490,7 @@ 1 == 1 - + Factorial(1) == 1 @@ -3498,7 +3498,7 @@ 1 == 1 - + Factorial(2) == 2 @@ -3506,7 +3506,7 @@ 2 == 2 - + Factorial(3) == 6 @@ -3514,7 +3514,7 @@ 6 == 6 - + Factorial(10) == 3628800 @@ -3540,7 +3540,7 @@ - + v.size() == 5 @@ -3548,7 +3548,7 @@ 5 == 5 - + v.capacity() >= 5 @@ -3557,7 +3557,7 @@
- + v.size() == 10 @@ -3565,7 +3565,7 @@ 10 == 10 - + v.capacity() >= 10 @@ -3575,7 +3575,7 @@
- + v.size() == 5 @@ -3583,7 +3583,7 @@ 5 == 5 - + v.capacity() >= 5 @@ -3592,7 +3592,7 @@
- + v.size() == 0 @@ -3600,7 +3600,7 @@ 0 == 0 - + v.capacity() >= 5 @@ -3609,7 +3609,7 @@
- + v.capacity() == 0 @@ -3621,7 +3621,7 @@
- + v.size() == 5 @@ -3629,7 +3629,7 @@ 5 == 5 - + v.capacity() >= 5 @@ -3638,7 +3638,7 @@
- + v.size() == 5 @@ -3646,7 +3646,7 @@ 5 == 5 - + v.capacity() >= 10 @@ -3656,7 +3656,7 @@
- + v.size() == 5 @@ -3664,7 +3664,7 @@ 5 == 5 - + v.capacity() >= 5 @@ -3673,7 +3673,7 @@
- + v.size() == 5 @@ -3681,7 +3681,7 @@ 5 == 5 - + v.capacity() >= 5 @@ -3709,7 +3709,7 @@ - + s1 == s2 @@ -3727,7 +3727,7 @@ - + result == "\"wide load\"" @@ -3738,7 +3738,7 @@ - + result == "\"wide load\"" @@ -3749,7 +3749,7 @@ - + result == "\"wide load\"" @@ -3760,7 +3760,7 @@ - + result == "\"wide load\"" @@ -3772,7 +3772,7 @@
- + parseIntoConfig( argv, config ) @@ -3780,7 +3780,7 @@ parseIntoConfig( argv, config ) - + config.shouldDebugBreak == false @@ -3788,7 +3788,7 @@ false == false - + config.abortAfter == -1 @@ -3796,7 +3796,7 @@ -1 == -1 - + config.noThrow == false @@ -3804,7 +3804,7 @@ false == false - + config.reporterName.empty() @@ -3816,7 +3816,7 @@
- + parseIntoConfig( argv, config ) @@ -3824,7 +3824,7 @@ parseIntoConfig( argv, config ) - + cfg.testSpec().matches( fakeTestCase( "notIncluded" ) ) == false @@ -3832,7 +3832,7 @@ false == false - + cfg.testSpec().matches( fakeTestCase( "test1" ) ) @@ -3846,7 +3846,7 @@
- + parseIntoConfig( argv, config ) @@ -3854,7 +3854,7 @@ parseIntoConfig( argv, config ) - + cfg.testSpec().matches( fakeTestCase( "test1" ) ) == false @@ -3862,7 +3862,7 @@ false == false - + cfg.testSpec().matches( fakeTestCase( "alwaysIncluded" ) ) @@ -3876,7 +3876,7 @@
- + parseIntoConfig( argv, config ) @@ -3884,7 +3884,7 @@ parseIntoConfig( argv, config ) - + cfg.testSpec().matches( fakeTestCase( "test1" ) ) == false @@ -3892,7 +3892,7 @@ false == false - + cfg.testSpec().matches( fakeTestCase( "alwaysIncluded" ) ) @@ -3906,7 +3906,7 @@
- + parseIntoConfig( argv, config ) @@ -3914,7 +3914,7 @@ parseIntoConfig( argv, config ) - + config.reporterName == "console" @@ -3928,7 +3928,7 @@
- + parseIntoConfig( argv, config ) @@ -3936,7 +3936,7 @@ parseIntoConfig( argv, config ) - + config.reporterName == "xml" @@ -3950,7 +3950,7 @@
- + parseIntoConfig( argv, config ) @@ -3958,7 +3958,7 @@ parseIntoConfig( argv, config ) - + config.reporterName == "junit" @@ -3972,7 +3972,7 @@
- + parseIntoConfig( argv, config ) @@ -3980,7 +3980,7 @@ parseIntoConfig( argv, config ) - + config.shouldDebugBreak == true @@ -3994,7 +3994,7 @@
- + parseIntoConfig( argv, config ) @@ -4002,7 +4002,7 @@ parseIntoConfig( argv, config ) - + config.shouldDebugBreak @@ -4016,7 +4016,7 @@
- + parseIntoConfig( argv, config ) @@ -4024,7 +4024,7 @@ parseIntoConfig( argv, config ) - + config.abortAfter == 1 @@ -4038,7 +4038,7 @@
- + parseIntoConfig( argv, config ) @@ -4046,7 +4046,7 @@ parseIntoConfig( argv, config ) - + config.abortAfter == 2 @@ -4060,7 +4060,7 @@
- + parseIntoConfigAndReturnError( argv, config ) Contains( "greater than zero" ) @@ -4075,7 +4075,7 @@
- + parseIntoConfigAndReturnError( argv, config ) Contains( "-x" ) @@ -4090,7 +4090,7 @@
- + parseIntoConfig( argv, config ) @@ -4098,7 +4098,7 @@ parseIntoConfig( argv, config ) - + config.noThrow == true @@ -4112,7 +4112,7 @@
- + parseIntoConfig( argv, config ) @@ -4120,7 +4120,7 @@ parseIntoConfig( argv, config ) - + config.noThrow == true @@ -4134,7 +4134,7 @@
- + parseIntoConfig( argv, config ) @@ -4142,7 +4142,7 @@ parseIntoConfig( argv, config ) - + config.outputFilename == "filename.ext" @@ -4156,7 +4156,7 @@
- + parseIntoConfig( argv, config ) @@ -4164,7 +4164,7 @@ parseIntoConfig( argv, config ) - + config.outputFilename == "filename.ext" @@ -4178,7 +4178,7 @@
- + parseIntoConfig( argv, config ) @@ -4186,7 +4186,7 @@ parseIntoConfig( argv, config ) - + config.abortAfter == 1 @@ -4194,7 +4194,7 @@ 1 == 1 - + config.shouldDebugBreak @@ -4202,7 +4202,7 @@ true - + config.noThrow == true @@ -4219,7 +4219,7 @@
- + Text( testString, TextAttributes().setWidth( 80 ) ).toString() == testString @@ -4229,7 +4229,7 @@ "one two three four" - + Text( testString, TextAttributes().setWidth( 18 ) ).toString() == testString @@ -4245,7 +4245,7 @@
- + Text( testString, TextAttributes().setWidth( 17 ) ).toString() == "one two three\nfour" @@ -4257,7 +4257,7 @@ four" four" - + Text( testString, TextAttributes().setWidth( 16 ) ).toString() == "one two three\nfour" @@ -4269,7 +4269,7 @@ four" four" - + Text( testString, TextAttributes().setWidth( 14 ) ).toString() == "one two three\nfour" @@ -4281,7 +4281,7 @@ four" four" - + Text( testString, TextAttributes().setWidth( 13 ) ).toString() == "one two three\nfour" @@ -4293,7 +4293,7 @@ four" four" - + Text( testString, TextAttributes().setWidth( 12 ) ).toString() == "one two\nthree four" @@ -4311,7 +4311,7 @@ three four"
- + Text( testString, TextAttributes().setWidth( 9 ) ).toString() == "one two\nthree\nfour" @@ -4325,7 +4325,7 @@ three four" - + Text( testString, TextAttributes().setWidth( 8 ) ).toString() == "one two\nthree\nfour" @@ -4339,7 +4339,7 @@ three four" - + Text( testString, TextAttributes().setWidth( 7 ) ).toString() == "one two\nthree\nfour" @@ -4359,7 +4359,7 @@ four"
- + Text( testString, TextAttributes().setWidth( 6 ) ).toString() == "one\ntwo\nthree\nfour" @@ -4375,7 +4375,7 @@ three four" - + Text( testString, TextAttributes().setWidth( 5 ) ).toString() == "one\ntwo\nthree\nfour" @@ -4397,7 +4397,7 @@ four"
- + Text( "abcdef", TextAttributes().setWidth( 4 ) ).toString() == "abc-\ndef" @@ -4409,7 +4409,7 @@ def" def" - + Text( "abcdefg", TextAttributes().setWidth( 4 ) ).toString() == "abc-\ndefg" @@ -4421,7 +4421,7 @@ defg" defg" - + Text( "abcdefgh", TextAttributes().setWidth( 4 ) ).toString() == "abc-\ndef-\ngh" @@ -4435,7 +4435,7 @@ def- gh" - + Text( testString, TextAttributes().setWidth( 4 ) ).toString() == "one\ntwo\nthr-\nee\nfour" @@ -4453,7 +4453,7 @@ ee four" - + Text( testString, TextAttributes().setWidth( 3 ) ).toString() == "one\ntwo\nth-\nree\nfo-\nur" @@ -4479,7 +4479,7 @@ ur"
- + text.size() == 4 @@ -4487,7 +4487,7 @@ ur" 4 == 4 - + text[0] == "one" @@ -4495,7 +4495,7 @@ ur" "one" == "one" - + text[1] == "two" @@ -4503,7 +4503,7 @@ ur" "two" == "two" - + text[2] == "three" @@ -4511,7 +4511,7 @@ ur" "three" == "three" - + text[3] == "four" @@ -4525,7 +4525,7 @@ ur"
- + text.toString() == " one two\n three\n four" @@ -4545,7 +4545,7 @@ ur"
- + Text( testString, TextAttributes().setWidth( 80 ) ).toString() == testString @@ -4557,7 +4557,7 @@ three four" three four" - + Text( testString, TextAttributes().setWidth( 18 ) ).toString() == testString @@ -4569,7 +4569,7 @@ three four" three four" - + Text( testString, TextAttributes().setWidth( 10 ) ).toString() == testString @@ -4587,7 +4587,7 @@ three four"
- + Text( "abcdef\n", TextAttributes().setWidth( 10 ) ).toString() == "abcdef\n" @@ -4599,7 +4599,7 @@ three four" " - + Text( "abcdef", TextAttributes().setWidth( 6 ) ).toString() == "abcdef" @@ -4607,7 +4607,7 @@ three four" "abcdef" == "abcdef" - + Text( "abcdef\n", TextAttributes().setWidth( 6 ) ).toString() == "abcdef\n" @@ -4625,7 +4625,7 @@ three four"
- + Text( testString, TextAttributes().setWidth( 9 ) ).toString() == "one two\nthree\nfour" @@ -4639,7 +4639,7 @@ three four" - + Text( testString, TextAttributes().setWidth( 8 ) ).toString() == "one two\nthree\nfour" @@ -4653,7 +4653,7 @@ three four" - + Text( testString, TextAttributes().setWidth( 7 ) ).toString() == "one two\nthree\nfour" @@ -4673,7 +4673,7 @@ four"
- + Text( testString, TextAttributes().setWidth( 6 ) ).toString() == "one\ntwo\nthree\nfour" @@ -4694,7 +4694,7 @@ four"
- + Text( testString, TextAttributes().setWidth( 15 ) ).toString() == "one two three\n four\n five\n six" @@ -4716,7 +4716,7 @@ four"
- + replaceInPlace( letters, "b", "z" ) @@ -4724,7 +4724,7 @@ four" true - + letters == "azcdefcg" @@ -4735,7 +4735,7 @@ four"
- + replaceInPlace( letters, "c", "z" ) @@ -4743,7 +4743,7 @@ four" true - + letters == "abzdefzg" @@ -4754,7 +4754,7 @@ four"
- + replaceInPlace( letters, "a", "z" ) @@ -4762,7 +4762,7 @@ four" true - + letters == "zbcdefcg" @@ -4773,7 +4773,7 @@ four"
- + replaceInPlace( letters, "g", "z" ) @@ -4781,7 +4781,7 @@ four" true - + letters == "abcdefcz" @@ -4792,7 +4792,7 @@ four"
- + replaceInPlace( letters, letters, "replaced" ) @@ -4800,7 +4800,7 @@ four" true - + letters == "replaced" @@ -4811,7 +4811,7 @@ four"
- + !replaceInPlace( letters, "x", "z" ) @@ -4819,7 +4819,7 @@ four" !false - + letters == letters @@ -4830,7 +4830,7 @@ four"
- + replaceInPlace( s, "'", "|'" ) @@ -4838,7 +4838,7 @@ four" true - + s == "didn|'t" @@ -4854,7 +4854,7 @@ four" - + Text( "hi there" ).toString() == "hi there" @@ -4862,7 +4862,7 @@ four" "hi there" == "hi there" - + Text( "hi there", narrow ).toString() == "hi\nthere" @@ -4877,7 +4877,7 @@ there" - + t.toString() EndsWith( "... message truncated due to excessive size" ) @@ -5888,7 +5888,7 @@ there" - + (std::pair<int, int>( 1, 2 )) == aNicePair @@ -5911,7 +5911,7 @@ there" - + &o1 == &o2 @@ -5919,7 +5919,7 @@ there" 0x == 0x - + o1 == o2 @@ -5930,7 +5930,7 @@ there" - + std::string( "first" ) == "second" @@ -5941,7 +5941,7 @@ there" - + i++ == 7 @@ -5949,7 +5949,7 @@ there" 7 == 7 - + i++ == 8 @@ -5960,7 +5960,7 @@ there" - + 0x == o @@ -5971,7 +5971,7 @@ there" - + t == 1u @@ -5982,7 +5982,7 @@ there" - + 0x == bit30and31 @@ -5993,7 +5993,7 @@ there" - + obj.prop != __null @@ -6005,7 +6005,7 @@ there"
- + is_true<true>::value == true @@ -6013,7 +6013,7 @@ there" true == true - + true == is_true<true>::value @@ -6024,7 +6024,7 @@ there"
- + is_true<false>::value == false @@ -6032,7 +6032,7 @@ there" false == false - + false == is_true<false>::value @@ -6043,7 +6043,7 @@ there"
- + !is_true<false>::value @@ -6054,7 +6054,7 @@ there"
- + !!is_true<true>::value @@ -6065,7 +6065,7 @@ there"
- + is_true<true>::value @@ -6073,7 +6073,7 @@ there" true - + !is_true<false>::value @@ -6086,7 +6086,7 @@ there" - + True @@ -6094,7 +6094,7 @@ there" true - + !False @@ -6102,7 +6102,7 @@ there" true - + !False @@ -6113,7 +6113,7 @@ there" - + Catch::alwaysTrue() @@ -6122,7 +6122,7 @@ there"
- + Catch::alwaysTrue() @@ -6131,7 +6131,7 @@ there"
- + Catch::alwaysTrue() @@ -6143,7 +6143,7 @@ there"
- + Catch::alwaysTrue() @@ -6152,7 +6152,7 @@ there"
- + Catch::alwaysTrue() @@ -6161,7 +6161,7 @@ there"
- + Catch::alwaysTrue() @@ -6176,7 +6176,7 @@ there" - + s == "7" @@ -6187,7 +6187,7 @@ there" - + a @@ -6195,7 +6195,7 @@ there" true - + a == &foo @@ -6206,7 +6206,7 @@ there" - + m == &S::f @@ -6219,7 +6219,7 @@ there" - + p == 0 @@ -6230,7 +6230,7 @@ there" - + ptr.get() == nullptr @@ -6253,7 +6253,7 @@ there" - + Catch::toString( item ) == "toString( has_toString )" @@ -6266,7 +6266,7 @@ there" - + Catch::toString( item ) == "StringMaker<has_maker>" @@ -6279,7 +6279,7 @@ there" - + Catch::toString( item ) == "toString( has_maker_and_toString )" @@ -6292,7 +6292,7 @@ there" - + Catch::toString( v ) == "{ {?} }" @@ -6303,7 +6303,7 @@ there" - + Catch::toString( v ) == "{ StringMaker<has_maker> }" @@ -6316,7 +6316,7 @@ there" - + Catch::toString( v ) == "{ StringMaker<has_maker_and_toString> }" @@ -6329,7 +6329,7 @@ there" - + Catch::toString( value ) == "{ 34, \"xyzzy\" }" @@ -6340,7 +6340,7 @@ there" - + Catch::toString(value) == "{ 34, \"xyzzy\" }" @@ -6351,7 +6351,7 @@ there" - + Catch::toString( pr ) == "{ { \"green\", 55 } }" @@ -6364,7 +6364,7 @@ there" - + Catch::toString( pair ) == "{ { 42, \"Arthur\" }, { \"Ford\", 24 } }" @@ -6377,7 +6377,7 @@ there" - + Catch::toString(vv) == "{ }" @@ -6385,7 +6385,7 @@ there" "{ }" == "{ }" - + Catch::toString(vv) == "{ 42 }" @@ -6393,7 +6393,7 @@ there" "{ 42 }" == "{ 42 }" - + Catch::toString(vv) == "{ 42, 512 }" @@ -6404,7 +6404,7 @@ there" - + Catch::toString(vv) == "{ }" @@ -6412,7 +6412,7 @@ there" "{ }" == "{ }" - + Catch::toString(vv) == "{ \"hello\" }" @@ -6420,7 +6420,7 @@ there" "{ "hello" }" == "{ "hello" }" - + Catch::toString(vv) == "{ \"hello\", \"world\" }" @@ -6433,7 +6433,7 @@ there" - + Catch::toString(vv) == "{ }" @@ -6441,7 +6441,7 @@ there" "{ }" == "{ }" - + Catch::toString(vv) == "{ 42 }" @@ -6449,7 +6449,7 @@ there" "{ 42 }" == "{ 42 }" - + Catch::toString(vv) == "{ 42, 512 }" @@ -6460,7 +6460,7 @@ there" - + Catch::toString(v) == "{ }" @@ -6468,7 +6468,7 @@ there" "{ }" == "{ }" - + Catch::toString(v) == "{ { \"hello\" }, { \"world\" } }" @@ -6482,7 +6482,7 @@ there"
- + spec.hasFilters() == false @@ -6490,7 +6490,7 @@ there" false == false - + spec.matches( tcA ) == false @@ -6498,7 +6498,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -6509,7 +6509,7 @@ there"
- + spec.hasFilters() == false @@ -6517,7 +6517,7 @@ there" false == false - + spec.matches(tcA ) == false @@ -6525,7 +6525,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -6536,7 +6536,7 @@ there"
- + spec.hasFilters() == false @@ -6544,7 +6544,7 @@ there" false == false - + spec.matches( tcA ) == false @@ -6552,7 +6552,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -6563,7 +6563,7 @@ there"
- + spec.hasFilters() == true @@ -6571,7 +6571,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -6579,7 +6579,7 @@ there" false == false - + spec.matches( tcB ) == true @@ -6590,7 +6590,7 @@ there"
- + spec.hasFilters() == true @@ -6598,7 +6598,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -6606,7 +6606,7 @@ there" false == false - + spec.matches( tcB ) == true @@ -6617,7 +6617,7 @@ there"
- + spec.hasFilters() == true @@ -6625,7 +6625,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -6633,7 +6633,7 @@ there" false == false - + spec.matches( tcB ) == true @@ -6641,7 +6641,7 @@ there" true == true - + spec.matches( tcC ) == false @@ -6652,7 +6652,7 @@ there"
- + spec.hasFilters() == true @@ -6660,7 +6660,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -6668,7 +6668,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -6676,7 +6676,7 @@ there" false == false - + spec.matches( tcC ) == true @@ -6684,7 +6684,7 @@ there" true == true - + spec.matches( tcD ) == false @@ -6692,7 +6692,7 @@ there" false == false - + parseTestSpec( "*a" ).matches( tcA ) == true @@ -6703,7 +6703,7 @@ there"
- + spec.hasFilters() == true @@ -6711,7 +6711,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -6719,7 +6719,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -6727,7 +6727,7 @@ there" false == false - + spec.matches( tcC ) == true @@ -6735,7 +6735,7 @@ there" true == true - + spec.matches( tcD ) == false @@ -6743,7 +6743,7 @@ there" false == false - + parseTestSpec( "a*" ).matches( tcA ) == true @@ -6754,7 +6754,7 @@ there"
- + spec.hasFilters() == true @@ -6762,7 +6762,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -6770,7 +6770,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -6778,7 +6778,7 @@ there" false == false - + spec.matches( tcC ) == true @@ -6786,7 +6786,7 @@ there" true == true - + spec.matches( tcD ) == true @@ -6794,7 +6794,7 @@ there" true == true - + parseTestSpec( "*a*" ).matches( tcA ) == true @@ -6805,7 +6805,7 @@ there"
- + spec.hasFilters() == true @@ -6813,7 +6813,7 @@ there" true == true - + spec.matches( tcA ) == true @@ -6821,7 +6821,7 @@ there" true == true - + spec.matches( tcB ) == false @@ -6832,7 +6832,7 @@ there"
- + spec.hasFilters() == true @@ -6840,7 +6840,7 @@ there" true == true - + spec.matches( tcA ) == true @@ -6848,7 +6848,7 @@ there" true == true - + spec.matches( tcB ) == false @@ -6859,7 +6859,7 @@ there"
- + spec.hasFilters() == true @@ -6867,7 +6867,7 @@ there" true == true - + spec.matches( tcA ) == true @@ -6875,7 +6875,7 @@ there" true == true - + spec.matches( tcB ) == false @@ -6886,7 +6886,7 @@ there"
- + spec.hasFilters() == true @@ -6894,7 +6894,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -6902,7 +6902,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -6910,7 +6910,7 @@ there" false == false - + spec.matches( tcC ) == true @@ -6918,7 +6918,7 @@ there" true == true - + spec.matches( tcD ) == true @@ -6929,7 +6929,7 @@ there"
- + spec.hasFilters() == true @@ -6937,7 +6937,7 @@ there" true == true - + spec.matches( tcA ) == true @@ -6945,7 +6945,7 @@ there" true == true - + spec.matches( tcB ) == true @@ -6953,7 +6953,7 @@ there" true == true - + spec.matches( tcC ) == true @@ -6961,7 +6961,7 @@ there" true == true - + spec.matches( tcD ) == true @@ -6972,7 +6972,7 @@ there"
- + spec.hasFilters() == true @@ -6980,7 +6980,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -6988,7 +6988,7 @@ there" false == false - + spec.matches( tcB ) == true @@ -6996,7 +6996,7 @@ there" true == true - + spec.matches( tcC ) == false @@ -7007,7 +7007,7 @@ there"
- + spec.hasFilters() == true @@ -7015,7 +7015,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -7023,7 +7023,7 @@ there" false == false - + spec.matches( tcB ) == true @@ -7031,7 +7031,7 @@ there" true == true - + spec.matches( tcC ) == true @@ -7042,7 +7042,7 @@ there"
- + spec.hasFilters() == true @@ -7050,7 +7050,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -7058,7 +7058,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -7066,7 +7066,7 @@ there" false == false - + spec.matches( tcC ) == true @@ -7077,7 +7077,7 @@ there"
- + spec.hasFilters() == true @@ -7085,7 +7085,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -7093,7 +7093,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -7101,7 +7101,7 @@ there" false == false - + spec.matches( tcC ) == true @@ -7112,7 +7112,7 @@ there"
- + spec.hasFilters() == true @@ -7120,7 +7120,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -7128,7 +7128,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -7136,7 +7136,7 @@ there" false == false - + spec.matches( tcC ) == true @@ -7144,7 +7144,7 @@ there" true == true - + spec.matches( tcD ) == false @@ -7155,7 +7155,7 @@ there"
- + spec.hasFilters() == true @@ -7163,7 +7163,7 @@ there" true == true - + spec.matches( tcA ) == true @@ -7171,7 +7171,7 @@ there" true == true - + spec.matches( tcB ) == false @@ -7179,7 +7179,7 @@ there" false == false - + spec.matches( tcC ) == true @@ -7190,7 +7190,7 @@ there"
- + spec.hasFilters() == true @@ -7198,7 +7198,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -7206,7 +7206,7 @@ there" false == false - + spec.matches( tcB ) == true @@ -7214,7 +7214,7 @@ there" true == true - + spec.matches( tcC ) == false @@ -7225,7 +7225,7 @@ there"
- + spec.hasFilters() == true @@ -7233,7 +7233,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -7241,7 +7241,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -7249,7 +7249,7 @@ there" false == false - + spec.matches( tcC ) == false @@ -7257,7 +7257,7 @@ there" false == false - + spec.matches( tcD ) == true @@ -7268,7 +7268,7 @@ there"
- + spec.hasFilters() == true @@ -7276,7 +7276,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -7284,7 +7284,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -7292,7 +7292,7 @@ there" false == false - + spec.matches( tcC ) == false @@ -7300,7 +7300,7 @@ there" false == false - + spec.matches( tcD ) == true @@ -7311,7 +7311,7 @@ there"
- + spec.hasFilters() == true @@ -7319,7 +7319,7 @@ there" true == true - + spec.matches( tcA ) == true @@ -7327,7 +7327,7 @@ there" true == true - + spec.matches( tcB ) == false @@ -7335,7 +7335,7 @@ there" false == false - + spec.matches( tcC ) == true @@ -7343,7 +7343,7 @@ there" true == true - + spec.matches( tcD ) == true @@ -7354,7 +7354,7 @@ there"
- + spec.hasFilters() == true @@ -7362,7 +7362,7 @@ there" true == true - + spec.matches( tcA ) == true @@ -7370,7 +7370,7 @@ there" true == true - + spec.matches( tcB ) == true @@ -7378,7 +7378,7 @@ there" true == true - + spec.matches( tcC ) == false @@ -7386,7 +7386,7 @@ there" false == false - + spec.matches( tcD ) == false @@ -7397,7 +7397,7 @@ there"
- + spec.hasFilters() == true @@ -7405,7 +7405,7 @@ there" true == true - + spec.matches( tcA ) == true @@ -7413,7 +7413,7 @@ there" true == true - + spec.matches( tcB ) == true @@ -7421,7 +7421,7 @@ there" true == true - + spec.matches( tcC ) == true @@ -7429,7 +7429,7 @@ there" true == true - + spec.matches( tcD ) == false @@ -7440,7 +7440,7 @@ there"
- + spec.hasFilters() == true @@ -7448,7 +7448,7 @@ there" true == true - + spec.matches( tcA ) == true @@ -7456,7 +7456,7 @@ there" true == true - + spec.matches( tcB ) == true @@ -7464,7 +7464,7 @@ there" true == true - + spec.matches( tcC ) == true @@ -7472,7 +7472,7 @@ there" true == true - + spec.matches( tcD ) == false @@ -7483,7 +7483,7 @@ there"
- + spec.hasFilters() == true @@ -7491,7 +7491,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -7499,7 +7499,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -7507,7 +7507,7 @@ there" false == false - + spec.matches( tcC ) == true @@ -7515,7 +7515,7 @@ there" true == true - + spec.matches( tcD ) == false @@ -7526,7 +7526,7 @@ there"
- + spec.hasFilters() == false @@ -7534,7 +7534,7 @@ there" false == false - + spec.matches( tcA ) == false @@ -7542,7 +7542,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -7550,7 +7550,7 @@ there" false == false - + spec.matches( tcC ) == false @@ -7558,7 +7558,7 @@ there" false == false - + spec.matches( tcD ) == false @@ -7569,7 +7569,7 @@ there"
- + spec.hasFilters() == false @@ -7577,7 +7577,7 @@ there" false == false - + spec.matches( tcA ) == false @@ -7585,7 +7585,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -7593,7 +7593,7 @@ there" false == false - + spec.matches( tcC ) == false @@ -7601,7 +7601,7 @@ there" false == false - + spec.matches( tcD ) == false @@ -7612,7 +7612,7 @@ there"
- + spec.hasFilters() == true @@ -7620,7 +7620,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -7628,7 +7628,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -7636,7 +7636,7 @@ there" false == false - + spec.matches( tcC ) == false @@ -7644,7 +7644,7 @@ there" false == false - + spec.matches( tcD ) == true @@ -7658,7 +7658,7 @@ there"
- + what Contains( "[@zzz]" ) @@ -7668,7 +7668,7 @@ there" Redefined at file:10" contains: "[@zzz]" - + what Contains( "file" ) @@ -7678,7 +7678,7 @@ there" Redefined at file:10" contains: "file" - + what Contains( "2" ) @@ -7688,7 +7688,7 @@ there" Redefined at file:10" contains: "2" - + what Contains( "10" ) @@ -7701,7 +7701,7 @@ there"
- + registry.add( "[no ampersat]", "", Catch::SourceLineInfo( "file", 3 ) ) @@ -7709,7 +7709,7 @@ there" registry.add( "[no ampersat]", "", Catch::SourceLineInfo( "file", 3 ) ) - + registry.add( "[the @ is not at the start]", "", Catch::SourceLineInfo( "file", 3 ) ) @@ -7717,7 +7717,7 @@ there" registry.add( "[the @ is not at the start]", "", Catch::SourceLineInfo( "file", 3 ) ) - + registry.add( "@no square bracket at start]", "", Catch::SourceLineInfo( "file", 3 ) ) @@ -7725,7 +7725,7 @@ there" registry.add( "@no square bracket at start]", "", Catch::SourceLineInfo( "file", 3 ) ) - + registry.add( "[@no square bracket at end", "", Catch::SourceLineInfo( "file", 3 ) ) @@ -7753,7 +7753,7 @@ there"
- + itDoesThis() @@ -7762,7 +7762,7 @@ there"
- + itDoesThat() @@ -7782,7 +7782,7 @@ there"
- + v.size() == 0 @@ -7792,7 +7792,7 @@ there"
- + v.size() == 10 @@ -7800,7 +7800,7 @@ there" 10 == 10 - + v.capacity() >= 10 @@ -7810,7 +7810,7 @@ there"
- + v.size() == 5 @@ -7818,7 +7818,7 @@ there" 5 == 5 - + v.capacity() >= 10 @@ -7837,7 +7837,7 @@ there"
- + v.size() == 0 @@ -7847,7 +7847,7 @@ there"
- + v.capacity() >= 10 @@ -7855,7 +7855,7 @@ there" 10 >= 10 - + v.size() == 0 @@ -7885,7 +7885,7 @@ there"
- + before == 0 @@ -7895,7 +7895,7 @@ there"
- + after > before @@ -7912,7 +7912,7 @@ there" - + !testCaseTracker.isCompleted() @@ -7921,7 +7921,7 @@ there"
- + !testCaseTracker.isCompleted() @@ -7929,7 +7929,7 @@ there" !false - + testCaseTracker.isCompleted() @@ -7939,7 +7939,7 @@ there"
- + !testCaseTracker.isCompleted() @@ -7948,7 +7948,7 @@ there"
- + testCaseTracker.enterSection( section1Name ) @@ -7956,7 +7956,7 @@ there" true - + !testCaseTracker.isCompleted() @@ -7964,7 +7964,7 @@ there" !false - + testCaseTracker.isCompleted() @@ -7972,7 +7972,7 @@ there" true - + !testCaseTracker.enterSection( section1Name ) @@ -7982,7 +7982,7 @@ there"
- + !testCaseTracker.isCompleted() @@ -7991,7 +7991,7 @@ there"
- + testCaseTracker.enterSection( section1Name ) @@ -7999,7 +7999,7 @@ there" true - + !testCaseTracker.enterSection( section2Name ) @@ -8007,7 +8007,7 @@ there" !false - + !testCaseTracker.isCompleted() @@ -8015,7 +8015,7 @@ there" !false - + !testCaseTracker.enterSection( section1Name ) @@ -8023,7 +8023,7 @@ there" !false - + testCaseTracker.enterSection( section2Name ) @@ -8031,7 +8031,7 @@ there" true - + testCaseTracker.isCompleted() @@ -8041,7 +8041,7 @@ there"
- + !testCaseTracker.isCompleted() @@ -8050,7 +8050,7 @@ there"
- + testCaseTracker.enterSection( section1Name ) @@ -8058,7 +8058,7 @@ there" true - + testCaseTracker.enterSection( section2Name ) @@ -8066,7 +8066,7 @@ there" true - + !testCaseTracker.isCompleted() @@ -8074,7 +8074,7 @@ there" !false - + testCaseTracker.isCompleted()