From a99e75b928684e1442661e9a8a5ec458770042e2 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Thu, 11 Dec 2014 23:40:29 +0000 Subject: [PATCH] Made approvals more platform agnostic removes root from all paths - so only relative paths remain --- .../SelfTest/Baselines/xml.sw.approved.txt | 1460 ++++++++--------- scripts/approvalTests.py | 25 +- 2 files changed, 747 insertions(+), 738 deletions(-) diff --git a/projects/SelfTest/Baselines/xml.sw.approved.txt b/projects/SelfTest/Baselines/xml.sw.approved.txt index 200c28f7..9a273fb6 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,18 +1429,18 @@ - + thisThrows() thisThrows() - + expected exception - + thisDoesntThrow() @@ -1448,27 +1448,27 @@ thisDoesntThrow() - + thisThrows() thisThrows() - + expected exception - + unexpected exception - + 1 == 1 @@ -1476,14 +1476,14 @@ 1 == 1 - + {Unknown expression after the reported line} {Unknown expression after the reported line} - + unexpected exception @@ -1491,7 +1491,7 @@
- + unexpected exception @@ -1499,42 +1499,42 @@ - + thisThrows() == 0 thisThrows() == 0 - + expected exception - + thisThrows() == 0 thisThrows() == 0 - + expected exception - + thisThrows() == 0 thisThrows() == 0 - + expected exception @@ -1544,47 +1544,47 @@ - + custom exception - + throwCustom() throwCustom() - + custom exception - not std - + throwCustom() throwCustom() - + custom exception - not std - + 3.14 - + 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" @@ -4718,7 +4718,7 @@ four" - + Text( "hi there" ).toString() == "hi there" @@ -4726,7 +4726,7 @@ four" "hi there" == "hi there" - + Text( "hi there", narrow ).toString() == "hi\nthere" @@ -4741,7 +4741,7 @@ there" - + t.toString() EndsWith( "... message truncated due to excessive size" ) @@ -5752,7 +5752,7 @@ there" - + (std::pair<int, int>( 1, 2 )) == aNicePair @@ -5775,7 +5775,7 @@ there" - + &o1 == &o2 @@ -5783,7 +5783,7 @@ there" 0x == 0x - + o1 == o2 @@ -5794,7 +5794,7 @@ there" - + std::string( "first" ) == "second" @@ -5805,7 +5805,7 @@ there" - + i++ == 7 @@ -5813,7 +5813,7 @@ there" 7 == 7 - + i++ == 8 @@ -5824,7 +5824,7 @@ there" - + 0x == o @@ -5835,7 +5835,7 @@ there" - + t == 1u @@ -5846,7 +5846,7 @@ there" - + 0x == bit30and31 @@ -5857,7 +5857,7 @@ there" - + obj.prop != __null @@ -5869,7 +5869,7 @@ there"
- + is_true<true>::value == true @@ -5877,7 +5877,7 @@ there" true == true - + true == is_true<true>::value @@ -5888,7 +5888,7 @@ there"
- + is_true<false>::value == false @@ -5896,7 +5896,7 @@ there" false == false - + false == is_true<false>::value @@ -5907,7 +5907,7 @@ there"
- + !is_true<false>::value @@ -5918,7 +5918,7 @@ there"
- + !!is_true<true>::value @@ -5929,7 +5929,7 @@ there"
- + is_true<true>::value @@ -5937,7 +5937,7 @@ there" true - + !is_true<false>::value @@ -5950,7 +5950,7 @@ there" - + True @@ -5958,7 +5958,7 @@ there" true - + !False @@ -5966,7 +5966,7 @@ there" true - + !False @@ -5977,7 +5977,7 @@ there" - + Catch::alwaysTrue() @@ -5986,7 +5986,7 @@ there"
- + Catch::alwaysTrue() @@ -5995,7 +5995,7 @@ there"
- + Catch::alwaysTrue() @@ -6007,7 +6007,7 @@ there"
- + Catch::alwaysTrue() @@ -6016,7 +6016,7 @@ there"
- + Catch::alwaysTrue() @@ -6025,7 +6025,7 @@ there"
- + Catch::alwaysTrue() @@ -6040,7 +6040,7 @@ there" - + s == "7" @@ -6051,7 +6051,7 @@ there" - + a @@ -6059,7 +6059,7 @@ there" true - + a == &foo @@ -6070,7 +6070,7 @@ there" - + m == &S::f @@ -6083,7 +6083,7 @@ there" - + p == 0 @@ -6094,7 +6094,7 @@ there" - + ptr.get() == nullptr @@ -6117,7 +6117,7 @@ there" - + Catch::toString( item ) == "toString( has_toString )" @@ -6130,7 +6130,7 @@ there" - + Catch::toString( item ) == "StringMaker<has_maker>" @@ -6143,7 +6143,7 @@ there" - + Catch::toString( item ) == "toString( has_maker_and_toString )" @@ -6156,7 +6156,7 @@ there" - + Catch::toString( v ) == "{ {?} }" @@ -6167,7 +6167,7 @@ there" - + Catch::toString( v ) == "{ StringMaker<has_maker> }" @@ -6180,7 +6180,7 @@ there" - + Catch::toString( v ) == "{ StringMaker<has_maker_and_toString> }" @@ -6193,7 +6193,7 @@ there" - + Catch::toString( value ) == "{ 34, \"xyzzy\" }" @@ -6204,7 +6204,7 @@ there" - + Catch::toString(value) == "{ 34, \"xyzzy\" }" @@ -6215,7 +6215,7 @@ there" - + Catch::toString( pr ) == "{ { \"green\", 55 } }" @@ -6228,7 +6228,7 @@ there" - + Catch::toString( pair ) == "{ { 42, \"Arthur\" }, { \"Ford\", 24 } }" @@ -6241,7 +6241,7 @@ there" - + Catch::toString(vv) == "{ }" @@ -6249,7 +6249,7 @@ there" "{ }" == "{ }" - + Catch::toString(vv) == "{ 42 }" @@ -6257,7 +6257,7 @@ there" "{ 42 }" == "{ 42 }" - + Catch::toString(vv) == "{ 42, 512 }" @@ -6268,7 +6268,7 @@ there" - + Catch::toString(vv) == "{ }" @@ -6276,7 +6276,7 @@ there" "{ }" == "{ }" - + Catch::toString(vv) == "{ \"hello\" }" @@ -6284,7 +6284,7 @@ there" "{ "hello" }" == "{ "hello" }" - + Catch::toString(vv) == "{ \"hello\", \"world\" }" @@ -6297,7 +6297,7 @@ there" - + Catch::toString(vv) == "{ }" @@ -6305,7 +6305,7 @@ there" "{ }" == "{ }" - + Catch::toString(vv) == "{ 42 }" @@ -6313,7 +6313,7 @@ there" "{ 42 }" == "{ 42 }" - + Catch::toString(vv) == "{ 42, 512 }" @@ -6324,7 +6324,7 @@ there" - + Catch::toString(v) == "{ }" @@ -6332,7 +6332,7 @@ there" "{ }" == "{ }" - + Catch::toString(v) == "{ { \"hello\" }, { \"world\" } }" @@ -6346,7 +6346,7 @@ there"
- + spec.hasFilters() == false @@ -6354,7 +6354,7 @@ there" false == false - + spec.matches( tcA ) == false @@ -6362,7 +6362,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -6373,7 +6373,7 @@ there"
- + spec.hasFilters() == false @@ -6381,7 +6381,7 @@ there" false == false - + spec.matches(tcA ) == false @@ -6389,7 +6389,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -6400,7 +6400,7 @@ there"
- + spec.hasFilters() == false @@ -6408,7 +6408,7 @@ there" false == false - + spec.matches( tcA ) == false @@ -6416,7 +6416,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -6427,7 +6427,7 @@ there"
- + spec.hasFilters() == true @@ -6435,7 +6435,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -6443,7 +6443,7 @@ there" false == false - + spec.matches( tcB ) == true @@ -6454,7 +6454,7 @@ there"
- + spec.hasFilters() == true @@ -6462,7 +6462,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -6470,7 +6470,7 @@ there" false == false - + spec.matches( tcB ) == true @@ -6481,7 +6481,7 @@ there"
- + spec.hasFilters() == true @@ -6489,7 +6489,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -6497,7 +6497,7 @@ there" false == false - + spec.matches( tcB ) == true @@ -6505,7 +6505,7 @@ there" true == true - + spec.matches( tcC ) == false @@ -6516,7 +6516,7 @@ there"
- + spec.hasFilters() == true @@ -6524,7 +6524,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -6532,7 +6532,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -6540,7 +6540,7 @@ there" false == false - + spec.matches( tcC ) == true @@ -6548,7 +6548,7 @@ there" true == true - + spec.matches( tcD ) == false @@ -6556,7 +6556,7 @@ there" false == false - + parseTestSpec( "*a" ).matches( tcA ) == true @@ -6567,7 +6567,7 @@ there"
- + spec.hasFilters() == true @@ -6575,7 +6575,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -6583,7 +6583,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -6591,7 +6591,7 @@ there" false == false - + spec.matches( tcC ) == true @@ -6599,7 +6599,7 @@ there" true == true - + spec.matches( tcD ) == false @@ -6607,7 +6607,7 @@ there" false == false - + parseTestSpec( "a*" ).matches( tcA ) == true @@ -6618,7 +6618,7 @@ there"
- + spec.hasFilters() == true @@ -6626,7 +6626,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -6634,7 +6634,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -6642,7 +6642,7 @@ there" false == false - + spec.matches( tcC ) == true @@ -6650,7 +6650,7 @@ there" true == true - + spec.matches( tcD ) == true @@ -6658,7 +6658,7 @@ there" true == true - + parseTestSpec( "*a*" ).matches( tcA ) == true @@ -6669,7 +6669,7 @@ there"
- + spec.hasFilters() == true @@ -6677,7 +6677,7 @@ there" true == true - + spec.matches( tcA ) == true @@ -6685,7 +6685,7 @@ there" true == true - + spec.matches( tcB ) == false @@ -6696,7 +6696,7 @@ there"
- + spec.hasFilters() == true @@ -6704,7 +6704,7 @@ there" true == true - + spec.matches( tcA ) == true @@ -6712,7 +6712,7 @@ there" true == true - + spec.matches( tcB ) == false @@ -6723,7 +6723,7 @@ there"
- + spec.hasFilters() == true @@ -6731,7 +6731,7 @@ there" true == true - + spec.matches( tcA ) == true @@ -6739,7 +6739,7 @@ there" true == true - + spec.matches( tcB ) == false @@ -6750,7 +6750,7 @@ there"
- + spec.hasFilters() == true @@ -6758,7 +6758,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -6766,7 +6766,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -6774,7 +6774,7 @@ there" false == false - + spec.matches( tcC ) == true @@ -6782,7 +6782,7 @@ there" true == true - + spec.matches( tcD ) == true @@ -6793,7 +6793,7 @@ there"
- + spec.hasFilters() == true @@ -6801,7 +6801,7 @@ there" true == true - + spec.matches( tcA ) == true @@ -6809,7 +6809,7 @@ there" true == true - + spec.matches( tcB ) == true @@ -6817,7 +6817,7 @@ there" true == true - + spec.matches( tcC ) == true @@ -6825,7 +6825,7 @@ there" true == true - + spec.matches( tcD ) == true @@ -6836,7 +6836,7 @@ there"
- + spec.hasFilters() == true @@ -6844,7 +6844,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -6852,7 +6852,7 @@ there" false == false - + spec.matches( tcB ) == true @@ -6860,7 +6860,7 @@ there" true == true - + spec.matches( tcC ) == false @@ -6871,7 +6871,7 @@ there"
- + spec.hasFilters() == true @@ -6879,7 +6879,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -6887,7 +6887,7 @@ there" false == false - + spec.matches( tcB ) == true @@ -6895,7 +6895,7 @@ there" true == true - + spec.matches( tcC ) == true @@ -6906,7 +6906,7 @@ there"
- + spec.hasFilters() == true @@ -6914,7 +6914,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -6922,7 +6922,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -6930,7 +6930,7 @@ there" false == false - + spec.matches( tcC ) == true @@ -6941,7 +6941,7 @@ there"
- + spec.hasFilters() == true @@ -6949,7 +6949,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -6957,7 +6957,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -6965,7 +6965,7 @@ there" false == false - + spec.matches( tcC ) == true @@ -6976,7 +6976,7 @@ there"
- + spec.hasFilters() == true @@ -6984,7 +6984,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -6992,7 +6992,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -7000,7 +7000,7 @@ there" false == false - + spec.matches( tcC ) == true @@ -7008,7 +7008,7 @@ there" true == true - + spec.matches( tcD ) == false @@ -7019,7 +7019,7 @@ there"
- + spec.hasFilters() == true @@ -7027,7 +7027,7 @@ there" true == true - + spec.matches( tcA ) == true @@ -7035,7 +7035,7 @@ there" true == true - + spec.matches( tcB ) == false @@ -7043,7 +7043,7 @@ there" false == false - + spec.matches( tcC ) == true @@ -7054,7 +7054,7 @@ there"
- + spec.hasFilters() == true @@ -7062,7 +7062,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -7070,7 +7070,7 @@ there" false == false - + spec.matches( tcB ) == true @@ -7078,7 +7078,7 @@ there" true == true - + spec.matches( tcC ) == false @@ -7089,7 +7089,7 @@ there"
- + spec.hasFilters() == true @@ -7097,7 +7097,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -7105,7 +7105,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -7113,7 +7113,7 @@ there" false == false - + spec.matches( tcC ) == false @@ -7121,7 +7121,7 @@ there" false == false - + spec.matches( tcD ) == true @@ -7132,7 +7132,7 @@ there"
- + spec.hasFilters() == true @@ -7140,7 +7140,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -7148,7 +7148,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -7156,7 +7156,7 @@ there" false == false - + spec.matches( tcC ) == false @@ -7164,7 +7164,7 @@ there" false == false - + spec.matches( tcD ) == true @@ -7175,7 +7175,7 @@ there"
- + spec.hasFilters() == true @@ -7183,7 +7183,7 @@ there" true == true - + spec.matches( tcA ) == true @@ -7191,7 +7191,7 @@ there" true == true - + spec.matches( tcB ) == false @@ -7199,7 +7199,7 @@ there" false == false - + spec.matches( tcC ) == true @@ -7207,7 +7207,7 @@ there" true == true - + spec.matches( tcD ) == true @@ -7218,7 +7218,7 @@ there"
- + spec.hasFilters() == true @@ -7226,7 +7226,7 @@ there" true == true - + spec.matches( tcA ) == true @@ -7234,7 +7234,7 @@ there" true == true - + spec.matches( tcB ) == true @@ -7242,7 +7242,7 @@ there" true == true - + spec.matches( tcC ) == false @@ -7250,7 +7250,7 @@ there" false == false - + spec.matches( tcD ) == false @@ -7261,7 +7261,7 @@ there"
- + spec.hasFilters() == true @@ -7269,7 +7269,7 @@ there" true == true - + spec.matches( tcA ) == true @@ -7277,7 +7277,7 @@ there" true == true - + spec.matches( tcB ) == true @@ -7285,7 +7285,7 @@ there" true == true - + spec.matches( tcC ) == true @@ -7293,7 +7293,7 @@ there" true == true - + spec.matches( tcD ) == false @@ -7304,7 +7304,7 @@ there"
- + spec.hasFilters() == true @@ -7312,7 +7312,7 @@ there" true == true - + spec.matches( tcA ) == true @@ -7320,7 +7320,7 @@ there" true == true - + spec.matches( tcB ) == true @@ -7328,7 +7328,7 @@ there" true == true - + spec.matches( tcC ) == true @@ -7336,7 +7336,7 @@ there" true == true - + spec.matches( tcD ) == false @@ -7347,7 +7347,7 @@ there"
- + spec.hasFilters() == true @@ -7355,7 +7355,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -7363,7 +7363,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -7371,7 +7371,7 @@ there" false == false - + spec.matches( tcC ) == true @@ -7379,7 +7379,7 @@ there" true == true - + spec.matches( tcD ) == false @@ -7390,7 +7390,7 @@ there"
- + spec.hasFilters() == false @@ -7398,7 +7398,7 @@ there" false == false - + spec.matches( tcA ) == false @@ -7406,7 +7406,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -7414,7 +7414,7 @@ there" false == false - + spec.matches( tcC ) == false @@ -7422,7 +7422,7 @@ there" false == false - + spec.matches( tcD ) == false @@ -7433,7 +7433,7 @@ there"
- + spec.hasFilters() == false @@ -7441,7 +7441,7 @@ there" false == false - + spec.matches( tcA ) == false @@ -7449,7 +7449,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -7457,7 +7457,7 @@ there" false == false - + spec.matches( tcC ) == false @@ -7465,7 +7465,7 @@ there" false == false - + spec.matches( tcD ) == false @@ -7476,7 +7476,7 @@ there"
- + spec.hasFilters() == true @@ -7484,7 +7484,7 @@ there" true == true - + spec.matches( tcA ) == false @@ -7492,7 +7492,7 @@ there" false == false - + spec.matches( tcB ) == false @@ -7500,7 +7500,7 @@ there" false == false - + spec.matches( tcC ) == false @@ -7508,7 +7508,7 @@ there" false == false - + spec.matches( tcD ) == true @@ -7522,7 +7522,7 @@ there"
- + what Contains( "[@zzz]" ) @@ -7532,7 +7532,7 @@ there" Redefined at file:10" contains: "[@zzz]" - + what Contains( "file" ) @@ -7542,7 +7542,7 @@ there" Redefined at file:10" contains: "file" - + what Contains( "2" ) @@ -7552,7 +7552,7 @@ there" Redefined at file:10" contains: "2" - + what Contains( "10" ) @@ -7565,7 +7565,7 @@ there"
- + registry.add( "[no ampersat]", "", Catch::SourceLineInfo( "file", 3 ) ) @@ -7573,7 +7573,7 @@ there" registry.add( "[no ampersat]", "", Catch::SourceLineInfo( "file", 3 ) ) - + registry.add( "[the @ is not at the start]", "", Catch::SourceLineInfo( "file", 3 ) ) @@ -7581,7 +7581,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 ) ) @@ -7589,7 +7589,7 @@ there" registry.add( "@no square bracket at start]", "", Catch::SourceLineInfo( "file", 3 ) ) - + registry.add( "[@no square bracket at end", "", Catch::SourceLineInfo( "file", 3 ) ) @@ -7617,7 +7617,7 @@ there"
- + itDoesThis() @@ -7626,7 +7626,7 @@ there"
- + itDoesThat() @@ -7646,7 +7646,7 @@ there"
- + v.size() == 0 @@ -7656,7 +7656,7 @@ there"
- + v.size() == 10 @@ -7664,7 +7664,7 @@ there" 10 == 10 - + v.capacity() >= 10 @@ -7674,7 +7674,7 @@ there"
- + v.size() == 5 @@ -7682,7 +7682,7 @@ there" 5 == 5 - + v.capacity() >= 10 @@ -7701,7 +7701,7 @@ there"
- + v.size() == 0 @@ -7711,7 +7711,7 @@ there"
- + v.capacity() >= 10 @@ -7719,7 +7719,7 @@ there" 10 >= 10 - + v.size() == 0 @@ -7749,7 +7749,7 @@ there"
- + before == 0 @@ -7759,7 +7759,7 @@ there"
- + after > before @@ -7776,7 +7776,7 @@ there" - + !testCaseTracker.isCompleted() @@ -7785,7 +7785,7 @@ there"
- + !testCaseTracker.isCompleted() @@ -7793,7 +7793,7 @@ there" !false - + testCaseTracker.isCompleted() @@ -7803,7 +7803,7 @@ there"
- + !testCaseTracker.isCompleted() @@ -7812,7 +7812,7 @@ there"
- + testCaseTracker.enterSection( section1Name ) @@ -7820,7 +7820,7 @@ there" true - + !testCaseTracker.isCompleted() @@ -7828,7 +7828,7 @@ there" !false - + testCaseTracker.isCompleted() @@ -7836,7 +7836,7 @@ there" true - + !testCaseTracker.enterSection( section1Name ) @@ -7846,7 +7846,7 @@ there"
- + !testCaseTracker.isCompleted() @@ -7855,7 +7855,7 @@ there"
- + testCaseTracker.enterSection( section1Name ) @@ -7863,7 +7863,7 @@ there" true - + !testCaseTracker.enterSection( section2Name ) @@ -7871,7 +7871,7 @@ there" !false - + !testCaseTracker.isCompleted() @@ -7879,7 +7879,7 @@ there" !false - + !testCaseTracker.enterSection( section1Name ) @@ -7887,7 +7887,7 @@ there" !false - + testCaseTracker.enterSection( section2Name ) @@ -7895,7 +7895,7 @@ there" true - + testCaseTracker.isCompleted() @@ -7905,7 +7905,7 @@ there"
- + !testCaseTracker.isCompleted() @@ -7914,7 +7914,7 @@ there"
- + testCaseTracker.enterSection( section1Name ) @@ -7922,7 +7922,7 @@ there" true - + testCaseTracker.enterSection( section2Name ) @@ -7930,7 +7930,7 @@ there" true - + !testCaseTracker.isCompleted() @@ -7938,7 +7938,7 @@ there" !false - + testCaseTracker.isCompleted() diff --git a/scripts/approvalTests.py b/scripts/approvalTests.py index 329c99b5..f2ffea5c 100644 --- a/scripts/approvalTests.py +++ b/scripts/approvalTests.py @@ -9,8 +9,9 @@ from scriptCommon import catchPath rootPath = os.path.join( catchPath, 'projects/SelfTest/Baselines' ) -filenameParser = re.compile( r'.*/(.*\..pp:)(.*)' ) +filenameParser = re.compile( r'(.*)/(.*\..pp:)(.*)' ) filelineParser = re.compile( r'(.*\..pp:)([0-9]*)(.*)' ) +pathParser = re.compile( r'(.*?)/(.*\..pp)(.*)' ) lineNumberParser = re.compile( r'(.*)line="[0-9]*"(.*)' ) hexParser = re.compile( r'(.*)\b(0[xX][0-9a-fA-F]+)\b(.*)' ) durationsParser = re.compile( r'(.*)time="[0-9]*\.[0-9]*"(.*)' ) @@ -26,14 +27,20 @@ overallResult = 0 def filterLine( line ): m = filenameParser.match( line ) if m: - line = m.group(1) + m.group(2) - m = filelineParser.match( line ) - if m: - line = m.group(1) + "" + m.group(3) + line = m.group(2) + m.group(3) + m2 = filelineParser.match( line ) + if m2: + line = m2.group(1) + "" + m2.group(3) else: - m = lineNumberParser.match( line ) - if m: - line = m.group(1) + m.group(2) + m2 = lineNumberParser.match( line ) + if m2: + line = m2.group(1) + m2.group(2) + m = pathParser.match( line ) + if m: + path = "/" + m.group(2) + if path.startswith( catchPath ): + path = path[1+len(catchPath):] + line = m.group(1) + path + m.group(3) m = versionParser.match( line ) if m: line = m.group(1) + "" + m.group(2) @@ -52,6 +59,8 @@ def filterLine( line ): def approve( baseName, args ): global overallResult args[0:0] = [cmdPath] + if not os.path.exists( cmdPath ): + raise Exception( "Executable doesn't exist at " + cmdPath ) baselinesPath = os.path.join( rootPath, '{0}.approved.txt'.format( baseName ) ) rawResultsPath = os.path.join( rootPath, '_{0}.tmp'.format( baseName ) ) filteredResultsPath = os.path.join( rootPath, '{0}.unapproved.txt'.format( baseName ) )