Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1 | |
| 2 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 3 | CatchSelfTest is a Catch v1.0 b10 host application. |
| 4 | Run with -? for options |
| 5 | |
| 6 | ------------------------------------------------------------------------------- |
| 7 | ./failing/TestClass/failingCase |
| 8 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 9 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ClassTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 10 | ............................................................................... |
| 11 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 12 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ClassTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 13 | REQUIRE( s == "world" ) |
| 14 | with expansion: |
| 15 | "hello" == "world" |
| 16 | |
| 17 | ------------------------------------------------------------------------------- |
| 18 | ./failing/Fixture/failingCase |
| 19 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 20 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ClassTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 21 | ............................................................................... |
| 22 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 23 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ClassTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 24 | REQUIRE( m_a == 2 ) |
| 25 | with expansion: |
| 26 | 1 == 2 |
| 27 | |
| 28 | ------------------------------------------------------------------------------- |
| 29 | ./failing/conditions/equality |
| 30 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 31 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 32 | ............................................................................... |
| 33 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 34 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 35 | CHECK( data.int_seven == 6 ) |
| 36 | with expansion: |
| 37 | 7 == 6 |
| 38 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 39 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 40 | CHECK( data.int_seven == 8 ) |
| 41 | with expansion: |
| 42 | 7 == 8 |
| 43 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 44 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 45 | CHECK( data.int_seven == 0 ) |
| 46 | with expansion: |
| 47 | 7 == 0 |
| 48 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 49 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 50 | CHECK( data.float_nine_point_one == Approx( 9.11f ) ) |
| 51 | with expansion: |
| 52 | 9.1 == Approx( 9.11 ) |
| 53 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 54 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 55 | CHECK( data.float_nine_point_one == Approx( 9.0f ) ) |
| 56 | with expansion: |
| 57 | 9.1 == Approx( 9 ) |
| 58 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 59 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 60 | CHECK( data.float_nine_point_one == Approx( 1 ) ) |
| 61 | with expansion: |
| 62 | 9.1 == Approx( 1 ) |
| 63 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 64 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 65 | CHECK( data.float_nine_point_one == Approx( 0 ) ) |
| 66 | with expansion: |
| 67 | 9.1 == Approx( 0 ) |
| 68 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 69 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 70 | CHECK( data.double_pi == Approx( 3.1415 ) ) |
| 71 | with expansion: |
| 72 | 3.1415926535 == Approx( 3.1415 ) |
| 73 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 74 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 75 | CHECK( data.str_hello == "goodbye" ) |
| 76 | with expansion: |
| 77 | "hello" == "goodbye" |
| 78 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 79 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 80 | CHECK( data.str_hello == "hell" ) |
| 81 | with expansion: |
| 82 | "hello" == "hell" |
| 83 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 84 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 85 | CHECK( data.str_hello == "hello1" ) |
| 86 | with expansion: |
| 87 | "hello" == "hello1" |
| 88 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 89 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 90 | CHECK( data.str_hello.size() == 6 ) |
| 91 | with expansion: |
| 92 | 5 == 6 |
| 93 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 94 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 95 | CHECK( x == Approx( 1.301 ) ) |
| 96 | with expansion: |
| 97 | 1.3 == Approx( 1.301 ) |
| 98 | |
| 99 | ------------------------------------------------------------------------------- |
| 100 | ./failing/conditions/inequality |
| 101 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 102 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 103 | ............................................................................... |
| 104 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 105 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 106 | CHECK( data.int_seven != 7 ) |
| 107 | with expansion: |
| 108 | 7 != 7 |
| 109 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 110 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 111 | CHECK( data.float_nine_point_one != Approx( 9.1f ) ) |
| 112 | with expansion: |
| 113 | 9.1 != Approx( 9.1 ) |
| 114 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 115 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 116 | CHECK( data.double_pi != Approx( 3.1415926535 ) ) |
| 117 | with expansion: |
| 118 | 3.1415926535 != Approx( 3.14159 ) |
| 119 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 120 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 121 | CHECK( data.str_hello != "hello" ) |
| 122 | with expansion: |
| 123 | "hello" != "hello" |
| 124 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 125 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 126 | CHECK( data.str_hello.size() != 5 ) |
| 127 | with expansion: |
| 128 | 5 != 5 |
| 129 | |
| 130 | ------------------------------------------------------------------------------- |
| 131 | ./failing/conditions/ordered |
| 132 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 133 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 134 | ............................................................................... |
| 135 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 136 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 137 | CHECK( data.int_seven > 7 ) |
| 138 | with expansion: |
| 139 | 7 > 7 |
| 140 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 141 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 142 | CHECK( data.int_seven < 7 ) |
| 143 | with expansion: |
| 144 | 7 < 7 |
| 145 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 146 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 147 | CHECK( data.int_seven > 8 ) |
| 148 | with expansion: |
| 149 | 7 > 8 |
| 150 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 151 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 152 | CHECK( data.int_seven < 6 ) |
| 153 | with expansion: |
| 154 | 7 < 6 |
| 155 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 156 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 157 | CHECK( data.int_seven < 0 ) |
| 158 | with expansion: |
| 159 | 7 < 0 |
| 160 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 161 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 162 | CHECK( data.int_seven < -1 ) |
| 163 | with expansion: |
| 164 | 7 < -1 |
| 165 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 166 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 167 | CHECK( data.int_seven >= 8 ) |
| 168 | with expansion: |
| 169 | 7 >= 8 |
| 170 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 171 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 172 | CHECK( data.int_seven <= 6 ) |
| 173 | with expansion: |
| 174 | 7 <= 6 |
| 175 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 176 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 177 | CHECK( data.float_nine_point_one < 9 ) |
| 178 | with expansion: |
| 179 | 9.1 < 9 |
| 180 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 181 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 182 | CHECK( data.float_nine_point_one > 10 ) |
| 183 | with expansion: |
| 184 | 9.1 > 10 |
| 185 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 186 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 187 | CHECK( data.float_nine_point_one > 9.2 ) |
| 188 | with expansion: |
| 189 | 9.1 > 9.2 |
| 190 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 191 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 192 | CHECK( data.str_hello > "hello" ) |
| 193 | with expansion: |
| 194 | "hello" > "hello" |
| 195 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 196 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 197 | CHECK( data.str_hello < "hello" ) |
| 198 | with expansion: |
| 199 | "hello" < "hello" |
| 200 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 201 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 202 | CHECK( data.str_hello > "hellp" ) |
| 203 | with expansion: |
| 204 | "hello" > "hellp" |
| 205 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 206 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 207 | CHECK( data.str_hello > "z" ) |
| 208 | with expansion: |
| 209 | "hello" > "z" |
| 210 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 211 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 212 | CHECK( data.str_hello < "hellm" ) |
| 213 | with expansion: |
| 214 | "hello" < "hellm" |
| 215 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 216 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 217 | CHECK( data.str_hello < "a" ) |
| 218 | with expansion: |
| 219 | "hello" < "a" |
| 220 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 221 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 222 | CHECK( data.str_hello >= "z" ) |
| 223 | with expansion: |
| 224 | "hello" >= "z" |
| 225 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 226 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 227 | CHECK( data.str_hello <= "a" ) |
| 228 | with expansion: |
| 229 | "hello" <= "a" |
| 230 | |
| 231 | ------------------------------------------------------------------------------- |
| 232 | ./failing/conditions/not |
| 233 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 234 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 235 | ............................................................................... |
| 236 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 237 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 238 | CHECK( false != false ) |
| 239 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 240 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 241 | CHECK( true != true ) |
| 242 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 243 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 244 | CHECK( !true ) |
| 245 | with expansion: |
| 246 | false |
| 247 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 248 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 249 | CHECK_FALSE( true ) |
| 250 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 251 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 252 | CHECK( !trueValue ) |
| 253 | with expansion: |
| 254 | false |
| 255 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 256 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 257 | CHECK_FALSE( trueValue ) |
| 258 | with expansion: |
| 259 | !true |
| 260 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 261 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 262 | CHECK( !(1 == 1) ) |
| 263 | with expansion: |
| 264 | false |
| 265 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 266 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 267 | CHECK_FALSE( 1 == 1 ) |
| 268 | with expansion: |
| 269 | !(1 == 1) |
| 270 | |
| 271 | ------------------------------------------------------------------------------- |
| 272 | ./failing/exceptions/explicit |
| 273 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 274 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 275 | ............................................................................... |
| 276 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 277 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 278 | CHECK_THROWS_AS( thisThrows() ) |
| 279 | due to unexpected exception with message: |
| 280 | expected exception |
| 281 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 282 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 283 | CHECK_THROWS_AS( thisDoesntThrow() ) |
| 284 | because no exception was thrown where one was expected: |
| 285 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 286 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 287 | CHECK_NOTHROW( thisThrows() ) |
| 288 | due to unexpected exception with message: |
| 289 | expected exception |
| 290 | |
| 291 | ------------------------------------------------------------------------------- |
| 292 | ./failing/exceptions/implicit |
| 293 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 294 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 295 | ............................................................................... |
| 296 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 297 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 298 | due to unexpected exception with message: |
| 299 | unexpected exception |
| 300 | |
| 301 | ------------------------------------------------------------------------------- |
| 302 | ./failing/exceptions/implicit/2 |
| 303 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 304 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 305 | ............................................................................... |
| 306 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 307 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 308 | {Unknown expression after the reported line} |
| 309 | due to unexpected exception with message: |
| 310 | unexpected exception |
| 311 | |
| 312 | ------------------------------------------------------------------------------- |
| 313 | ./failing/exceptions/implicit/3 |
| 314 | section name |
| 315 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 316 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 317 | ............................................................................... |
| 318 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 319 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 320 | due to unexpected exception with message: |
| 321 | unexpected exception |
| 322 | |
| 323 | ------------------------------------------------------------------------------- |
| 324 | ./failing/exceptions/implicit/4 |
| 325 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 326 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 327 | ............................................................................... |
| 328 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 329 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 330 | CHECK( thisThrows() == 0 ) |
| 331 | due to unexpected exception with message: |
| 332 | expected exception |
| 333 | |
| 334 | ------------------------------------------------------------------------------- |
| 335 | ./failing/exceptions/custom |
| 336 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 337 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 338 | ............................................................................... |
| 339 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 340 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 341 | due to unexpected exception with message: |
| 342 | custom exception |
| 343 | |
| 344 | ------------------------------------------------------------------------------- |
| 345 | ./failing/exceptions/custom/nothrow |
| 346 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 347 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 348 | ............................................................................... |
| 349 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 350 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 351 | REQUIRE_NOTHROW( throwCustom() ) |
| 352 | due to unexpected exception with message: |
| 353 | custom exception - not std |
| 354 | |
| 355 | ------------------------------------------------------------------------------- |
| 356 | ./failing/exceptions/custom/throw |
| 357 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 358 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 359 | ............................................................................... |
| 360 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 361 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 362 | REQUIRE_THROWS_AS( throwCustom() ) |
| 363 | due to unexpected exception with message: |
| 364 | custom exception - not std |
| 365 | |
| 366 | ------------------------------------------------------------------------------- |
| 367 | ./failing/exceptions/custom/double |
| 368 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 369 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 370 | ............................................................................... |
| 371 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 372 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 373 | due to unexpected exception with message: |
| 374 | 3.14 |
| 375 | |
| 376 | ------------------------------------------------------------------------------- |
| 377 | ./failing/message/info/1 |
| 378 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 379 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 380 | ............................................................................... |
| 381 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 382 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 383 | REQUIRE( a == 1 ) |
| 384 | with expansion: |
| 385 | 2 == 1 |
| 386 | with messages: |
| 387 | this message should be logged |
| 388 | so should this |
| 389 | |
| 390 | ------------------------------------------------------------------------------- |
| 391 | ./mixed/message/info/2 |
| 392 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 393 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 394 | ............................................................................... |
| 395 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 396 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 397 | CHECK( a == 1 ) |
| 398 | with expansion: |
| 399 | 2 == 1 |
| 400 | with messages: |
| 401 | this message may be logged later |
| 402 | this message should be logged |
| 403 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 404 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 405 | CHECK( a == 0 ) |
| 406 | with expansion: |
| 407 | 2 == 0 |
| 408 | with message: |
| 409 | and this, but later |
| 410 | |
| 411 | ------------------------------------------------------------------------------- |
| 412 | ./failing/message/fail |
| 413 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 414 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 415 | ............................................................................... |
| 416 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 417 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 418 | explicitly with message: |
| 419 | This is a failure |
| 420 | |
| 421 | ------------------------------------------------------------------------------- |
| 422 | ./failing/message/sections |
| 423 | one |
| 424 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 425 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 426 | ............................................................................... |
| 427 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 428 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 429 | explicitly with message: |
| 430 | Message from section one |
| 431 | |
| 432 | ------------------------------------------------------------------------------- |
| 433 | ./failing/message/sections |
| 434 | two |
| 435 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 436 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 437 | ............................................................................... |
| 438 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 439 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 440 | explicitly with message: |
| 441 | Message from section two |
| 442 | |
| 443 | Message from section one |
| 444 | Message from section two |
| 445 | ------------------------------------------------------------------------------- |
| 446 | ./mixed/message/scoped |
| 447 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 448 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 449 | ............................................................................... |
| 450 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 451 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 452 | REQUIRE( i < 10 ) |
| 453 | with expansion: |
| 454 | 10 < 10 |
| 455 | with messages: |
| 456 | current counter 10 |
| 457 | i := 10 |
| 458 | |
| 459 | ------------------------------------------------------------------------------- |
| 460 | just failure |
| 461 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 462 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 463 | ............................................................................... |
| 464 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 465 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 466 | explicitly with message: |
| 467 | Previous info should not be seen |
| 468 | |
| 469 | ------------------------------------------------------------------------------- |
| 470 | ./mixed/Misc/Sections/nested2 |
| 471 | s1 |
| 472 | s2 |
| 473 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 474 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 475 | ............................................................................... |
| 476 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 477 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 478 | REQUIRE( a == b ) |
| 479 | with expansion: |
| 480 | 1 == 2 |
| 481 | |
| 482 | ------------------------------------------------------------------------------- |
| 483 | ./mixed/Misc/Sections/loops |
| 484 | s1 |
| 485 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 486 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 487 | ............................................................................... |
| 488 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 489 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 490 | CHECK( b > a ) |
| 491 | with expansion: |
| 492 | 0 > 1 |
| 493 | |
| 494 | ------------------------------------------------------------------------------- |
| 495 | ./mixed/Misc/loops |
| 496 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 497 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 498 | ............................................................................... |
| 499 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 500 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 501 | CHECK( ( fib[i] % 2 ) == 0 ) |
| 502 | with expansion: |
| 503 | 1 == 0 |
| 504 | with message: |
| 505 | Testing if fib[0] (1) is even |
| 506 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 507 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 508 | CHECK( ( fib[i] % 2 ) == 0 ) |
| 509 | with expansion: |
| 510 | 1 == 0 |
| 511 | with message: |
| 512 | Testing if fib[1] (1) is even |
| 513 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 514 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 515 | CHECK( ( fib[i] % 2 ) == 0 ) |
| 516 | with expansion: |
| 517 | 1 == 0 |
| 518 | with message: |
| 519 | Testing if fib[3] (3) is even |
| 520 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 521 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 522 | CHECK( ( fib[i] % 2 ) == 0 ) |
| 523 | with expansion: |
| 524 | 1 == 0 |
| 525 | with message: |
| 526 | Testing if fib[4] (5) is even |
| 527 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 528 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 529 | CHECK( ( fib[i] % 2 ) == 0 ) |
| 530 | with expansion: |
| 531 | 1 == 0 |
| 532 | with message: |
| 533 | Testing if fib[6] (13) is even |
| 534 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 535 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 536 | CHECK( ( fib[i] % 2 ) == 0 ) |
| 537 | with expansion: |
| 538 | 1 == 0 |
| 539 | with message: |
| 540 | Testing if fib[7] (21) is even |
| 541 | |
| 542 | Some information |
| 543 | An error |
| 544 | ------------------------------------------------------------------------------- |
| 545 | ./failing/info |
| 546 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 547 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 548 | ............................................................................... |
| 549 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 550 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 551 | REQUIRE( false ) |
| 552 | with messages: |
| 553 | hi |
| 554 | i := 7 |
| 555 | |
| 556 | ------------------------------------------------------------------------------- |
| 557 | ./failing/checkedif |
| 558 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 559 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 560 | ............................................................................... |
| 561 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 562 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 563 | CHECKED_IF( flag ) |
| 564 | with expansion: |
| 565 | false |
| 566 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 567 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 568 | REQUIRE( testCheckedIf( false ) ) |
| 569 | with expansion: |
| 570 | false |
| 571 | |
| 572 | ------------------------------------------------------------------------------- |
| 573 | ./failing/checkedelse |
| 574 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 575 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 576 | ............................................................................... |
| 577 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 578 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 579 | CHECKED_ELSE( flag ) |
| 580 | with expansion: |
| 581 | false |
| 582 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 583 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 584 | REQUIRE( testCheckedElse( false ) ) |
| 585 | with expansion: |
| 586 | false |
| 587 | |
| 588 | ------------------------------------------------------------------------------- |
| 589 | ./manual/onechar |
| 590 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 591 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 592 | ............................................................................... |
| 593 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 594 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 595 | REQUIRE( false ) |
| 596 | with message: |
| 597 | 3 |
| 598 | |
| 599 | ------------------------------------------------------------------------------- |
| 600 | ./failing/matchers/Contains |
| 601 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 602 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 603 | ............................................................................... |
| 604 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 605 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 606 | CHECK_THAT( testStringForMatching() Contains( "not there" ) ) |
| 607 | with expansion: |
| 608 | "this string contains 'abc' as a substring" contains: "not there" |
| 609 | |
| 610 | ------------------------------------------------------------------------------- |
| 611 | ./failing/matchers/StartsWith |
| 612 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 613 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 614 | ............................................................................... |
| 615 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 616 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 617 | CHECK_THAT( testStringForMatching() StartsWith( "string" ) ) |
| 618 | with expansion: |
| 619 | "this string contains 'abc' as a substring" starts with: "string" |
| 620 | |
| 621 | ------------------------------------------------------------------------------- |
| 622 | ./failing/matchers/EndsWith |
| 623 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 624 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 625 | ............................................................................... |
| 626 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 627 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 628 | CHECK_THAT( testStringForMatching() EndsWith( "this" ) ) |
| 629 | with expansion: |
| 630 | "this string contains 'abc' as a substring" ends with: "this" |
| 631 | |
| 632 | ------------------------------------------------------------------------------- |
| 633 | ./failing/matchers/Equals |
| 634 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 635 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 636 | ............................................................................... |
| 637 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 638 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 639 | CHECK_THAT( testStringForMatching() Equals( "something else" ) ) |
| 640 | with expansion: |
| 641 | "this string contains 'abc' as a substring" equals: "something else" |
| 642 | |
| 643 | ------------------------------------------------------------------------------- |
| 644 | ./failing/CatchSectionInfiniteLoop |
| 645 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 646 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 647 | ............................................................................... |
| 648 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 649 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 650 | explicitly with message: |
| 651 | to infinity and beyond |
| 652 | |
| 653 | ------------------------------------------------------------------------------- |
| 654 | ./failing/CatchSectionInfiniteLoop |
| 655 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 656 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 657 | ............................................................................... |
| 658 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 659 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 660 | explicitly with message: |
| 661 | to infinity and beyond |
| 662 | |
| 663 | ------------------------------------------------------------------------------- |
| 664 | ./failing/CatchSectionInfiniteLoop |
| 665 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 666 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 667 | ............................................................................... |
| 668 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 669 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 670 | explicitly with message: |
| 671 | to infinity and beyond |
| 672 | |
| 673 | Message from section one |
| 674 | Message from section two |
| 675 | Some information |
| 676 | An error |
| 677 | Message from section one |
| 678 | Message from section two |
| 679 | Some information |
| 680 | An error |
| 681 | hello |
| 682 | hello |
| 683 | ------------------------------------------------------------------------------- |
| 684 | ./failing/Tricky/non streamable type |
| 685 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 686 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 687 | ............................................................................... |
| 688 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 689 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 690 | CHECK( &o1 == &o2 ) |
| 691 | with expansion: |
| 692 | 0x<hex digits> == 0x<hex digits> |
| 693 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 694 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 695 | CHECK( o1 == o2 ) |
| 696 | with expansion: |
| 697 | {?} == {?} |
| 698 | |
| 699 | ------------------------------------------------------------------------------- |
| 700 | ./failing/string literals |
| 701 | ------------------------------------------------------------------------------- |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 702 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 703 | ............................................................................... |
| 704 | |
Phil Nash | 1e74938 | 2013-09-30 07:39:06 +0100 | [diff] [blame^] | 705 | Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp: FAILED: |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 706 | REQUIRE( std::string( "first" ) == "second" ) |
| 707 | with expansion: |
| 708 | "first" == "second" |
| 709 | |
| 710 | =============================================================================== |
| 711 | 121 test cases - 35 failed (744 assertions - 90 failed) |
| 712 | |