diff options
| author | Martin Hořeňovský | 2020-02-03 20:29:36 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-02-03 20:29:36 +0100 |
| commit | 34bc56340dbb22c11d5bae8dc6018df53626281e (patch) | |
| tree | e5c88e894d81712352d99bec4fd788081a8c227a /tests/SelfTest | |
| parent | c3a5e21648ba4cde517ed17682b1d61833c27679 (diff) | |
| download | catch3-34bc56340dbb22c11d5bae8dc6018df53626281e.tar.gz | |
Normalize TAP approvals to avoid massive diffs for every change
Diffstat (limited to 'tests/SelfTest')
| -rw-r--r-- | tests/SelfTest/Baselines/tap.sw.approved.txt | 3310 |
1 files changed, 1655 insertions, 1655 deletions
diff --git a/tests/SelfTest/Baselines/tap.sw.approved.txt b/tests/SelfTest/Baselines/tap.sw.approved.txt index d2bda84f..57365a24 100644 --- a/tests/SelfTest/Baselines/tap.sw.approved.txt +++ b/tests/SelfTest/Baselines/tap.sw.approved.txt @@ -1,41 +1,41 @@ # # A test name that starts with a # -ok 1 - with 1 message: 'yay' +ok {test-number} - with 1 message: 'yay' # #1005: Comparing pointer to int and long (NULL can be either on various systems) -ok 2 - fptr == 0 for: 0 == 0 +ok {test-number} - fptr == 0 for: 0 == 0 # #1005: Comparing pointer to int and long (NULL can be either on various systems) -ok 3 - fptr == 0l for: 0 == 0 +ok {test-number} - fptr == 0l for: 0 == 0 # #1027 -ok 4 - y.v == 0 for: 0 == 0 +ok {test-number} - y.v == 0 for: 0 == 0 # #1027 -ok 5 - 0 == y.v for: 0 == 0 +ok {test-number} - 0 == y.v for: 0 == 0 # #1027: Bitfields can be captured -ok 6 - y.v == 0 for: 0 == 0 +ok {test-number} - y.v == 0 for: 0 == 0 # #1027: Bitfields can be captured -ok 7 - 0 == y.v for: 0 == 0 +ok {test-number} - 0 == y.v for: 0 == 0 # #1147 -ok 8 - t1 == t2 for: {?} == {?} +ok {test-number} - t1 == t2 for: {?} == {?} # #1147 -ok 9 - t1 != t2 for: {?} != {?} +ok {test-number} - t1 != t2 for: {?} != {?} # #1147 -ok 10 - t1 < t2 for: {?} < {?} +ok {test-number} - t1 < t2 for: {?} < {?} # #1147 -ok 11 - t1 > t2 for: {?} > {?} +ok {test-number} - t1 > t2 for: {?} > {?} # #1147 -ok 12 - t1 <= t2 for: {?} <= {?} +ok {test-number} - t1 <= t2 for: {?} <= {?} # #1147 -ok 13 - t1 >= t2 for: {?} >= {?} +ok {test-number} - t1 >= t2 for: {?} >= {?} # #1175 - Hidden Test -ok 14 - +ok {test-number} - # #1238 -ok 15 - std::memcmp(uarr, "123", sizeof(uarr)) == 0 for: 0 == 0 with 2 messages: 'uarr := "123"' and 'sarr := "456"' +ok {test-number} - std::memcmp(uarr, "123", sizeof(uarr)) == 0 for: 0 == 0 with 2 messages: 'uarr := "123"' and 'sarr := "456"' # #1238 -ok 16 - std::memcmp(sarr, "456", sizeof(sarr)) == 0 for: 0 == 0 with 2 messages: 'uarr := "123"' and 'sarr := "456"' +ok {test-number} - std::memcmp(sarr, "456", sizeof(sarr)) == 0 for: 0 == 0 with 2 messages: 'uarr := "123"' and 'sarr := "456"' # #1245 -ok 17 - +ok {test-number} - # #1319: Sections can have description (even if it is not saved -ok 18 - +ok {test-number} - # #1403 -ok 19 - h1 == h2 for: [1403 helper] == [1403 helper] +ok {test-number} - h1 == h2 for: [1403 helper] == [1403 helper] # #1455 - INFO and WARN can start with a linebreak warning 20 - ' This info message starts with a linebreak' with 1 message: ' @@ -43,3296 +43,3296 @@ This warning message starts with a linebreak' This would not be caught previously Nor would this # #1514: stderr/stdout is not captured in tests aborted by an exception -not ok 21 - explicitly with 1 message: '1514' +not ok {test-number} - explicitly with 1 message: '1514' # #1548 -ok 22 - std::is_same<TypeList<int>, TypeList<int>>::value for: true +ok {test-number} - std::is_same<TypeList<int>, TypeList<int>>::value for: true # #748 - captures with unexpected exceptions -not ok 23 - unexpected exception with message: 'answer := 42' with 1 message: 'expected exception' +not ok {test-number} - unexpected exception with message: 'answer := 42' with 1 message: 'expected exception' # #748 - captures with unexpected exceptions -not ok 24 - unexpected exception with message: 'answer := 42'; expression was: thisThrows() with 1 message: 'expected exception' +not ok {test-number} - unexpected exception with message: 'answer := 42'; expression was: thisThrows() with 1 message: 'expected exception' # #748 - captures with unexpected exceptions -ok 25 - thisThrows() with 1 message: 'answer := 42' +ok {test-number} - thisThrows() with 1 message: 'answer := 42' # #809 -ok 26 - 42 == f for: 42 == {?} +ok {test-number} - 42 == f for: 42 == {?} # #833 -ok 27 - a == t for: 3 == 3 +ok {test-number} - a == t for: 3 == 3 # #833 -ok 28 - a == t for: 3 == 3 +ok {test-number} - a == t for: 3 == 3 # #833 -ok 29 - throws_int(true) +ok {test-number} - throws_int(true) # #833 -ok 30 - throws_int(true), int +ok {test-number} - throws_int(true), int # #833 -ok 31 - throws_int(false) +ok {test-number} - throws_int(false) # #833 -ok 32 - "aaa", Catch::EndsWith("aaa") for: "aaa" ends with: "aaa" +ok {test-number} - "aaa", Catch::EndsWith("aaa") for: "aaa" ends with: "aaa" # #833 -ok 33 - templated_tests<int>(3) for: true +ok {test-number} - templated_tests<int>(3) for: true # #835 -- errno should not be touched by Catch -not ok 34 - f() == 0 for: 1 == 0 +not ok {test-number} - f() == 0 for: 1 == 0 # #835 -- errno should not be touched by Catch -ok 35 - errno == 1 for: 1 == 1 +ok {test-number} - errno == 1 for: 1 == 1 # #872 -ok 36 - x == 4 for: {?} == 4 with 1 message: 'dummy := 0' +ok {test-number} - x == 4 for: {?} == 4 with 1 message: 'dummy := 0' # #961 -- Dynamically created sections should all be reported -ok 37 - with 1 message: 'Everything is OK' +ok {test-number} - with 1 message: 'Everything is OK' # #961 -- Dynamically created sections should all be reported -ok 38 - with 1 message: 'Everything is OK' +ok {test-number} - with 1 message: 'Everything is OK' # #961 -- Dynamically created sections should all be reported -ok 39 - with 1 message: 'Everything is OK' +ok {test-number} - with 1 message: 'Everything is OK' # #961 -- Dynamically created sections should all be reported -ok 40 - with 1 message: 'Everything is OK' +ok {test-number} - with 1 message: 'Everything is OK' # #961 -- Dynamically created sections should all be reported -ok 41 - with 1 message: 'Everything is OK' +ok {test-number} - with 1 message: 'Everything is OK' # 'Not' checks that should fail -not ok 42 - false != false +not ok {test-number} - false != false # 'Not' checks that should fail -not ok 43 - true != true +not ok {test-number} - true != true # 'Not' checks that should fail -not ok 44 - !true for: false +not ok {test-number} - !true for: false # 'Not' checks that should fail -not ok 45 - !(true) for: !true +not ok {test-number} - !(true) for: !true # 'Not' checks that should fail -not ok 46 - !trueValue for: false +not ok {test-number} - !trueValue for: false # 'Not' checks that should fail -not ok 47 - !(trueValue) for: !true +not ok {test-number} - !(trueValue) for: !true # 'Not' checks that should fail -not ok 48 - !(1 == 1) for: false +not ok {test-number} - !(1 == 1) for: false # 'Not' checks that should fail -not ok 49 - !(1 == 1) +not ok {test-number} - !(1 == 1) # 'Not' checks that should succeed -ok 50 - false == false +ok {test-number} - false == false # 'Not' checks that should succeed -ok 51 - true == true +ok {test-number} - true == true # 'Not' checks that should succeed -ok 52 - !false for: true +ok {test-number} - !false for: true # 'Not' checks that should succeed -ok 53 - !(false) for: !false +ok {test-number} - !(false) for: !false # 'Not' checks that should succeed -ok 54 - !falseValue for: true +ok {test-number} - !falseValue for: true # 'Not' checks that should succeed -ok 55 - !(falseValue) for: !false +ok {test-number} - !(falseValue) for: !false # 'Not' checks that should succeed -ok 56 - !(1 == 2) for: true +ok {test-number} - !(1 == 2) for: true # 'Not' checks that should succeed -ok 57 - !(1 == 2) +ok {test-number} - !(1 == 2) # (unimplemented) static bools can be evaluated -ok 58 - is_true<true>::value == true for: true == true +ok {test-number} - is_true<true>::value == true for: true == true # (unimplemented) static bools can be evaluated -ok 59 - true == is_true<true>::value for: true == true +ok {test-number} - true == is_true<true>::value for: true == true # (unimplemented) static bools can be evaluated -ok 60 - is_true<false>::value == false for: false == false +ok {test-number} - is_true<false>::value == false for: false == false # (unimplemented) static bools can be evaluated -ok 61 - false == is_true<false>::value for: false == false +ok {test-number} - false == is_true<false>::value for: false == false # (unimplemented) static bools can be evaluated -ok 62 - !is_true<false>::value for: true +ok {test-number} - !is_true<false>::value for: true # (unimplemented) static bools can be evaluated -ok 63 - !!is_true<true>::value for: true +ok {test-number} - !!is_true<true>::value for: true # (unimplemented) static bools can be evaluated -ok 64 - is_true<true>::value for: true +ok {test-number} - is_true<true>::value for: true # (unimplemented) static bools can be evaluated -ok 65 - !(is_true<false>::value) for: !false +ok {test-number} - !(is_true<false>::value) for: !false # 3x3x3 ints -ok 66 - x < y for: 1 < 4 +ok {test-number} - x < y for: 1 < 4 # 3x3x3 ints -ok 67 - y < z for: 4 < 7 +ok {test-number} - y < z for: 4 < 7 # 3x3x3 ints -ok 68 - x < z for: 1 < 7 +ok {test-number} - x < z for: 1 < 7 # 3x3x3 ints -ok 69 - x < y for: 1 < 4 +ok {test-number} - x < y for: 1 < 4 # 3x3x3 ints -ok 70 - y < z for: 4 < 8 +ok {test-number} - y < z for: 4 < 8 # 3x3x3 ints -ok 71 - x < z for: 1 < 8 +ok {test-number} - x < z for: 1 < 8 # 3x3x3 ints -ok 72 - x < y for: 1 < 4 +ok {test-number} - x < y for: 1 < 4 # 3x3x3 ints -ok 73 - y < z for: 4 < 9 +ok {test-number} - y < z for: 4 < 9 # 3x3x3 ints -ok 74 - x < z for: 1 < 9 +ok {test-number} - x < z for: 1 < 9 # 3x3x3 ints -ok 75 - x < y for: 1 < 5 +ok {test-number} - x < y for: 1 < 5 # 3x3x3 ints -ok 76 - y < z for: 5 < 7 +ok {test-number} - y < z for: 5 < 7 # 3x3x3 ints -ok 77 - x < z for: 1 < 7 +ok {test-number} - x < z for: 1 < 7 # 3x3x3 ints -ok 78 - x < y for: 1 < 5 +ok {test-number} - x < y for: 1 < 5 # 3x3x3 ints -ok 79 - y < z for: 5 < 8 +ok {test-number} - y < z for: 5 < 8 # 3x3x3 ints -ok 80 - x < z for: 1 < 8 +ok {test-number} - x < z for: 1 < 8 # 3x3x3 ints -ok 81 - x < y for: 1 < 5 +ok {test-number} - x < y for: 1 < 5 # 3x3x3 ints -ok 82 - y < z for: 5 < 9 +ok {test-number} - y < z for: 5 < 9 # 3x3x3 ints -ok 83 - x < z for: 1 < 9 +ok {test-number} - x < z for: 1 < 9 # 3x3x3 ints -ok 84 - x < y for: 1 < 6 +ok {test-number} - x < y for: 1 < 6 # 3x3x3 ints -ok 85 - y < z for: 6 < 7 +ok {test-number} - y < z for: 6 < 7 # 3x3x3 ints -ok 86 - x < z for: 1 < 7 +ok {test-number} - x < z for: 1 < 7 # 3x3x3 ints -ok 87 - x < y for: 1 < 6 +ok {test-number} - x < y for: 1 < 6 # 3x3x3 ints -ok 88 - y < z for: 6 < 8 +ok {test-number} - y < z for: 6 < 8 # 3x3x3 ints -ok 89 - x < z for: 1 < 8 +ok {test-number} - x < z for: 1 < 8 # 3x3x3 ints -ok 90 - x < y for: 1 < 6 +ok {test-number} - x < y for: 1 < 6 # 3x3x3 ints -ok 91 - y < z for: 6 < 9 +ok {test-number} - y < z for: 6 < 9 # 3x3x3 ints -ok 92 - x < z for: 1 < 9 +ok {test-number} - x < z for: 1 < 9 # 3x3x3 ints -ok 93 - x < y for: 2 < 4 +ok {test-number} - x < y for: 2 < 4 # 3x3x3 ints -ok 94 - y < z for: 4 < 7 +ok {test-number} - y < z for: 4 < 7 # 3x3x3 ints -ok 95 - x < z for: 2 < 7 +ok {test-number} - x < z for: 2 < 7 # 3x3x3 ints -ok 96 - x < y for: 2 < 4 +ok {test-number} - x < y for: 2 < 4 # 3x3x3 ints -ok 97 - y < z for: 4 < 8 +ok {test-number} - y < z for: 4 < 8 # 3x3x3 ints -ok 98 - x < z for: 2 < 8 +ok {test-number} - x < z for: 2 < 8 # 3x3x3 ints -ok 99 - x < y for: 2 < 4 +ok {test-number} - x < y for: 2 < 4 # 3x3x3 ints -ok 100 - y < z for: 4 < 9 +ok {test-number} - y < z for: 4 < 9 # 3x3x3 ints -ok 101 - x < z for: 2 < 9 +ok {test-number} - x < z for: 2 < 9 # 3x3x3 ints -ok 102 - x < y for: 2 < 5 +ok {test-number} - x < y for: 2 < 5 # 3x3x3 ints -ok 103 - y < z for: 5 < 7 +ok {test-number} - y < z for: 5 < 7 # 3x3x3 ints -ok 104 - x < z for: 2 < 7 +ok {test-number} - x < z for: 2 < 7 # 3x3x3 ints -ok 105 - x < y for: 2 < 5 +ok {test-number} - x < y for: 2 < 5 # 3x3x3 ints -ok 106 - y < z for: 5 < 8 +ok {test-number} - y < z for: 5 < 8 # 3x3x3 ints -ok 107 - x < z for: 2 < 8 +ok {test-number} - x < z for: 2 < 8 # 3x3x3 ints -ok 108 - x < y for: 2 < 5 +ok {test-number} - x < y for: 2 < 5 # 3x3x3 ints -ok 109 - y < z for: 5 < 9 +ok {test-number} - y < z for: 5 < 9 # 3x3x3 ints -ok 110 - x < z for: 2 < 9 +ok {test-number} - x < z for: 2 < 9 # 3x3x3 ints -ok 111 - x < y for: 2 < 6 +ok {test-number} - x < y for: 2 < 6 # 3x3x3 ints -ok 112 - y < z for: 6 < 7 +ok {test-number} - y < z for: 6 < 7 # 3x3x3 ints -ok 113 - x < z for: 2 < 7 +ok {test-number} - x < z for: 2 < 7 # 3x3x3 ints -ok 114 - x < y for: 2 < 6 +ok {test-number} - x < y for: 2 < 6 # 3x3x3 ints -ok 115 - y < z for: 6 < 8 +ok {test-number} - y < z for: 6 < 8 # 3x3x3 ints -ok 116 - x < z for: 2 < 8 +ok {test-number} - x < z for: 2 < 8 # 3x3x3 ints -ok 117 - x < y for: 2 < 6 +ok {test-number} - x < y for: 2 < 6 # 3x3x3 ints -ok 118 - y < z for: 6 < 9 +ok {test-number} - y < z for: 6 < 9 # 3x3x3 ints -ok 119 - x < z for: 2 < 9 +ok {test-number} - x < z for: 2 < 9 # 3x3x3 ints -ok 120 - x < y for: 3 < 4 +ok {test-number} - x < y for: 3 < 4 # 3x3x3 ints -ok 121 - y < z for: 4 < 7 +ok {test-number} - y < z for: 4 < 7 # 3x3x3 ints -ok 122 - x < z for: 3 < 7 +ok {test-number} - x < z for: 3 < 7 # 3x3x3 ints -ok 123 - x < y for: 3 < 4 +ok {test-number} - x < y for: 3 < 4 # 3x3x3 ints -ok 124 - y < z for: 4 < 8 +ok {test-number} - y < z for: 4 < 8 # 3x3x3 ints -ok 125 - x < z for: 3 < 8 +ok {test-number} - x < z for: 3 < 8 # 3x3x3 ints -ok 126 - x < y for: 3 < 4 +ok {test-number} - x < y for: 3 < 4 # 3x3x3 ints -ok 127 - y < z for: 4 < 9 +ok {test-number} - y < z for: 4 < 9 # 3x3x3 ints -ok 128 - x < z for: 3 < 9 +ok {test-number} - x < z for: 3 < 9 # 3x3x3 ints -ok 129 - x < y for: 3 < 5 +ok {test-number} - x < y for: 3 < 5 # 3x3x3 ints -ok 130 - y < z for: 5 < 7 +ok {test-number} - y < z for: 5 < 7 # 3x3x3 ints -ok 131 - x < z for: 3 < 7 +ok {test-number} - x < z for: 3 < 7 # 3x3x3 ints -ok 132 - x < y for: 3 < 5 +ok {test-number} - x < y for: 3 < 5 # 3x3x3 ints -ok 133 - y < z for: 5 < 8 +ok {test-number} - y < z for: 5 < 8 # 3x3x3 ints -ok 134 - x < z for: 3 < 8 +ok {test-number} - x < z for: 3 < 8 # 3x3x3 ints -ok 135 - x < y for: 3 < 5 +ok {test-number} - x < y for: 3 < 5 # 3x3x3 ints -ok 136 - y < z for: 5 < 9 +ok {test-number} - y < z for: 5 < 9 # 3x3x3 ints -ok 137 - x < z for: 3 < 9 +ok {test-number} - x < z for: 3 < 9 # 3x3x3 ints -ok 138 - x < y for: 3 < 6 +ok {test-number} - x < y for: 3 < 6 # 3x3x3 ints -ok 139 - y < z for: 6 < 7 +ok {test-number} - y < z for: 6 < 7 # 3x3x3 ints -ok 140 - x < z for: 3 < 7 +ok {test-number} - x < z for: 3 < 7 # 3x3x3 ints -ok 141 - x < y for: 3 < 6 +ok {test-number} - x < y for: 3 < 6 # 3x3x3 ints -ok 142 - y < z for: 6 < 8 +ok {test-number} - y < z for: 6 < 8 # 3x3x3 ints -ok 143 - x < z for: 3 < 8 +ok {test-number} - x < z for: 3 < 8 # 3x3x3 ints -ok 144 - x < y for: 3 < 6 +ok {test-number} - x < y for: 3 < 6 # 3x3x3 ints -ok 145 - y < z for: 6 < 9 +ok {test-number} - y < z for: 6 < 9 # 3x3x3 ints -ok 146 - x < z for: 3 < 9 +ok {test-number} - x < z for: 3 < 9 # A METHOD_AS_TEST_CASE based test run that fails -not ok 147 - s == "world" for: "hello" == "world" +not ok {test-number} - s == "world" for: "hello" == "world" # A METHOD_AS_TEST_CASE based test run that succeeds -ok 148 - s == "hello" for: "hello" == "hello" +ok {test-number} - s == "hello" for: "hello" == "hello" # A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that fails - Template_Foo<float> -not ok 149 - Template_Fixture_2<TestType>::m_a.size() == 1 for: 0 == 1 +not ok {test-number} - Template_Fixture_2<TestType>::m_a.size() == 1 for: 0 == 1 # A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that fails - Template_Foo<int> -not ok 150 - Template_Fixture_2<TestType>::m_a.size() == 1 for: 0 == 1 +not ok {test-number} - Template_Fixture_2<TestType>::m_a.size() == 1 for: 0 == 1 # A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that fails - std::vector<float> -not ok 151 - Template_Fixture_2<TestType>::m_a.size() == 1 for: 0 == 1 +not ok {test-number} - Template_Fixture_2<TestType>::m_a.size() == 1 for: 0 == 1 # A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that fails - std::vector<int> -not ok 152 - Template_Fixture_2<TestType>::m_a.size() == 1 for: 0 == 1 +not ok {test-number} - Template_Fixture_2<TestType>::m_a.size() == 1 for: 0 == 1 # A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that succeeds - Template_Foo<float> -ok 153 - Template_Fixture_2<TestType>::m_a.size() == 0 for: 0 == 0 +ok {test-number} - Template_Fixture_2<TestType>::m_a.size() == 0 for: 0 == 0 # A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that succeeds - Template_Foo<int> -ok 154 - Template_Fixture_2<TestType>::m_a.size() == 0 for: 0 == 0 +ok {test-number} - Template_Fixture_2<TestType>::m_a.size() == 0 for: 0 == 0 # A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that succeeds - std::vector<float> -ok 155 - Template_Fixture_2<TestType>::m_a.size() == 0 for: 0 == 0 +ok {test-number} - Template_Fixture_2<TestType>::m_a.size() == 0 for: 0 == 0 # A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that succeeds - std::vector<int> -ok 156 - Template_Fixture_2<TestType>::m_a.size() == 0 for: 0 == 0 +ok {test-number} - Template_Fixture_2<TestType>::m_a.size() == 0 for: 0 == 0 # A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that fails - Template_Foo_2<float, 6> -not ok 157 - Template_Fixture_2<TestType>{}.m_a.size() < 2 for: 6 < 2 +not ok {test-number} - Template_Fixture_2<TestType>{}.m_a.size() < 2 for: 6 < 2 # A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that fails - Template_Foo_2<int, 2> -not ok 158 - Template_Fixture_2<TestType>{}.m_a.size() < 2 for: 2 < 2 +not ok {test-number} - Template_Fixture_2<TestType>{}.m_a.size() < 2 for: 2 < 2 # A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that fails - std::array<float, 6> -not ok 159 - Template_Fixture_2<TestType>{}.m_a.size() < 2 for: 6 < 2 +not ok {test-number} - Template_Fixture_2<TestType>{}.m_a.size() < 2 for: 6 < 2 # A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that fails - std::array<int, 2> -not ok 160 - Template_Fixture_2<TestType>{}.m_a.size() < 2 for: 2 < 2 +not ok {test-number} - Template_Fixture_2<TestType>{}.m_a.size() < 2 for: 2 < 2 # A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that succeeds - Template_Foo_2<float,6> -ok 161 - Template_Fixture_2<TestType>{}.m_a.size() >= 2 for: 6 >= 2 +ok {test-number} - Template_Fixture_2<TestType>{}.m_a.size() >= 2 for: 6 >= 2 # A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that succeeds - Template_Foo_2<int,2> -ok 162 - Template_Fixture_2<TestType>{}.m_a.size() >= 2 for: 2 >= 2 +ok {test-number} - Template_Fixture_2<TestType>{}.m_a.size() >= 2 for: 2 >= 2 # A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that succeeds - std::array<float,6> -ok 163 - Template_Fixture_2<TestType>{}.m_a.size() >= 2 for: 6 >= 2 +ok {test-number} - Template_Fixture_2<TestType>{}.m_a.size() >= 2 for: 6 >= 2 # A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that succeeds - std::array<int,2> -ok 164 - Template_Fixture_2<TestType>{}.m_a.size() >= 2 for: 2 >= 2 +ok {test-number} - Template_Fixture_2<TestType>{}.m_a.size() >= 2 for: 2 >= 2 # A TEMPLATE_TEST_CASE_METHOD based test run that fails - double -not ok 165 - Template_Fixture<TestType>::m_a == 2 for: 1.0 == 2 +not ok {test-number} - Template_Fixture<TestType>::m_a == 2 for: 1.0 == 2 # A TEMPLATE_TEST_CASE_METHOD based test run that fails - float -not ok 166 - Template_Fixture<TestType>::m_a == 2 for: 1.0f == 2 +not ok {test-number} - Template_Fixture<TestType>::m_a == 2 for: 1.0f == 2 # A TEMPLATE_TEST_CASE_METHOD based test run that fails - int -not ok 167 - Template_Fixture<TestType>::m_a == 2 for: 1 == 2 +not ok {test-number} - Template_Fixture<TestType>::m_a == 2 for: 1 == 2 # A TEMPLATE_TEST_CASE_METHOD based test run that succeeds - double -ok 168 - Template_Fixture<TestType>::m_a == 1 for: 1.0 == 1 +ok {test-number} - Template_Fixture<TestType>::m_a == 1 for: 1.0 == 1 # A TEMPLATE_TEST_CASE_METHOD based test run that succeeds - float -ok 169 - Template_Fixture<TestType>::m_a == 1 for: 1.0f == 1 +ok {test-number} - Template_Fixture<TestType>::m_a == 1 for: 1.0f == 1 # A TEMPLATE_TEST_CASE_METHOD based test run that succeeds - int -ok 170 - Template_Fixture<TestType>::m_a == 1 for: 1 == 1 +ok {test-number} - Template_Fixture<TestType>::m_a == 1 for: 1 == 1 # A TEMPLATE_TEST_CASE_METHOD_SIG based test run that fails - 1 -not ok 171 - Nttp_Fixture<V>::value == 0 for: 1 == 0 +not ok {test-number} - Nttp_Fixture<V>::value == 0 for: 1 == 0 # A TEMPLATE_TEST_CASE_METHOD_SIG based test run that fails - 3 -not ok 172 - Nttp_Fixture<V>::value == 0 for: 3 == 0 +not ok {test-number} - Nttp_Fixture<V>::value == 0 for: 3 == 0 # A TEMPLATE_TEST_CASE_METHOD_SIG based test run that fails - 6 -not ok 173 - Nttp_Fixture<V>::value == 0 for: 6 == 0 +not ok {test-number} - Nttp_Fixture<V>::value == 0 for: 6 == 0 # A TEMPLATE_TEST_CASE_METHOD_SIG based test run that succeeds - 1 -ok 174 - Nttp_Fixture<V>::value > 0 for: 1 > 0 +ok {test-number} - Nttp_Fixture<V>::value > 0 for: 1 > 0 # A TEMPLATE_TEST_CASE_METHOD_SIG based test run that succeeds - 3 -ok 175 - Nttp_Fixture<V>::value > 0 for: 3 > 0 +ok {test-number} - Nttp_Fixture<V>::value > 0 for: 3 > 0 # A TEMPLATE_TEST_CASE_METHOD_SIG based test run that succeeds - 6 -ok 176 - Nttp_Fixture<V>::value > 0 for: 6 > 0 +ok {test-number} - Nttp_Fixture<V>::value > 0 for: 6 > 0 # A TEST_CASE_METHOD based test run that fails -not ok 177 - m_a == 2 for: 1 == 2 +not ok {test-number} - m_a == 2 for: 1 == 2 # A TEST_CASE_METHOD based test run that succeeds -ok 178 - m_a == 1 for: 1 == 1 +ok {test-number} - m_a == 1 for: 1 == 1 # A Template product test case - Foo<float> -ok 179 - x.size() == 0 for: 0 == 0 +ok {test-number} - x.size() == 0 for: 0 == 0 # A Template product test case - Foo<int> -ok 180 - x.size() == 0 for: 0 == 0 +ok {test-number} - x.size() == 0 for: 0 == 0 # A Template product test case - std::vector<float> -ok 181 - x.size() == 0 for: 0 == 0 +ok {test-number} - x.size() == 0 for: 0 == 0 # A Template product test case - std::vector<int> -ok 182 - x.size() == 0 for: 0 == 0 +ok {test-number} - x.size() == 0 for: 0 == 0 # A Template product test case with array signature - Bar<float, 42> -ok 183 - x.size() > 0 for: 42 > 0 +ok {test-number} - x.size() > 0 for: 42 > 0 # A Template product test case with array signature - Bar<int, 9> -ok 184 - x.size() > 0 for: 9 > 0 +ok {test-number} - x.size() > 0 for: 9 > 0 # A Template product test case with array signature - std::array<float, 42> -ok 185 - x.size() > 0 for: 42 > 0 +ok {test-number} - x.size() > 0 for: 42 > 0 # A Template product test case with array signature - std::array<int, 9> -ok 186 - x.size() > 0 for: 9 > 0 +ok {test-number} - x.size() > 0 for: 9 > 0 # A comparison that uses literals instead of the normal constructor -ok 187 - d == 1.23_a for: 1.23 == Approx( 1.23 ) +ok {test-number} - d == 1.23_a for: 1.23 == Approx( 1.23 ) # A comparison that uses literals instead of the normal constructor -ok 188 - d != 1.22_a for: 1.23 != Approx( 1.22 ) +ok {test-number} - d != 1.22_a for: 1.23 != Approx( 1.22 ) # A comparison that uses literals instead of the normal constructor -ok 189 - -d == -1.23_a for: -1.23 == Approx( -1.23 ) +ok {test-number} - -d == -1.23_a for: -1.23 == Approx( -1.23 ) # A comparison that uses literals instead of the normal constructor -ok 190 - d == 1.2_a .epsilon(.1) for: 1.23 == Approx( 1.2 ) +ok {test-number} - d == 1.2_a .epsilon(.1) for: 1.23 == Approx( 1.2 ) # A comparison that uses literals instead of the normal constructor -ok 191 - d != 1.2_a .epsilon(.001) for: 1.23 != Approx( 1.2 ) +ok {test-number} - d != 1.2_a .epsilon(.001) for: 1.23 != Approx( 1.2 ) # A comparison that uses literals instead of the normal constructor -ok 192 - d == 1_a .epsilon(.3) for: 1.23 == Approx( 1.0 ) +ok {test-number} - d == 1_a .epsilon(.3) for: 1.23 == Approx( 1.0 ) # A couple of nested sections followed by a failure -ok 193 - with 1 message: 'that's not flying - that's failing in style' +ok {test-number} - with 1 message: 'that's not flying - that's failing in style' # A couple of nested sections followed by a failure -not ok 194 - explicitly with 1 message: 'to infinity and beyond' +not ok {test-number} - explicitly with 1 message: 'to infinity and beyond' # A failing expression with a non streamable type is still captured -not ok 195 - &o1 == &o2 for: 0x<hex digits> == 0x<hex digits> +not ok {test-number} - &o1 == &o2 for: 0x<hex digits> == 0x<hex digits> # A failing expression with a non streamable type is still captured -not ok 196 - o1 == o2 for: {?} == {?} +not ok {test-number} - o1 == o2 for: {?} == {?} # Absolute margin -ok 197 - 104.0 != Approx(100.0) for: 104.0 != Approx( 100.0 ) +ok {test-number} - 104.0 != Approx(100.0) for: 104.0 != Approx( 100.0 ) # Absolute margin -ok 198 - 104.0 == Approx(100.0).margin(5) for: 104.0 == Approx( 100.0 ) +ok {test-number} - 104.0 == Approx(100.0).margin(5) for: 104.0 == Approx( 100.0 ) # Absolute margin -ok 199 - 104.0 == Approx(100.0).margin(4) for: 104.0 == Approx( 100.0 ) +ok {test-number} - 104.0 == Approx(100.0).margin(4) for: 104.0 == Approx( 100.0 ) # Absolute margin -ok 200 - 104.0 != Approx(100.0).margin(3) for: 104.0 != Approx( 100.0 ) +ok {test-number} - 104.0 != Approx(100.0).margin(3) for: 104.0 != Approx( 100.0 ) # Absolute margin -ok 201 - 100.3 != Approx(100.0) for: 100.3 != Approx( 100.0 ) +ok {test-number} - 100.3 != Approx(100.0) for: 100.3 != Approx( 100.0 ) # Absolute margin -ok 202 - 100.3 == Approx(100.0).margin(0.5) for: 100.3 == Approx( 100.0 ) +ok {test-number} - 100.3 == Approx(100.0).margin(0.5) for: 100.3 == Approx( 100.0 ) # An expression with side-effects should only be evaluated once -ok 203 - i++ == 7 for: 7 == 7 +ok {test-number} - i++ == 7 for: 7 == 7 # An expression with side-effects should only be evaluated once -ok 204 - i++ == 8 for: 8 == 8 +ok {test-number} - i++ == 8 for: 8 == 8 # An unchecked exception reports the line of the last assertion -ok 205 - 1 == 1 +ok {test-number} - 1 == 1 # An unchecked exception reports the line of the last assertion -not ok 206 - unexpected exception with message: 'unexpected exception'; expression was: {Unknown expression after the reported line} +not ok {test-number} - unexpected exception with message: 'unexpected exception'; expression was: {Unknown expression after the reported line} # Anonymous test case 1 -ok 207 - with 1 message: 'anonymous test case' +ok {test-number} - with 1 message: 'anonymous test case' # Approx setters validate their arguments -ok 208 - Approx(0).margin(0) +ok {test-number} - Approx(0).margin(0) # Approx setters validate their arguments -ok 209 - Approx(0).margin(1234656) +ok {test-number} - Approx(0).margin(1234656) # Approx setters validate their arguments -ok 210 - Approx(0).margin(-2), std::domain_error +ok {test-number} - Approx(0).margin(-2), std::domain_error # Approx setters validate their arguments -ok 211 - Approx(0).epsilon(0) +ok {test-number} - Approx(0).epsilon(0) # Approx setters validate their arguments -ok 212 - Approx(0).epsilon(1) +ok {test-number} - Approx(0).epsilon(1) # Approx setters validate their arguments -ok 213 - Approx(0).epsilon(-0.001), std::domain_error +ok {test-number} - Approx(0).epsilon(-0.001), std::domain_error # Approx setters validate their arguments -ok 214 - Approx(0).epsilon(1.0001), std::domain_error +ok {test-number} - Approx(0).epsilon(1.0001), std::domain_error # Approx with exactly-representable margin -ok 215 - 0.25f == Approx(0.0f).margin(0.25f) for: 0.25f == Approx( 0.0 ) +ok {test-number} - 0.25f == Approx(0.0f).margin(0.25f) for: 0.25f == Approx( 0.0 ) # Approx with exactly-representable margin -ok 216 - 0.0f == Approx(0.25f).margin(0.25f) for: 0.0f == Approx( 0.25 ) +ok {test-number} - 0.0f == Approx(0.25f).margin(0.25f) for: 0.0f == Approx( 0.25 ) # Approx with exactly-representable margin -ok 217 - 0.5f == Approx(0.25f).margin(0.25f) for: 0.5f == Approx( 0.25 ) +ok {test-number} - 0.5f == Approx(0.25f).margin(0.25f) for: 0.5f == Approx( 0.25 ) # Approx with exactly-representable margin -ok 218 - 245.0f == Approx(245.25f).margin(0.25f) for: 245.0f == Approx( 245.25 ) +ok {test-number} - 245.0f == Approx(245.25f).margin(0.25f) for: 245.0f == Approx( 245.25 ) # Approx with exactly-representable margin -ok 219 - 245.5f == Approx(245.25f).margin(0.25f) for: 245.5f == Approx( 245.25 ) +ok {test-number} - 245.5f == Approx(245.25f).margin(0.25f) for: 245.5f == Approx( 245.25 ) # Approximate PI -ok 220 - divide( 22, 7 ) == Approx( 3.141 ).epsilon( 0.001 ) for: 3.1428571429 == Approx( 3.141 ) +ok {test-number} - divide( 22, 7 ) == Approx( 3.141 ).epsilon( 0.001 ) for: 3.1428571429 == Approx( 3.141 ) # Approximate PI -ok 221 - divide( 22, 7 ) != Approx( 3.141 ).epsilon( 0.0001 ) for: 3.1428571429 != Approx( 3.141 ) +ok {test-number} - divide( 22, 7 ) != Approx( 3.141 ).epsilon( 0.0001 ) for: 3.1428571429 != Approx( 3.141 ) # Approximate comparisons with different epsilons -ok 222 - d != Approx( 1.231 ) for: 1.23 != Approx( 1.231 ) +ok {test-number} - d != Approx( 1.231 ) for: 1.23 != Approx( 1.231 ) # Approximate comparisons with different epsilons -ok 223 - d == Approx( 1.231 ).epsilon( 0.1 ) for: 1.23 == Approx( 1.231 ) +ok {test-number} - d == Approx( 1.231 ).epsilon( 0.1 ) for: 1.23 == Approx( 1.231 ) # Approximate comparisons with floats -ok 224 - 1.23f == Approx( 1.23f ) for: 1.23f == Approx( 1.2300000191 ) +ok {test-number} - 1.23f == Approx( 1.23f ) for: 1.23f == Approx( 1.2300000191 ) # Approximate comparisons with floats -ok 225 - 0.0f == Approx( 0.0f ) for: 0.0f == Approx( 0.0 ) +ok {test-number} - 0.0f == Approx( 0.0f ) for: 0.0f == Approx( 0.0 ) # Approximate comparisons with ints -ok 226 - 1 == Approx( 1 ) for: 1 == Approx( 1.0 ) +ok {test-number} - 1 == Approx( 1 ) for: 1 == Approx( 1.0 ) # Approximate comparisons with ints -ok 227 - 0 == Approx( 0 ) for: 0 == Approx( 0.0 ) +ok {test-number} - 0 == Approx( 0 ) for: 0 == Approx( 0.0 ) # Approximate comparisons with mixed numeric types -ok 228 - 1.0f == Approx( 1 ) for: 1.0f == Approx( 1.0 ) +ok {test-number} - 1.0f == Approx( 1 ) for: 1.0f == Approx( 1.0 ) # Approximate comparisons with mixed numeric types -ok 229 - 0 == Approx( dZero) for: 0 == Approx( 0.0 ) +ok {test-number} - 0 == Approx( dZero) for: 0 == Approx( 0.0 ) # Approximate comparisons with mixed numeric types -ok 230 - 0 == Approx( dSmall ).margin( 0.001 ) for: 0 == Approx( 0.00001 ) +ok {test-number} - 0 == Approx( dSmall ).margin( 0.001 ) for: 0 == Approx( 0.00001 ) # Approximate comparisons with mixed numeric types -ok 231 - 1.234f == Approx( dMedium ) for: 1.234f == Approx( 1.234 ) +ok {test-number} - 1.234f == Approx( dMedium ) for: 1.234f == Approx( 1.234 ) # Approximate comparisons with mixed numeric types -ok 232 - dMedium == Approx( 1.234f ) for: 1.234 == Approx( 1.2339999676 ) +ok {test-number} - dMedium == Approx( 1.234f ) for: 1.234 == Approx( 1.2339999676 ) # Arbitrary predicate matcher -ok 233 - 1, Predicate<int>(alwaysTrue, "always true") for: 1 matches predicate: "always true" +ok {test-number} - 1, Predicate<int>(alwaysTrue, "always true") for: 1 matches predicate: "always true" # Arbitrary predicate matcher -ok 234 - 1, !Predicate<int>(alwaysFalse, "always false") for: 1 not matches predicate: "always false" +ok {test-number} - 1, !Predicate<int>(alwaysFalse, "always false") for: 1 not matches predicate: "always false" # Arbitrary predicate matcher -ok 235 - "Hello olleH", Predicate<std::string>( [] (std::string const& str) -> bool { return str.front() == str.back(); }, "First and last character should be equal") for: "Hello olleH" matches predicate: "First and last character should be equal" +ok {test-number} - "Hello olleH", Predicate<std::string>( [] (std::string const& str) -> bool { return str.front() == str.back(); }, "First and last character should be equal") for: "Hello olleH" matches predicate: "First and last character should be equal" # Arbitrary predicate matcher -ok 236 - "This wouldn't pass", !Predicate<std::string>( [] (std::string const& str) -> bool { return str.front() == str.back(); } ) for: "This wouldn't pass" not matches undescribed predicate +ok {test-number} - "This wouldn't pass", !Predicate<std::string>( [] (std::string const& str) -> bool { return str.front() == str.back(); } ) for: "This wouldn't pass" not matches undescribed predicate # Assertions then sections -ok 237 - true +ok {test-number} - true # Assertions then sections -ok 238 - true +ok {test-number} - true # Assertions then sections -ok 239 - true +ok {test-number} - true # Assertions then sections -ok 240 - true +ok {test-number} - true # Assertions then sections -ok 241 - true +ok {test-number} - true # Assertions then sections -ok 242 - true +ok {test-number} - true # CAPTURE can deal with complex expressions -ok 243 - with 7 messages: 'a := 1' and 'b := 2' and 'c := 3' and 'a + b := 3' and 'a+b := 3' and 'c > b := true' and 'a == 1 := true' +ok {test-number} - with 7 messages: 'a := 1' and 'b := 2' and 'c := 3' and 'a + b := 3' and 'a+b := 3' and 'c > b := true' and 'a == 1 := true' # CAPTURE can deal with complex expressions involving commas -ok 244 - with 7 messages: 'std::vector<int>{1, 2, 3}[0, 1, 2] := 3' and 'std::vector<int>{1, 2, 3}[(0, 1)] := 2' and 'std::vector<int>{1, 2, 3}[0] := 1' and '(helper_1436<int, int>{12, -12}) := { 12, -12 }' and '(helper_1436<int, int>(-12, 12)) := { -12, 12 }' and '(1, 2) := 2' and '(2, 3) := 3' +ok {test-number} - with 7 messages: 'std::vector<int>{1, 2, 3}[0, 1, 2] := 3' and 'std::vector<int>{1, 2, 3}[(0, 1)] := 2' and 'std::vector<int>{1, 2, 3}[0] := 1' and '(helper_1436<int, int>{12, -12}) := { 12, -12 }' and '(helper_1436<int, int>(-12, 12)) := { -12, 12 }' and '(1, 2) := 2' and '(2, 3) := 3' # CAPTURE parses string and character constants -ok 245 - with 11 messages: '("comma, in string", "escaped, \", ") := "escaped, ", "' and '"single quote in string,'," := "single quote in string,',"' and '"some escapes, \\,\\\\" := "some escapes, \,\\"' and '"some, ), unmatched, } prenheses {[<" := "some, ), unmatched, } prenheses {[<"' and ''"' := '"'' and ''\'' := '''' and '',' := ','' and ''}' := '}'' and '')' := ')'' and ''(' := '('' and ''{' := '{'' +ok {test-number} - with 11 messages: '("comma, in string", "escaped, \", ") := "escaped, ", "' and '"single quote in string,'," := "single quote in string,',"' and '"some escapes, \\,\\\\" := "some escapes, \,\\"' and '"some, ), unmatched, } prenheses {[<" := "some, ), unmatched, } prenheses {[<"' and ''"' := '"'' and ''\'' := '''' and '',' := ','' and ''}' := '}'' and '')' := ')'' and ''(' := '('' and ''{' := '{'' # Capture and info messages -ok 246 - true with 1 message: 'i := 2' +ok {test-number} - true with 1 message: 'i := 2' # Capture and info messages -ok 247 - true with 1 message: '3' +ok {test-number} - true with 1 message: '3' # Character pretty printing -ok 248 - tab == '\t' for: '\t' == '\t' +ok {test-number} - tab == '\t' for: '\t' == '\t' # Character pretty printing -ok 249 - newline == '\n' for: '\n' == '\n' +ok {test-number} - newline == '\n' for: '\n' == '\n' # Character pretty printing -ok 250 - carr_return == '\r' for: '\r' == '\r' +ok {test-number} - carr_return == '\r' for: '\r' == '\r' # Character pretty printing -ok 251 - form_feed == '\f' for: '\f' == '\f' +ok {test-number} - form_feed == '\f' for: '\f' == '\f' # Character pretty printing -ok 252 - space == ' ' for: ' ' == ' ' +ok {test-number} - space == ' ' for: ' ' == ' ' |