From a9b346b14dc187f9f4c7a3d09c564903c5df1a13 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Sat, 29 Jun 2013 12:04:38 +0100 Subject: [PATCH] Removed line numbers from approval tests of xml too --- .../SelfTest/Baselines/approvedResults.txt | 1222 ++++++++--------- scripts/approvalTests.py | 5 + 2 files changed, 616 insertions(+), 611 deletions(-) diff --git a/projects/SelfTest/Baselines/approvedResults.txt b/projects/SelfTest/Baselines/approvedResults.txt index e1aa9179..e3d0dc64 100644 --- a/projects/SelfTest/Baselines/approvedResults.txt +++ b/projects/SelfTest/Baselines/approvedResults.txt @@ -6786,7 +6786,7 @@ An error - + d == Approx( 1.23 ) @@ -6794,7 +6794,7 @@ An error 1.23 == Approx( 1.23 ) - + d != Approx( 1.22 ) @@ -6802,7 +6802,7 @@ An error 1.23 != Approx( 1.22 ) - + d != Approx( 1.24 ) @@ -6810,7 +6810,7 @@ An error 1.23 != Approx( 1.24 ) - + Approx( d ) == 1.23 @@ -6818,7 +6818,7 @@ An error Approx( 1.23 ) == 1.23 - + Approx( d ) != 1.22 @@ -6826,7 +6826,7 @@ An error Approx( 1.23 ) != 1.22 - + Approx( d ) != 1.24 @@ -6837,7 +6837,7 @@ An error - + d != Approx( 1.231 ) @@ -6845,7 +6845,7 @@ An error 1.23 != Approx( 1.231 ) - + d == Approx( 1.231 ).epsilon( 0.1 ) @@ -6856,7 +6856,7 @@ An error - + 1.23f == Approx( 1.23f ) @@ -6864,7 +6864,7 @@ An error 1.23 == Approx( 1.23 ) - + 0.0f == Approx( 0.0f ) @@ -6875,7 +6875,7 @@ An error - + 1 == Approx( 1 ) @@ -6883,7 +6883,7 @@ An error 1 == Approx( 1 ) - + 0 == Approx( 0 ) @@ -6894,7 +6894,7 @@ An error - + 1.0f == Approx( 1 ) @@ -6902,7 +6902,7 @@ An error 1 == Approx( 1 ) - + 0 == Approx( dZero) @@ -6910,7 +6910,7 @@ An error 0 == Approx( 0 ) - + 0 == Approx( dSmall ).epsilon( 0.001 ) @@ -6918,7 +6918,7 @@ An error 0 == Approx( 1e-05 ) - + 1.234f == Approx( dMedium ) @@ -6926,7 +6926,7 @@ An error 1.234 == Approx( 1.234 ) - + dMedium == Approx( 1.234f ) @@ -6937,7 +6937,7 @@ An error - + d == approx( 1.23 ) @@ -6945,7 +6945,7 @@ An error 1.23 == Approx( 1.23 ) - + d == approx( 1.22 ) @@ -6953,7 +6953,7 @@ An error 1.23 == Approx( 1.22 ) - + d == approx( 1.24 ) @@ -6961,7 +6961,7 @@ An error 1.23 == Approx( 1.24 ) - + d != approx( 1.25 ) @@ -6969,7 +6969,7 @@ An error 1.23 != Approx( 1.25 ) - + approx( d ) == 1.23 @@ -6977,7 +6977,7 @@ An error Approx( 1.23 ) == 1.23 - + approx( d ) == 1.22 @@ -6985,7 +6985,7 @@ An error Approx( 1.23 ) == 1.22 - + approx( d ) == 1.24 @@ -6993,7 +6993,7 @@ An error Approx( 1.23 ) == 1.24 - + approx( d ) != 1.25 @@ -7004,7 +7004,7 @@ An error - + divide( 22, 7 ) == Approx( 3.141 ).epsilon( 0.001 ) @@ -7012,7 +7012,7 @@ An error 3.142857142857143 == Approx( 3.141 ) - + divide( 22, 7 ) != Approx( 3.141 ).epsilon( 0.0001 ) @@ -7023,7 +7023,7 @@ An error - + s == "hello" @@ -7034,7 +7034,7 @@ An error - + s == "world" @@ -7045,7 +7045,7 @@ An error - + m_a == 1 @@ -7056,7 +7056,7 @@ An error - + m_a == 2 @@ -7067,7 +7067,7 @@ An error - + data.int_seven == 7 @@ -7075,7 +7075,7 @@ An error 7 == 7 - + data.float_nine_point_one == Approx( 9.1f ) @@ -7083,7 +7083,7 @@ An error 9.1 == Approx( 9.1 ) - + data.double_pi == Approx( 3.1415926535 ) @@ -7091,7 +7091,7 @@ An error 3.1415926535 == Approx( 3.14159 ) - + data.str_hello == "hello" @@ -7099,7 +7099,7 @@ An error "hello" == "hello" - + "hello" == data.str_hello @@ -7107,7 +7107,7 @@ An error "hello" == "hello" - + data.str_hello.size() == 5 @@ -7115,7 +7115,7 @@ An error 5 == 5 - + x == Approx( 1.3 ) @@ -7126,7 +7126,7 @@ An error - + data.int_seven == 6 @@ -7134,7 +7134,7 @@ An error 7 == 6 - + data.int_seven == 8 @@ -7142,7 +7142,7 @@ An error 7 == 8 - + data.int_seven == 0 @@ -7150,7 +7150,7 @@ An error 7 == 0 - + data.float_nine_point_one == Approx( 9.11f ) @@ -7158,7 +7158,7 @@ An error 9.1 == Approx( 9.11 ) - + data.float_nine_point_one == Approx( 9.0f ) @@ -7166,7 +7166,7 @@ An error 9.1 == Approx( 9 ) - + data.float_nine_point_one == Approx( 1 ) @@ -7174,7 +7174,7 @@ An error 9.1 == Approx( 1 ) - + data.float_nine_point_one == Approx( 0 ) @@ -7182,7 +7182,7 @@ An error 9.1 == Approx( 0 ) - + data.double_pi == Approx( 3.1415 ) @@ -7190,7 +7190,7 @@ An error 3.1415926535 == Approx( 3.1415 ) - + data.str_hello == "goodbye" @@ -7198,7 +7198,7 @@ An error "hello" == "goodbye" - + data.str_hello == "hell" @@ -7206,7 +7206,7 @@ An error "hello" == "hell" - + data.str_hello == "hello1" @@ -7214,7 +7214,7 @@ An error "hello" == "hello1" - + data.str_hello.size() == 6 @@ -7222,7 +7222,7 @@ An error 5 == 6 - + x == Approx( 1.301 ) @@ -7233,7 +7233,7 @@ An error - + data.int_seven != 6 @@ -7241,7 +7241,7 @@ An error 7 != 6 - + data.int_seven != 8 @@ -7249,7 +7249,7 @@ An error 7 != 8 - + data.float_nine_point_one != Approx( 9.11f ) @@ -7257,7 +7257,7 @@ An error 9.1 != Approx( 9.11 ) - + data.float_nine_point_one != Approx( 9.0f ) @@ -7265,7 +7265,7 @@ An error 9.1 != Approx( 9 ) - + data.float_nine_point_one != Approx( 1 ) @@ -7273,7 +7273,7 @@ An error 9.1 != Approx( 1 ) - + data.float_nine_point_one != Approx( 0 ) @@ -7281,7 +7281,7 @@ An error 9.1 != Approx( 0 ) - + data.double_pi != Approx( 3.1415 ) @@ -7289,7 +7289,7 @@ An error 3.1415926535 != Approx( 3.1415 ) - + data.str_hello != "goodbye" @@ -7297,7 +7297,7 @@ An error "hello" != "goodbye" - + data.str_hello != "hell" @@ -7305,7 +7305,7 @@ An error "hello" != "hell" - + data.str_hello != "hello1" @@ -7313,7 +7313,7 @@ An error "hello" != "hello1" - + data.str_hello.size() != 6 @@ -7324,7 +7324,7 @@ An error - + data.int_seven != 7 @@ -7332,7 +7332,7 @@ An error 7 != 7 - + data.float_nine_point_one != Approx( 9.1f ) @@ -7340,7 +7340,7 @@ An error 9.1 != Approx( 9.1 ) - + data.double_pi != Approx( 3.1415926535 ) @@ -7348,7 +7348,7 @@ An error 3.1415926535 != Approx( 3.14159 ) - + data.str_hello != "hello" @@ -7356,7 +7356,7 @@ An error "hello" != "hello" - + data.str_hello.size() != 5 @@ -7367,7 +7367,7 @@ An error - + data.int_seven < 8 @@ -7375,7 +7375,7 @@ An error 7 < 8 - + data.int_seven > 6 @@ -7383,7 +7383,7 @@ An error 7 > 6 - + data.int_seven > 0 @@ -7391,7 +7391,7 @@ An error 7 > 0 - + data.int_seven > -1 @@ -7399,7 +7399,7 @@ An error 7 > -1 - + data.int_seven >= 7 @@ -7407,7 +7407,7 @@ An error 7 >= 7 - + data.int_seven >= 6 @@ -7415,7 +7415,7 @@ An error 7 >= 6 - + data.int_seven <= 7 @@ -7423,7 +7423,7 @@ An error 7 <= 7 - + data.int_seven <= 8 @@ -7431,7 +7431,7 @@ An error 7 <= 8 - + data.float_nine_point_one > 9 @@ -7439,7 +7439,7 @@ An error 9.1 > 9 - + data.float_nine_point_one < 10 @@ -7447,7 +7447,7 @@ An error 9.1 < 10 - + data.float_nine_point_one < 9.2 @@ -7455,7 +7455,7 @@ An error 9.1 < 9.199999999999999 - + data.str_hello <= "hello" @@ -7463,7 +7463,7 @@ An error "hello" <= "hello" - + data.str_hello >= "hello" @@ -7471,7 +7471,7 @@ An error "hello" >= "hello" - + data.str_hello < "hellp" @@ -7479,7 +7479,7 @@ An error "hello" < "hellp" - + data.str_hello < "zebra" @@ -7487,7 +7487,7 @@ An error "hello" < "zebra" - + data.str_hello > "hellm" @@ -7495,7 +7495,7 @@ An error "hello" > "hellm" - + data.str_hello > "a" @@ -7506,7 +7506,7 @@ An error - + data.int_seven > 7 @@ -7514,7 +7514,7 @@ An error 7 > 7 - + data.int_seven < 7 @@ -7522,7 +7522,7 @@ An error 7 < 7 - + data.int_seven > 8 @@ -7530,7 +7530,7 @@ An error 7 > 8 - + data.int_seven < 6 @@ -7538,7 +7538,7 @@ An error 7 < 6 - + data.int_seven < 0 @@ -7546,7 +7546,7 @@ An error 7 < 0 - + data.int_seven < -1 @@ -7554,7 +7554,7 @@ An error 7 < -1 - + data.int_seven >= 8 @@ -7562,7 +7562,7 @@ An error 7 >= 8 - + data.int_seven <= 6 @@ -7570,7 +7570,7 @@ An error 7 <= 6 - + data.float_nine_point_one < 9 @@ -7578,7 +7578,7 @@ An error 9.1 < 9 - + data.float_nine_point_one > 10 @@ -7586,7 +7586,7 @@ An error 9.1 > 10 - + data.float_nine_point_one > 9.2 @@ -7594,7 +7594,7 @@ An error 9.1 > 9.199999999999999 - + data.str_hello > "hello" @@ -7602,7 +7602,7 @@ An error "hello" > "hello" - + data.str_hello < "hello" @@ -7610,7 +7610,7 @@ An error "hello" < "hello" - + data.str_hello > "hellp" @@ -7618,7 +7618,7 @@ An error "hello" > "hellp" - + data.str_hello > "z" @@ -7626,7 +7626,7 @@ An error "hello" > "z" - + data.str_hello < "hellm" @@ -7634,7 +7634,7 @@ An error "hello" < "hellm" - + data.str_hello < "a" @@ -7642,7 +7642,7 @@ An error "hello" < "a" - + data.str_hello >= "z" @@ -7650,7 +7650,7 @@ An error "hello" >= "z" - + data.str_hello <= "a" @@ -7661,7 +7661,7 @@ An error - + i == 1 @@ -7669,7 +7669,7 @@ An error 1 == 1 - + ui == 2 @@ -7677,7 +7677,7 @@ An error 2 == 2 - + l == 3 @@ -7685,7 +7685,7 @@ An error 3 == 3 - + ul == 4 @@ -7693,7 +7693,7 @@ An error 4 == 4 - + c == 5 @@ -7701,7 +7701,7 @@ An error 5 == 5 - + uc == 6 @@ -7709,7 +7709,7 @@ An error 6 == 6 - + 1 == i @@ -7717,7 +7717,7 @@ An error 1 == 1 - + 2 == ui @@ -7725,7 +7725,7 @@ An error 2 == 2 - + 3 == l @@ -7733,7 +7733,7 @@ An error 3 == 3 - + 4 == ul @@ -7741,7 +7741,7 @@ An error 4 == 4 - + 5 == c @@ -7749,7 +7749,7 @@ An error 5 == 5 - + 6 == uc @@ -7757,7 +7757,7 @@ An error 6 == 6 - + (std::numeric_limits<unsigned long>::max)() > ul @@ -7768,7 +7768,7 @@ An error - + long_var == unsigned_char_var @@ -7776,7 +7776,7 @@ An error 1 == 1 - + long_var == unsigned_short_var @@ -7784,7 +7784,7 @@ An error 1 == 1 - + long_var == unsigned_int_var @@ -7792,7 +7792,7 @@ An error 1 == 1 - + long_var == unsigned_long_var @@ -7803,7 +7803,7 @@ An error - + unsigned_char_var == 1 @@ -7811,7 +7811,7 @@ An error 1 == 1 - + unsigned_short_var == 1 @@ -7819,7 +7819,7 @@ An error 1 == 1 - + unsigned_int_var == 1 @@ -7827,7 +7827,7 @@ An error 1 == 1 - + unsigned_long_var == 1 @@ -7838,7 +7838,7 @@ An error - + ( -1 > 2u ) @@ -7846,7 +7846,7 @@ An error true - + -1 > 2u @@ -7854,7 +7854,7 @@ An error -1 > 2 - + ( 2u < -1 ) @@ -7862,7 +7862,7 @@ An error true - + 2u < -1 @@ -7870,7 +7870,7 @@ An error 2 < -1 - + ( minInt > 2u ) @@ -7878,7 +7878,7 @@ An error true - + minInt > 2u @@ -7889,7 +7889,7 @@ An error - + 54 == 6*9 @@ -7900,7 +7900,7 @@ An error - + p == __null @@ -7908,7 +7908,7 @@ An error __null == 0 - + p == pNULL @@ -7916,7 +7916,7 @@ An error __null == __null - + p != __null @@ -7924,7 +7924,7 @@ An error 0x != 0 - + cp != __null @@ -7932,7 +7932,7 @@ An error 0x != 0 - + cpc != __null @@ -7940,7 +7940,7 @@ An error 0x != 0 - + returnsNull() == __null @@ -7948,7 +7948,7 @@ An error {null string} == 0 - + returnsConstNull() == __null @@ -7956,7 +7956,7 @@ An error {null string} == 0 - + __null != p @@ -7967,7 +7967,7 @@ An error - + false == false @@ -7975,7 +7975,7 @@ An error false == false - + true == true @@ -7983,7 +7983,7 @@ An error true == true - + !false @@ -7991,7 +7991,7 @@ An error true - + !false @@ -7999,7 +7999,7 @@ An error !false - + !falseValue @@ -8007,7 +8007,7 @@ An error true - + !falseValue @@ -8015,7 +8015,7 @@ An error !false - + !(1 == 2) @@ -8023,7 +8023,7 @@ An error true - + !1 == 2 @@ -8034,7 +8034,7 @@ An error - + false != false @@ -8042,7 +8042,7 @@ An error false != false - + true != true @@ -8050,7 +8050,7 @@ An error true != true - + !true @@ -8058,7 +8058,7 @@ An error false - + !true @@ -8066,7 +8066,7 @@ An error !true - + !trueValue @@ -8074,7 +8074,7 @@ An error false - + !trueValue @@ -8082,7 +8082,7 @@ An error !true - + !(1 == 1) @@ -8090,7 +8090,7 @@ An error false - + !1 == 1 @@ -8101,7 +8101,7 @@ An error - + thisThrows() @@ -8109,7 +8109,7 @@ An error thisThrows() - + thisDoesntThrow() @@ -8117,7 +8117,7 @@ An error thisDoesntThrow() - + thisThrows() @@ -8128,18 +8128,18 @@ An error - + thisThrows() thisThrows() - + expected exception - + thisDoesntThrow() @@ -8147,27 +8147,27 @@ An error thisDoesntThrow() - + thisThrows() thisThrows() - + expected exception - + unexpected exception - + 1 == 1 @@ -8175,14 +8175,14 @@ An error 1 == 1 - + {Unknown expression after the reported line} {Unknown expression after the reported line} - + unexpected exception @@ -8190,7 +8190,7 @@ An error
- + unexpected exception @@ -8198,14 +8198,14 @@ An error - + thisThrows() == 0 thisThrows() == 0 - + expected exception @@ -8215,47 +8215,47 @@ An error - + custom exception - + throwCustom() throwCustom() - + custom exception - not std - + throwCustom() throwCustom() - + custom exception - not std - + 3.14 - + thisFunctionNotImplemented( 7 ) @@ -8266,7 +8266,7 @@ An error - + multiply( i, 2 ) == i*2 @@ -8274,7 +8274,7 @@ An error 2 == 2 - + multiply( j, 2 ) == j*2 @@ -8282,7 +8282,7 @@ An error 200 == 200 - + multiply( i, 2 ) == i*2 @@ -8290,7 +8290,7 @@ An error 4 == 4 - + multiply( j, 2 ) == j*2 @@ -8298,7 +8298,7 @@ An error 200 == 200 - + multiply( i, 2 ) == i*2 @@ -8306,7 +8306,7 @@ An error 6 == 6 - + multiply( j, 2 ) == j*2 @@ -8314,7 +8314,7 @@ An error 200 == 200 - + multiply( i, 2 ) == i*2 @@ -8322,7 +8322,7 @@ An error 8 == 8 - + multiply( j, 2 ) == j*2 @@ -8330,7 +8330,7 @@ An error 200 == 200 - + multiply( i, 2 ) == i*2 @@ -8338,7 +8338,7 @@ An error 10 == 10 - + multiply( j, 2 ) == j*2 @@ -8346,7 +8346,7 @@ An error 200 == 200 - + multiply( i, 2 ) == i*2 @@ -8354,7 +8354,7 @@ An error 30 == 30 - + multiply( j, 2 ) == j*2 @@ -8362,7 +8362,7 @@ An error 200 == 200 - + multiply( i, 2 ) == i*2 @@ -8370,7 +8370,7 @@ An error 40 == 40 - + multiply( j, 2 ) == j*2 @@ -8378,7 +8378,7 @@ An error 200 == 200 - + multiply( i, 2 ) == i*2 @@ -8386,7 +8386,7 @@ An error 42 == 42 - + multiply( j, 2 ) == j*2 @@ -8394,7 +8394,7 @@ An error 200 == 200 - + multiply( i, 2 ) == i*2 @@ -8402,7 +8402,7 @@ An error 72 == 72 - + multiply( j, 2 ) == j*2 @@ -8410,7 +8410,7 @@ An error 200 == 200 - + multiply( i, 2 ) == i*2 @@ -8418,7 +8418,7 @@ An error 2 == 2 - + multiply( j, 2 ) == j*2 @@ -8426,7 +8426,7 @@ An error 202 == 202 - + multiply( i, 2 ) == i*2 @@ -8434,7 +8434,7 @@ An error 4 == 4 - + multiply( j, 2 ) == j*2 @@ -8442,7 +8442,7 @@ An error 202 == 202 - + multiply( i, 2 ) == i*2 @@ -8450,7 +8450,7 @@ An error 6 == 6 - + multiply( j, 2 ) == j*2 @@ -8458,7 +8458,7 @@ An error 202 == 202 - + multiply( i, 2 ) == i*2 @@ -8466,7 +8466,7 @@ An error 8 == 8 - + multiply( j, 2 ) == j*2 @@ -8474,7 +8474,7 @@ An error 202 == 202 - + multiply( i, 2 ) == i*2 @@ -8482,7 +8482,7 @@ An error 10 == 10 - + multiply( j, 2 ) == j*2 @@ -8490,7 +8490,7 @@ An error 202 == 202 - + multiply( i, 2 ) == i*2 @@ -8498,7 +8498,7 @@ An error 30 == 30 - + multiply( j, 2 ) == j*2 @@ -8506,7 +8506,7 @@ An error 202 == 202 - + multiply( i, 2 ) == i*2 @@ -8514,7 +8514,7 @@ An error 40 == 40 - + multiply( j, 2 ) == j*2 @@ -8522,7 +8522,7 @@ An error 202 == 202 - + multiply( i, 2 ) == i*2 @@ -8530,7 +8530,7 @@ An error 42 == 42 - + multiply( j, 2 ) == j*2 @@ -8538,7 +8538,7 @@ An error 202 == 202 - + multiply( i, 2 ) == i*2 @@ -8546,7 +8546,7 @@ An error 72 == 72 - + multiply( j, 2 ) == j*2 @@ -8554,7 +8554,7 @@ An error 202 == 202 - + multiply( i, 2 ) == i*2 @@ -8562,7 +8562,7 @@ An error 2 == 2 - + multiply( j, 2 ) == j*2 @@ -8570,7 +8570,7 @@ An error 204 == 204 - + multiply( i, 2 ) == i*2 @@ -8578,7 +8578,7 @@ An error 4 == 4 - + multiply( j, 2 ) == j*2 @@ -8586,7 +8586,7 @@ An error 204 == 204 - + multiply( i, 2 ) == i*2 @@ -8594,7 +8594,7 @@ An error 6 == 6 - + multiply( j, 2 ) == j*2 @@ -8602,7 +8602,7 @@ An error 204 == 204 - + multiply( i, 2 ) == i*2 @@ -8610,7 +8610,7 @@ An error 8 == 8 - + multiply( j, 2 ) == j*2 @@ -8618,7 +8618,7 @@ An error 204 == 204 - + multiply( i, 2 ) == i*2 @@ -8626,7 +8626,7 @@ An error 10 == 10 - + multiply( j, 2 ) == j*2 @@ -8634,7 +8634,7 @@ An error 204 == 204 - + multiply( i, 2 ) == i*2 @@ -8642,7 +8642,7 @@ An error 30 == 30 - + multiply( j, 2 ) == j*2 @@ -8650,7 +8650,7 @@ An error 204 == 204 - + multiply( i, 2 ) == i*2 @@ -8658,7 +8658,7 @@ An error 40 == 40 - + multiply( j, 2 ) == j*2 @@ -8666,7 +8666,7 @@ An error 204 == 204 - + multiply( i, 2 ) == i*2 @@ -8674,7 +8674,7 @@ An error 42 == 42 - + multiply( j, 2 ) == j*2 @@ -8682,7 +8682,7 @@ An error 204 == 204 - + multiply( i, 2 ) == i*2 @@ -8690,7 +8690,7 @@ An error 72 == 72 - + multiply( j, 2 ) == j*2 @@ -8698,7 +8698,7 @@ An error 204 == 204 - + multiply( i, 2 ) == i*2 @@ -8706,7 +8706,7 @@ An error 2 == 2 - + multiply( j, 2 ) == j*2 @@ -8714,7 +8714,7 @@ An error 206 == 206 - + multiply( i, 2 ) == i*2 @@ -8722,7 +8722,7 @@ An error 4 == 4 - + multiply( j, 2 ) == j*2 @@ -8730,7 +8730,7 @@ An error 206 == 206 - + multiply( i, 2 ) == i*2 @@ -8738,7 +8738,7 @@ An error 6 == 6 - + multiply( j, 2 ) == j*2 @@ -8746,7 +8746,7 @@ An error 206 == 206 - + multiply( i, 2 ) == i*2 @@ -8754,7 +8754,7 @@ An error 8 == 8 - + multiply( j, 2 ) == j*2 @@ -8762,7 +8762,7 @@ An error 206 == 206 - + multiply( i, 2 ) == i*2 @@ -8770,7 +8770,7 @@ An error 10 == 10 - + multiply( j, 2 ) == j*2 @@ -8778,7 +8778,7 @@ An error 206 == 206 - + multiply( i, 2 ) == i*2 @@ -8786,7 +8786,7 @@ An error 30 == 30 - + multiply( j, 2 ) == j*2 @@ -8794,7 +8794,7 @@ An error 206 == 206 - + multiply( i, 2 ) == i*2 @@ -8802,7 +8802,7 @@ An error 40 == 40 - + multiply( j, 2 ) == j*2 @@ -8810,7 +8810,7 @@ An error 206 == 206 - + multiply( i, 2 ) == i*2 @@ -8818,7 +8818,7 @@ An error 42 == 42 - + multiply( j, 2 ) == j*2 @@ -8826,7 +8826,7 @@ An error 206 == 206 - + multiply( i, 2 ) == i*2 @@ -8834,7 +8834,7 @@ An error 72 == 72 - + multiply( j, 2 ) == j*2 @@ -8842,7 +8842,7 @@ An error 206 == 206 - + multiply( i, 2 ) == i*2 @@ -8850,7 +8850,7 @@ An error 2 == 2 - + multiply( j, 2 ) == j*2 @@ -8858,7 +8858,7 @@ An error 208 == 208 - + multiply( i, 2 ) == i*2 @@ -8866,7 +8866,7 @@ An error 4 == 4 - + multiply( j, 2 ) == j*2 @@ -8874,7 +8874,7 @@ An error 208 == 208 - + multiply( i, 2 ) == i*2 @@ -8882,7 +8882,7 @@ An error 6 == 6 - + multiply( j, 2 ) == j*2 @@ -8890,7 +8890,7 @@ An error 208 == 208 - + multiply( i, 2 ) == i*2 @@ -8898,7 +8898,7 @@ An error 8 == 8 - + multiply( j, 2 ) == j*2 @@ -8906,7 +8906,7 @@ An error 208 == 208 - + multiply( i, 2 ) == i*2 @@ -8914,7 +8914,7 @@ An error 10 == 10 - + multiply( j, 2 ) == j*2 @@ -8922,7 +8922,7 @@ An error 208 == 208 - + multiply( i, 2 ) == i*2 @@ -8930,7 +8930,7 @@ An error 30 == 30 - + multiply( j, 2 ) == j*2 @@ -8938,7 +8938,7 @@ An error 208 == 208 - + multiply( i, 2 ) == i*2 @@ -8946,7 +8946,7 @@ An error 40 == 40 - + multiply( j, 2 ) == j*2 @@ -8954,7 +8954,7 @@ An error 208 == 208 - + multiply( i, 2 ) == i*2 @@ -8962,7 +8962,7 @@ An error 42 == 42 - + multiply( j, 2 ) == j*2 @@ -8970,7 +8970,7 @@ An error 208 == 208 - + multiply( i, 2 ) == i*2 @@ -8978,7 +8978,7 @@ An error 72 == 72 - + multiply( j, 2 ) == j*2 @@ -8986,7 +8986,7 @@ An error 208 == 208 - + multiply( i, 2 ) == i*2 @@ -8994,7 +8994,7 @@ An error 2 == 2 - + multiply( j, 2 ) == j*2 @@ -9002,7 +9002,7 @@ An error 210 == 210 - + multiply( i, 2 ) == i*2 @@ -9010,7 +9010,7 @@ An error 4 == 4 - + multiply( j, 2 ) == j*2 @@ -9018,7 +9018,7 @@ An error 210 == 210 - + multiply( i, 2 ) == i*2 @@ -9026,7 +9026,7 @@ An error 6 == 6 - + multiply( j, 2 ) == j*2 @@ -9034,7 +9034,7 @@ An error 210 == 210 - + multiply( i, 2 ) == i*2 @@ -9042,7 +9042,7 @@ An error 8 == 8 - + multiply( j, 2 ) == j*2 @@ -9050,7 +9050,7 @@ An error 210 == 210 - + multiply( i, 2 ) == i*2 @@ -9058,7 +9058,7 @@ An error 10 == 10 - + multiply( j, 2 ) == j*2 @@ -9066,7 +9066,7 @@ An error 210 == 210 - + multiply( i, 2 ) == i*2 @@ -9074,7 +9074,7 @@ An error 30 == 30 - + multiply( j, 2 ) == j*2 @@ -9082,7 +9082,7 @@ An error 210 == 210 - + multiply( i, 2 ) == i*2 @@ -9090,7 +9090,7 @@ An error 40 == 40 - + multiply( j, 2 ) == j*2 @@ -9098,7 +9098,7 @@ An error 210 == 210 - + multiply( i, 2 ) == i*2 @@ -9106,7 +9106,7 @@ An error 42 == 42 - + multiply( j, 2 ) == j*2 @@ -9114,7 +9114,7 @@ An error 210 == 210 - + multiply( i, 2 ) == i*2 @@ -9122,7 +9122,7 @@ An error 72 == 72 - + multiply( j, 2 ) == j*2 @@ -9130,7 +9130,7 @@ An error 210 == 210 - + multiply( i, 2 ) == i*2 @@ -9138,7 +9138,7 @@ An error 2 == 2 - + multiply( j, 2 ) == j*2 @@ -9146,7 +9146,7 @@ An error 212 == 212 - + multiply( i, 2 ) == i*2 @@ -9154,7 +9154,7 @@ An error 4 == 4 - + multiply( j, 2 ) == j*2 @@ -9162,7 +9162,7 @@ An error 212 == 212 - + multiply( i, 2 ) == i*2 @@ -9170,7 +9170,7 @@ An error 6 == 6 - + multiply( j, 2 ) == j*2 @@ -9178,7 +9178,7 @@ An error 212 == 212 - + multiply( i, 2 ) == i*2 @@ -9186,7 +9186,7 @@ An error 8 == 8 - + multiply( j, 2 ) == j*2 @@ -9194,7 +9194,7 @@ An error 212 == 212 - + multiply( i, 2 ) == i*2 @@ -9202,7 +9202,7 @@ An error 10 == 10 - + multiply( j, 2 ) == j*2 @@ -9210,7 +9210,7 @@ An error 212 == 212 - + multiply( i, 2 ) == i*2 @@ -9218,7 +9218,7 @@ An error 30 == 30 - + multiply( j, 2 ) == j*2 @@ -9226,7 +9226,7 @@ An error 212 == 212 - + multiply( i, 2 ) == i*2 @@ -9234,7 +9234,7 @@ An error 40 == 40 - + multiply( j, 2 ) == j*2 @@ -9242,7 +9242,7 @@ An error 212 == 212 - + multiply( i, 2 ) == i*2 @@ -9250,7 +9250,7 @@ An error 42 == 42 - + multiply( j, 2 ) == j*2 @@ -9258,7 +9258,7 @@ An error 212 == 212 - + multiply( i, 2 ) == i*2 @@ -9266,7 +9266,7 @@ An error 72 == 72 - + multiply( j, 2 ) == j*2 @@ -9274,7 +9274,7 @@ An error 212 == 212 - + multiply( i, 2 ) == i*2 @@ -9282,7 +9282,7 @@ An error 2 == 2 - + multiply( j, 2 ) == j*2 @@ -9290,7 +9290,7 @@ An error 214 == 214 - + multiply( i, 2 ) == i*2 @@ -9298,7 +9298,7 @@ An error 4 == 4 - + multiply( j, 2 ) == j*2 @@ -9306,7 +9306,7 @@ An error 214 == 214 - + multiply( i, 2 ) == i*2 @@ -9314,7 +9314,7 @@ An error 6 == 6 - + multiply( j, 2 ) == j*2 @@ -9322,7 +9322,7 @@ An error 214 == 214 - + multiply( i, 2 ) == i*2 @@ -9330,7 +9330,7 @@ An error 8 == 8 - + multiply( j, 2 ) == j*2 @@ -9338,7 +9338,7 @@ An error 214 == 214 - + multiply( i, 2 ) == i*2 @@ -9346,7 +9346,7 @@ An error 10 == 10 - + multiply( j, 2 ) == j*2 @@ -9354,7 +9354,7 @@ An error 214 == 214 - + multiply( i, 2 ) == i*2 @@ -9362,7 +9362,7 @@ An error 30 == 30 - + multiply( j, 2 ) == j*2 @@ -9370,7 +9370,7 @@ An error 214 == 214 - + multiply( i, 2 ) == i*2 @@ -9378,7 +9378,7 @@ An error 40 == 40 - + multiply( j, 2 ) == j*2 @@ -9386,7 +9386,7 @@ An error 214 == 214 - + multiply( i, 2 ) == i*2 @@ -9394,7 +9394,7 @@ An error 42 == 42 - + multiply( j, 2 ) == j*2 @@ -9402,7 +9402,7 @@ An error 214 == 214 - + multiply( i, 2 ) == i*2 @@ -9410,7 +9410,7 @@ An error 72 == 72 - + multiply( j, 2 ) == j*2 @@ -9421,7 +9421,7 @@ An error - + i->first == i->second-1 @@ -9429,7 +9429,7 @@ An error 0 == 0 - + i->first == i->second-1 @@ -9458,7 +9458,7 @@ An error so should this - + a == 1 @@ -9469,7 +9469,7 @@ An error - + a == 2 @@ -9480,7 +9480,7 @@ An error this message should be logged - + a == 1 @@ -9491,7 +9491,7 @@ An error and this, but later - + a == 0 @@ -9499,7 +9499,7 @@ An error 2 == 0 - + a == 2 @@ -9540,7 +9540,7 @@ An error - + i < 10 @@ -9548,7 +9548,7 @@ An error 0 < 10 - + i < 10 @@ -9556,7 +9556,7 @@ An error 1 < 10 - + i < 10 @@ -9564,7 +9564,7 @@ An error 2 < 10 - + i < 10 @@ -9572,7 +9572,7 @@ An error 3 < 10 - + i < 10 @@ -9580,7 +9580,7 @@ An error 4 < 10 - + i < 10 @@ -9588,7 +9588,7 @@ An error 5 < 10 - + i < 10 @@ -9596,7 +9596,7 @@ An error 6 < 10 - + i < 10 @@ -9604,7 +9604,7 @@ An error 7 < 10 - + i < 10 @@ -9612,7 +9612,7 @@ An error 8 < 10 - + i < 10 @@ -9626,7 +9626,7 @@ An error i := 10 - + i < 10 @@ -9637,7 +9637,7 @@ An error - + 1 == 2 @@ -9658,7 +9658,7 @@ An error
- + a != b @@ -9666,7 +9666,7 @@ An error 1 != 2 - + b != a @@ -9677,7 +9677,7 @@ An error
- + a != b @@ -9691,7 +9691,7 @@ An error
- + a != b @@ -9699,7 +9699,7 @@ An error 1 != 2 - + b != a @@ -9708,7 +9708,7 @@ An error
- + a != b @@ -9725,7 +9725,7 @@ An error
- + a == b @@ -9739,7 +9739,7 @@ An error
- + a != b @@ -9753,7 +9753,7 @@ An error
- + a < b @@ -9790,7 +9790,7 @@ An error
- + b > a @@ -9806,7 +9806,7 @@ An error Testing if fib[0] (1) is even - + ( fib[i] % 2 ) == 0 @@ -9817,7 +9817,7 @@ An error Testing if fib[1] (1) is even - + ( fib[i] % 2 ) == 0 @@ -9825,7 +9825,7 @@ An error 1 == 0 - + ( fib[i] % 2 ) == 0 @@ -9836,7 +9836,7 @@ An error Testing if fib[3] (3) is even - + ( fib[i] % 2 ) == 0 @@ -9847,7 +9847,7 @@ An error Testing if fib[4] (5) is even - + ( fib[i] % 2 ) == 0 @@ -9855,7 +9855,7 @@ An error 1 == 0 - + ( fib[i] % 2 ) == 0 @@ -9866,7 +9866,7 @@ An error Testing if fib[6] (13) is even - + ( fib[i] % 2 ) == 0 @@ -9877,7 +9877,7 @@ An error Testing if fib[7] (21) is even - + ( fib[i] % 2 ) == 0 @@ -9891,7 +9891,7 @@ An error - + makeString( false ) != static_cast<char*>(__null) @@ -9899,7 +9899,7 @@ An error "valid string" != {null string} - + makeString( true ) == static_cast<char*>(__null) @@ -9916,7 +9916,7 @@ An error i := 7 - + false @@ -9927,7 +9927,7 @@ An error - + flag @@ -9935,7 +9935,7 @@ An error true - + testCheckedIf( true ) @@ -9946,7 +9946,7 @@ An error - + flag @@ -9954,7 +9954,7 @@ An error false - + testCheckedIf( false ) @@ -9965,7 +9965,7 @@ An error - + flag @@ -9973,7 +9973,7 @@ An error true - + testCheckedElse( true ) @@ -9984,7 +9984,7 @@ An error - + flag @@ -9992,7 +9992,7 @@ An error false - + testCheckedElse( false ) @@ -10015,7 +10015,7 @@ An error 3 - + false @@ -10026,7 +10026,7 @@ An error - + x == 0 @@ -10037,7 +10037,7 @@ An error - + testStringForMatching() Contains( "string" ) @@ -10045,7 +10045,7 @@ An error "this string contains 'abc' as a substring" contains: "string" - + testStringForMatching() Contains( "abc" ) @@ -10053,7 +10053,7 @@ An error "this string contains 'abc' as a substring" contains: "abc" - + testStringForMatching() StartsWith( "this" ) @@ -10061,7 +10061,7 @@ An error "this string contains 'abc' as a substring" starts with: "this" - + testStringForMatching() EndsWith( "substring" ) @@ -10072,7 +10072,7 @@ An error - + testStringForMatching() Contains( "not there" ) @@ -10083,7 +10083,7 @@ An error - + testStringForMatching() StartsWith( "string" ) @@ -10094,7 +10094,7 @@ An error - + testStringForMatching() EndsWith( "this" ) @@ -10105,7 +10105,7 @@ An error - + testStringForMatching() Equals( "something else" ) @@ -10116,7 +10116,7 @@ An error - + "" Equals(__null) @@ -10127,7 +10127,7 @@ An error - + testStringForMatching() AllOf( Catch::Contains( "string" ), Catch::Contains( "abc" ) ) @@ -10138,7 +10138,7 @@ An error - + testStringForMatching() AnyOf( Catch::Contains( "string" ), Catch::Contains( "not there" ) ) @@ -10146,7 +10146,7 @@ An error "this string contains 'abc' as a substring" ( contains: "string" or contains: "not there" ) - + testStringForMatching() AnyOf( Catch::Contains( "not there" ), Catch::Contains( "string" ) ) @@ -10157,7 +10157,7 @@ An error - + testStringForMatching() Equals( "this string contains 'abc' as a substring" ) @@ -10168,7 +10168,7 @@ An error - + Factorial(0) == 1 @@ -10176,7 +10176,7 @@ An error 1 == 1 - + Factorial(1) == 1 @@ -10184,7 +10184,7 @@ An error 1 == 1 - + Factorial(2) == 2 @@ -10192,7 +10192,7 @@ An error 2 == 2 - + Factorial(3) == 6 @@ -10200,7 +10200,7 @@ An error 6 == 6 - + Factorial(10) == 3628800 @@ -10226,7 +10226,7 @@ An error - + v.size() == 5 @@ -10234,7 +10234,7 @@ An error 5 == 5 - + v.capacity() >= 5 @@ -10243,7 +10243,7 @@ An error
- + v.size() == 10 @@ -10251,7 +10251,7 @@ An error 10 == 10 - + v.capacity() >= 10 @@ -10261,7 +10261,7 @@ An error
- + v.size() == 5 @@ -10269,7 +10269,7 @@ An error 5 == 5 - + v.capacity() >= 5 @@ -10278,7 +10278,7 @@ An error
- + v.size() == 0 @@ -10286,7 +10286,7 @@ An error 0 == 0 - + v.capacity() >= 5 @@ -10295,7 +10295,7 @@ An error
- + v.capacity() == 0 @@ -10307,7 +10307,7 @@ An error
- + v.size() == 5 @@ -10315,7 +10315,7 @@ An error 5 == 5 - + v.capacity() >= 5 @@ -10324,7 +10324,7 @@ An error
- + v.size() == 0 @@ -10332,7 +10332,7 @@ An error 0 == 0 - + v.capacity() >= 5 @@ -10342,7 +10342,7 @@ An error
- + v.size() == 5 @@ -10350,7 +10350,7 @@ An error 5 == 5 - + v.capacity() >= 5 @@ -10359,7 +10359,7 @@ An error
- + v.size() == 5 @@ -10367,7 +10367,7 @@ An error 5 == 5 - + v.capacity() >= 10 @@ -10377,7 +10377,7 @@ An error
- + v.size() == 5 @@ -10385,7 +10385,7 @@ An error 5 == 5 - + v.capacity() >= 5 @@ -10394,7 +10394,7 @@ An error
- + v.size() == 5 @@ -10402,7 +10402,7 @@ An error 5 == 5 - + v.capacity() >= 5 @@ -10432,7 +10432,7 @@ An error
- + totals.assertions.passed == 296 @@ -10440,7 +10440,7 @@ An error 296 == 296 - + totals.assertions.failed == 0 @@ -10454,7 +10454,7 @@ An error
- + totals.assertions.passed == 1 @@ -10462,7 +10462,7 @@ An error 1 == 1 - + totals.assertions.failed == 74 @@ -10477,7 +10477,7 @@ An error - + totals.assertions.passed == 2 @@ -10485,7 +10485,7 @@ An error 2 == 2 - + totals.assertions.failed == 1 @@ -10497,7 +10497,7 @@ An error
- + parseIntoConfig( argv, config ) @@ -10505,7 +10505,7 @@ An error parseIntoConfig( argv, config ) - + config.shouldDebugBreak == false @@ -10513,7 +10513,7 @@ An error false == false - + config.abortAfter == -1 @@ -10521,7 +10521,7 @@ An error -1 == -1 - + config.noThrow == false @@ -10529,7 +10529,7 @@ An error false == false - + config.reporterName.empty() @@ -10541,7 +10541,7 @@ An error
- + parseIntoConfig( argv, config ) @@ -10549,7 +10549,7 @@ An error parseIntoConfig( argv, config ) - + cfg.filters().size() == 1 @@ -10557,7 +10557,7 @@ An error 1 == 1 - + cfg.filters()[0].shouldInclude( fakeTestCase( "notIncluded" ) ) == false @@ -10565,7 +10565,7 @@ An error false == false - + cfg.filters()[0].shouldInclude( fakeTestCase( "test1" ) ) @@ -10579,7 +10579,7 @@ An error
- + parseIntoConfig( argv, config ) @@ -10587,7 +10587,7 @@ An error parseIntoConfig( argv, config ) - + cfg.filters().size() == 1 @@ -10595,7 +10595,7 @@ An error 1 == 1 - + cfg.filters()[0].shouldInclude( fakeTestCase( "test1" ) ) == false @@ -10603,7 +10603,7 @@ An error false == false - + cfg.filters()[0].shouldInclude( fakeTestCase( "alwaysIncluded" ) ) @@ -10617,7 +10617,7 @@ An error
- + parseIntoConfig( argv, config ) @@ -10625,7 +10625,7 @@ An error parseIntoConfig( argv, config ) - + cfg.filters().size() == 1 @@ -10633,7 +10633,7 @@ An error 1 == 1 - + cfg.filters()[0].shouldInclude( fakeTestCase( "test1" ) ) == false @@ -10641,7 +10641,7 @@ An error false == false - + cfg.filters()[0].shouldInclude( fakeTestCase( "alwaysIncluded" ) ) @@ -10655,7 +10655,7 @@ An error
- + parseIntoConfig( argv, config ) @@ -10663,7 +10663,7 @@ An error parseIntoConfig( argv, config ) - + cfg.filters().size() == 1 @@ -10671,7 +10671,7 @@ An error 1 == 1 - + cfg.filters()[0].shouldInclude( fakeTestCase( "notIncluded" ) ) == false @@ -10679,7 +10679,7 @@ An error false == false - + cfg.filters()[0].shouldInclude( fakeTestCase( "test1" ) ) @@ -10687,7 +10687,7 @@ An error true - + cfg.filters()[0].shouldInclude( fakeTestCase( "test2" ) ) @@ -10704,7 +10704,7 @@ An error
- + parseIntoConfig( argv, config ) @@ -10712,7 +10712,7 @@ An error parseIntoConfig( argv, config ) - + config.reporterName == "console" @@ -10726,7 +10726,7 @@ An error
- + parseIntoConfig( argv, config ) @@ -10734,7 +10734,7 @@ An error parseIntoConfig( argv, config ) - + config.reporterName == "xml" @@ -10748,7 +10748,7 @@ An error
- + parseIntoConfig( argv, config ) @@ -10756,7 +10756,7 @@ An error parseIntoConfig( argv, config ) - + config.reporterName == "junit" @@ -10773,7 +10773,7 @@ An error
- + parseIntoConfig( argv, config ) @@ -10781,7 +10781,7 @@ An error parseIntoConfig( argv, config ) - + config.shouldDebugBreak == true @@ -10795,7 +10795,7 @@ An error
- + parseIntoConfig( argv, config ) @@ -10803,7 +10803,7 @@ An error parseIntoConfig( argv, config ) - + config.shouldDebugBreak @@ -10820,7 +10820,7 @@ An error
- + parseIntoConfig( argv, config ) @@ -10828,7 +10828,7 @@ An error parseIntoConfig( argv, config ) - + config.abortAfter == 1 @@ -10842,7 +10842,7 @@ An error
- + parseIntoConfig( argv, config ) @@ -10850,7 +10850,7 @@ An error parseIntoConfig( argv, config ) - + config.abortAfter == 2 @@ -10864,7 +10864,7 @@ An error
- + parseIntoConfigAndReturnError( argv, config ) Contains( "greater than zero" ) @@ -10878,7 +10878,7 @@ An error
- + parseIntoConfigAndReturnError( argv, config ) Contains( "-x" ) @@ -10895,7 +10895,7 @@ An error
- + parseIntoConfig( argv, config ) @@ -10903,7 +10903,7 @@ An error parseIntoConfig( argv, config ) - + config.noThrow == true @@ -10917,7 +10917,7 @@ An error
- + parseIntoConfig( argv, config ) @@ -10925,7 +10925,7 @@ An error parseIntoConfig( argv, config ) - + config.noThrow == true @@ -10942,7 +10942,7 @@ An error
- + parseIntoConfig( argv, config ) @@ -10950,7 +10950,7 @@ An error parseIntoConfig( argv, config ) - + config.outputFilename == "filename.ext" @@ -10964,7 +10964,7 @@ An error
- + parseIntoConfig( argv, config ) @@ -10972,7 +10972,7 @@ An error parseIntoConfig( argv, config ) - + config.outputFilename == "filename.ext" @@ -10989,7 +10989,7 @@ An error
- + parseIntoConfig( argv, config ) @@ -10997,7 +10997,7 @@ An error parseIntoConfig( argv, config ) - + config.abortAfter == 1 @@ -11005,7 +11005,7 @@ An error 1 == 1 - + config.shouldDebugBreak @@ -11013,7 +11013,7 @@ An error true - + config.noThrow == true @@ -11028,7 +11028,7 @@ An error - + matchAny.shouldInclude( fakeTestCase( "any" ) ) @@ -11036,7 +11036,7 @@ An error true - + matchNone.shouldInclude( fakeTestCase( "any" ) ) == false @@ -11044,7 +11044,7 @@ An error false == false - + matchHidden.shouldInclude( fakeTestCase( "any" ) ) == false @@ -11052,7 +11052,7 @@ An error false == false - + matchNonHidden.shouldInclude( fakeTestCase( "any" ) ) @@ -11060,7 +11060,7 @@ An error true - + matchHidden.shouldInclude( fakeTestCase( "./any" ) ) @@ -11068,7 +11068,7 @@ An error true - + matchNonHidden.shouldInclude( fakeTestCase( "./any" ) ) == false @@ -11079,7 +11079,7 @@ An error - + matchHidden.shouldInclude( fakeTestCase( "./something" ) ) @@ -11087,7 +11087,7 @@ An error true - + filters.shouldInclude( fakeTestCase( "any" ) ) == false @@ -11095,7 +11095,7 @@ An error false == false - + filters.shouldInclude( fakeTestCase( "./something" ) ) @@ -11103,7 +11103,7 @@ An error true - + filters.shouldInclude( fakeTestCase( "./anything" ) ) == false @@ -11114,7 +11114,7 @@ An error - + matchBadgers.shouldInclude( fakeTestCase( "big badger" ) ) @@ -11122,7 +11122,7 @@ An error true - + matchBadgers.shouldInclude( fakeTestCase( "little badgers" ) ) == false @@ -11133,7 +11133,7 @@ An error - + matchBadgers.shouldInclude( fakeTestCase( "big badger" ) ) @@ -11141,7 +11141,7 @@ An error true - + matchBadgers.shouldInclude( fakeTestCase( "little badgers" ) ) @@ -11149,7 +11149,7 @@ An error true - + matchBadgers.shouldInclude( fakeTestCase( "badgers are big" ) ) @@ -11157,7 +11157,7 @@ An error true - + matchBadgers.shouldInclude( fakeTestCase( "hedgehogs" ) ) == false @@ -11169,7 +11169,7 @@ An error
- + oneTag.getTestCaseInfo().description == "" @@ -11177,7 +11177,7 @@ An error "" == "" - + oneTag.hasTag( "one" ) @@ -11185,7 +11185,7 @@ An error true - + oneTag.getTags().size() == 1 @@ -11193,7 +11193,7 @@ An error 1 == 1 - + oneTag.matchesTags( p1 ) == true @@ -11201,7 +11201,7 @@ An error true == true - + oneTag.matchesTags( p2 ) == true @@ -11209,7 +11209,7 @@ An error true == true - + oneTag.matchesTags( p3 ) == false @@ -11217,7 +11217,7 @@ An error false == false - + oneTag.matchesTags( p4 ) == false @@ -11225,7 +11225,7 @@ An error false == false - + oneTag.matchesTags( p5 ) == false @@ -11236,7 +11236,7 @@ An error
- + twoTags.getTestCaseInfo().description == "" @@ -11244,7 +11244,7 @@ An error "" == "" - + twoTags.hasTag( "one" ) @@ -11252,7 +11252,7 @@ An error true - + twoTags.hasTag( "two" ) @@ -11260,7 +11260,7 @@ An error true - + twoTags.hasTag( "Two" ) @@ -11268,7 +11268,7 @@ An error true - + twoTags.hasTag( "three" ) == false @@ -11276,7 +11276,7 @@ An error false == false - + twoTags.getTags().size() == 2 @@ -11284,7 +11284,7 @@ An error 2 == 2 - + twoTags.matchesTags( p1 ) == true @@ -11292,7 +11292,7 @@ An error true == true - + twoTags.matchesTags( p2 ) == true @@ -11300,7 +11300,7 @@ An error true == true - + twoTags.matchesTags( p3 ) == true @@ -11308,7 +11308,7 @@ An error true == true - + twoTags.matchesTags( p4 ) == true @@ -11316,7 +11316,7 @@ An error true == true - + twoTags.matchesTags( p5 ) == true @@ -11327,7 +11327,7 @@ An error
- + oneTagWithExtras.getTestCaseInfo().description == "1234" @@ -11335,7 +11335,7 @@ An error "1234" == "1234" - + oneTagWithExtras.hasTag( "one" ) @@ -11343,7 +11343,7 @@ An error true - + oneTagWithExtras.hasTag( "two" ) == false @@ -11351,7 +11351,7 @@ An error false == false - + oneTagWithExtras.getTags().size() == 1 @@ -11362,7 +11362,7 @@ An error
- + oneTagOpen.getTestCaseInfo().description == "[one" @@ -11370,7 +11370,7 @@ An error "[one" == "[one" - + oneTagOpen.hasTag( "one" ) == false @@ -11378,7 +11378,7 @@ An error false == false - + oneTagOpen.getTags().size() == 0 @@ -11389,7 +11389,7 @@ An error
- + oneTag.getTestCaseInfo().description == "" @@ -11397,7 +11397,7 @@ An error "" == "" - + oneTag.hasTag( "." ) @@ -11405,7 +11405,7 @@ An error true - + oneTag.isHidden() @@ -11413,7 +11413,7 @@ An error true - + oneTag.matchesTags( "~[.]" ) == false @@ -11428,7 +11428,7 @@ An error
- + Text( testString, TextAttributes().setWidth( 80 ) ).toString() == testString @@ -11438,7 +11438,7 @@ An error "one two three four" - + Text( testString, TextAttributes().setWidth( 18 ) ).toString() == testString @@ -11454,7 +11454,7 @@ An error
- + Text( testString, TextAttributes().setWidth( 17 ) ).toString() == "one two three\nfour" @@ -11466,7 +11466,7 @@ four" four" - + Text( testString, TextAttributes().setWidth( 16 ) ).toString() == "one two three\nfour" @@ -11478,7 +11478,7 @@ four" four" - + Text( testString, TextAttributes().setWidth( 14 ) ).toString() == "one two three\nfour" @@ -11490,7 +11490,7 @@ four" four" - + Text( testString, TextAttributes().setWidth( 13 ) ).toString() == "one two three\nfour" @@ -11502,7 +11502,7 @@ four" four" - + Text( testString, TextAttributes().setWidth( 12 ) ).toString() == "one two\nthree four" @@ -11520,7 +11520,7 @@ three four"
- + Text( testString, TextAttributes().setWidth( 9 ) ).toString() == "one two\nthree\nfour" @@ -11534,7 +11534,7 @@ three four" - + Text( testString, TextAttributes().setWidth( 8 ) ).toString() == "one two\nthree\nfour" @@ -11548,7 +11548,7 @@ three four" - + Text( testString, TextAttributes().setWidth( 7 ) ).toString() == "one two\nthree\nfour" @@ -11568,7 +11568,7 @@ four"
- + Text( testString, TextAttributes().setWidth( 6 ) ).toString() == "one\ntwo\nthree\nfour" @@ -11584,7 +11584,7 @@ three four" - + Text( testString, TextAttributes().setWidth( 5 ) ).toString() == "one\ntwo\nthree\nfour" @@ -11606,7 +11606,7 @@ four"
- + Text( "abcdef", TextAttributes().setWidth( 4 ) ).toString() == "abc-\ndef" @@ -11618,7 +11618,7 @@ def" def" - + Text( "abcdefg", TextAttributes().setWidth( 4 ) ).toString() == "abc-\ndefg" @@ -11630,7 +11630,7 @@ defg" defg" - + Text( "abcdefgh", TextAttributes().setWidth( 4 ) ).toString() == "abc-\ndef-\ngh" @@ -11644,7 +11644,7 @@ def- gh" - + Text( testString, TextAttributes().setWidth( 4 ) ).toString() == "one\ntwo\nthr-\nee\nfour" @@ -11662,7 +11662,7 @@ ee four" - + Text( testString, TextAttributes().setWidth( 3 ) ).toString() == "one\ntwo\nth-\nree\nfo-\nur" @@ -11688,7 +11688,7 @@ ur"
- + text.size() == 4 @@ -11696,7 +11696,7 @@ ur" 4 == 4 - + text[0] == "one" @@ -11704,7 +11704,7 @@ ur" "one" == "one" - + text[1] == "two" @@ -11712,7 +11712,7 @@ ur" "two" == "two" - + text[2] == "three" @@ -11720,7 +11720,7 @@ ur" "three" == "three" - + text[3] == "four" @@ -11734,7 +11734,7 @@ ur"
- + text.toString() == " one two\n three\n four" @@ -11757,7 +11757,7 @@ ur"
- + Text( testString, TextAttributes().setWidth( 80 ) ).toString() == testString @@ -11769,7 +11769,7 @@ three four" three four" - + Text( testString, TextAttributes().setWidth( 18 ) ).toString() == testString @@ -11781,7 +11781,7 @@ three four" three four" - + Text( testString, TextAttributes().setWidth( 10 ) ).toString() == testString @@ -11799,7 +11799,7 @@ three four"
- + Text( "abcdef\n", TextAttributes().setWidth( 10 ) ).toString() == "abcdef\n" @@ -11811,7 +11811,7 @@ three four" " - + Text( "abcdef", TextAttributes().setWidth( 6 ) ).toString() == "abcdef" @@ -11819,7 +11819,7 @@ three four" "abcdef" == "abcdef" - + Text( "abcdef\n", TextAttributes().setWidth( 6 ) ).toString() == "abcdef\n" @@ -11837,7 +11837,7 @@ three four"
- + Text( testString, TextAttributes().setWidth( 9 ) ).toString() == "one two\nthree\nfour" @@ -11851,7 +11851,7 @@ three four" - + Text( testString, TextAttributes().setWidth( 8 ) ).toString() == "one two\nthree\nfour" @@ -11865,7 +11865,7 @@ three four" - + Text( testString, TextAttributes().setWidth( 7 ) ).toString() == "one two\nthree\nfour" @@ -11885,7 +11885,7 @@ four"
- + Text( testString, TextAttributes().setWidth( 6 ) ).toString() == "one\ntwo\nthree\nfour" @@ -11909,7 +11909,7 @@ four"
- + Text( testString, TextAttributes().setWidth( 15 ) ).toString() == "one two three\n four\n five\n six" @@ -11933,7 +11933,7 @@ four" - + Text( "hi there" ).toString() == "hi there" @@ -11941,7 +11941,7 @@ four" "hi there" == "hi there" - + Text( "hi there", narrow ).toString() == "hi\nthere" @@ -11956,7 +11956,7 @@ there" - + (std::pair<int, int>( 1, 2 )) == aNicePair @@ -11979,7 +11979,7 @@ there" - + &o1 == &o2 @@ -11987,7 +11987,7 @@ there" 0x == 0x - + o1 == o2 @@ -11998,7 +11998,7 @@ there" - + std::string( "first" ) == "second" @@ -12009,7 +12009,7 @@ there" - + i++ == 7 @@ -12017,7 +12017,7 @@ there" 7 == 7 - + i++ == 8 @@ -12028,7 +12028,7 @@ there" - + 0x == o @@ -12039,7 +12039,7 @@ there" - + t == 1u @@ -12050,7 +12050,7 @@ there" - + 0x == bit30and31 @@ -12061,7 +12061,7 @@ there" - + obj.prop != __null @@ -12073,7 +12073,7 @@ there"
- + is_true<true>::value == true @@ -12081,7 +12081,7 @@ there" true == true - + true == is_true<true>::value @@ -12092,7 +12092,7 @@ there"
- + is_true<false>::value == false @@ -12100,7 +12100,7 @@ there" false == false - + false == is_true<false>::value @@ -12111,7 +12111,7 @@ there"
- + !is_true<false>::value @@ -12122,7 +12122,7 @@ there"
- + !!is_true<true>::value @@ -12133,7 +12133,7 @@ there"
- + is_true<true>::value @@ -12141,7 +12141,7 @@ there" true - + !is_true<false>::value @@ -12154,7 +12154,7 @@ there" - + True @@ -12162,7 +12162,7 @@ there" true - + !False @@ -12170,7 +12170,7 @@ there" true - + !False @@ -12181,7 +12181,7 @@ there" - + Catch::isTrue( true ) @@ -12190,7 +12190,7 @@ there"
- + Catch::isTrue( true ) @@ -12199,7 +12199,7 @@ there"
- + Catch::isTrue( true ) @@ -12211,7 +12211,7 @@ there"
- + Catch::isTrue( true ) @@ -12220,7 +12220,7 @@ there"
- + Catch::isTrue( true ) @@ -12229,7 +12229,7 @@ there"
- + Catch::isTrue( true ) @@ -12244,7 +12244,7 @@ there" - + s == "7" @@ -12270,7 +12270,7 @@ there"
- + itDoesThis() @@ -12279,7 +12279,7 @@ there"
- + itDoesThat() @@ -12299,7 +12299,7 @@ there"
- + v.size() == 0 @@ -12309,7 +12309,7 @@ there"
- + v.size() == 10 @@ -12317,7 +12317,7 @@ there" 10 == 10 - + v.capacity() >= 10 @@ -12327,7 +12327,7 @@ there"
- + v.size() == 5 @@ -12335,7 +12335,7 @@ there" 5 == 5 - + v.capacity() >= 10 @@ -12354,7 +12354,7 @@ there"
- + v.size() == 0 @@ -12364,7 +12364,7 @@ there"
- + v.size() == 10 @@ -12372,7 +12372,7 @@ there" 10 == 10 - + v.capacity() >= 10 @@ -12390,7 +12390,7 @@ there"
- + v.size() == 0 @@ -12400,7 +12400,7 @@ there"
- + v.size() == 10 @@ -12408,7 +12408,7 @@ there" 10 == 10 - + v.capacity() >= 10 @@ -12423,7 +12423,7 @@ there"
- + v.size() == 0 @@ -12437,7 +12437,7 @@ there"
- + v.size() == 0 @@ -12447,7 +12447,7 @@ there"
- + v.capacity() >= 10 @@ -12455,7 +12455,7 @@ there" 10 >= 10 - + v.size() == 0 @@ -12485,7 +12485,7 @@ there"
- + config.processName == "test" @@ -12496,7 +12496,7 @@ there"
- + config.fileName == "filename.ext" @@ -12507,7 +12507,7 @@ there"
- + config.fileName == "filename.ext" @@ -12518,7 +12518,7 @@ there"
- + config.fileName == "filename.ext" @@ -12529,7 +12529,7 @@ there"
- + config.fileName == "%stdout" @@ -12540,7 +12540,7 @@ there"
- + config.number == 42 @@ -12551,7 +12551,7 @@ there"
- + parseInto( cli, argv, config ) @@ -12559,7 +12559,7 @@ there" parseInto( cli, argv, config ) - + config.number == 0 @@ -12570,7 +12570,7 @@ there"
- + config1.number == 42 @@ -12578,7 +12578,7 @@ there" 42 == 42 - + !unusedTokens.empty() @@ -12586,7 +12586,7 @@ there" !false - + config2.description == "some text" @@ -12598,7 +12598,7 @@ there"
- + config.index == 3 @@ -12612,7 +12612,7 @@ there"
- + parseInto( cli, argv, config ) @@ -12629,7 +12629,7 @@ there"
- + config.flag @@ -12643,7 +12643,7 @@ there"
- + config.flag == false @@ -12659,7 +12659,7 @@ there"
- + config.firstPos == "1st" @@ -12667,7 +12667,7 @@ there" "1st" == "1st" - + config.secondPos == "2nd" @@ -12675,7 +12675,7 @@ there" "2nd" == "2nd" - + config.unpositional == "3rd" diff --git a/scripts/approvalTests.py b/scripts/approvalTests.py index 45725900..5cdac57d 100644 --- a/scripts/approvalTests.py +++ b/scripts/approvalTests.py @@ -6,6 +6,7 @@ import re from scriptCommon import catchPath filenameParser = re.compile( r'\s*.*/(.*\..pp):([0-9]*)(.*)' ) +lineNumberParser = re.compile( r'(.*)line="[0-9]*"(.*)' ) hexParser = re.compile( r'(.*)\b(0[xX][0-9a-fA-F]+)\b(.*)' ) #catchPath = os.path.dirname(os.path.realpath( os.path.dirname(sys.argv[0]))) @@ -35,6 +36,10 @@ for line in rawFile: m = filenameParser.match( line ) if m: line = m.group(1) + m.group(3) + else: + m = lineNumberParser.match( line ) + if m: + line = m.group(1) + m.group(2) while True: m = hexParser.match( line )