Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1 | <Catch name="CatchSelfTest"> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 2 | <Group> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3 | <TestCase name="Some simple comparisons between doubles"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 5 | <Original> |
| 6 | d == Approx( 1.23 ) |
| 7 | </Original> |
| 8 | <Expanded> |
| 9 | 1.23 == Approx( 1.23 ) |
| 10 | </Expanded> |
| 11 | </Expression> |
| 12 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 13 | <Original> |
| 14 | d != Approx( 1.22 ) |
| 15 | </Original> |
| 16 | <Expanded> |
| 17 | 1.23 != Approx( 1.22 ) |
| 18 | </Expanded> |
| 19 | </Expression> |
| 20 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 21 | <Original> |
| 22 | d != Approx( 1.24 ) |
| 23 | </Original> |
| 24 | <Expanded> |
| 25 | 1.23 != Approx( 1.24 ) |
| 26 | </Expanded> |
| 27 | </Expression> |
| 28 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 29 | <Original> |
| 30 | Approx( d ) == 1.23 |
| 31 | </Original> |
| 32 | <Expanded> |
| 33 | Approx( 1.23 ) == 1.23 |
| 34 | </Expanded> |
| 35 | </Expression> |
| 36 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 37 | <Original> |
| 38 | Approx( d ) != 1.22 |
| 39 | </Original> |
| 40 | <Expanded> |
| 41 | Approx( 1.23 ) != 1.22 |
| 42 | </Expanded> |
| 43 | </Expression> |
| 44 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 45 | <Original> |
| 46 | Approx( d ) != 1.24 |
| 47 | </Original> |
| 48 | <Expanded> |
| 49 | Approx( 1.23 ) != 1.24 |
| 50 | </Expanded> |
| 51 | </Expression> |
| 52 | <OverallResult success="true"/> |
| 53 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 54 | <TestCase name="Approximate comparisons with different epsilons"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 55 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 56 | <Original> |
| 57 | d != Approx( 1.231 ) |
| 58 | </Original> |
| 59 | <Expanded> |
| 60 | 1.23 != Approx( 1.231 ) |
| 61 | </Expanded> |
| 62 | </Expression> |
| 63 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 64 | <Original> |
| 65 | d == Approx( 1.231 ).epsilon( 0.1 ) |
| 66 | </Original> |
| 67 | <Expanded> |
| 68 | 1.23 == Approx( 1.231 ) |
| 69 | </Expanded> |
| 70 | </Expression> |
| 71 | <OverallResult success="true"/> |
| 72 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 73 | <TestCase name="Approximate comparisons with floats"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 74 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 75 | <Original> |
| 76 | 1.23f == Approx( 1.23f ) |
| 77 | </Original> |
| 78 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame^] | 79 | 1.23f == Approx( 1.2300000191 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 80 | </Expanded> |
| 81 | </Expression> |
| 82 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 83 | <Original> |
| 84 | 0.0f == Approx( 0.0f ) |
| 85 | </Original> |
| 86 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame^] | 87 | 0.0f == Approx( 0.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 88 | </Expanded> |
| 89 | </Expression> |
| 90 | <OverallResult success="true"/> |
| 91 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 92 | <TestCase name="Approximate comparisons with ints"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 93 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 94 | <Original> |
| 95 | 1 == Approx( 1 ) |
| 96 | </Original> |
| 97 | <Expanded> |
Phil Nash | 1aa60fa | 2013-12-19 18:41:55 +0000 | [diff] [blame] | 98 | 1 == Approx( 1.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 99 | </Expanded> |
| 100 | </Expression> |
| 101 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 102 | <Original> |
| 103 | 0 == Approx( 0 ) |
| 104 | </Original> |
| 105 | <Expanded> |
Phil Nash | 1aa60fa | 2013-12-19 18:41:55 +0000 | [diff] [blame] | 106 | 0 == Approx( 0.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 107 | </Expanded> |
| 108 | </Expression> |
| 109 | <OverallResult success="true"/> |
| 110 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 111 | <TestCase name="Approximate comparisons with mixed numeric types"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 112 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 113 | <Original> |
| 114 | 1.0f == Approx( 1 ) |
| 115 | </Original> |
| 116 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame^] | 117 | 1.0f == Approx( 1.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 118 | </Expanded> |
| 119 | </Expression> |
| 120 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 121 | <Original> |
| 122 | 0 == Approx( dZero) |
| 123 | </Original> |
| 124 | <Expanded> |
Phil Nash | 1aa60fa | 2013-12-19 18:41:55 +0000 | [diff] [blame] | 125 | 0 == Approx( 0.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 126 | </Expanded> |
| 127 | </Expression> |
| 128 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 129 | <Original> |
| 130 | 0 == Approx( dSmall ).epsilon( 0.001 ) |
| 131 | </Original> |
| 132 | <Expanded> |
Phil Nash | 1aa60fa | 2013-12-19 18:41:55 +0000 | [diff] [blame] | 133 | 0 == Approx( 0.00001 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 134 | </Expanded> |
| 135 | </Expression> |
| 136 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 137 | <Original> |
| 138 | 1.234f == Approx( dMedium ) |
| 139 | </Original> |
| 140 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame^] | 141 | 1.234f == Approx( 1.234 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 142 | </Expanded> |
| 143 | </Expression> |
| 144 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 145 | <Original> |
| 146 | dMedium == Approx( 1.234f ) |
| 147 | </Original> |
| 148 | <Expanded> |
Phil Nash | 1aa60fa | 2013-12-19 18:41:55 +0000 | [diff] [blame] | 149 | 1.234 == Approx( 1.2339999676 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 150 | </Expanded> |
| 151 | </Expression> |
| 152 | <OverallResult success="true"/> |
| 153 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 154 | <TestCase name="Use a custom approx"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 155 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 156 | <Original> |
| 157 | d == approx( 1.23 ) |
| 158 | </Original> |
| 159 | <Expanded> |
| 160 | 1.23 == Approx( 1.23 ) |
| 161 | </Expanded> |
| 162 | </Expression> |
| 163 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 164 | <Original> |
| 165 | d == approx( 1.22 ) |
| 166 | </Original> |
| 167 | <Expanded> |
| 168 | 1.23 == Approx( 1.22 ) |
| 169 | </Expanded> |
| 170 | </Expression> |
| 171 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 172 | <Original> |
| 173 | d == approx( 1.24 ) |
| 174 | </Original> |
| 175 | <Expanded> |
| 176 | 1.23 == Approx( 1.24 ) |
| 177 | </Expanded> |
| 178 | </Expression> |
| 179 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 180 | <Original> |
| 181 | d != approx( 1.25 ) |
| 182 | </Original> |
| 183 | <Expanded> |
| 184 | 1.23 != Approx( 1.25 ) |
| 185 | </Expanded> |
| 186 | </Expression> |
| 187 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 188 | <Original> |
| 189 | approx( d ) == 1.23 |
| 190 | </Original> |
| 191 | <Expanded> |
| 192 | Approx( 1.23 ) == 1.23 |
| 193 | </Expanded> |
| 194 | </Expression> |
| 195 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 196 | <Original> |
| 197 | approx( d ) == 1.22 |
| 198 | </Original> |
| 199 | <Expanded> |
| 200 | Approx( 1.23 ) == 1.22 |
| 201 | </Expanded> |
| 202 | </Expression> |
| 203 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 204 | <Original> |
| 205 | approx( d ) == 1.24 |
| 206 | </Original> |
| 207 | <Expanded> |
| 208 | Approx( 1.23 ) == 1.24 |
| 209 | </Expanded> |
| 210 | </Expression> |
| 211 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 212 | <Original> |
| 213 | approx( d ) != 1.25 |
| 214 | </Original> |
| 215 | <Expanded> |
| 216 | Approx( 1.23 ) != 1.25 |
| 217 | </Expanded> |
| 218 | </Expression> |
| 219 | <OverallResult success="true"/> |
| 220 | </TestCase> |
| 221 | <TestCase name="Approximate PI"> |
| 222 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 223 | <Original> |
| 224 | divide( 22, 7 ) == Approx( 3.141 ).epsilon( 0.001 ) |
| 225 | </Original> |
| 226 | <Expanded> |
| 227 | 3.1428571429 == Approx( 3.141 ) |
| 228 | </Expanded> |
| 229 | </Expression> |
| 230 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp" > |
| 231 | <Original> |
| 232 | divide( 22, 7 ) != Approx( 3.141 ).epsilon( 0.0001 ) |
| 233 | </Original> |
| 234 | <Expanded> |
| 235 | 3.1428571429 != Approx( 3.141 ) |
| 236 | </Expanded> |
| 237 | </Expression> |
| 238 | <OverallResult success="true"/> |
| 239 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 240 | <TestCase name="A METHOD_AS_TEST_CASE based test run that succeeds"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 241 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ClassTests.cpp" > |
| 242 | <Original> |
| 243 | s == "hello" |
| 244 | </Original> |
| 245 | <Expanded> |
| 246 | "hello" == "hello" |
| 247 | </Expanded> |
| 248 | </Expression> |
| 249 | <OverallResult success="true"/> |
| 250 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 251 | <TestCase name="A METHOD_AS_TEST_CASE based test run that fails"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 252 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ClassTests.cpp" > |
| 253 | <Original> |
| 254 | s == "world" |
| 255 | </Original> |
| 256 | <Expanded> |
| 257 | "hello" == "world" |
| 258 | </Expanded> |
| 259 | </Expression> |
| 260 | <OverallResult success="false"/> |
| 261 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 262 | <TestCase name="A TEST_CASE_METHOD based test run that succeeds"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 263 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ClassTests.cpp" > |
| 264 | <Original> |
| 265 | m_a == 1 |
| 266 | </Original> |
| 267 | <Expanded> |
| 268 | 1 == 1 |
| 269 | </Expanded> |
| 270 | </Expression> |
| 271 | <OverallResult success="true"/> |
| 272 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 273 | <TestCase name="A TEST_CASE_METHOD based test run that fails"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 274 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ClassTests.cpp" > |
| 275 | <Original> |
| 276 | m_a == 2 |
| 277 | </Original> |
| 278 | <Expanded> |
| 279 | 1 == 2 |
| 280 | </Expanded> |
| 281 | </Expression> |
| 282 | <OverallResult success="false"/> |
| 283 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 284 | <TestCase name="Equality checks that should succeed"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 285 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 286 | <Original> |
| 287 | data.int_seven == 7 |
| 288 | </Original> |
| 289 | <Expanded> |
| 290 | 7 == 7 |
| 291 | </Expanded> |
| 292 | </Expression> |
| 293 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 294 | <Original> |
| 295 | data.float_nine_point_one == Approx( 9.1f ) |
| 296 | </Original> |
| 297 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame^] | 298 | 9.1f == Approx( 9.1000003815 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 299 | </Expanded> |
| 300 | </Expression> |
| 301 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 302 | <Original> |
| 303 | data.double_pi == Approx( 3.1415926535 ) |
| 304 | </Original> |
| 305 | <Expanded> |
Phil Nash | 1aa60fa | 2013-12-19 18:41:55 +0000 | [diff] [blame] | 306 | 3.1415926535 == Approx( 3.1415926535 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 307 | </Expanded> |
| 308 | </Expression> |
| 309 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 310 | <Original> |
| 311 | data.str_hello == "hello" |
| 312 | </Original> |
| 313 | <Expanded> |
| 314 | "hello" == "hello" |
| 315 | </Expanded> |
| 316 | </Expression> |
| 317 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 318 | <Original> |
| 319 | "hello" == data.str_hello |
| 320 | </Original> |
| 321 | <Expanded> |
| 322 | "hello" == "hello" |
| 323 | </Expanded> |
| 324 | </Expression> |
| 325 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 326 | <Original> |
| 327 | data.str_hello.size() == 5 |
| 328 | </Original> |
| 329 | <Expanded> |
| 330 | 5 == 5 |
| 331 | </Expanded> |
| 332 | </Expression> |
| 333 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 334 | <Original> |
| 335 | x == Approx( 1.3 ) |
| 336 | </Original> |
| 337 | <Expanded> |
| 338 | 1.3 == Approx( 1.3 ) |
| 339 | </Expanded> |
| 340 | </Expression> |
| 341 | <OverallResult success="true"/> |
| 342 | </TestCase> |
Phil Nash | baf181f | 2014-05-20 18:11:43 +0100 | [diff] [blame] | 343 | <TestCase name="Equality checks that should fail"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 344 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 345 | <Original> |
| 346 | data.int_seven == 6 |
| 347 | </Original> |
| 348 | <Expanded> |
| 349 | 7 == 6 |
| 350 | </Expanded> |
| 351 | </Expression> |
| 352 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 353 | <Original> |
| 354 | data.int_seven == 8 |
| 355 | </Original> |
| 356 | <Expanded> |
| 357 | 7 == 8 |
| 358 | </Expanded> |
| 359 | </Expression> |
| 360 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 361 | <Original> |
| 362 | data.int_seven == 0 |
| 363 | </Original> |
| 364 | <Expanded> |
| 365 | 7 == 0 |
| 366 | </Expanded> |
| 367 | </Expression> |
| 368 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 369 | <Original> |
| 370 | data.float_nine_point_one == Approx( 9.11f ) |
| 371 | </Original> |
| 372 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame^] | 373 | 9.1f == Approx( 9.1099996567 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 374 | </Expanded> |
| 375 | </Expression> |
| 376 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 377 | <Original> |
| 378 | data.float_nine_point_one == Approx( 9.0f ) |
| 379 | </Original> |
| 380 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame^] | 381 | 9.1f == Approx( 9.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 382 | </Expanded> |
| 383 | </Expression> |
| 384 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 385 | <Original> |
| 386 | data.float_nine_point_one == Approx( 1 ) |
| 387 | </Original> |
| 388 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame^] | 389 | 9.1f == Approx( 1.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 390 | </Expanded> |
| 391 | </Expression> |
| 392 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 393 | <Original> |
| 394 | data.float_nine_point_one == Approx( 0 ) |
| 395 | </Original> |
| 396 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame^] | 397 | 9.1f == Approx( 0.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 398 | </Expanded> |
| 399 | </Expression> |
| 400 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 401 | <Original> |
| 402 | data.double_pi == Approx( 3.1415 ) |
| 403 | </Original> |
| 404 | <Expanded> |
| 405 | 3.1415926535 == Approx( 3.1415 ) |
| 406 | </Expanded> |
| 407 | </Expression> |
| 408 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 409 | <Original> |
| 410 | data.str_hello == "goodbye" |
| 411 | </Original> |
| 412 | <Expanded> |
| 413 | "hello" == "goodbye" |
| 414 | </Expanded> |
| 415 | </Expression> |
| 416 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 417 | <Original> |
| 418 | data.str_hello == "hell" |
| 419 | </Original> |
| 420 | <Expanded> |
| 421 | "hello" == "hell" |
| 422 | </Expanded> |
| 423 | </Expression> |
| 424 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 425 | <Original> |
| 426 | data.str_hello == "hello1" |
| 427 | </Original> |
| 428 | <Expanded> |
| 429 | "hello" == "hello1" |
| 430 | </Expanded> |
| 431 | </Expression> |
| 432 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 433 | <Original> |
| 434 | data.str_hello.size() == 6 |
| 435 | </Original> |
| 436 | <Expanded> |
| 437 | 5 == 6 |
| 438 | </Expanded> |
| 439 | </Expression> |
| 440 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 441 | <Original> |
| 442 | x == Approx( 1.301 ) |
| 443 | </Original> |
| 444 | <Expanded> |
| 445 | 1.3 == Approx( 1.301 ) |
| 446 | </Expanded> |
| 447 | </Expression> |
| 448 | <OverallResult success="false"/> |
| 449 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 450 | <TestCase name="Inequality checks that should succeed"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 451 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 452 | <Original> |
| 453 | data.int_seven != 6 |
| 454 | </Original> |
| 455 | <Expanded> |
| 456 | 7 != 6 |
| 457 | </Expanded> |
| 458 | </Expression> |
| 459 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 460 | <Original> |
| 461 | data.int_seven != 8 |
| 462 | </Original> |
| 463 | <Expanded> |
| 464 | 7 != 8 |
| 465 | </Expanded> |
| 466 | </Expression> |
| 467 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 468 | <Original> |
| 469 | data.float_nine_point_one != Approx( 9.11f ) |
| 470 | </Original> |
| 471 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame^] | 472 | 9.1f != Approx( 9.1099996567 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 473 | </Expanded> |
| 474 | </Expression> |
| 475 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 476 | <Original> |
| 477 | data.float_nine_point_one != Approx( 9.0f ) |
| 478 | </Original> |
| 479 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame^] | 480 | 9.1f != Approx( 9.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 481 | </Expanded> |
| 482 | </Expression> |
| 483 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 484 | <Original> |
| 485 | data.float_nine_point_one != Approx( 1 ) |
| 486 | </Original> |
| 487 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame^] | 488 | 9.1f != Approx( 1.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 489 | </Expanded> |
| 490 | </Expression> |
| 491 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 492 | <Original> |
| 493 | data.float_nine_point_one != Approx( 0 ) |
| 494 | </Original> |
| 495 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame^] | 496 | 9.1f != Approx( 0.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 497 | </Expanded> |
| 498 | </Expression> |
| 499 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 500 | <Original> |
| 501 | data.double_pi != Approx( 3.1415 ) |
| 502 | </Original> |
| 503 | <Expanded> |
| 504 | 3.1415926535 != Approx( 3.1415 ) |
| 505 | </Expanded> |
| 506 | </Expression> |
| 507 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 508 | <Original> |
| 509 | data.str_hello != "goodbye" |
| 510 | </Original> |
| 511 | <Expanded> |
| 512 | "hello" != "goodbye" |
| 513 | </Expanded> |
| 514 | </Expression> |
| 515 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 516 | <Original> |
| 517 | data.str_hello != "hell" |
| 518 | </Original> |
| 519 | <Expanded> |
| 520 | "hello" != "hell" |
| 521 | </Expanded> |
| 522 | </Expression> |
| 523 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 524 | <Original> |
| 525 | data.str_hello != "hello1" |
| 526 | </Original> |
| 527 | <Expanded> |
| 528 | "hello" != "hello1" |
| 529 | </Expanded> |
| 530 | </Expression> |
| 531 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 532 | <Original> |
| 533 | data.str_hello.size() != 6 |
| 534 | </Original> |
| 535 | <Expanded> |
| 536 | 5 != 6 |
| 537 | </Expanded> |
| 538 | </Expression> |
| 539 | <OverallResult success="true"/> |
| 540 | </TestCase> |
Phil Nash | baf181f | 2014-05-20 18:11:43 +0100 | [diff] [blame] | 541 | <TestCase name="Inequality checks that should fail"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 542 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 543 | <Original> |
| 544 | data.int_seven != 7 |
| 545 | </Original> |
| 546 | <Expanded> |
| 547 | 7 != 7 |
| 548 | </Expanded> |
| 549 | </Expression> |
| 550 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 551 | <Original> |
| 552 | data.float_nine_point_one != Approx( 9.1f ) |
| 553 | </Original> |
| 554 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame^] | 555 | 9.1f != Approx( 9.1000003815 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 556 | </Expanded> |
| 557 | </Expression> |
| 558 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 559 | <Original> |
| 560 | data.double_pi != Approx( 3.1415926535 ) |
| 561 | </Original> |
| 562 | <Expanded> |
Phil Nash | 1aa60fa | 2013-12-19 18:41:55 +0000 | [diff] [blame] | 563 | 3.1415926535 != Approx( 3.1415926535 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 564 | </Expanded> |
| 565 | </Expression> |
| 566 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 567 | <Original> |
| 568 | data.str_hello != "hello" |
| 569 | </Original> |
| 570 | <Expanded> |
| 571 | "hello" != "hello" |
| 572 | </Expanded> |
| 573 | </Expression> |
| 574 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 575 | <Original> |
| 576 | data.str_hello.size() != 5 |
| 577 | </Original> |
| 578 | <Expanded> |
| 579 | 5 != 5 |
| 580 | </Expanded> |
| 581 | </Expression> |
| 582 | <OverallResult success="false"/> |
| 583 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 584 | <TestCase name="Ordering comparison checks that should succeed"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 585 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 586 | <Original> |
| 587 | data.int_seven < 8 |
| 588 | </Original> |
| 589 | <Expanded> |
| 590 | 7 < 8 |
| 591 | </Expanded> |
| 592 | </Expression> |
| 593 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 594 | <Original> |
| 595 | data.int_seven > 6 |
| 596 | </Original> |
| 597 | <Expanded> |
| 598 | 7 > 6 |
| 599 | </Expanded> |
| 600 | </Expression> |
| 601 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 602 | <Original> |
| 603 | data.int_seven > 0 |
| 604 | </Original> |
| 605 | <Expanded> |
| 606 | 7 > 0 |
| 607 | </Expanded> |
| 608 | </Expression> |
| 609 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 610 | <Original> |
| 611 | data.int_seven > -1 |
| 612 | </Original> |
| 613 | <Expanded> |
| 614 | 7 > -1 |
| 615 | </Expanded> |
| 616 | </Expression> |
| 617 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 618 | <Original> |
| 619 | data.int_seven >= 7 |
| 620 | </Original> |
| 621 | <Expanded> |
| 622 | 7 >= 7 |
| 623 | </Expanded> |
| 624 | </Expression> |
| 625 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 626 | <Original> |
| 627 | data.int_seven >= 6 |
| 628 | </Original> |
| 629 | <Expanded> |
| 630 | 7 >= 6 |
| 631 | </Expanded> |
| 632 | </Expression> |
| 633 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 634 | <Original> |
| 635 | data.int_seven <= 7 |
| 636 | </Original> |
| 637 | <Expanded> |
| 638 | 7 <= 7 |
| 639 | </Expanded> |
| 640 | </Expression> |
| 641 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 642 | <Original> |
| 643 | data.int_seven <= 8 |
| 644 | </Original> |
| 645 | <Expanded> |
| 646 | 7 <= 8 |
| 647 | </Expanded> |
| 648 | </Expression> |
| 649 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 650 | <Original> |
| 651 | data.float_nine_point_one > 9 |
| 652 | </Original> |
| 653 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame^] | 654 | 9.1f > 9 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 655 | </Expanded> |
| 656 | </Expression> |
| 657 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 658 | <Original> |
| 659 | data.float_nine_point_one < 10 |
| 660 | </Original> |
| 661 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame^] | 662 | 9.1f < 10 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 663 | </Expanded> |
| 664 | </Expression> |
| 665 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 666 | <Original> |
| 667 | data.float_nine_point_one < 9.2 |
| 668 | </Original> |
| 669 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame^] | 670 | 9.1f < 9.2 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 671 | </Expanded> |
| 672 | </Expression> |
| 673 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 674 | <Original> |
| 675 | data.str_hello <= "hello" |
| 676 | </Original> |
| 677 | <Expanded> |
| 678 | "hello" <= "hello" |
| 679 | </Expanded> |
| 680 | </Expression> |
| 681 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 682 | <Original> |
| 683 | data.str_hello >= "hello" |
| 684 | </Original> |
| 685 | <Expanded> |
| 686 | "hello" >= "hello" |
| 687 | </Expanded> |
| 688 | </Expression> |
| 689 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 690 | <Original> |
| 691 | data.str_hello < "hellp" |
| 692 | </Original> |
| 693 | <Expanded> |
| 694 | "hello" < "hellp" |
| 695 | </Expanded> |
| 696 | </Expression> |
| 697 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 698 | <Original> |
| 699 | data.str_hello < "zebra" |
| 700 | </Original> |
| 701 | <Expanded> |
| 702 | "hello" < "zebra" |
| 703 | </Expanded> |
| 704 | </Expression> |
| 705 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 706 | <Original> |
| 707 | data.str_hello > "hellm" |
| 708 | </Original> |
| 709 | <Expanded> |
| 710 | "hello" > "hellm" |
| 711 | </Expanded> |
| 712 | </Expression> |
| 713 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 714 | <Original> |
| 715 | data.str_hello > "a" |
| 716 | </Original> |
| 717 | <Expanded> |
| 718 | "hello" > "a" |
| 719 | </Expanded> |
| 720 | </Expression> |
| 721 | <OverallResult success="true"/> |
| 722 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 723 | <TestCase name="Ordering comparison checks that should fail"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 724 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 725 | <Original> |
| 726 | data.int_seven > 7 |
| 727 | </Original> |
| 728 | <Expanded> |
| 729 | 7 > 7 |
| 730 | </Expanded> |
| 731 | </Expression> |
| 732 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 733 | <Original> |
| 734 | data.int_seven < 7 |
| 735 | </Original> |
| 736 | <Expanded> |
| 737 | 7 < 7 |
| 738 | </Expanded> |
| 739 | </Expression> |
| 740 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 741 | <Original> |
| 742 | data.int_seven > 8 |
| 743 | </Original> |
| 744 | <Expanded> |
| 745 | 7 > 8 |
| 746 | </Expanded> |
| 747 | </Expression> |
| 748 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 749 | <Original> |
| 750 | data.int_seven < 6 |
| 751 | </Original> |
| 752 | <Expanded> |
| 753 | 7 < 6 |
| 754 | </Expanded> |
| 755 | </Expression> |
| 756 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 757 | <Original> |
| 758 | data.int_seven < 0 |
| 759 | </Original> |
| 760 | <Expanded> |
| 761 | 7 < 0 |
| 762 | </Expanded> |
| 763 | </Expression> |
| 764 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 765 | <Original> |
| 766 | data.int_seven < -1 |
| 767 | </Original> |
| 768 | <Expanded> |
| 769 | 7 < -1 |
| 770 | </Expanded> |
| 771 | </Expression> |
| 772 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 773 | <Original> |
| 774 | data.int_seven >= 8 |
| 775 | </Original> |
| 776 | <Expanded> |
| 777 | 7 >= 8 |
| 778 | </Expanded> |
| 779 | </Expression> |
| 780 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 781 | <Original> |
| 782 | data.int_seven <= 6 |
| 783 | </Original> |
| 784 | <Expanded> |
| 785 | 7 <= 6 |
| 786 | </Expanded> |
| 787 | </Expression> |
| 788 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 789 | <Original> |
| 790 | data.float_nine_point_one < 9 |
| 791 | </Original> |
| 792 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame^] | 793 | 9.1f < 9 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 794 | </Expanded> |
| 795 | </Expression> |
| 796 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 797 | <Original> |
| 798 | data.float_nine_point_one > 10 |
| 799 | </Original> |
| 800 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame^] | 801 | 9.1f > 10 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 802 | </Expanded> |
| 803 | </Expression> |
| 804 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 805 | <Original> |
| 806 | data.float_nine_point_one > 9.2 |
| 807 | </Original> |
| 808 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame^] | 809 | 9.1f > 9.2 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 810 | </Expanded> |
| 811 | </Expression> |
| 812 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 813 | <Original> |
| 814 | data.str_hello > "hello" |
| 815 | </Original> |
| 816 | <Expanded> |
| 817 | "hello" > "hello" |
| 818 | </Expanded> |
| 819 | </Expression> |
| 820 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 821 | <Original> |
| 822 | data.str_hello < "hello" |
| 823 | </Original> |
| 824 | <Expanded> |
| 825 | "hello" < "hello" |
| 826 | </Expanded> |
| 827 | </Expression> |
| 828 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 829 | <Original> |
| 830 | data.str_hello > "hellp" |
| 831 | </Original> |
| 832 | <Expanded> |
| 833 | "hello" > "hellp" |
| 834 | </Expanded> |
| 835 | </Expression> |
| 836 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 837 | <Original> |
| 838 | data.str_hello > "z" |
| 839 | </Original> |
| 840 | <Expanded> |
| 841 | "hello" > "z" |
| 842 | </Expanded> |
| 843 | </Expression> |
| 844 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 845 | <Original> |
| 846 | data.str_hello < "hellm" |
| 847 | </Original> |
| 848 | <Expanded> |
| 849 | "hello" < "hellm" |
| 850 | </Expanded> |
| 851 | </Expression> |
| 852 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 853 | <Original> |
| 854 | data.str_hello < "a" |
| 855 | </Original> |
| 856 | <Expanded> |
| 857 | "hello" < "a" |
| 858 | </Expanded> |
| 859 | </Expression> |
| 860 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 861 | <Original> |
| 862 | data.str_hello >= "z" |
| 863 | </Original> |
| 864 | <Expanded> |
| 865 | "hello" >= "z" |
| 866 | </Expanded> |
| 867 | </Expression> |
| 868 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 869 | <Original> |
| 870 | data.str_hello <= "a" |
| 871 | </Original> |
| 872 | <Expanded> |
| 873 | "hello" <= "a" |
| 874 | </Expanded> |
| 875 | </Expression> |
| 876 | <OverallResult success="false"/> |
| 877 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 878 | <TestCase name="Comparisons with int literals don't warn when mixing signed/ unsigned"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 879 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 880 | <Original> |
| 881 | i == 1 |
| 882 | </Original> |
| 883 | <Expanded> |
| 884 | 1 == 1 |
| 885 | </Expanded> |
| 886 | </Expression> |
| 887 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 888 | <Original> |
| 889 | ui == 2 |
| 890 | </Original> |
| 891 | <Expanded> |
| 892 | 2 == 2 |
| 893 | </Expanded> |
| 894 | </Expression> |
| 895 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 896 | <Original> |
| 897 | l == 3 |
| 898 | </Original> |
| 899 | <Expanded> |
| 900 | 3 == 3 |
| 901 | </Expanded> |
| 902 | </Expression> |
| 903 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 904 | <Original> |
| 905 | ul == 4 |
| 906 | </Original> |
| 907 | <Expanded> |
| 908 | 4 == 4 |
| 909 | </Expanded> |
| 910 | </Expression> |
| 911 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 912 | <Original> |
| 913 | c == 5 |
| 914 | </Original> |
| 915 | <Expanded> |
| 916 | 5 == 5 |
| 917 | </Expanded> |
| 918 | </Expression> |
| 919 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 920 | <Original> |
| 921 | uc == 6 |
| 922 | </Original> |
| 923 | <Expanded> |
| 924 | 6 == 6 |
| 925 | </Expanded> |
| 926 | </Expression> |
| 927 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 928 | <Original> |
| 929 | 1 == i |
| 930 | </Original> |
| 931 | <Expanded> |
| 932 | 1 == 1 |
| 933 | </Expanded> |
| 934 | </Expression> |
| 935 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 936 | <Original> |
| 937 | 2 == ui |
| 938 | </Original> |
| 939 | <Expanded> |
| 940 | 2 == 2 |
| 941 | </Expanded> |
| 942 | </Expression> |
| 943 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 944 | <Original> |
| 945 | 3 == l |
| 946 | </Original> |
| 947 | <Expanded> |
| 948 | 3 == 3 |
| 949 | </Expanded> |
| 950 | </Expression> |
| 951 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 952 | <Original> |
| 953 | 4 == ul |
| 954 | </Original> |
| 955 | <Expanded> |
| 956 | 4 == 4 |
| 957 | </Expanded> |
| 958 | </Expression> |
| 959 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 960 | <Original> |
| 961 | 5 == c |
| 962 | </Original> |
| 963 | <Expanded> |
| 964 | 5 == 5 |
| 965 | </Expanded> |
| 966 | </Expression> |
| 967 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 968 | <Original> |
| 969 | 6 == uc |
| 970 | </Original> |
| 971 | <Expanded> |
| 972 | 6 == 6 |
| 973 | </Expanded> |
| 974 | </Expression> |
| 975 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 976 | <Original> |
| 977 | (std::numeric_limits<unsigned long>::max)() > ul |
| 978 | </Original> |
| 979 | <Expanded> |
| 980 | 0x<hex digits> > 4 |
| 981 | </Expanded> |
| 982 | </Expression> |
| 983 | <OverallResult success="true"/> |
| 984 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 985 | <TestCase name="comparisons between int variables"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 986 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 987 | <Original> |
| 988 | long_var == unsigned_char_var |
| 989 | </Original> |
| 990 | <Expanded> |
| 991 | 1 == 1 |
| 992 | </Expanded> |
| 993 | </Expression> |
| 994 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 995 | <Original> |
| 996 | long_var == unsigned_short_var |
| 997 | </Original> |
| 998 | <Expanded> |
| 999 | 1 == 1 |
| 1000 | </Expanded> |
| 1001 | </Expression> |
| 1002 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1003 | <Original> |
| 1004 | long_var == unsigned_int_var |
| 1005 | </Original> |
| 1006 | <Expanded> |
| 1007 | 1 == 1 |
| 1008 | </Expanded> |
| 1009 | </Expression> |
| 1010 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1011 | <Original> |
| 1012 | long_var == unsigned_long_var |
| 1013 | </Original> |
| 1014 | <Expanded> |
| 1015 | 1 == 1 |
| 1016 | </Expanded> |
| 1017 | </Expression> |
| 1018 | <OverallResult success="true"/> |
| 1019 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 1020 | <TestCase name="comparisons between const int variables"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1021 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1022 | <Original> |
| 1023 | unsigned_char_var == 1 |
| 1024 | </Original> |
| 1025 | <Expanded> |
| 1026 | 1 == 1 |
| 1027 | </Expanded> |
| 1028 | </Expression> |
| 1029 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1030 | <Original> |
| 1031 | unsigned_short_var == 1 |
| 1032 | </Original> |
| 1033 | <Expanded> |
| 1034 | 1 == 1 |
| 1035 | </Expanded> |
| 1036 | </Expression> |
| 1037 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1038 | <Original> |
| 1039 | unsigned_int_var == 1 |
| 1040 | </Original> |
| 1041 | <Expanded> |
| 1042 | 1 == 1 |
| 1043 | </Expanded> |
| 1044 | </Expression> |
| 1045 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1046 | <Original> |
| 1047 | unsigned_long_var == 1 |
| 1048 | </Original> |
| 1049 | <Expanded> |
| 1050 | 1 == 1 |
| 1051 | </Expanded> |
| 1052 | </Expression> |
| 1053 | <OverallResult success="true"/> |
| 1054 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 1055 | <TestCase name="Comparisons between unsigned ints and negative signed ints match c++ standard behaviour"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1056 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1057 | <Original> |
| 1058 | ( -1 > 2u ) |
| 1059 | </Original> |
| 1060 | <Expanded> |
| 1061 | true |
| 1062 | </Expanded> |
| 1063 | </Expression> |
| 1064 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1065 | <Original> |
| 1066 | -1 > 2u |
| 1067 | </Original> |
| 1068 | <Expanded> |
| 1069 | -1 > 2 |
| 1070 | </Expanded> |
| 1071 | </Expression> |
| 1072 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1073 | <Original> |
| 1074 | ( 2u < -1 ) |
| 1075 | </Original> |
| 1076 | <Expanded> |
| 1077 | true |
| 1078 | </Expanded> |
| 1079 | </Expression> |
| 1080 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1081 | <Original> |
| 1082 | 2u < -1 |
| 1083 | </Original> |
| 1084 | <Expanded> |
| 1085 | 2 < -1 |
| 1086 | </Expanded> |
| 1087 | </Expression> |
| 1088 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1089 | <Original> |
| 1090 | ( minInt > 2u ) |
| 1091 | </Original> |
| 1092 | <Expanded> |
| 1093 | true |
| 1094 | </Expanded> |
| 1095 | </Expression> |
| 1096 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1097 | <Original> |
| 1098 | minInt > 2u |
| 1099 | </Original> |
| 1100 | <Expanded> |
| 1101 | -2147483648 > 2 |
| 1102 | </Expanded> |
| 1103 | </Expression> |
| 1104 | <OverallResult success="true"/> |
| 1105 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 1106 | <TestCase name="Comparisons between ints where one side is computed"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1107 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1108 | <Original> |
| 1109 | 54 == 6*9 |
| 1110 | </Original> |
| 1111 | <Expanded> |
| 1112 | 54 == 54 |
| 1113 | </Expanded> |
| 1114 | </Expression> |
| 1115 | <OverallResult success="true"/> |
| 1116 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 1117 | <TestCase name="Pointers can be compared to null"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1118 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1119 | <Original> |
| 1120 | p == __null |
| 1121 | </Original> |
| 1122 | <Expanded> |
| 1123 | __null == 0 |
| 1124 | </Expanded> |
| 1125 | </Expression> |
| 1126 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1127 | <Original> |
| 1128 | p == pNULL |
| 1129 | </Original> |
| 1130 | <Expanded> |
| 1131 | __null == __null |
| 1132 | </Expanded> |
| 1133 | </Expression> |
| 1134 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1135 | <Original> |
| 1136 | p != __null |
| 1137 | </Original> |
| 1138 | <Expanded> |
| 1139 | 0x<hex digits> != 0 |
| 1140 | </Expanded> |
| 1141 | </Expression> |
| 1142 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1143 | <Original> |
| 1144 | cp != __null |
| 1145 | </Original> |
| 1146 | <Expanded> |
| 1147 | 0x<hex digits> != 0 |
| 1148 | </Expanded> |
| 1149 | </Expression> |
| 1150 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1151 | <Original> |
| 1152 | cpc != __null |
| 1153 | </Original> |
| 1154 | <Expanded> |
| 1155 | 0x<hex digits> != 0 |
| 1156 | </Expanded> |
| 1157 | </Expression> |
| 1158 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1159 | <Original> |
| 1160 | returnsNull() == __null |
| 1161 | </Original> |
| 1162 | <Expanded> |
| 1163 | {null string} == 0 |
| 1164 | </Expanded> |
| 1165 | </Expression> |
| 1166 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1167 | <Original> |
| 1168 | returnsConstNull() == __null |
| 1169 | </Original> |
| 1170 | <Expanded> |
| 1171 | {null string} == 0 |
| 1172 | </Expanded> |
| 1173 | </Expression> |
| 1174 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1175 | <Original> |
| 1176 | __null != p |
| 1177 | </Original> |
| 1178 | <Expanded> |
| 1179 | 0 != 0x<hex digits> |
| 1180 | </Expanded> |
| 1181 | </Expression> |
| 1182 | <OverallResult success="true"/> |
| 1183 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 1184 | <TestCase name="'Not' checks that should succeed"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1185 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1186 | <Original> |
| 1187 | false == false |
| 1188 | </Original> |
| 1189 | <Expanded> |
| 1190 | false == false |
| 1191 | </Expanded> |
| 1192 | </Expression> |
| 1193 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1194 | <Original> |
| 1195 | true == true |
| 1196 | </Original> |
| 1197 | <Expanded> |
| 1198 | true == true |
| 1199 | </Expanded> |
| 1200 | </Expression> |
| 1201 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1202 | <Original> |
| 1203 | !false |
| 1204 | </Original> |
| 1205 | <Expanded> |
| 1206 | true |
| 1207 | </Expanded> |
| 1208 | </Expression> |
| 1209 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1210 | <Original> |
| 1211 | !false |
| 1212 | </Original> |
| 1213 | <Expanded> |
| 1214 | !false |
| 1215 | </Expanded> |
| 1216 | </Expression> |
| 1217 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1218 | <Original> |
| 1219 | !falseValue |
| 1220 | </Original> |
| 1221 | <Expanded> |
| 1222 | true |
| 1223 | </Expanded> |
| 1224 | </Expression> |
| 1225 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1226 | <Original> |
| 1227 | !falseValue |
| 1228 | </Original> |
| 1229 | <Expanded> |
| 1230 | !false |
| 1231 | </Expanded> |
| 1232 | </Expression> |
| 1233 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1234 | <Original> |
| 1235 | !(1 == 2) |
| 1236 | </Original> |
| 1237 | <Expanded> |
| 1238 | true |
| 1239 | </Expanded> |
| 1240 | </Expression> |
| 1241 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1242 | <Original> |
| 1243 | !1 == 2 |
| 1244 | </Original> |
| 1245 | <Expanded> |
| 1246 | !(1 == 2) |
| 1247 | </Expanded> |
| 1248 | </Expression> |
| 1249 | <OverallResult success="true"/> |
| 1250 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 1251 | <TestCase name="'Not' checks that should fail"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1252 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1253 | <Original> |
| 1254 | false != false |
| 1255 | </Original> |
| 1256 | <Expanded> |
| 1257 | false != false |
| 1258 | </Expanded> |
| 1259 | </Expression> |
| 1260 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1261 | <Original> |
| 1262 | true != true |
| 1263 | </Original> |
| 1264 | <Expanded> |
| 1265 | true != true |
| 1266 | </Expanded> |
| 1267 | </Expression> |
| 1268 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1269 | <Original> |
| 1270 | !true |
| 1271 | </Original> |
| 1272 | <Expanded> |
| 1273 | false |
| 1274 | </Expanded> |
| 1275 | </Expression> |
| 1276 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1277 | <Original> |
| 1278 | !true |
| 1279 | </Original> |
| 1280 | <Expanded> |
| 1281 | !true |
| 1282 | </Expanded> |
| 1283 | </Expression> |
| 1284 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1285 | <Original> |
| 1286 | !trueValue |
| 1287 | </Original> |
| 1288 | <Expanded> |
| 1289 | false |
| 1290 | </Expanded> |
| 1291 | </Expression> |
| 1292 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1293 | <Original> |
| 1294 | !trueValue |
| 1295 | </Original> |
| 1296 | <Expanded> |
| 1297 | !true |
| 1298 | </Expanded> |
| 1299 | </Expression> |
| 1300 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1301 | <Original> |
| 1302 | !(1 == 1) |
| 1303 | </Original> |
| 1304 | <Expanded> |
| 1305 | false |
| 1306 | </Expanded> |
| 1307 | </Expression> |
| 1308 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > |
| 1309 | <Original> |
| 1310 | !1 == 1 |
| 1311 | </Original> |
| 1312 | <Expanded> |
| 1313 | !(1 == 1) |
| 1314 | </Expanded> |
| 1315 | </Expression> |
| 1316 | <OverallResult success="false"/> |
| 1317 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 1318 | <TestCase name="When checked exceptions are thrown they can be expected or unexpected"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1319 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1320 | <Original> |
| 1321 | thisThrows() |
| 1322 | </Original> |
| 1323 | <Expanded> |
| 1324 | thisThrows() |
| 1325 | </Expanded> |
| 1326 | </Expression> |
| 1327 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1328 | <Original> |
| 1329 | thisDoesntThrow() |
| 1330 | </Original> |
| 1331 | <Expanded> |
| 1332 | thisDoesntThrow() |
| 1333 | </Expanded> |
| 1334 | </Expression> |
| 1335 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1336 | <Original> |
| 1337 | thisThrows() |
| 1338 | </Original> |
| 1339 | <Expanded> |
| 1340 | thisThrows() |
| 1341 | </Expanded> |
| 1342 | </Expression> |
| 1343 | <OverallResult success="true"/> |
| 1344 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 1345 | <TestCase name="Expected exceptions that don't throw or unexpected exceptions fail the test"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1346 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1347 | <Original> |
| 1348 | thisThrows() |
| 1349 | </Original> |
| 1350 | <Expanded> |
| 1351 | thisThrows() |
| 1352 | </Expanded> |
| 1353 | <Exception filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1354 | expected exception |
| 1355 | </Exception> |
| 1356 | </Expression> |
| 1357 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1358 | <Original> |
| 1359 | thisDoesntThrow() |
| 1360 | </Original> |
| 1361 | <Expanded> |
| 1362 | thisDoesntThrow() |
| 1363 | </Expanded> |
| 1364 | </Expression> |
| 1365 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1366 | <Original> |
| 1367 | thisThrows() |
| 1368 | </Original> |
| 1369 | <Expanded> |
| 1370 | thisThrows() |
| 1371 | </Expanded> |
| 1372 | <Exception filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1373 | expected exception |
| 1374 | </Exception> |
| 1375 | </Expression> |
| 1376 | <OverallResult success="false"/> |
| 1377 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 1378 | <TestCase name="When unchecked exceptions are thrown directly they are always failures"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1379 | <Exception filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1380 | unexpected exception |
| 1381 | </Exception> |
| 1382 | <OverallResult success="false"/> |
| 1383 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 1384 | <TestCase name="An unchecked exception reports the line of the last assertion"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1385 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1386 | <Original> |
| 1387 | 1 == 1 |
| 1388 | </Original> |
| 1389 | <Expanded> |
| 1390 | 1 == 1 |
| 1391 | </Expanded> |
| 1392 | </Expression> |
| 1393 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1394 | <Original> |
| 1395 | {Unknown expression after the reported line} |
| 1396 | </Original> |
| 1397 | <Expanded> |
| 1398 | {Unknown expression after the reported line} |
| 1399 | </Expanded> |
| 1400 | <Exception filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1401 | unexpected exception |
| 1402 | </Exception> |
| 1403 | </Expression> |
| 1404 | <OverallResult success="false"/> |
| 1405 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 1406 | <TestCase name="When unchecked exceptions are thrown from sections they are always failures"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1407 | <Section name="section name"> |
| 1408 | <Exception filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1409 | unexpected exception |
| 1410 | </Exception> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 1411 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1412 | </Section> |
| 1413 | <OverallResult success="false"/> |
| 1414 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 1415 | <TestCase name="When unchecked exceptions are thrown from functions they are always failures"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1416 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1417 | <Original> |
| 1418 | thisThrows() == 0 |
| 1419 | </Original> |
| 1420 | <Expanded> |
| 1421 | thisThrows() == 0 |
| 1422 | </Expanded> |
| 1423 | <Exception filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1424 | expected exception |
| 1425 | </Exception> |
| 1426 | </Expression> |
| 1427 | <OverallResult success="false"/> |
| 1428 | </TestCase> |
Phil Nash | 1bccc03 | 2014-04-12 19:20:46 +0100 | [diff] [blame] | 1429 | <TestCase name="When unchecked exceptions are thrown during a REQUIRE the test should abort fail"> |
| 1430 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1431 | <Original> |
| 1432 | thisThrows() == 0 |
| 1433 | </Original> |
| 1434 | <Expanded> |
| 1435 | thisThrows() == 0 |
| 1436 | </Expanded> |
| 1437 | <Exception filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1438 | expected exception |
| 1439 | </Exception> |
| 1440 | </Expression> |
| 1441 | <OverallResult success="false"/> |
| 1442 | </TestCase> |
| 1443 | <TestCase name="When unchecked exceptions are thrown during a CHECK the test should abort and fail"> |
Phil Nash | a176b93 | 2014-04-12 19:07:24 +0100 | [diff] [blame] | 1444 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1445 | <Original> |
| 1446 | thisThrows() == 0 |
| 1447 | </Original> |
| 1448 | <Expanded> |
| 1449 | thisThrows() == 0 |
| 1450 | </Expanded> |
| 1451 | <Exception filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1452 | expected exception |
| 1453 | </Exception> |
| 1454 | </Expression> |
| 1455 | <OverallResult success="false"/> |
| 1456 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 1457 | <TestCase name="When unchecked exceptions are thrown, but caught, they do not affect the test"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1458 | <OverallResult success="true"/> |
| 1459 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 1460 | <TestCase name="Unexpected custom exceptions can be translated"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1461 | <Exception filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1462 | custom exception |
| 1463 | </Exception> |
| 1464 | <OverallResult success="false"/> |
| 1465 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 1466 | <TestCase name="Custom exceptions can be translated when testing for nothrow"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1467 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1468 | <Original> |
| 1469 | throwCustom() |
| 1470 | </Original> |
| 1471 | <Expanded> |
| 1472 | throwCustom() |
| 1473 | </Expanded> |
| 1474 | <Exception filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1475 | custom exception - not std |
| 1476 | </Exception> |
| 1477 | </Expression> |
| 1478 | <OverallResult success="false"/> |
| 1479 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 1480 | <TestCase name="Custom exceptions can be translated when testing for throwing as something else"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1481 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1482 | <Original> |
| 1483 | throwCustom() |
| 1484 | </Original> |
| 1485 | <Expanded> |
| 1486 | throwCustom() |
| 1487 | </Expanded> |
| 1488 | <Exception filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1489 | custom exception - not std |
| 1490 | </Exception> |
| 1491 | </Expression> |
| 1492 | <OverallResult success="false"/> |
| 1493 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 1494 | <TestCase name="Unexpected exceptions can be translated"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1495 | <Exception filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1496 | 3.14 |
| 1497 | </Exception> |
| 1498 | <OverallResult success="false"/> |
| 1499 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 1500 | <TestCase name="NotImplemented exception"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1501 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ExceptionTests.cpp" > |
| 1502 | <Original> |
| 1503 | thisFunctionNotImplemented( 7 ) |
| 1504 | </Original> |
| 1505 | <Expanded> |
| 1506 | thisFunctionNotImplemented( 7 ) |
| 1507 | </Expanded> |
| 1508 | </Expression> |
| 1509 | <OverallResult success="true"/> |
| 1510 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 1511 | <TestCase name="Generators over two ranges"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1512 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1513 | <Original> |
| 1514 | multiply( i, 2 ) == i*2 |
| 1515 | </Original> |
| 1516 | <Expanded> |
| 1517 | 2 == 2 |
| 1518 | </Expanded> |
| 1519 | </Expression> |
| 1520 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1521 | <Original> |
| 1522 | multiply( j, 2 ) == j*2 |
| 1523 | </Original> |
| 1524 | <Expanded> |
| 1525 | 200 == 200 |
| 1526 | </Expanded> |
| 1527 | </Expression> |
| 1528 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1529 | <Original> |
| 1530 | multiply( i, 2 ) == i*2 |
| 1531 | </Original> |
| 1532 | <Expanded> |
| 1533 | 4 == 4 |
| 1534 | </Expanded> |
| 1535 | </Expression> |
| 1536 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1537 | <Original> |
| 1538 | multiply( j, 2 ) == j*2 |
| 1539 | </Original> |
| 1540 | <Expanded> |
| 1541 | 200 == 200 |
| 1542 | </Expanded> |
| 1543 | </Expression> |
| 1544 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1545 | <Original> |
| 1546 | multiply( i, 2 ) == i*2 |
| 1547 | </Original> |
| 1548 | <Expanded> |
| 1549 | 6 == 6 |
| 1550 | </Expanded> |
| 1551 | </Expression> |
| 1552 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1553 | <Original> |
| 1554 | multiply( j, 2 ) == j*2 |
| 1555 | </Original> |
| 1556 | <Expanded> |
| 1557 | 200 == 200 |
| 1558 | </Expanded> |
| 1559 | </Expression> |
| 1560 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1561 | <Original> |
| 1562 | multiply( i, 2 ) == i*2 |
| 1563 | </Original> |
| 1564 | <Expanded> |
| 1565 | 8 == 8 |
| 1566 | </Expanded> |
| 1567 | </Expression> |
| 1568 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1569 | <Original> |
| 1570 | multiply( j, 2 ) == j*2 |
| 1571 | </Original> |
| 1572 | <Expanded> |
| 1573 | 200 == 200 |
| 1574 | </Expanded> |
| 1575 | </Expression> |
| 1576 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1577 | <Original> |
| 1578 | multiply( i, 2 ) == i*2 |
| 1579 | </Original> |
| 1580 | <Expanded> |
| 1581 | 10 == 10 |
| 1582 | </Expanded> |
| 1583 | </Expression> |
| 1584 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1585 | <Original> |
| 1586 | multiply( j, 2 ) == j*2 |
| 1587 | </Original> |
| 1588 | <Expanded> |
| 1589 | 200 == 200 |
| 1590 | </Expanded> |
| 1591 | </Expression> |
| 1592 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1593 | <Original> |
| 1594 | multiply( i, 2 ) == i*2 |
| 1595 | </Original> |
| 1596 | <Expanded> |
| 1597 | 30 == 30 |
| 1598 | </Expanded> |
| 1599 | </Expression> |
| 1600 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1601 | <Original> |
| 1602 | multiply( j, 2 ) == j*2 |
| 1603 | </Original> |
| 1604 | <Expanded> |
| 1605 | 200 == 200 |
| 1606 | </Expanded> |
| 1607 | </Expression> |
| 1608 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1609 | <Original> |
| 1610 | multiply( i, 2 ) == i*2 |
| 1611 | </Original> |
| 1612 | <Expanded> |
| 1613 | 40 == 40 |
| 1614 | </Expanded> |
| 1615 | </Expression> |
| 1616 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1617 | <Original> |
| 1618 | multiply( j, 2 ) == j*2 |
| 1619 | </Original> |
| 1620 | <Expanded> |
| 1621 | 200 == 200 |
| 1622 | </Expanded> |
| 1623 | </Expression> |
| 1624 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1625 | <Original> |
| 1626 | multiply( i, 2 ) == i*2 |
| 1627 | </Original> |
| 1628 | <Expanded> |
| 1629 | 42 == 42 |
| 1630 | </Expanded> |
| 1631 | </Expression> |
| 1632 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1633 | <Original> |
| 1634 | multiply( j, 2 ) == j*2 |
| 1635 | </Original> |
| 1636 | <Expanded> |
| 1637 | 200 == 200 |
| 1638 | </Expanded> |
| 1639 | </Expression> |
| 1640 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1641 | <Original> |
| 1642 | multiply( i, 2 ) == i*2 |
| 1643 | </Original> |
| 1644 | <Expanded> |
| 1645 | 72 == 72 |
| 1646 | </Expanded> |
| 1647 | </Expression> |
| 1648 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1649 | <Original> |
| 1650 | multiply( j, 2 ) == j*2 |
| 1651 | </Original> |
| 1652 | <Expanded> |
| 1653 | 200 == 200 |
| 1654 | </Expanded> |
| 1655 | </Expression> |
| 1656 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1657 | <Original> |
| 1658 | multiply( i, 2 ) == i*2 |
| 1659 | </Original> |
| 1660 | <Expanded> |
| 1661 | 2 == 2 |
| 1662 | </Expanded> |
| 1663 | </Expression> |
| 1664 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1665 | <Original> |
| 1666 | multiply( j, 2 ) == j*2 |
| 1667 | </Original> |
| 1668 | <Expanded> |
| 1669 | 202 == 202 |
| 1670 | </Expanded> |
| 1671 | </Expression> |
| 1672 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1673 | <Original> |
| 1674 | multiply( i, 2 ) == i*2 |
| 1675 | </Original> |
| 1676 | <Expanded> |
| 1677 | 4 == 4 |
| 1678 | </Expanded> |
| 1679 | </Expression> |
| 1680 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1681 | <Original> |
| 1682 | multiply( j, 2 ) == j*2 |
| 1683 | </Original> |
| 1684 | <Expanded> |
| 1685 | 202 == 202 |
| 1686 | </Expanded> |
| 1687 | </Expression> |
| 1688 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1689 | <Original> |
| 1690 | multiply( i, 2 ) == i*2 |
| 1691 | </Original> |
| 1692 | <Expanded> |
| 1693 | 6 == 6 |
| 1694 | </Expanded> |
| 1695 | </Expression> |
| 1696 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1697 | <Original> |
| 1698 | multiply( j, 2 ) == j*2 |
| 1699 | </Original> |
| 1700 | <Expanded> |
| 1701 | 202 == 202 |
| 1702 | </Expanded> |
| 1703 | </Expression> |
| 1704 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1705 | <Original> |
| 1706 | multiply( i, 2 ) == i*2 |
| 1707 | </Original> |
| 1708 | <Expanded> |
| 1709 | 8 == 8 |
| 1710 | </Expanded> |
| 1711 | </Expression> |
| 1712 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1713 | <Original> |
| 1714 | multiply( j, 2 ) == j*2 |
| 1715 | </Original> |
| 1716 | <Expanded> |
| 1717 | 202 == 202 |
| 1718 | </Expanded> |
| 1719 | </Expression> |
| 1720 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1721 | <Original> |
| 1722 | multiply( i, 2 ) == i*2 |
| 1723 | </Original> |
| 1724 | <Expanded> |
| 1725 | 10 == 10 |
| 1726 | </Expanded> |
| 1727 | </Expression> |
| 1728 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1729 | <Original> |
| 1730 | multiply( j, 2 ) == j*2 |
| 1731 | </Original> |
| 1732 | <Expanded> |
| 1733 | 202 == 202 |
| 1734 | </Expanded> |
| 1735 | </Expression> |
| 1736 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1737 | <Original> |
| 1738 | multiply( i, 2 ) == i*2 |
| 1739 | </Original> |
| 1740 | <Expanded> |
| 1741 | 30 == 30 |
| 1742 | </Expanded> |
| 1743 | </Expression> |
| 1744 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1745 | <Original> |
| 1746 | multiply( j, 2 ) == j*2 |
| 1747 | </Original> |
| 1748 | <Expanded> |
| 1749 | 202 == 202 |
| 1750 | </Expanded> |
| 1751 | </Expression> |
| 1752 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1753 | <Original> |
| 1754 | multiply( i, 2 ) == i*2 |
| 1755 | </Original> |
| 1756 | <Expanded> |
| 1757 | 40 == 40 |
| 1758 | </Expanded> |
| 1759 | </Expression> |
| 1760 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1761 | <Original> |
| 1762 | multiply( j, 2 ) == j*2 |
| 1763 | </Original> |
| 1764 | <Expanded> |
| 1765 | 202 == 202 |
| 1766 | </Expanded> |
| 1767 | </Expression> |
| 1768 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1769 | <Original> |
| 1770 | multiply( i, 2 ) == i*2 |
| 1771 | </Original> |
| 1772 | <Expanded> |
| 1773 | 42 == 42 |
| 1774 | </Expanded> |
| 1775 | </Expression> |
| 1776 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1777 | <Original> |
| 1778 | multiply( j, 2 ) == j*2 |
| 1779 | </Original> |
| 1780 | <Expanded> |
| 1781 | 202 == 202 |
| 1782 | </Expanded> |
| 1783 | </Expression> |
| 1784 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1785 | <Original> |
| 1786 | multiply( i, 2 ) == i*2 |
| 1787 | </Original> |
| 1788 | <Expanded> |
| 1789 | 72 == 72 |
| 1790 | </Expanded> |
| 1791 | </Expression> |
| 1792 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1793 | <Original> |
| 1794 | multiply( j, 2 ) == j*2 |
| 1795 | </Original> |
| 1796 | <Expanded> |
| 1797 | 202 == 202 |
| 1798 | </Expanded> |
| 1799 | </Expression> |
| 1800 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1801 | <Original> |
| 1802 | multiply( i, 2 ) == i*2 |
| 1803 | </Original> |
| 1804 | <Expanded> |
| 1805 | 2 == 2 |
| 1806 | </Expanded> |
| 1807 | </Expression> |
| 1808 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1809 | <Original> |
| 1810 | multiply( j, 2 ) == j*2 |
| 1811 | </Original> |
| 1812 | <Expanded> |
| 1813 | 204 == 204 |
| 1814 | </Expanded> |
| 1815 | </Expression> |
| 1816 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1817 | <Original> |
| 1818 | multiply( i, 2 ) == i*2 |
| 1819 | </Original> |
| 1820 | <Expanded> |
| 1821 | 4 == 4 |
| 1822 | </Expanded> |
| 1823 | </Expression> |
| 1824 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1825 | <Original> |
| 1826 | multiply( j, 2 ) == j*2 |
| 1827 | </Original> |
| 1828 | <Expanded> |
| 1829 | 204 == 204 |
| 1830 | </Expanded> |
| 1831 | </Expression> |
| 1832 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1833 | <Original> |
| 1834 | multiply( i, 2 ) == i*2 |
| 1835 | </Original> |
| 1836 | <Expanded> |
| 1837 | 6 == 6 |
| 1838 | </Expanded> |
| 1839 | </Expression> |
| 1840 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1841 | <Original> |
| 1842 | multiply( j, 2 ) == j*2 |
| 1843 | </Original> |
| 1844 | <Expanded> |
| 1845 | 204 == 204 |
| 1846 | </Expanded> |
| 1847 | </Expression> |
| 1848 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1849 | <Original> |
| 1850 | multiply( i, 2 ) == i*2 |
| 1851 | </Original> |
| 1852 | <Expanded> |
| 1853 | 8 == 8 |
| 1854 | </Expanded> |
| 1855 | </Expression> |
| 1856 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1857 | <Original> |
| 1858 | multiply( j, 2 ) == j*2 |
| 1859 | </Original> |
| 1860 | <Expanded> |
| 1861 | 204 == 204 |
| 1862 | </Expanded> |
| 1863 | </Expression> |
| 1864 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1865 | <Original> |
| 1866 | multiply( i, 2 ) == i*2 |
| 1867 | </Original> |
| 1868 | <Expanded> |
| 1869 | 10 == 10 |
| 1870 | </Expanded> |
| 1871 | </Expression> |
| 1872 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1873 | <Original> |
| 1874 | multiply( j, 2 ) == j*2 |
| 1875 | </Original> |
| 1876 | <Expanded> |
| 1877 | 204 == 204 |
| 1878 | </Expanded> |
| 1879 | </Expression> |
| 1880 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1881 | <Original> |
| 1882 | multiply( i, 2 ) == i*2 |
| 1883 | </Original> |
| 1884 | <Expanded> |
| 1885 | 30 == 30 |
| 1886 | </Expanded> |
| 1887 | </Expression> |
| 1888 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1889 | <Original> |
| 1890 | multiply( j, 2 ) == j*2 |
| 1891 | </Original> |
| 1892 | <Expanded> |
| 1893 | 204 == 204 |
| 1894 | </Expanded> |
| 1895 | </Expression> |
| 1896 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1897 | <Original> |
| 1898 | multiply( i, 2 ) == i*2 |
| 1899 | </Original> |
| 1900 | <Expanded> |
| 1901 | 40 == 40 |
| 1902 | </Expanded> |
| 1903 | </Expression> |
| 1904 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1905 | <Original> |
| 1906 | multiply( j, 2 ) == j*2 |
| 1907 | </Original> |
| 1908 | <Expanded> |
| 1909 | 204 == 204 |
| 1910 | </Expanded> |
| 1911 | </Expression> |
| 1912 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1913 | <Original> |
| 1914 | multiply( i, 2 ) == i*2 |
| 1915 | </Original> |
| 1916 | <Expanded> |
| 1917 | 42 == 42 |
| 1918 | </Expanded> |
| 1919 | </Expression> |
| 1920 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1921 | <Original> |
| 1922 | multiply( j, 2 ) == j*2 |
| 1923 | </Original> |
| 1924 | <Expanded> |
| 1925 | 204 == 204 |
| 1926 | </Expanded> |
| 1927 | </Expression> |
| 1928 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1929 | <Original> |
| 1930 | multiply( i, 2 ) == i*2 |
| 1931 | </Original> |
| 1932 | <Expanded> |
| 1933 | 72 == 72 |
| 1934 | </Expanded> |
| 1935 | </Expression> |
| 1936 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1937 | <Original> |
| 1938 | multiply( j, 2 ) == j*2 |
| 1939 | </Original> |
| 1940 | <Expanded> |
| 1941 | 204 == 204 |
| 1942 | </Expanded> |
| 1943 | </Expression> |
| 1944 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1945 | <Original> |
| 1946 | multiply( i, 2 ) == i*2 |
| 1947 | </Original> |
| 1948 | <Expanded> |
| 1949 | 2 == 2 |
| 1950 | </Expanded> |
| 1951 | </Expression> |
| 1952 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1953 | <Original> |
| 1954 | multiply( j, 2 ) == j*2 |
| 1955 | </Original> |
| 1956 | <Expanded> |
| 1957 | 206 == 206 |
| 1958 | </Expanded> |
| 1959 | </Expression> |
| 1960 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1961 | <Original> |
| 1962 | multiply( i, 2 ) == i*2 |
| 1963 | </Original> |
| 1964 | <Expanded> |
| 1965 | 4 == 4 |
| 1966 | </Expanded> |
| 1967 | </Expression> |
| 1968 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1969 | <Original> |
| 1970 | multiply( j, 2 ) == j*2 |
| 1971 | </Original> |
| 1972 | <Expanded> |
| 1973 | 206 == 206 |
| 1974 | </Expanded> |
| 1975 | </Expression> |
| 1976 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1977 | <Original> |
| 1978 | multiply( i, 2 ) == i*2 |
| 1979 | </Original> |
| 1980 | <Expanded> |
| 1981 | 6 == 6 |
| 1982 | </Expanded> |
| 1983 | </Expression> |
| 1984 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1985 | <Original> |
| 1986 | multiply( j, 2 ) == j*2 |
| 1987 | </Original> |
| 1988 | <Expanded> |
| 1989 | 206 == 206 |
| 1990 | </Expanded> |
| 1991 | </Expression> |
| 1992 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 1993 | <Original> |
| 1994 | multiply( i, 2 ) == i*2 |
| 1995 | </Original> |
| 1996 | <Expanded> |
| 1997 | 8 == 8 |
| 1998 | </Expanded> |
| 1999 | </Expression> |
| 2000 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2001 | <Original> |
| 2002 | multiply( j, 2 ) == j*2 |
| 2003 | </Original> |
| 2004 | <Expanded> |
| 2005 | 206 == 206 |
| 2006 | </Expanded> |
| 2007 | </Expression> |
| 2008 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2009 | <Original> |
| 2010 | multiply( i, 2 ) == i*2 |
| 2011 | </Original> |
| 2012 | <Expanded> |
| 2013 | 10 == 10 |
| 2014 | </Expanded> |
| 2015 | </Expression> |
| 2016 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2017 | <Original> |
| 2018 | multiply( j, 2 ) == j*2 |
| 2019 | </Original> |
| 2020 | <Expanded> |
| 2021 | 206 == 206 |
| 2022 | </Expanded> |
| 2023 | </Expression> |
| 2024 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2025 | <Original> |
| 2026 | multiply( i, 2 ) == i*2 |
| 2027 | </Original> |
| 2028 | <Expanded> |
| 2029 | 30 == 30 |
| 2030 | </Expanded> |
| 2031 | </Expression> |
| 2032 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2033 | <Original> |
| 2034 | multiply( j, 2 ) == j*2 |
| 2035 | </Original> |
| 2036 | <Expanded> |
| 2037 | 206 == 206 |
| 2038 | </Expanded> |
| 2039 | </Expression> |
| 2040 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2041 | <Original> |
| 2042 | multiply( i, 2 ) == i*2 |
| 2043 | </Original> |
| 2044 | <Expanded> |
| 2045 | 40 == 40 |
| 2046 | </Expanded> |
| 2047 | </Expression> |
| 2048 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2049 | <Original> |
| 2050 | multiply( j, 2 ) == j*2 |
| 2051 | </Original> |
| 2052 | <Expanded> |
| 2053 | 206 == 206 |
| 2054 | </Expanded> |
| 2055 | </Expression> |
| 2056 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2057 | <Original> |
| 2058 | multiply( i, 2 ) == i*2 |
| 2059 | </Original> |
| 2060 | <Expanded> |
| 2061 | 42 == 42 |
| 2062 | </Expanded> |
| 2063 | </Expression> |
| 2064 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2065 | <Original> |
| 2066 | multiply( j, 2 ) == j*2 |
| 2067 | </Original> |
| 2068 | <Expanded> |
| 2069 | 206 == 206 |
| 2070 | </Expanded> |
| 2071 | </Expression> |
| 2072 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2073 | <Original> |
| 2074 | multiply( i, 2 ) == i*2 |
| 2075 | </Original> |
| 2076 | <Expanded> |
| 2077 | 72 == 72 |
| 2078 | </Expanded> |
| 2079 | </Expression> |
| 2080 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2081 | <Original> |
| 2082 | multiply( j, 2 ) == j*2 |
| 2083 | </Original> |
| 2084 | <Expanded> |
| 2085 | 206 == 206 |
| 2086 | </Expanded> |
| 2087 | </Expression> |
| 2088 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2089 | <Original> |
| 2090 | multiply( i, 2 ) == i*2 |
| 2091 | </Original> |
| 2092 | <Expanded> |
| 2093 | 2 == 2 |
| 2094 | </Expanded> |
| 2095 | </Expression> |
| 2096 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2097 | <Original> |
| 2098 | multiply( j, 2 ) == j*2 |
| 2099 | </Original> |
| 2100 | <Expanded> |
| 2101 | 208 == 208 |
| 2102 | </Expanded> |
| 2103 | </Expression> |
| 2104 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2105 | <Original> |
| 2106 | multiply( i, 2 ) == i*2 |
| 2107 | </Original> |
| 2108 | <Expanded> |
| 2109 | 4 == 4 |
| 2110 | </Expanded> |
| 2111 | </Expression> |
| 2112 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2113 | <Original> |
| 2114 | multiply( j, 2 ) == j*2 |
| 2115 | </Original> |
| 2116 | <Expanded> |
| 2117 | 208 == 208 |
| 2118 | </Expanded> |
| 2119 | </Expression> |
| 2120 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2121 | <Original> |
| 2122 | multiply( i, 2 ) == i*2 |
| 2123 | </Original> |
| 2124 | <Expanded> |
| 2125 | 6 == 6 |
| 2126 | </Expanded> |
| 2127 | </Expression> |
| 2128 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2129 | <Original> |
| 2130 | multiply( j, 2 ) == j*2 |
| 2131 | </Original> |
| 2132 | <Expanded> |
| 2133 | 208 == 208 |
| 2134 | </Expanded> |
| 2135 | </Expression> |
| 2136 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2137 | <Original> |
| 2138 | multiply( i, 2 ) == i*2 |
| 2139 | </Original> |
| 2140 | <Expanded> |
| 2141 | 8 == 8 |
| 2142 | </Expanded> |
| 2143 | </Expression> |
| 2144 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2145 | <Original> |
| 2146 | multiply( j, 2 ) == j*2 |
| 2147 | </Original> |
| 2148 | <Expanded> |
| 2149 | 208 == 208 |
| 2150 | </Expanded> |
| 2151 | </Expression> |
| 2152 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2153 | <Original> |
| 2154 | multiply( i, 2 ) == i*2 |
| 2155 | </Original> |
| 2156 | <Expanded> |
| 2157 | 10 == 10 |
| 2158 | </Expanded> |
| 2159 | </Expression> |
| 2160 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2161 | <Original> |
| 2162 | multiply( j, 2 ) == j*2 |
| 2163 | </Original> |
| 2164 | <Expanded> |
| 2165 | 208 == 208 |
| 2166 | </Expanded> |
| 2167 | </Expression> |
| 2168 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2169 | <Original> |
| 2170 | multiply( i, 2 ) == i*2 |
| 2171 | </Original> |
| 2172 | <Expanded> |
| 2173 | 30 == 30 |
| 2174 | </Expanded> |
| 2175 | </Expression> |
| 2176 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2177 | <Original> |
| 2178 | multiply( j, 2 ) == j*2 |
| 2179 | </Original> |
| 2180 | <Expanded> |
| 2181 | 208 == 208 |
| 2182 | </Expanded> |
| 2183 | </Expression> |
| 2184 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2185 | <Original> |
| 2186 | multiply( i, 2 ) == i*2 |
| 2187 | </Original> |
| 2188 | <Expanded> |
| 2189 | 40 == 40 |
| 2190 | </Expanded> |
| 2191 | </Expression> |
| 2192 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2193 | <Original> |
| 2194 | multiply( j, 2 ) == j*2 |
| 2195 | </Original> |
| 2196 | <Expanded> |
| 2197 | 208 == 208 |
| 2198 | </Expanded> |
| 2199 | </Expression> |
| 2200 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2201 | <Original> |
| 2202 | multiply( i, 2 ) == i*2 |
| 2203 | </Original> |
| 2204 | <Expanded> |
| 2205 | 42 == 42 |
| 2206 | </Expanded> |
| 2207 | </Expression> |
| 2208 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2209 | <Original> |
| 2210 | multiply( j, 2 ) == j*2 |
| 2211 | </Original> |
| 2212 | <Expanded> |
| 2213 | 208 == 208 |
| 2214 | </Expanded> |
| 2215 | </Expression> |
| 2216 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2217 | <Original> |
| 2218 | multiply( i, 2 ) == i*2 |
| 2219 | </Original> |
| 2220 | <Expanded> |
| 2221 | 72 == 72 |
| 2222 | </Expanded> |
| 2223 | </Expression> |
| 2224 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2225 | <Original> |
| 2226 | multiply( j, 2 ) == j*2 |
| 2227 | </Original> |
| 2228 | <Expanded> |
| 2229 | 208 == 208 |
| 2230 | </Expanded> |
| 2231 | </Expression> |
| 2232 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2233 | <Original> |
| 2234 | multiply( i, 2 ) == i*2 |
| 2235 | </Original> |
| 2236 | <Expanded> |
| 2237 | 2 == 2 |
| 2238 | </Expanded> |
| 2239 | </Expression> |
| 2240 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2241 | <Original> |
| 2242 | multiply( j, 2 ) == j*2 |
| 2243 | </Original> |
| 2244 | <Expanded> |
| 2245 | 210 == 210 |
| 2246 | </Expanded> |
| 2247 | </Expression> |
| 2248 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2249 | <Original> |
| 2250 | multiply( i, 2 ) == i*2 |
| 2251 | </Original> |
| 2252 | <Expanded> |
| 2253 | 4 == 4 |
| 2254 | </Expanded> |
| 2255 | </Expression> |
| 2256 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2257 | <Original> |
| 2258 | multiply( j, 2 ) == j*2 |
| 2259 | </Original> |
| 2260 | <Expanded> |
| 2261 | 210 == 210 |
| 2262 | </Expanded> |
| 2263 | </Expression> |
| 2264 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2265 | <Original> |
| 2266 | multiply( i, 2 ) == i*2 |
| 2267 | </Original> |
| 2268 | <Expanded> |
| 2269 | 6 == 6 |
| 2270 | </Expanded> |
| 2271 | </Expression> |
| 2272 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2273 | <Original> |
| 2274 | multiply( j, 2 ) == j*2 |
| 2275 | </Original> |
| 2276 | <Expanded> |
| 2277 | 210 == 210 |
| 2278 | </Expanded> |
| 2279 | </Expression> |
| 2280 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2281 | <Original> |
| 2282 | multiply( i, 2 ) == i*2 |
| 2283 | </Original> |
| 2284 | <Expanded> |
| 2285 | 8 == 8 |
| 2286 | </Expanded> |
| 2287 | </Expression> |
| 2288 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2289 | <Original> |
| 2290 | multiply( j, 2 ) == j*2 |
| 2291 | </Original> |
| 2292 | <Expanded> |
| 2293 | 210 == 210 |
| 2294 | </Expanded> |
| 2295 | </Expression> |
| 2296 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2297 | <Original> |
| 2298 | multiply( i, 2 ) == i*2 |
| 2299 | </Original> |
| 2300 | <Expanded> |
| 2301 | 10 == 10 |
| 2302 | </Expanded> |
| 2303 | </Expression> |
| 2304 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2305 | <Original> |
| 2306 | multiply( j, 2 ) == j*2 |
| 2307 | </Original> |
| 2308 | <Expanded> |
| 2309 | 210 == 210 |
| 2310 | </Expanded> |
| 2311 | </Expression> |
| 2312 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2313 | <Original> |
| 2314 | multiply( i, 2 ) == i*2 |
| 2315 | </Original> |
| 2316 | <Expanded> |
| 2317 | 30 == 30 |
| 2318 | </Expanded> |
| 2319 | </Expression> |
| 2320 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2321 | <Original> |
| 2322 | multiply( j, 2 ) == j*2 |
| 2323 | </Original> |
| 2324 | <Expanded> |
| 2325 | 210 == 210 |
| 2326 | </Expanded> |
| 2327 | </Expression> |
| 2328 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2329 | <Original> |
| 2330 | multiply( i, 2 ) == i*2 |
| 2331 | </Original> |
| 2332 | <Expanded> |
| 2333 | 40 == 40 |
| 2334 | </Expanded> |
| 2335 | </Expression> |
| 2336 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2337 | <Original> |
| 2338 | multiply( j, 2 ) == j*2 |
| 2339 | </Original> |
| 2340 | <Expanded> |
| 2341 | 210 == 210 |
| 2342 | </Expanded> |
| 2343 | </Expression> |
| 2344 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2345 | <Original> |
| 2346 | multiply( i, 2 ) == i*2 |
| 2347 | </Original> |
| 2348 | <Expanded> |
| 2349 | 42 == 42 |
| 2350 | </Expanded> |
| 2351 | </Expression> |
| 2352 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2353 | <Original> |
| 2354 | multiply( j, 2 ) == j*2 |
| 2355 | </Original> |
| 2356 | <Expanded> |
| 2357 | 210 == 210 |
| 2358 | </Expanded> |
| 2359 | </Expression> |
| 2360 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2361 | <Original> |
| 2362 | multiply( i, 2 ) == i*2 |
| 2363 | </Original> |
| 2364 | <Expanded> |
| 2365 | 72 == 72 |
| 2366 | </Expanded> |
| 2367 | </Expression> |
| 2368 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2369 | <Original> |
| 2370 | multiply( j, 2 ) == j*2 |
| 2371 | </Original> |
| 2372 | <Expanded> |
| 2373 | 210 == 210 |
| 2374 | </Expanded> |
| 2375 | </Expression> |
| 2376 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2377 | <Original> |
| 2378 | multiply( i, 2 ) == i*2 |
| 2379 | </Original> |
| 2380 | <Expanded> |
| 2381 | 2 == 2 |
| 2382 | </Expanded> |
| 2383 | </Expression> |
| 2384 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2385 | <Original> |
| 2386 | multiply( j, 2 ) == j*2 |
| 2387 | </Original> |
| 2388 | <Expanded> |
| 2389 | 212 == 212 |
| 2390 | </Expanded> |
| 2391 | </Expression> |
| 2392 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2393 | <Original> |
| 2394 | multiply( i, 2 ) == i*2 |
| 2395 | </Original> |
| 2396 | <Expanded> |
| 2397 | 4 == 4 |
| 2398 | </Expanded> |
| 2399 | </Expression> |
| 2400 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2401 | <Original> |
| 2402 | multiply( j, 2 ) == j*2 |
| 2403 | </Original> |
| 2404 | <Expanded> |
| 2405 | 212 == 212 |
| 2406 | </Expanded> |
| 2407 | </Expression> |
| 2408 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2409 | <Original> |
| 2410 | multiply( i, 2 ) == i*2 |
| 2411 | </Original> |
| 2412 | <Expanded> |
| 2413 | 6 == 6 |
| 2414 | </Expanded> |
| 2415 | </Expression> |
| 2416 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2417 | <Original> |
| 2418 | multiply( j, 2 ) == j*2 |
| 2419 | </Original> |
| 2420 | <Expanded> |
| 2421 | 212 == 212 |
| 2422 | </Expanded> |
| 2423 | </Expression> |
| 2424 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2425 | <Original> |
| 2426 | multiply( i, 2 ) == i*2 |
| 2427 | </Original> |
| 2428 | <Expanded> |
| 2429 | 8 == 8 |
| 2430 | </Expanded> |
| 2431 | </Expression> |
| 2432 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2433 | <Original> |
| 2434 | multiply( j, 2 ) == j*2 |
| 2435 | </Original> |
| 2436 | <Expanded> |
| 2437 | 212 == 212 |
| 2438 | </Expanded> |
| 2439 | </Expression> |
| 2440 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2441 | <Original> |
| 2442 | multiply( i, 2 ) == i*2 |
| 2443 | </Original> |
| 2444 | <Expanded> |
| 2445 | 10 == 10 |
| 2446 | </Expanded> |
| 2447 | </Expression> |
| 2448 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2449 | <Original> |
| 2450 | multiply( j, 2 ) == j*2 |
| 2451 | </Original> |
| 2452 | <Expanded> |
| 2453 | 212 == 212 |
| 2454 | </Expanded> |
| 2455 | </Expression> |
| 2456 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2457 | <Original> |
| 2458 | multiply( i, 2 ) == i*2 |
| 2459 | </Original> |
| 2460 | <Expanded> |
| 2461 | 30 == 30 |
| 2462 | </Expanded> |
| 2463 | </Expression> |
| 2464 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2465 | <Original> |
| 2466 | multiply( j, 2 ) == j*2 |
| 2467 | </Original> |
| 2468 | <Expanded> |
| 2469 | 212 == 212 |
| 2470 | </Expanded> |
| 2471 | </Expression> |
| 2472 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2473 | <Original> |
| 2474 | multiply( i, 2 ) == i*2 |
| 2475 | </Original> |
| 2476 | <Expanded> |
| 2477 | 40 == 40 |
| 2478 | </Expanded> |
| 2479 | </Expression> |
| 2480 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2481 | <Original> |
| 2482 | multiply( j, 2 ) == j*2 |
| 2483 | </Original> |
| 2484 | <Expanded> |
| 2485 | 212 == 212 |
| 2486 | </Expanded> |
| 2487 | </Expression> |
| 2488 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2489 | <Original> |
| 2490 | multiply( i, 2 ) == i*2 |
| 2491 | </Original> |
| 2492 | <Expanded> |
| 2493 | 42 == 42 |
| 2494 | </Expanded> |
| 2495 | </Expression> |
| 2496 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2497 | <Original> |
| 2498 | multiply( j, 2 ) == j*2 |
| 2499 | </Original> |
| 2500 | <Expanded> |
| 2501 | 212 == 212 |
| 2502 | </Expanded> |
| 2503 | </Expression> |
| 2504 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2505 | <Original> |
| 2506 | multiply( i, 2 ) == i*2 |
| 2507 | </Original> |
| 2508 | <Expanded> |
| 2509 | 72 == 72 |
| 2510 | </Expanded> |
| 2511 | </Expression> |
| 2512 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2513 | <Original> |
| 2514 | multiply( j, 2 ) == j*2 |
| 2515 | </Original> |
| 2516 | <Expanded> |
| 2517 | 212 == 212 |
| 2518 | </Expanded> |
| 2519 | </Expression> |
| 2520 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2521 | <Original> |
| 2522 | multiply( i, 2 ) == i*2 |
| 2523 | </Original> |
| 2524 | <Expanded> |
| 2525 | 2 == 2 |
| 2526 | </Expanded> |
| 2527 | </Expression> |
| 2528 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2529 | <Original> |
| 2530 | multiply( j, 2 ) == j*2 |
| 2531 | </Original> |
| 2532 | <Expanded> |
| 2533 | 214 == 214 |
| 2534 | </Expanded> |
| 2535 | </Expression> |
| 2536 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2537 | <Original> |
| 2538 | multiply( i, 2 ) == i*2 |
| 2539 | </Original> |
| 2540 | <Expanded> |
| 2541 | 4 == 4 |
| 2542 | </Expanded> |
| 2543 | </Expression> |
| 2544 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2545 | <Original> |
| 2546 | multiply( j, 2 ) == j*2 |
| 2547 | </Original> |
| 2548 | <Expanded> |
| 2549 | 214 == 214 |
| 2550 | </Expanded> |
| 2551 | </Expression> |
| 2552 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2553 | <Original> |
| 2554 | multiply( i, 2 ) == i*2 |
| 2555 | </Original> |
| 2556 | <Expanded> |
| 2557 | 6 == 6 |
| 2558 | </Expanded> |
| 2559 | </Expression> |
| 2560 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2561 | <Original> |
| 2562 | multiply( j, 2 ) == j*2 |
| 2563 | </Original> |
| 2564 | <Expanded> |
| 2565 | 214 == 214 |
| 2566 | </Expanded> |
| 2567 | </Expression> |
| 2568 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2569 | <Original> |
| 2570 | multiply( i, 2 ) == i*2 |
| 2571 | </Original> |
| 2572 | <Expanded> |
| 2573 | 8 == 8 |
| 2574 | </Expanded> |
| 2575 | </Expression> |
| 2576 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2577 | <Original> |
| 2578 | multiply( j, 2 ) == j*2 |
| 2579 | </Original> |
| 2580 | <Expanded> |
| 2581 | 214 == 214 |
| 2582 | </Expanded> |
| 2583 | </Expression> |
| 2584 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2585 | <Original> |
| 2586 | multiply( i, 2 ) == i*2 |
| 2587 | </Original> |
| 2588 | <Expanded> |
| 2589 | 10 == 10 |
| 2590 | </Expanded> |
| 2591 | </Expression> |
| 2592 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2593 | <Original> |
| 2594 | multiply( j, 2 ) == j*2 |
| 2595 | </Original> |
| 2596 | <Expanded> |
| 2597 | 214 == 214 |
| 2598 | </Expanded> |
| 2599 | </Expression> |
| 2600 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2601 | <Original> |
| 2602 | multiply( i, 2 ) == i*2 |
| 2603 | </Original> |
| 2604 | <Expanded> |
| 2605 | 30 == 30 |
| 2606 | </Expanded> |
| 2607 | </Expression> |
| 2608 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2609 | <Original> |
| 2610 | multiply( j, 2 ) == j*2 |
| 2611 | </Original> |
| 2612 | <Expanded> |
| 2613 | 214 == 214 |
| 2614 | </Expanded> |
| 2615 | </Expression> |
| 2616 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2617 | <Original> |
| 2618 | multiply( i, 2 ) == i*2 |
| 2619 | </Original> |
| 2620 | <Expanded> |
| 2621 | 40 == 40 |
| 2622 | </Expanded> |
| 2623 | </Expression> |
| 2624 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2625 | <Original> |
| 2626 | multiply( j, 2 ) == j*2 |
| 2627 | </Original> |
| 2628 | <Expanded> |
| 2629 | 214 == 214 |
| 2630 | </Expanded> |
| 2631 | </Expression> |
| 2632 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2633 | <Original> |
| 2634 | multiply( i, 2 ) == i*2 |
| 2635 | </Original> |
| 2636 | <Expanded> |
| 2637 | 42 == 42 |
| 2638 | </Expanded> |
| 2639 | </Expression> |
| 2640 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2641 | <Original> |
| 2642 | multiply( j, 2 ) == j*2 |
| 2643 | </Original> |
| 2644 | <Expanded> |
| 2645 | 214 == 214 |
| 2646 | </Expanded> |
| 2647 | </Expression> |
| 2648 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2649 | <Original> |
| 2650 | multiply( i, 2 ) == i*2 |
| 2651 | </Original> |
| 2652 | <Expanded> |
| 2653 | 72 == 72 |
| 2654 | </Expanded> |
| 2655 | </Expression> |
| 2656 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2657 | <Original> |
| 2658 | multiply( j, 2 ) == j*2 |
| 2659 | </Original> |
| 2660 | <Expanded> |
| 2661 | 214 == 214 |
| 2662 | </Expanded> |
| 2663 | </Expression> |
| 2664 | <OverallResult success="true"/> |
| 2665 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2666 | <TestCase name="Generator over a range of pairs"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2667 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2668 | <Original> |
| 2669 | i->first == i->second-1 |
| 2670 | </Original> |
| 2671 | <Expanded> |
| 2672 | 0 == 0 |
| 2673 | </Expanded> |
| 2674 | </Expression> |
| 2675 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/GeneratorTests.cpp" > |
| 2676 | <Original> |
| 2677 | i->first == i->second-1 |
| 2678 | </Original> |
| 2679 | <Expanded> |
| 2680 | 2 == 2 |
| 2681 | </Expanded> |
| 2682 | </Expression> |
| 2683 | <OverallResult success="true"/> |
| 2684 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2685 | <TestCase name="INFO and WARN do not abort tests"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2686 | <Info> |
| 2687 | this is a message |
| 2688 | </Info> |
| 2689 | <Warning> |
| 2690 | this is a warning |
| 2691 | </Warning> |
| 2692 | <OverallResult success="true"/> |
| 2693 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2694 | <TestCase name="SUCCEED counts as a test pass"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2695 | <OverallResult success="true"/> |
| 2696 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2697 | <TestCase name="INFO gets logged on failure"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2698 | <Info> |
| 2699 | this message should be logged |
| 2700 | </Info> |
| 2701 | <Info> |
| 2702 | so should this |
| 2703 | </Info> |
| 2704 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp" > |
| 2705 | <Original> |
| 2706 | a == 1 |
| 2707 | </Original> |
| 2708 | <Expanded> |
| 2709 | 2 == 1 |
| 2710 | </Expanded> |
| 2711 | </Expression> |
| 2712 | <OverallResult success="false"/> |
| 2713 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2714 | <TestCase name="INFO gets logged on failure, even if captured before successful assertions"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2715 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp" > |
| 2716 | <Original> |
| 2717 | a == 2 |
| 2718 | </Original> |
| 2719 | <Expanded> |
| 2720 | 2 == 2 |
| 2721 | </Expanded> |
| 2722 | </Expression> |
| 2723 | <Info> |
| 2724 | this message should be logged |
| 2725 | </Info> |
| 2726 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp" > |
| 2727 | <Original> |
| 2728 | a == 1 |
| 2729 | </Original> |
| 2730 | <Expanded> |
| 2731 | 2 == 1 |
| 2732 | </Expanded> |
| 2733 | </Expression> |
| 2734 | <Info> |
| 2735 | and this, but later |
| 2736 | </Info> |
| 2737 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp" > |
| 2738 | <Original> |
| 2739 | a == 0 |
| 2740 | </Original> |
| 2741 | <Expanded> |
| 2742 | 2 == 0 |
| 2743 | </Expanded> |
| 2744 | </Expression> |
| 2745 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp" > |
| 2746 | <Original> |
| 2747 | a == 2 |
| 2748 | </Original> |
| 2749 | <Expanded> |
| 2750 | 2 == 2 |
| 2751 | </Expanded> |
| 2752 | </Expression> |
| 2753 | <OverallResult success="false"/> |
| 2754 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2755 | <TestCase name="FAIL aborts the test"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2756 | <Failure> |
| 2757 | This is a failure |
| 2758 | </Failure> |
| 2759 | <OverallResult success="false"/> |
| 2760 | </TestCase> |
Phil Nash | 859760a | 2013-12-14 14:34:05 +0000 | [diff] [blame] | 2761 | <TestCase name="FAIL does not require an argument"> |
| 2762 | <Failure/> |
| 2763 | <OverallResult success="false"/> |
| 2764 | </TestCase> |
Phil Nash | 557b3bd | 2013-12-14 23:16:03 +0000 | [diff] [blame] | 2765 | <TestCase name="SUCCESS does not require an argument"> |
| 2766 | <OverallResult success="true"/> |
| 2767 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2768 | <TestCase name="Output from all sections is reported"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2769 | <Section name="one"> |
| 2770 | <Failure> |
| 2771 | Message from section one |
| 2772 | </Failure> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2773 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2774 | </Section> |
| 2775 | <Section name="two"> |
| 2776 | <Failure> |
| 2777 | Message from section two |
| 2778 | </Failure> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2779 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2780 | </Section> |
| 2781 | <OverallResult success="false"/> |
| 2782 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2783 | <TestCase name="Standard output from all sections is reported"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2784 | <Section name="one"> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2785 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2786 | </Section> |
| 2787 | <Section name="two"> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2788 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2789 | </Section> |
| 2790 | <OverallResult success="true"/> |
| 2791 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2792 | <TestCase name="SCOPED_INFO is reset for each loop"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2793 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp" > |
| 2794 | <Original> |
| 2795 | i < 10 |
| 2796 | </Original> |
| 2797 | <Expanded> |
| 2798 | 0 < 10 |
| 2799 | </Expanded> |
| 2800 | </Expression> |
| 2801 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp" > |
| 2802 | <Original> |
| 2803 | i < 10 |
| 2804 | </Original> |
| 2805 | <Expanded> |
| 2806 | 1 < 10 |
| 2807 | </Expanded> |
| 2808 | </Expression> |
| 2809 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp" > |
| 2810 | <Original> |
| 2811 | i < 10 |
| 2812 | </Original> |
| 2813 | <Expanded> |
| 2814 | 2 < 10 |
| 2815 | </Expanded> |
| 2816 | </Expression> |
| 2817 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp" > |
| 2818 | <Original> |
| 2819 | i < 10 |
| 2820 | </Original> |
| 2821 | <Expanded> |
| 2822 | 3 < 10 |
| 2823 | </Expanded> |
| 2824 | </Expression> |
| 2825 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp" > |
| 2826 | <Original> |
| 2827 | i < 10 |
| 2828 | </Original> |
| 2829 | <Expanded> |
| 2830 | 4 < 10 |
| 2831 | </Expanded> |
| 2832 | </Expression> |
| 2833 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp" > |
| 2834 | <Original> |
| 2835 | i < 10 |
| 2836 | </Original> |
| 2837 | <Expanded> |
| 2838 | 5 < 10 |
| 2839 | </Expanded> |
| 2840 | </Expression> |
| 2841 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp" > |
| 2842 | <Original> |
| 2843 | i < 10 |
| 2844 | </Original> |
| 2845 | <Expanded> |
| 2846 | 6 < 10 |
| 2847 | </Expanded> |
| 2848 | </Expression> |
| 2849 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp" > |
| 2850 | <Original> |
| 2851 | i < 10 |
| 2852 | </Original> |
| 2853 | <Expanded> |
| 2854 | 7 < 10 |
| 2855 | </Expanded> |
| 2856 | </Expression> |
| 2857 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp" > |
| 2858 | <Original> |
| 2859 | i < 10 |
| 2860 | </Original> |
| 2861 | <Expanded> |
| 2862 | 8 < 10 |
| 2863 | </Expanded> |
| 2864 | </Expression> |
| 2865 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp" > |
| 2866 | <Original> |
| 2867 | i < 10 |
| 2868 | </Original> |
| 2869 | <Expanded> |
| 2870 | 9 < 10 |
| 2871 | </Expanded> |
| 2872 | </Expression> |
| 2873 | <Info> |
| 2874 | current counter 10 |
| 2875 | </Info> |
| 2876 | <Info> |
| 2877 | i := 10 |
| 2878 | </Info> |
| 2879 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp" > |
| 2880 | <Original> |
| 2881 | i < 10 |
| 2882 | </Original> |
| 2883 | <Expanded> |
| 2884 | 10 < 10 |
| 2885 | </Expanded> |
| 2886 | </Expression> |
| 2887 | <OverallResult success="false"/> |
| 2888 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2889 | <TestCase name="The NO_FAIL macro reports a failure but does not fail the test"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2890 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp" > |
| 2891 | <Original> |
| 2892 | 1 == 2 |
| 2893 | </Original> |
| 2894 | <Expanded> |
| 2895 | 1 == 2 |
| 2896 | </Expanded> |
| 2897 | </Expression> |
| 2898 | <OverallResult success="false"/> |
| 2899 | </TestCase> |
| 2900 | <TestCase name="just info"> |
| 2901 | <OverallResult success="true"/> |
| 2902 | </TestCase> |
| 2903 | <TestCase name="just failure"> |
| 2904 | <Failure> |
| 2905 | Previous info should not be seen |
| 2906 | </Failure> |
| 2907 | <OverallResult success="false"/> |
| 2908 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2909 | <TestCase name="sends information to INFO"> |
| 2910 | <Info> |
| 2911 | hi |
| 2912 | </Info> |
| 2913 | <Info> |
| 2914 | i := 7 |
| 2915 | </Info> |
| 2916 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MessageTests.cpp" > |
| 2917 | <Original> |
| 2918 | false |
| 2919 | </Original> |
| 2920 | <Expanded> |
| 2921 | false |
| 2922 | </Expanded> |
| 2923 | </Expression> |
| 2924 | <OverallResult success="false"/> |
| 2925 | </TestCase> |
Phil Nash | 1479681 | 2014-05-23 18:55:05 +0100 | [diff] [blame] | 2926 | <TestCase name="Pointers can be converted to strings"> |
| 2927 | <Warning> |
| 2928 | actual address of p: 0x<hex digits> |
| 2929 | </Warning> |
| 2930 | <Warning> |
| 2931 | toString(p): 0x<hex digits> |
| 2932 | </Warning> |
| 2933 | <OverallResult success="true"/> |
| 2934 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2935 | <TestCase name="random SECTION tests"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2936 | <Section name="s1" description="doesn't equal"> |
| 2937 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 2938 | <Original> |
| 2939 | a != b |
| 2940 | </Original> |
| 2941 | <Expanded> |
| 2942 | 1 != 2 |
| 2943 | </Expanded> |
| 2944 | </Expression> |
| 2945 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 2946 | <Original> |
| 2947 | b != a |
| 2948 | </Original> |
| 2949 | <Expanded> |
| 2950 | 2 != 1 |
| 2951 | </Expanded> |
| 2952 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2953 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2954 | </Section> |
| 2955 | <Section name="s2" description="not equal"> |
| 2956 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 2957 | <Original> |
| 2958 | a != b |
| 2959 | </Original> |
| 2960 | <Expanded> |
| 2961 | 1 != 2 |
| 2962 | </Expanded> |
| 2963 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2964 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2965 | </Section> |
| 2966 | <OverallResult success="true"/> |
| 2967 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2968 | <TestCase name="nested SECTION tests"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2969 | <Section name="s1" description="doesn't equal"> |
| 2970 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 2971 | <Original> |
| 2972 | a != b |
| 2973 | </Original> |
| 2974 | <Expanded> |
| 2975 | 1 != 2 |
| 2976 | </Expanded> |
| 2977 | </Expression> |
| 2978 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 2979 | <Original> |
| 2980 | b != a |
| 2981 | </Original> |
| 2982 | <Expanded> |
| 2983 | 2 != 1 |
| 2984 | </Expanded> |
| 2985 | </Expression> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2986 | <Section name="s2" description="not equal"> |
| 2987 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 2988 | <Original> |
| 2989 | a != b |
| 2990 | </Original> |
| 2991 | <Expanded> |
| 2992 | 1 != 2 |
| 2993 | </Expanded> |
| 2994 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2995 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2996 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2997 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2998 | </Section> |
| 2999 | <OverallResult success="true"/> |
| 3000 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3001 | <TestCase name="more nested SECTION tests"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3002 | <Section name="s1" description="doesn't equal"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3003 | <Section name="s2" description="equal"> |
| 3004 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3005 | <Original> |
| 3006 | a == b |
| 3007 | </Original> |
| 3008 | <Expanded> |
| 3009 | 1 == 2 |
| 3010 | </Expanded> |
| 3011 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3012 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3013 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3014 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3015 | </Section> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3016 | <OverallResult success="false"/> |
| 3017 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3018 | <TestCase name="even more nested SECTION tests"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3019 | <Section name="c"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3020 | <Section name="d (leaf)"> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3021 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3022 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3023 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3024 | </Section> |
| 3025 | <Section name="c"> |
| 3026 | <Section name="e (leaf)"> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3027 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3028 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3029 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3030 | </Section> |
| 3031 | <Section name="f (leaf)"> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3032 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3033 | </Section> |
| 3034 | <OverallResult success="true"/> |
| 3035 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3036 | <TestCase name="looped SECTION tests"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3037 | <Section name="s1" description="b is currently: 0"> |
| 3038 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3039 | <Original> |
| 3040 | b > a |
| 3041 | </Original> |
| 3042 | <Expanded> |
| 3043 | 0 > 1 |
| 3044 | </Expanded> |
| 3045 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3046 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3047 | </Section> |
| 3048 | <OverallResult success="false"/> |
| 3049 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3050 | <TestCase name="looped tests"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3051 | <Info> |
| 3052 | Testing if fib[0] (1) is even |
| 3053 | </Info> |
| 3054 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3055 | <Original> |
| 3056 | ( fib[i] % 2 ) == 0 |
| 3057 | </Original> |
| 3058 | <Expanded> |
| 3059 | 1 == 0 |
| 3060 | </Expanded> |
| 3061 | </Expression> |
| 3062 | <Info> |
| 3063 | Testing if fib[1] (1) is even |
| 3064 | </Info> |
| 3065 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3066 | <Original> |
| 3067 | ( fib[i] % 2 ) == 0 |
| 3068 | </Original> |
| 3069 | <Expanded> |
| 3070 | 1 == 0 |
| 3071 | </Expanded> |
| 3072 | </Expression> |
| 3073 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3074 | <Original> |
| 3075 | ( fib[i] % 2 ) == 0 |
| 3076 | </Original> |
| 3077 | <Expanded> |
| 3078 | 0 == 0 |
| 3079 | </Expanded> |
| 3080 | </Expression> |
| 3081 | <Info> |
| 3082 | Testing if fib[3] (3) is even |
| 3083 | </Info> |
| 3084 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3085 | <Original> |
| 3086 | ( fib[i] % 2 ) == 0 |
| 3087 | </Original> |
| 3088 | <Expanded> |
| 3089 | 1 == 0 |
| 3090 | </Expanded> |
| 3091 | </Expression> |
| 3092 | <Info> |
| 3093 | Testing if fib[4] (5) is even |
| 3094 | </Info> |
| 3095 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3096 | <Original> |
| 3097 | ( fib[i] % 2 ) == 0 |
| 3098 | </Original> |
| 3099 | <Expanded> |
| 3100 | 1 == 0 |
| 3101 | </Expanded> |
| 3102 | </Expression> |
| 3103 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3104 | <Original> |
| 3105 | ( fib[i] % 2 ) == 0 |
| 3106 | </Original> |
| 3107 | <Expanded> |
| 3108 | 0 == 0 |
| 3109 | </Expanded> |
| 3110 | </Expression> |
| 3111 | <Info> |
| 3112 | Testing if fib[6] (13) is even |
| 3113 | </Info> |
| 3114 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3115 | <Original> |
| 3116 | ( fib[i] % 2 ) == 0 |
| 3117 | </Original> |
| 3118 | <Expanded> |
| 3119 | 1 == 0 |
| 3120 | </Expanded> |
| 3121 | </Expression> |
| 3122 | <Info> |
| 3123 | Testing if fib[7] (21) is even |
| 3124 | </Info> |
| 3125 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3126 | <Original> |
| 3127 | ( fib[i] % 2 ) == 0 |
| 3128 | </Original> |
| 3129 | <Expanded> |
| 3130 | 1 == 0 |
| 3131 | </Expanded> |
| 3132 | </Expression> |
| 3133 | <OverallResult success="false"/> |
| 3134 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3135 | <TestCase name="Sends stuff to stdout and stderr"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3136 | <OverallResult success="true"/> |
| 3137 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3138 | <TestCase name="null strings"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3139 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3140 | <Original> |
| 3141 | makeString( false ) != static_cast<char*>(__null) |
| 3142 | </Original> |
| 3143 | <Expanded> |
| 3144 | "valid string" != {null string} |
| 3145 | </Expanded> |
| 3146 | </Expression> |
| 3147 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3148 | <Original> |
| 3149 | makeString( true ) == static_cast<char*>(__null) |
| 3150 | </Original> |
| 3151 | <Expanded> |
| 3152 | {null string} == {null string} |
| 3153 | </Expanded> |
| 3154 | </Expression> |
| 3155 | <OverallResult success="true"/> |
| 3156 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3157 | <TestCase name="checkedIf"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3158 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3159 | <Original> |
| 3160 | flag |
| 3161 | </Original> |
| 3162 | <Expanded> |
| 3163 | true |
| 3164 | </Expanded> |
| 3165 | </Expression> |
| 3166 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3167 | <Original> |
| 3168 | testCheckedIf( true ) |
| 3169 | </Original> |
| 3170 | <Expanded> |
| 3171 | true |
| 3172 | </Expanded> |
| 3173 | </Expression> |
| 3174 | <OverallResult success="true"/> |
| 3175 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3176 | <TestCase name="checkedIf, failing"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3177 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3178 | <Original> |
| 3179 | flag |
| 3180 | </Original> |
| 3181 | <Expanded> |
| 3182 | false |
| 3183 | </Expanded> |
| 3184 | </Expression> |
| 3185 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3186 | <Original> |
| 3187 | testCheckedIf( false ) |
| 3188 | </Original> |
| 3189 | <Expanded> |
| 3190 | false |
| 3191 | </Expanded> |
| 3192 | </Expression> |
| 3193 | <OverallResult success="false"/> |
| 3194 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3195 | <TestCase name="checkedElse"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3196 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3197 | <Original> |
| 3198 | flag |
| 3199 | </Original> |
| 3200 | <Expanded> |
| 3201 | true |
| 3202 | </Expanded> |
| 3203 | </Expression> |
| 3204 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3205 | <Original> |
| 3206 | testCheckedElse( true ) |
| 3207 | </Original> |
| 3208 | <Expanded> |
| 3209 | true |
| 3210 | </Expanded> |
| 3211 | </Expression> |
| 3212 | <OverallResult success="true"/> |
| 3213 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3214 | <TestCase name="checkedElse, failing"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3215 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3216 | <Original> |
| 3217 | flag |
| 3218 | </Original> |
| 3219 | <Expanded> |
| 3220 | false |
| 3221 | </Expanded> |
| 3222 | </Expression> |
| 3223 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3224 | <Original> |
| 3225 | testCheckedElse( false ) |
| 3226 | </Original> |
| 3227 | <Expanded> |
| 3228 | false |
| 3229 | </Expanded> |
| 3230 | </Expression> |
| 3231 | <OverallResult success="false"/> |
| 3232 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3233 | <TestCase name="xmlentitycheck"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3234 | <Section name="embedded xml" description="<test>it should be possible to embed xml characters, such as <, " or &, or even whole <xml>documents</xml> within an attribute</test>"> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3235 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3236 | </Section> |
| 3237 | <Section name="encoded chars" description="these should all be encoded: &&&"""<<<&"<<&""> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3238 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3239 | </Section> |
| 3240 | <OverallResult success="true"/> |
| 3241 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3242 | <TestCase name="send a single char to INFO"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3243 | <Info> |
| 3244 | 3 |
| 3245 | </Info> |
| 3246 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3247 | <Original> |
| 3248 | false |
| 3249 | </Original> |
| 3250 | <Expanded> |
| 3251 | false |
| 3252 | </Expanded> |
| 3253 | </Expression> |
| 3254 | <OverallResult success="false"/> |
| 3255 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3256 | <TestCase name="atomic if"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3257 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3258 | <Original> |
| 3259 | x == 0 |
| 3260 | </Original> |
| 3261 | <Expanded> |
| 3262 | 0 == 0 |
| 3263 | </Expanded> |
| 3264 | </Expression> |
| 3265 | <OverallResult success="true"/> |
| 3266 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3267 | <TestCase name="String matchers"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3268 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3269 | <Original> |
| 3270 | testStringForMatching() Contains( "string" ) |
| 3271 | </Original> |
| 3272 | <Expanded> |
| 3273 | "this string contains 'abc' as a substring" contains: "string" |
| 3274 | </Expanded> |
| 3275 | </Expression> |
| 3276 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3277 | <Original> |
| 3278 | testStringForMatching() Contains( "abc" ) |
| 3279 | </Original> |
| 3280 | <Expanded> |
| 3281 | "this string contains 'abc' as a substring" contains: "abc" |
| 3282 | </Expanded> |
| 3283 | </Expression> |
| 3284 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3285 | <Original> |
| 3286 | testStringForMatching() StartsWith( "this" ) |
| 3287 | </Original> |
| 3288 | <Expanded> |
| 3289 | "this string contains 'abc' as a substring" starts with: "this" |
| 3290 | </Expanded> |
| 3291 | </Expression> |
| 3292 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3293 | <Original> |
| 3294 | testStringForMatching() EndsWith( "substring" ) |
| 3295 | </Original> |
| 3296 | <Expanded> |
| 3297 | "this string contains 'abc' as a substring" ends with: "substring" |
| 3298 | </Expanded> |
| 3299 | </Expression> |
| 3300 | <OverallResult success="true"/> |
| 3301 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3302 | <TestCase name="Contains string matcher"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3303 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3304 | <Original> |
| 3305 | testStringForMatching() Contains( "not there" ) |
| 3306 | </Original> |
| 3307 | <Expanded> |
| 3308 | "this string contains 'abc' as a substring" contains: "not there" |
| 3309 | </Expanded> |
| 3310 | </Expression> |
| 3311 | <OverallResult success="false"/> |
| 3312 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3313 | <TestCase name="StartsWith string matcher"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3314 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3315 | <Original> |
| 3316 | testStringForMatching() StartsWith( "string" ) |
| 3317 | </Original> |
| 3318 | <Expanded> |
| 3319 | "this string contains 'abc' as a substring" starts with: "string" |
| 3320 | </Expanded> |
| 3321 | </Expression> |
| 3322 | <OverallResult success="false"/> |
| 3323 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3324 | <TestCase name="EndsWith string matcher"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3325 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3326 | <Original> |
| 3327 | testStringForMatching() EndsWith( "this" ) |
| 3328 | </Original> |
| 3329 | <Expanded> |
| 3330 | "this string contains 'abc' as a substring" ends with: "this" |
| 3331 | </Expanded> |
| 3332 | </Expression> |
| 3333 | <OverallResult success="false"/> |
| 3334 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3335 | <TestCase name="Equals string matcher"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3336 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3337 | <Original> |
| 3338 | testStringForMatching() Equals( "something else" ) |
| 3339 | </Original> |
| 3340 | <Expanded> |
| 3341 | "this string contains 'abc' as a substring" equals: "something else" |
| 3342 | </Expanded> |
| 3343 | </Expression> |
| 3344 | <OverallResult success="false"/> |
| 3345 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3346 | <TestCase name="Equals string matcher, with NULL"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3347 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3348 | <Original> |
| 3349 | "" Equals(__null) |
| 3350 | </Original> |
| 3351 | <Expanded> |
| 3352 | "" equals: "" |
| 3353 | </Expanded> |
| 3354 | </Expression> |
| 3355 | <OverallResult success="true"/> |
| 3356 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3357 | <TestCase name="AllOf matcher"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3358 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3359 | <Original> |
| 3360 | testStringForMatching() AllOf( Catch::Contains( "string" ), Catch::Contains( "abc" ) ) |
| 3361 | </Original> |
| 3362 | <Expanded> |
| 3363 | "this string contains 'abc' as a substring" ( contains: "string" and contains: "abc" ) |
| 3364 | </Expanded> |
| 3365 | </Expression> |
| 3366 | <OverallResult success="true"/> |
| 3367 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3368 | <TestCase name="AnyOf matcher"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3369 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3370 | <Original> |
| 3371 | testStringForMatching() AnyOf( Catch::Contains( "string" ), Catch::Contains( "not there" ) ) |
| 3372 | </Original> |
| 3373 | <Expanded> |
| 3374 | "this string contains 'abc' as a substring" ( contains: "string" or contains: "not there" ) |
| 3375 | </Expanded> |
| 3376 | </Expression> |
| 3377 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3378 | <Original> |
| 3379 | testStringForMatching() AnyOf( Catch::Contains( "not there" ), Catch::Contains( "string" ) ) |
| 3380 | </Original> |
| 3381 | <Expanded> |
| 3382 | "this string contains 'abc' as a substring" ( contains: "not there" or contains: "string" ) |
| 3383 | </Expanded> |
| 3384 | </Expression> |
| 3385 | <OverallResult success="true"/> |
| 3386 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3387 | <TestCase name="Equals"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3388 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3389 | <Original> |
| 3390 | testStringForMatching() Equals( "this string contains 'abc' as a substring" ) |
| 3391 | </Original> |
| 3392 | <Expanded> |
| 3393 | "this string contains 'abc' as a substring" equals: "this string contains 'abc' as a substring" |
| 3394 | </Expanded> |
| 3395 | </Expression> |
| 3396 | <OverallResult success="true"/> |
| 3397 | </TestCase> |
| 3398 | <TestCase name="Factorials are computed"> |
| 3399 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3400 | <Original> |
| 3401 | Factorial(0) == 1 |
| 3402 | </Original> |
| 3403 | <Expanded> |
| 3404 | 1 == 1 |
| 3405 | </Expanded> |
| 3406 | </Expression> |
| 3407 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3408 | <Original> |
| 3409 | Factorial(1) == 1 |
| 3410 | </Original> |
| 3411 | <Expanded> |
| 3412 | 1 == 1 |
| 3413 | </Expanded> |
| 3414 | </Expression> |
| 3415 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3416 | <Original> |
| 3417 | Factorial(2) == 2 |
| 3418 | </Original> |
| 3419 | <Expanded> |
| 3420 | 2 == 2 |
| 3421 | </Expanded> |
| 3422 | </Expression> |
| 3423 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3424 | <Original> |
| 3425 | Factorial(3) == 6 |
| 3426 | </Original> |
| 3427 | <Expanded> |
| 3428 | 6 == 6 |
| 3429 | </Expanded> |
| 3430 | </Expression> |
| 3431 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3432 | <Original> |
| 3433 | Factorial(10) == 3628800 |
| 3434 | </Original> |
| 3435 | <Expanded> |
| 3436 | 0x<hex digits> == 3628800 |
| 3437 | </Expanded> |
| 3438 | </Expression> |
| 3439 | <OverallResult success="true"/> |
| 3440 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3441 | <TestCase name="An empty test with no assertions"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3442 | <OverallResult success="true"/> |
| 3443 | </TestCase> |
| 3444 | <TestCase name="Nice descriptive name"> |
| 3445 | <Warning> |
| 3446 | This one ran |
| 3447 | </Warning> |
| 3448 | <OverallResult success="true"/> |
| 3449 | </TestCase> |
| 3450 | <TestCase name="first tag"> |
| 3451 | <OverallResult success="true"/> |
| 3452 | </TestCase> |
| 3453 | <TestCase name="second tag"> |
| 3454 | <OverallResult success="true"/> |
| 3455 | </TestCase> |
| 3456 | <TestCase name="vectors can be sized and resized"> |
| 3457 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3458 | <Original> |
| 3459 | v.size() == 5 |
| 3460 | </Original> |
| 3461 | <Expanded> |
| 3462 | 5 == 5 |
| 3463 | </Expanded> |
| 3464 | </Expression> |
| 3465 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3466 | <Original> |
| 3467 | v.capacity() >= 5 |
| 3468 | </Original> |
| 3469 | <Expanded> |
| 3470 | 5 >= 5 |
| 3471 | </Expanded> |
| 3472 | </Expression> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3473 | <Section name="resizing bigger changes size and capacity"> |
| 3474 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3475 | <Original> |
| 3476 | v.size() == 10 |
| 3477 | </Original> |
| 3478 | <Expanded> |
| 3479 | 10 == 10 |
| 3480 | </Expanded> |
| 3481 | </Expression> |
| 3482 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3483 | <Original> |
| 3484 | v.capacity() >= 10 |
| 3485 | </Original> |
| 3486 | <Expanded> |
| 3487 | 10 >= 10 |
| 3488 | </Expanded> |
| 3489 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3490 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3491 | </Section> |
| 3492 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3493 | <Original> |
| 3494 | v.size() == 5 |
| 3495 | </Original> |
| 3496 | <Expanded> |
| 3497 | 5 == 5 |
| 3498 | </Expanded> |
| 3499 | </Expression> |
| 3500 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3501 | <Original> |
| 3502 | v.capacity() >= 5 |
| 3503 | </Original> |
| 3504 | <Expanded> |
| 3505 | 5 >= 5 |
| 3506 | </Expanded> |
| 3507 | </Expression> |
| 3508 | <Section name="resizing smaller changes size but not capacity"> |
| 3509 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3510 | <Original> |
| 3511 | v.size() == 0 |
| 3512 | </Original> |
| 3513 | <Expanded> |
| 3514 | 0 == 0 |
| 3515 | </Expanded> |
| 3516 | </Expression> |
| 3517 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3518 | <Original> |
| 3519 | v.capacity() >= 5 |
| 3520 | </Original> |
| 3521 | <Expanded> |
| 3522 | 5 >= 5 |
| 3523 | </Expanded> |
| 3524 | </Expression> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3525 | <Section name="We can use the 'swap trick' to reset the capacity"> |
| 3526 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3527 | <Original> |
| 3528 | v.capacity() == 0 |
| 3529 | </Original> |
| 3530 | <Expanded> |
| 3531 | 0 == 0 |
| 3532 | </Expanded> |
| 3533 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3534 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3535 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3536 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3537 | </Section> |
| 3538 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3539 | <Original> |
| 3540 | v.size() == 5 |
| 3541 | </Original> |
| 3542 | <Expanded> |
| 3543 | 5 == 5 |
| 3544 | </Expanded> |
| 3545 | </Expression> |
| 3546 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3547 | <Original> |
| 3548 | v.capacity() >= 5 |
| 3549 | </Original> |
| 3550 | <Expanded> |
| 3551 | 5 >= 5 |
| 3552 | </Expanded> |
| 3553 | </Expression> |
| 3554 | <Section name="reserving bigger changes capacity but not size"> |
| 3555 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3556 | <Original> |
| 3557 | v.size() == 5 |
| 3558 | </Original> |
| 3559 | <Expanded> |
| 3560 | 5 == 5 |
| 3561 | </Expanded> |
| 3562 | </Expression> |
| 3563 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3564 | <Original> |
| 3565 | v.capacity() >= 10 |
| 3566 | </Original> |
| 3567 | <Expanded> |
| 3568 | 10 >= 10 |
| 3569 | </Expanded> |
| 3570 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3571 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3572 | </Section> |
| 3573 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3574 | <Original> |
| 3575 | v.size() == 5 |
| 3576 | </Original> |
| 3577 | <Expanded> |
| 3578 | 5 == 5 |
| 3579 | </Expanded> |
| 3580 | </Expression> |
| 3581 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3582 | <Original> |
| 3583 | v.capacity() >= 5 |
| 3584 | </Original> |
| 3585 | <Expanded> |
| 3586 | 5 >= 5 |
| 3587 | </Expanded> |
| 3588 | </Expression> |
| 3589 | <Section name="reserving smaller does not change size or capacity"> |
| 3590 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3591 | <Original> |
| 3592 | v.size() == 5 |
| 3593 | </Original> |
| 3594 | <Expanded> |
| 3595 | 5 == 5 |
| 3596 | </Expanded> |
| 3597 | </Expression> |
| 3598 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3599 | <Original> |
| 3600 | v.capacity() >= 5 |
| 3601 | </Original> |
| 3602 | <Expanded> |
| 3603 | 5 >= 5 |
| 3604 | </Expanded> |
| 3605 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3606 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3607 | </Section> |
| 3608 | <OverallResult success="true"/> |
| 3609 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 3610 | <TestCase name="A couple of nested sections followed by a failure"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3611 | <Section name="Outer"> |
| 3612 | <Section name="Inner"> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3613 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3614 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3615 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3616 | </Section> |
| 3617 | <Failure> |
| 3618 | to infinity and beyond |
| 3619 | </Failure> |
| 3620 | <OverallResult success="false"/> |
| 3621 | </TestCase> |
Phil Nash | 20cad7c | 2014-04-15 18:44:37 +0100 | [diff] [blame] | 3622 | <TestCase name="not allowed"> |
| 3623 | <OverallResult success="true"/> |
| 3624 | </TestCase> |
Phil Nash | 31caba4 | 2014-04-23 07:07:27 +0100 | [diff] [blame] | 3625 | <TestCase name="Tabs and newlines show in output"> |
| 3626 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" > |
| 3627 | <Original> |
| 3628 | s1 == s2 |
| 3629 | </Original> |
| 3630 | <Expanded> |
| 3631 | "if ($b == 10) { |
| 3632 | $a = 20; |
| 3633 | }" |
| 3634 | == |
| 3635 | "if ($b == 10) { |
| 3636 | $a = 20; |
| 3637 | } |
| 3638 | " |
| 3639 | </Expanded> |
| 3640 | </Expression> |
| 3641 | <OverallResult success="false"/> |
| 3642 | </TestCase> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3643 | <TestCase name="Process can be configured on command line"> |
| 3644 | <Section name="default - no arguments"> |
| 3645 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3646 | <Original> |
| 3647 | parseIntoConfig( argv, config ) |
| 3648 | </Original> |
| 3649 | <Expanded> |
| 3650 | parseIntoConfig( argv, config ) |
| 3651 | </Expanded> |
| 3652 | </Expression> |
| 3653 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3654 | <Original> |
| 3655 | config.shouldDebugBreak == false |
| 3656 | </Original> |
| 3657 | <Expanded> |
| 3658 | false == false |
| 3659 | </Expanded> |
| 3660 | </Expression> |
| 3661 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3662 | <Original> |
| 3663 | config.abortAfter == -1 |
| 3664 | </Original> |
| 3665 | <Expanded> |
| 3666 | -1 == -1 |
| 3667 | </Expanded> |
| 3668 | </Expression> |
| 3669 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3670 | <Original> |
| 3671 | config.noThrow == false |
| 3672 | </Original> |
| 3673 | <Expanded> |
| 3674 | false == false |
| 3675 | </Expanded> |
| 3676 | </Expression> |
| 3677 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3678 | <Original> |
| 3679 | config.reporterName.empty() |
| 3680 | </Original> |
| 3681 | <Expanded> |
| 3682 | true |
| 3683 | </Expanded> |
| 3684 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3685 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3686 | </Section> |
| 3687 | <Section name="test lists"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3688 | <Section name="1 test" description="Specify one test case using"> |
| 3689 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3690 | <Original> |
| 3691 | parseIntoConfig( argv, config ) |
| 3692 | </Original> |
| 3693 | <Expanded> |
| 3694 | parseIntoConfig( argv, config ) |
| 3695 | </Expanded> |
| 3696 | </Expression> |
| 3697 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3698 | <Original> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 3699 | cfg.testSpec().matches( fakeTestCase( "notIncluded" ) ) == false |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3700 | </Original> |
| 3701 | <Expanded> |
| 3702 | false == false |
| 3703 | </Expanded> |
| 3704 | </Expression> |
| 3705 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3706 | <Original> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 3707 | cfg.testSpec().matches( fakeTestCase( "test1" ) ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3708 | </Original> |
| 3709 | <Expanded> |
| 3710 | true |
| 3711 | </Expanded> |
| 3712 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3713 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3714 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3715 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3716 | </Section> |
| 3717 | <Section name="test lists"> |
| 3718 | <Section name="Specify one test case exclusion using exclude:"> |
| 3719 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3720 | <Original> |
| 3721 | parseIntoConfig( argv, config ) |
| 3722 | </Original> |
| 3723 | <Expanded> |
| 3724 | parseIntoConfig( argv, config ) |
| 3725 | </Expanded> |
| 3726 | </Expression> |
| 3727 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3728 | <Original> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 3729 | cfg.testSpec().matches( fakeTestCase( "test1" ) ) == false |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3730 | </Original> |
| 3731 | <Expanded> |
| 3732 | false == false |
| 3733 | </Expanded> |
| 3734 | </Expression> |
| 3735 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3736 | <Original> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 3737 | cfg.testSpec().matches( fakeTestCase( "alwaysIncluded" ) ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3738 | </Original> |
| 3739 | <Expanded> |
| 3740 | true |
| 3741 | </Expanded> |
| 3742 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3743 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3744 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3745 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3746 | </Section> |
| 3747 | <Section name="test lists"> |
| 3748 | <Section name="Specify one test case exclusion using ~"> |
| 3749 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3750 | <Original> |
| 3751 | parseIntoConfig( argv, config ) |
| 3752 | </Original> |
| 3753 | <Expanded> |
| 3754 | parseIntoConfig( argv, config ) |
| 3755 | </Expanded> |
| 3756 | </Expression> |
| 3757 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3758 | <Original> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 3759 | cfg.testSpec().matches( fakeTestCase( "test1" ) ) == false |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3760 | </Original> |
| 3761 | <Expanded> |
| 3762 | false == false |
| 3763 | </Expanded> |
| 3764 | </Expression> |
| 3765 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3766 | <Original> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 3767 | cfg.testSpec().matches( fakeTestCase( "alwaysIncluded" ) ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3768 | </Original> |
| 3769 | <Expanded> |
| 3770 | true |
| 3771 | </Expanded> |
| 3772 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3773 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3774 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3775 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3776 | </Section> |
| 3777 | <Section name="reporter"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3778 | <Section name="-r/console"> |
| 3779 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3780 | <Original> |
| 3781 | parseIntoConfig( argv, config ) |
| 3782 | </Original> |
| 3783 | <Expanded> |
| 3784 | parseIntoConfig( argv, config ) |
| 3785 | </Expanded> |
| 3786 | </Expression> |
| 3787 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3788 | <Original> |
| 3789 | config.reporterName == "console" |
| 3790 | </Original> |
| 3791 | <Expanded> |
| 3792 | "console" == "console" |
| 3793 | </Expanded> |
| 3794 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3795 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3796 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3797 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3798 | </Section> |
| 3799 | <Section name="reporter"> |
| 3800 | <Section name="-r/xml"> |
| 3801 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3802 | <Original> |
| 3803 | parseIntoConfig( argv, config ) |
| 3804 | </Original> |
| 3805 | <Expanded> |
| 3806 | parseIntoConfig( argv, config ) |
| 3807 | </Expanded> |
| 3808 | </Expression> |
| 3809 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3810 | <Original> |
| 3811 | config.reporterName == "xml" |
| 3812 | </Original> |
| 3813 | <Expanded> |
| 3814 | "xml" == "xml" |
| 3815 | </Expanded> |
| 3816 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3817 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3818 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3819 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3820 | </Section> |
| 3821 | <Section name="reporter"> |
| 3822 | <Section name="--reporter/junit"> |
| 3823 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3824 | <Original> |
| 3825 | parseIntoConfig( argv, config ) |
| 3826 | </Original> |
| 3827 | <Expanded> |
| 3828 | parseIntoConfig( argv, config ) |
| 3829 | </Expanded> |
| 3830 | </Expression> |
| 3831 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3832 | <Original> |
| 3833 | config.reporterName == "junit" |
| 3834 | </Original> |
| 3835 | <Expanded> |
| 3836 | "junit" == "junit" |
| 3837 | </Expanded> |
| 3838 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3839 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3840 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3841 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3842 | </Section> |
| 3843 | <Section name="debugger"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3844 | <Section name="-b"> |
| 3845 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3846 | <Original> |
| 3847 | parseIntoConfig( argv, config ) |
| 3848 | </Original> |
| 3849 | <Expanded> |
| 3850 | parseIntoConfig( argv, config ) |
| 3851 | </Expanded> |
| 3852 | </Expression> |
| 3853 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3854 | <Original> |
| 3855 | config.shouldDebugBreak == true |
| 3856 | </Original> |
| 3857 | <Expanded> |
| 3858 | true == true |
| 3859 | </Expanded> |
| 3860 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3861 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3862 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3863 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3864 | </Section> |
| 3865 | <Section name="debugger"> |
| 3866 | <Section name="--break"> |
| 3867 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3868 | <Original> |
| 3869 | parseIntoConfig( argv, config ) |
| 3870 | </Original> |
| 3871 | <Expanded> |
| 3872 | parseIntoConfig( argv, config ) |
| 3873 | </Expanded> |
| 3874 | </Expression> |
| 3875 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3876 | <Original> |
| 3877 | config.shouldDebugBreak |
| 3878 | </Original> |
| 3879 | <Expanded> |
| 3880 | true |
| 3881 | </Expanded> |
| 3882 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3883 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3884 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3885 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3886 | </Section> |
| 3887 | <Section name="abort"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3888 | <Section name="-a aborts after first failure"> |
| 3889 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3890 | <Original> |
| 3891 | parseIntoConfig( argv, config ) |
| 3892 | </Original> |
| 3893 | <Expanded> |
| 3894 | parseIntoConfig( argv, config ) |
| 3895 | </Expanded> |
| 3896 | </Expression> |
| 3897 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3898 | <Original> |
| 3899 | config.abortAfter == 1 |
| 3900 | </Original> |
| 3901 | <Expanded> |
| 3902 | 1 == 1 |
| 3903 | </Expanded> |
| 3904 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3905 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3906 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3907 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3908 | </Section> |
| 3909 | <Section name="abort"> |
| 3910 | <Section name="-x 2 aborts after two failures"> |
| 3911 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3912 | <Original> |
| 3913 | parseIntoConfig( argv, config ) |
| 3914 | </Original> |
| 3915 | <Expanded> |
| 3916 | parseIntoConfig( argv, config ) |
| 3917 | </Expanded> |
| 3918 | </Expression> |
| 3919 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3920 | <Original> |
| 3921 | config.abortAfter == 2 |
| 3922 | </Original> |
| 3923 | <Expanded> |
| 3924 | 2 == 2 |
| 3925 | </Expanded> |
| 3926 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3927 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3928 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3929 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3930 | </Section> |
| 3931 | <Section name="abort"> |
| 3932 | <Section name="-x must be greater than zero"> |
| 3933 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3934 | <Original> |
| 3935 | parseIntoConfigAndReturnError( argv, config ) Contains( "greater than zero" ) |
| 3936 | </Original> |
| 3937 | <Expanded> |
| 3938 | "Value after -x or --abortAfter must be greater than zero |
Phil Nash | e9d3537 | 2014-04-12 19:05:03 +0100 | [diff] [blame] | 3939 | - while parsing: (-x, --abortx <no. failures>)" contains: "greater than zero" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3940 | </Expanded> |
| 3941 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3942 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3943 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3944 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3945 | </Section> |
| 3946 | <Section name="abort"> |
| 3947 | <Section name="-x must be numeric"> |
| 3948 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3949 | <Original> |
| 3950 | parseIntoConfigAndReturnError( argv, config ) Contains( "-x" ) |
| 3951 | </Original> |
| 3952 | <Expanded> |
| 3953 | "Unable to convert oops to destination type |
Phil Nash | e9d3537 | 2014-04-12 19:05:03 +0100 | [diff] [blame] | 3954 | - while parsing: (-x, --abortx <no. failures>)" contains: "-x" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3955 | </Expanded> |
| 3956 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3957 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3958 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3959 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3960 | </Section> |
| 3961 | <Section name="nothrow"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3962 | <Section name="-e"> |
| 3963 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3964 | <Original> |
| 3965 | parseIntoConfig( argv, config ) |
| 3966 | </Original> |
| 3967 | <Expanded> |
| 3968 | parseIntoConfig( argv, config ) |
| 3969 | </Expanded> |
| 3970 | </Expression> |
| 3971 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3972 | <Original> |
| 3973 | config.noThrow == true |
| 3974 | </Original> |
| 3975 | <Expanded> |
| 3976 | true == true |
| 3977 | </Expanded> |
| 3978 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3979 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3980 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3981 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3982 | </Section> |
| 3983 | <Section name="nothrow"> |
| 3984 | <Section name="--nothrow"> |
| 3985 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3986 | <Original> |
| 3987 | parseIntoConfig( argv, config ) |
| 3988 | </Original> |
| 3989 | <Expanded> |
| 3990 | parseIntoConfig( argv, config ) |
| 3991 | </Expanded> |
| 3992 | </Expression> |
| 3993 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 3994 | <Original> |
| 3995 | config.noThrow == true |
| 3996 | </Original> |
| 3997 | <Expanded> |
| 3998 | true == true |
| 3999 | </Expanded> |
| 4000 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4001 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4002 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4003 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4004 | </Section> |
| 4005 | <Section name="output filename"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4006 | <Section name="-o filename"> |
| 4007 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4008 | <Original> |
| 4009 | parseIntoConfig( argv, config ) |
| 4010 | </Original> |
| 4011 | <Expanded> |
| 4012 | parseIntoConfig( argv, config ) |
| 4013 | </Expanded> |
| 4014 | </Expression> |
| 4015 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4016 | <Original> |
| 4017 | config.outputFilename == "filename.ext" |
| 4018 | </Original> |
| 4019 | <Expanded> |
| 4020 | "filename.ext" == "filename.ext" |
| 4021 | </Expanded> |
| 4022 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4023 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4024 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4025 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4026 | </Section> |
| 4027 | <Section name="output filename"> |
| 4028 | <Section name="--out"> |
| 4029 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4030 | <Original> |
| 4031 | parseIntoConfig( argv, config ) |
| 4032 | </Original> |
| 4033 | <Expanded> |
| 4034 | parseIntoConfig( argv, config ) |
| 4035 | </Expanded> |
| 4036 | </Expression> |
| 4037 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4038 | <Original> |
| 4039 | config.outputFilename == "filename.ext" |
| 4040 | </Original> |
| 4041 | <Expanded> |
| 4042 | "filename.ext" == "filename.ext" |
| 4043 | </Expanded> |
| 4044 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4045 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4046 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4047 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4048 | </Section> |
| 4049 | <Section name="combinations"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4050 | <Section name="Single character flags can be combined"> |
| 4051 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4052 | <Original> |
| 4053 | parseIntoConfig( argv, config ) |
| 4054 | </Original> |
| 4055 | <Expanded> |
| 4056 | parseIntoConfig( argv, config ) |
| 4057 | </Expanded> |
| 4058 | </Expression> |
| 4059 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4060 | <Original> |
| 4061 | config.abortAfter == 1 |
| 4062 | </Original> |
| 4063 | <Expanded> |
| 4064 | 1 == 1 |
| 4065 | </Expanded> |
| 4066 | </Expression> |
| 4067 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4068 | <Original> |
| 4069 | config.shouldDebugBreak |
| 4070 | </Original> |
| 4071 | <Expanded> |
| 4072 | true |
| 4073 | </Expanded> |
| 4074 | </Expression> |
| 4075 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4076 | <Original> |
| 4077 | config.noThrow == true |
| 4078 | </Original> |
| 4079 | <Expanded> |
| 4080 | true == true |
| 4081 | </Expanded> |
| 4082 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4083 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4084 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4085 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4086 | </Section> |
| 4087 | <OverallResult success="true"/> |
| 4088 | </TestCase> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4089 | <TestCase name="Long strings can be wrapped"> |
| 4090 | <Section name="plain string"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4091 | <Section name="No wrapping"> |
| 4092 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4093 | <Original> |
| 4094 | Text( testString, TextAttributes().setWidth( 80 ) ).toString() == testString |
| 4095 | </Original> |
| 4096 | <Expanded> |
| 4097 | "one two three four" |
| 4098 | == |
| 4099 | "one two three four" |
| 4100 | </Expanded> |
| 4101 | </Expression> |
| 4102 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4103 | <Original> |
| 4104 | Text( testString, TextAttributes().setWidth( 18 ) ).toString() == testString |
| 4105 | </Original> |
| 4106 | <Expanded> |
| 4107 | "one two three four" |
| 4108 | == |
| 4109 | "one two three four" |
| 4110 | </Expanded> |
| 4111 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4112 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4113 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4114 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4115 | </Section> |
| 4116 | <Section name="plain string"> |
| 4117 | <Section name="Wrapped once"> |
| 4118 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4119 | <Original> |
| 4120 | Text( testString, TextAttributes().setWidth( 17 ) ).toString() == "one two three\nfour" |
| 4121 | </Original> |
| 4122 | <Expanded> |
| 4123 | "one two three |
| 4124 | four" |
| 4125 | == |
| 4126 | "one two three |
| 4127 | four" |
| 4128 | </Expanded> |
| 4129 | </Expression> |
| 4130 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4131 | <Original> |
| 4132 | Text( testString, TextAttributes().setWidth( 16 ) ).toString() == "one two three\nfour" |
| 4133 | </Original> |
| 4134 | <Expanded> |
| 4135 | "one two three |
| 4136 | four" |
| 4137 | == |
| 4138 | "one two three |
| 4139 | four" |
| 4140 | </Expanded> |
| 4141 | </Expression> |
| 4142 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4143 | <Original> |
| 4144 | Text( testString, TextAttributes().setWidth( 14 ) ).toString() == "one two three\nfour" |
| 4145 | </Original> |
| 4146 | <Expanded> |
| 4147 | "one two three |
| 4148 | four" |
| 4149 | == |
| 4150 | "one two three |
| 4151 | four" |
| 4152 | </Expanded> |
| 4153 | </Expression> |
| 4154 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4155 | <Original> |
| 4156 | Text( testString, TextAttributes().setWidth( 13 ) ).toString() == "one two three\nfour" |
| 4157 | </Original> |
| 4158 | <Expanded> |
| 4159 | "one two three |
| 4160 | four" |
| 4161 | == |
| 4162 | "one two three |
| 4163 | four" |
| 4164 | </Expanded> |
| 4165 | </Expression> |
| 4166 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4167 | <Original> |
| 4168 | Text( testString, TextAttributes().setWidth( 12 ) ).toString() == "one two\nthree four" |
| 4169 | </Original> |
| 4170 | <Expanded> |
| 4171 | "one two |
| 4172 | three four" |
| 4173 | == |
| 4174 | "one two |
| 4175 | three four" |
| 4176 | </Expanded> |
| 4177 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4178 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4179 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4180 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4181 | </Section> |
| 4182 | <Section name="plain string"> |
| 4183 | <Section name="Wrapped twice"> |
| 4184 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4185 | <Original> |
| 4186 | Text( testString, TextAttributes().setWidth( 9 ) ).toString() == "one two\nthree\nfour" |
| 4187 | </Original> |
| 4188 | <Expanded> |
| 4189 | "one two |
| 4190 | three |
| 4191 | four" |
| 4192 | == |
| 4193 | "one two |
| 4194 | three |
| 4195 | four" |
| 4196 | </Expanded> |
| 4197 | </Expression> |
| 4198 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4199 | <Original> |
| 4200 | Text( testString, TextAttributes().setWidth( 8 ) ).toString() == "one two\nthree\nfour" |
| 4201 | </Original> |
| 4202 | <Expanded> |
| 4203 | "one two |
| 4204 | three |
| 4205 | four" |
| 4206 | == |
| 4207 | "one two |
| 4208 | three |
| 4209 | four" |
| 4210 | </Expanded> |
| 4211 | </Expression> |
| 4212 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4213 | <Original> |
| 4214 | Text( testString, TextAttributes().setWidth( 7 ) ).toString() == "one two\nthree\nfour" |
| 4215 | </Original> |
| 4216 | <Expanded> |
| 4217 | "one two |
| 4218 | three |
| 4219 | four" |
| 4220 | == |
| 4221 | "one two |
| 4222 | three |
| 4223 | four" |
| 4224 | </Expanded> |
| 4225 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4226 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4227 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4228 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4229 | </Section> |
| 4230 | <Section name="plain string"> |
| 4231 | <Section name="Wrapped three times"> |
| 4232 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4233 | <Original> |
| 4234 | Text( testString, TextAttributes().setWidth( 6 ) ).toString() == "one\ntwo\nthree\nfour" |
| 4235 | </Original> |
| 4236 | <Expanded> |
| 4237 | "one |
| 4238 | two |
| 4239 | three |
| 4240 | four" |
| 4241 | == |
| 4242 | "one |
| 4243 | two |
| 4244 | three |
| 4245 | four" |
| 4246 | </Expanded> |
| 4247 | </Expression> |
| 4248 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4249 | <Original> |
| 4250 | Text( testString, TextAttributes().setWidth( 5 ) ).toString() == "one\ntwo\nthree\nfour" |
| 4251 | </Original> |
| 4252 | <Expanded> |
| 4253 | "one |
| 4254 | two |
| 4255 | three |
| 4256 | four" |
| 4257 | == |
| 4258 | "one |
| 4259 | two |
| 4260 | three |
| 4261 | four" |
| 4262 | </Expanded> |
| 4263 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4264 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4265 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4266 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4267 | </Section> |
| 4268 | <Section name="plain string"> |
| 4269 | <Section name="Short wrap"> |
| 4270 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4271 | <Original> |
| 4272 | Text( "abcdef", TextAttributes().setWidth( 4 ) ).toString() == "abc-\ndef" |
| 4273 | </Original> |
| 4274 | <Expanded> |
| 4275 | "abc- |
| 4276 | def" |
| 4277 | == |
| 4278 | "abc- |
| 4279 | def" |
| 4280 | </Expanded> |
| 4281 | </Expression> |
| 4282 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4283 | <Original> |
| 4284 | Text( "abcdefg", TextAttributes().setWidth( 4 ) ).toString() == "abc-\ndefg" |
| 4285 | </Original> |
| 4286 | <Expanded> |
| 4287 | "abc- |
| 4288 | defg" |
| 4289 | == |
| 4290 | "abc- |
| 4291 | defg" |
| 4292 | </Expanded> |
| 4293 | </Expression> |
| 4294 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4295 | <Original> |
| 4296 | Text( "abcdefgh", TextAttributes().setWidth( 4 ) ).toString() == "abc-\ndef-\ngh" |
| 4297 | </Original> |
| 4298 | <Expanded> |
| 4299 | "abc- |
| 4300 | def- |
| 4301 | gh" |
| 4302 | == |
| 4303 | "abc- |
| 4304 | def- |
| 4305 | gh" |
| 4306 | </Expanded> |
| 4307 | </Expression> |
| 4308 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4309 | <Original> |
| 4310 | Text( testString, TextAttributes().setWidth( 4 ) ).toString() == "one\ntwo\nthr-\nee\nfour" |
| 4311 | </Original> |
| 4312 | <Expanded> |
| 4313 | "one |
| 4314 | two |
| 4315 | thr- |
| 4316 | ee |
| 4317 | four" |
| 4318 | == |
| 4319 | "one |
| 4320 | two |
| 4321 | thr- |
| 4322 | ee |
| 4323 | four" |
| 4324 | </Expanded> |
| 4325 | </Expression> |
| 4326 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4327 | <Original> |
| 4328 | Text( testString, TextAttributes().setWidth( 3 ) ).toString() == "one\ntwo\nth-\nree\nfo-\nur" |
| 4329 | </Original> |
| 4330 | <Expanded> |
| 4331 | "one |
| 4332 | two |
| 4333 | th- |
| 4334 | ree |
| 4335 | fo- |
| 4336 | ur" |
| 4337 | == |
| 4338 | "one |
| 4339 | two |
| 4340 | th- |
| 4341 | ree |
| 4342 | fo- |
| 4343 | ur" |
| 4344 | </Expanded> |
| 4345 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4346 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4347 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4348 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4349 | </Section> |
| 4350 | <Section name="plain string"> |
| 4351 | <Section name="As container"> |
| 4352 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4353 | <Original> |
| 4354 | text.size() == 4 |
| 4355 | </Original> |
| 4356 | <Expanded> |
| 4357 | 4 == 4 |
| 4358 | </Expanded> |
| 4359 | </Expression> |
| 4360 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4361 | <Original> |
| 4362 | text[0] == "one" |
| 4363 | </Original> |
| 4364 | <Expanded> |
| 4365 | "one" == "one" |
| 4366 | </Expanded> |
| 4367 | </Expression> |
| 4368 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4369 | <Original> |
| 4370 | text[1] == "two" |
| 4371 | </Original> |
| 4372 | <Expanded> |
| 4373 | "two" == "two" |
| 4374 | </Expanded> |
| 4375 | </Expression> |
| 4376 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4377 | <Original> |
| 4378 | text[2] == "three" |
| 4379 | </Original> |
| 4380 | <Expanded> |
| 4381 | "three" == "three" |
| 4382 | </Expanded> |
| 4383 | </Expression> |
| 4384 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4385 | <Original> |
| 4386 | text[3] == "four" |
| 4387 | </Original> |
| 4388 | <Expanded> |
| 4389 | "four" == "four" |
| 4390 | </Expanded> |
| 4391 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4392 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4393 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4394 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4395 | </Section> |
| 4396 | <Section name="plain string"> |
| 4397 | <Section name="Indent first line differently"> |
| 4398 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4399 | <Original> |
| 4400 | text.toString() == " one two\n three\n four" |
| 4401 | </Original> |
| 4402 | <Expanded> |
| 4403 | " one two |
| 4404 | three |
| 4405 | four" |
| 4406 | == |
| 4407 | " one two |
| 4408 | three |
| 4409 | four" |
| 4410 | </Expanded> |
| 4411 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4412 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4413 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4414 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4415 | </Section> |
| 4416 | <Section name="With newlines"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4417 | <Section name="No wrapping"> |
| 4418 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4419 | <Original> |
| 4420 | Text( testString, TextAttributes().setWidth( 80 ) ).toString() == testString |
| 4421 | </Original> |
| 4422 | <Expanded> |
| 4423 | "one two |
| 4424 | three four" |
| 4425 | == |
| 4426 | "one two |
| 4427 | three four" |
| 4428 | </Expanded> |
| 4429 | </Expression> |
| 4430 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4431 | <Original> |
| 4432 | Text( testString, TextAttributes().setWidth( 18 ) ).toString() == testString |
| 4433 | </Original> |
| 4434 | <Expanded> |
| 4435 | "one two |
| 4436 | three four" |
| 4437 | == |
| 4438 | "one two |
| 4439 | three four" |
| 4440 | </Expanded> |
| 4441 | </Expression> |
| 4442 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4443 | <Original> |
| 4444 | Text( testString, TextAttributes().setWidth( 10 ) ).toString() == testString |
| 4445 | </Original> |
| 4446 | <Expanded> |
| 4447 | "one two |
| 4448 | three four" |
| 4449 | == |
| 4450 | "one two |
| 4451 | three four" |
| 4452 | </Expanded> |
| 4453 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4454 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4455 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4456 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4457 | </Section> |
| 4458 | <Section name="With newlines"> |
| 4459 | <Section name="Trailing newline"> |
| 4460 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4461 | <Original> |
| 4462 | Text( "abcdef\n", TextAttributes().setWidth( 10 ) ).toString() == "abcdef\n" |
| 4463 | </Original> |
| 4464 | <Expanded> |
| 4465 | "abcdef |
| 4466 | " |
| 4467 | == |
| 4468 | "abcdef |
| 4469 | " |
| 4470 | </Expanded> |
| 4471 | </Expression> |
| 4472 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4473 | <Original> |
| 4474 | Text( "abcdef", TextAttributes().setWidth( 6 ) ).toString() == "abcdef" |
| 4475 | </Original> |
| 4476 | <Expanded> |
| 4477 | "abcdef" == "abcdef" |
| 4478 | </Expanded> |
| 4479 | </Expression> |
| 4480 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4481 | <Original> |
| 4482 | Text( "abcdef\n", TextAttributes().setWidth( 6 ) ).toString() == "abcdef\n" |
| 4483 | </Original> |
| 4484 | <Expanded> |
| 4485 | "abcdef |
| 4486 | " |
| 4487 | == |
| 4488 | "abcdef |
| 4489 | " |
| 4490 | </Expanded> |
| 4491 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4492 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4493 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4494 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4495 | </Section> |
| 4496 | <Section name="With newlines"> |
| 4497 | <Section name="Wrapped once"> |
| 4498 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4499 | <Original> |
| 4500 | Text( testString, TextAttributes().setWidth( 9 ) ).toString() == "one two\nthree\nfour" |
| 4501 | </Original> |
| 4502 | <Expanded> |
| 4503 | "one two |
| 4504 | three |
| 4505 | four" |
| 4506 | == |
| 4507 | "one two |
| 4508 | three |
| 4509 | four" |
| 4510 | </Expanded> |
| 4511 | </Expression> |
| 4512 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4513 | <Original> |
| 4514 | Text( testString, TextAttributes().setWidth( 8 ) ).toString() == "one two\nthree\nfour" |
| 4515 | </Original> |
| 4516 | <Expanded> |
| 4517 | "one two |
| 4518 | three |
| 4519 | four" |
| 4520 | == |
| 4521 | "one two |
| 4522 | three |
| 4523 | four" |
| 4524 | </Expanded> |
| 4525 | </Expression> |
| 4526 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4527 | <Original> |
| 4528 | Text( testString, TextAttributes().setWidth( 7 ) ).toString() == "one two\nthree\nfour" |
| 4529 | </Original> |
| 4530 | <Expanded> |
| 4531 | "one two |
| 4532 | three |
| 4533 | four" |
| 4534 | == |
| 4535 | "one two |
| 4536 | three |
| 4537 | four" |
| 4538 | </Expanded> |
| 4539 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4540 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4541 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4542 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4543 | </Section> |
| 4544 | <Section name="With newlines"> |
| 4545 | <Section name="Wrapped twice"> |
| 4546 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4547 | <Original> |
| 4548 | Text( testString, TextAttributes().setWidth( 6 ) ).toString() == "one\ntwo\nthree\nfour" |
| 4549 | </Original> |
| 4550 | <Expanded> |
| 4551 | "one |
| 4552 | two |
| 4553 | three |
| 4554 | four" |
| 4555 | == |
| 4556 | "one |
| 4557 | two |
| 4558 | three |
| 4559 | four" |
| 4560 | </Expanded> |
| 4561 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4562 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4563 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4564 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4565 | </Section> |
| 4566 | <Section name="With tabs"> |
| 4567 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4568 | <Original> |
| 4569 | Text( testString, TextAttributes().setWidth( 15 ) ).toString() == "one two three\n four\n five\n six" |
| 4570 | </Original> |
| 4571 | <Expanded> |
| 4572 | "one two three |
| 4573 | four |
| 4574 | five |
| 4575 | six" |
| 4576 | == |
| 4577 | "one two three |
| 4578 | four |
| 4579 | five |
| 4580 | six" |
| 4581 | </Expanded> |
| 4582 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4583 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4584 | </Section> |
| 4585 | <OverallResult success="true"/> |
| 4586 | </TestCase> |
| 4587 | <TestCase name="Strings can be rendered with colour"> |
| 4588 | <OverallResult success="true"/> |
| 4589 | </TestCase> |
| 4590 | <TestCase name="Text can be formatted using the Text class"> |
| 4591 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4592 | <Original> |
| 4593 | Text( "hi there" ).toString() == "hi there" |
| 4594 | </Original> |
| 4595 | <Expanded> |
| 4596 | "hi there" == "hi there" |
| 4597 | </Expanded> |
| 4598 | </Expression> |
| 4599 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4600 | <Original> |
| 4601 | Text( "hi there", narrow ).toString() == "hi\nthere" |
| 4602 | </Original> |
| 4603 | <Expanded> |
| 4604 | "hi |
| 4605 | there" |
| 4606 | == |
| 4607 | "hi |
| 4608 | there" |
| 4609 | </Expanded> |
| 4610 | </Expression> |
| 4611 | <OverallResult success="true"/> |
| 4612 | </TestCase> |
Phil Nash | 93a945c | 2013-10-23 15:35:07 +0100 | [diff] [blame] | 4613 | <TestCase name="Long text is truncted"> |
| 4614 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" > |
| 4615 | <Original> |
| 4616 | t.toString() EndsWith( "... message truncated due to excessive size" ) |
| 4617 | </Original> |
| 4618 | <Expanded> |
| 4619 | "******************************************************************************- |
| 4620 | ******************************************************************************- |
| 4621 | ************************ |
| 4622 | ******************************************************************************- |
| 4623 | ******************************************************************************- |
| 4624 | ************************ |
| 4625 | ******************************************************************************- |
| 4626 | ******************************************************************************- |
| 4627 | ************************ |
| 4628 | ******************************************************************************- |
| 4629 | ******************************************************************************- |
| 4630 | ************************ |
| 4631 | ******************************************************************************- |
| 4632 | ******************************************************************************- |
| 4633 | ************************ |
| 4634 | ******************************************************************************- |
| 4635 | ******************************************************************************- |
| 4636 | ************************ |
| 4637 | ******************************************************************************- |
| 4638 | ******************************************************************************- |
| 4639 | ************************ |
| 4640 | ******************************************************************************- |
| 4641 | ******************************************************************************- |
| 4642 | ************************ |
| 4643 | ******************************************************************************- |
| 4644 | ******************************************************************************- |
| 4645 | ************************ |
| 4646 | ******************************************************************************- |
| 4647 | ******************************************************************************- |
| 4648 | ************************ |
| 4649 | ******************************************************************************- |
| 4650 | ******************************************************************************- |
| 4651 | ************************ |
| 4652 | ******************************************************************************- |
| 4653 | ******************************************************************************- |
| 4654 | ************************ |
| 4655 | ******************************************************************************- |
| 4656 | ******************************************************************************- |
| 4657 | ************************ |
| 4658 | ******************************************************************************- |
| 4659 | ******************************************************************************- |
| 4660 | ************************ |
| 4661 | ******************************************************************************- |
| 4662 | ******************************************************************************- |
| 4663 | ************************ |
| 4664 | ******************************************************************************- |
| 4665 | ******************************************************************************- |
| 4666 | ************************ |
| 4667 | ******************************************************************************- |
| 4668 | ******************************************************************************- |
| 4669 | ************************ |
| 4670 | ******************************************************************************- |
| 4671 | ******************************************************************************- |
| 4672 | ************************ |
| 4673 | ******************************************************************************- |
| 4674 | ******************************************************************************- |
| 4675 | ************************ |
| 4676 | ******************************************************************************- |
| 4677 | ******************************************************************************- |
| 4678 | ************************ |
| 4679 | ******************************************************************************- |
| 4680 | ******************************************************************************- |
| 4681 | ************************ |
| 4682 | ******************************************************************************- |
| 4683 | ******************************************************************************- |
| 4684 | ************************ |
| 4685 | ******************************************************************************- |
| 4686 | ******************************************************************************- |
| 4687 | ************************ |
| 4688 | ******************************************************************************- |
| 4689 | ******************************************************************************- |
| 4690 | ************************ |
| 4691 | ******************************************************************************- |
| 4692 | ******************************************************************************- |
| 4693 | ************************ |
| 4694 | ******************************************************************************- |
| 4695 | ******************************************************************************- |
| 4696 | ************************ |
| 4697 | ******************************************************************************- |
| 4698 | ******************************************************************************- |
| 4699 | ************************ |
| 4700 | ******************************************************************************- |
| 4701 | ******************************************************************************- |
| 4702 | ************************ |
| 4703 | ******************************************************************************- |
| 4704 | ******************************************************************************- |
| 4705 | ************************ |
| 4706 | ******************************************************************************- |
| 4707 | ******************************************************************************- |
| 4708 | ************************ |
| 4709 | ******************************************************************************- |
| 4710 | ******************************************************************************- |
| 4711 | ************************ |
| 4712 | ******************************************************************************- |
| 4713 | ******************************************************************************- |
| 4714 | ************************ |
| 4715 | ******************************************************************************- |
| 4716 | ******************************************************************************- |
| 4717 | ************************ |
| 4718 | ******************************************************************************- |
| 4719 | ******************************************************************************- |
| 4720 | ************************ |
| 4721 | ******************************************************************************- |
| 4722 | ******************************************************************************- |
| 4723 | ************************ |
| 4724 | ******************************************************************************- |
| 4725 | ******************************************************************************- |
| 4726 | ************************ |
| 4727 | ******************************************************************************- |
| 4728 | ******************************************************************************- |
| 4729 | ************************ |
| 4730 | ******************************************************************************- |
| 4731 | ******************************************************************************- |
| 4732 | ************************ |
| 4733 | ******************************************************************************- |
| 4734 | ******************************************************************************- |
| 4735 | ************************ |
| 4736 | ******************************************************************************- |
| 4737 | ******************************************************************************- |
| 4738 | ************************ |
| 4739 | ******************************************************************************- |
| 4740 | ******************************************************************************- |
| 4741 | ************************ |
| 4742 | ******************************************************************************- |
| 4743 | ******************************************************************************- |
| 4744 | ************************ |
| 4745 | ******************************************************************************- |
| 4746 | ******************************************************************************- |
| 4747 | ************************ |
| 4748 | ******************************************************************************- |
| 4749 | ******************************************************************************- |
| 4750 | ************************ |
| 4751 | ******************************************************************************- |
| 4752 | ******************************************************************************- |
| 4753 | ************************ |
| 4754 | ******************************************************************************- |
| 4755 | ******************************************************************************- |
| 4756 | ************************ |
| 4757 | ******************************************************************************- |
| 4758 | ******************************************************************************- |
| 4759 | ************************ |
| 4760 | ******************************************************************************- |
| 4761 | ******************************************************************************- |
| 4762 | ************************ |
| 4763 | ******************************************************************************- |
| 4764 | ******************************************************************************- |
| 4765 | ************************ |
| 4766 | ******************************************************************************- |
| 4767 | ******************************************************************************- |
| 4768 | ************************ |
| 4769 | ******************************************************************************- |
| 4770 | ******************************************************************************- |
| 4771 | ************************ |
| 4772 | ******************************************************************************- |
| 4773 | ******************************************************************************- |
| 4774 | ************************ |
| 4775 | ******************************************************************************- |
| 4776 | ******************************************************************************- |
| 4777 | ************************ |
| 4778 | ******************************************************************************- |
| 4779 | ******************************************************************************- |
| 4780 | ************************ |
| 4781 | ******************************************************************************- |
| 4782 | ******************************************************************************- |
| 4783 | ************************ |
| 4784 | ******************************************************************************- |
| 4785 | ******************************************************************************- |
| 4786 | ************************ |
| 4787 | ******************************************************************************- |
| 4788 | ******************************************************************************- |
| 4789 | ************************ |
| 4790 | ******************************************************************************- |
| 4791 | ******************************************************************************- |
| 4792 | ************************ |
| 4793 | ******************************************************************************- |
| 4794 | ******************************************************************************- |
| 4795 | ************************ |
| 4796 | ******************************************************************************- |
| 4797 | ******************************************************************************- |
| 4798 | ************************ |
| 4799 | ******************************************************************************- |
| 4800 | ******************************************************************************- |
| 4801 | ************************ |
| 4802 | ******************************************************************************- |
| 4803 | ******************************************************************************- |
| 4804 | ************************ |
| 4805 | ******************************************************************************- |
| 4806 | ******************************************************************************- |
| 4807 | ************************ |
| 4808 | ******************************************************************************- |
| 4809 | ******************************************************************************- |
| 4810 | ************************ |
| 4811 | ******************************************************************************- |
| 4812 | ******************************************************************************- |
| 4813 | ************************ |
| 4814 | ******************************************************************************- |
| 4815 | ******************************************************************************- |
| 4816 | ************************ |
| 4817 | ******************************************************************************- |
| 4818 | ******************************************************************************- |
| 4819 | ************************ |
| 4820 | ******************************************************************************- |
| 4821 | ******************************************************************************- |
| 4822 | ************************ |
| 4823 | ******************************************************************************- |
| 4824 | ******************************************************************************- |
| 4825 | ************************ |
| 4826 | ******************************************************************************- |
| 4827 | ******************************************************************************- |
| 4828 | ************************ |
| 4829 | ******************************************************************************- |
| 4830 | ******************************************************************************- |
| 4831 | ************************ |
| 4832 | ******************************************************************************- |
| 4833 | ******************************************************************************- |
| 4834 | ************************ |
| 4835 | ******************************************************************************- |
| 4836 | ******************************************************************************- |
| 4837 | ************************ |
| 4838 | ******************************************************************************- |
| 4839 | ******************************************************************************- |
| 4840 | ************************ |
| 4841 | ******************************************************************************- |
| 4842 | ******************************************************************************- |
| 4843 | ************************ |
| 4844 | ******************************************************************************- |
| 4845 | ******************************************************************************- |
| 4846 | ************************ |
| 4847 | ******************************************************************************- |
| 4848 | ******************************************************************************- |
| 4849 | ************************ |
| 4850 | ******************************************************************************- |
| 4851 | ******************************************************************************- |
| 4852 | ************************ |
| 4853 | ******************************************************************************- |
| 4854 | ******************************************************************************- |
| 4855 | ************************ |
| 4856 | ******************************************************************************- |
| 4857 | ******************************************************************************- |
| 4858 | ************************ |
| 4859 | ******************************************************************************- |
| 4860 | ******************************************************************************- |
| 4861 | ************************ |
| 4862 | ******************************************************************************- |
| 4863 | ******************************************************************************- |
| 4864 | ************************ |
| 4865 | ******************************************************************************- |
| 4866 | ******************************************************************************- |
| 4867 | ************************ |
| 4868 | ******************************************************************************- |
| 4869 | ******************************************************************************- |
| 4870 | ************************ |
| 4871 | ******************************************************************************- |
| 4872 | ******************************************************************************- |
| 4873 | ************************ |
| 4874 | ******************************************************************************- |
| 4875 | ******************************************************************************- |
| 4876 | ************************ |
| 4877 | ******************************************************************************- |
| 4878 | ******************************************************************************- |
| 4879 | ************************ |
| 4880 | ******************************************************************************- |
| 4881 | ******************************************************************************- |
| 4882 | ************************ |
| 4883 | ******************************************************************************- |
| 4884 | ******************************************************************************- |
| 4885 | ************************ |
| 4886 | ******************************************************************************- |
| 4887 | ******************************************************************************- |
| 4888 | ************************ |
| 4889 | ******************************************************************************- |
| 4890 | ******************************************************************************- |
| 4891 | ************************ |
| 4892 | ******************************************************************************- |
| 4893 | ******************************************************************************- |
| 4894 | ************************ |
| 4895 | ******************************************************************************- |
| 4896 | ******************************************************************************- |
| 4897 | ************************ |
| 4898 | ******************************************************************************- |
| 4899 | ******************************************************************************- |
| 4900 | ************************ |
| 4901 | ******************************************************************************- |
| 4902 | ******************************************************************************- |
| 4903 | ************************ |
| 4904 | ******************************************************************************- |
| 4905 | ******************************************************************************- |
| 4906 | ************************ |
| 4907 | ******************************************************************************- |
| 4908 | ******************************************************************************- |
| 4909 | ************************ |
| 4910 | ******************************************************************************- |
| 4911 | ******************************************************************************- |
| 4912 | ************************ |
| 4913 | ******************************************************************************- |
| 4914 | ******************************************************************************- |
| 4915 | ************************ |
| 4916 | ******************************************************************************- |
| 4917 | ******************************************************************************- |
| 4918 | ************************ |
| 4919 | ******************************************************************************- |
| 4920 | ******************************************************************************- |
| 4921 | ************************ |
| 4922 | ******************************************************************************- |
| 4923 | ******************************************************************************- |
| 4924 | ************************ |
| 4925 | ******************************************************************************- |
| 4926 | ******************************************************************************- |
| 4927 | ************************ |
| 4928 | ******************************************************************************- |
| 4929 | ******************************************************************************- |
| 4930 | ************************ |
| 4931 | ******************************************************************************- |
| 4932 | ******************************************************************************- |
| 4933 | ************************ |
| 4934 | ******************************************************************************- |
| 4935 | ******************************************************************************- |
| 4936 | ************************ |
| 4937 | ******************************************************************************- |
| 4938 | ******************************************************************************- |
| 4939 | ************************ |
| 4940 | ******************************************************************************- |
| 4941 | ******************************************************************************- |
| 4942 | ************************ |
| 4943 | ******************************************************************************- |
| 4944 | ******************************************************************************- |
| 4945 | ************************ |
| 4946 | ******************************************************************************- |
| 4947 | ******************************************************************************- |
| 4948 | ************************ |
| 4949 | ******************************************************************************- |
| 4950 | ******************************************************************************- |
| 4951 | ************************ |
| 4952 | ******************************************************************************- |
| 4953 | ******************************************************************************- |
| 4954 | ************************ |
| 4955 | ******************************************************************************- |
| 4956 | ******************************************************************************- |
| 4957 | ************************ |
| 4958 | ******************************************************************************- |
| 4959 | ******************************************************************************- |
| 4960 | ************************ |
| 4961 | ******************************************************************************- |
| 4962 | ******************************************************************************- |
| 4963 | ************************ |
| 4964 | ******************************************************************************- |
| 4965 | ******************************************************************************- |
| 4966 | ************************ |
| 4967 | ******************************************************************************- |
| 4968 | ******************************************************************************- |
| 4969 | ************************ |
| 4970 | ******************************************************************************- |
| 4971 | ******************************************************************************- |
| 4972 | ************************ |
| 4973 | ******************************************************************************- |
| 4974 | ******************************************************************************- |
| 4975 | ************************ |
| 4976 | ******************************************************************************- |
| 4977 | ******************************************************************************- |
| 4978 | ************************ |
| 4979 | ******************************************************************************- |
| 4980 | ******************************************************************************- |
| 4981 | ************************ |
| 4982 | ******************************************************************************- |
| 4983 | ******************************************************************************- |
| 4984 | ************************ |
| 4985 | ******************************************************************************- |
| 4986 | ******************************************************************************- |
| 4987 | ************************ |
| 4988 | ******************************************************************************- |
| 4989 | ******************************************************************************- |
| 4990 | ************************ |
| 4991 | ******************************************************************************- |
| 4992 | ******************************************************************************- |
| 4993 | ************************ |
| 4994 | ******************************************************************************- |
| 4995 | ******************************************************************************- |
| 4996 | ************************ |
| 4997 | ******************************************************************************- |
| 4998 | ******************************************************************************- |
| 4999 | ************************ |
| 5000 | ******************************************************************************- |
| 5001 | ******************************************************************************- |
| 5002 | ************************ |
| 5003 | ******************************************************************************- |
| 5004 | ******************************************************************************- |
| 5005 | ************************ |
| 5006 | ******************************************************************************- |
| 5007 | ******************************************************************************- |
| 5008 | ************************ |
| 5009 | ******************************************************************************- |
| 5010 | ******************************************************************************- |
| 5011 | ************************ |
| 5012 | ******************************************************************************- |
| 5013 | ******************************************************************************- |
| 5014 | ************************ |
| 5015 | ******************************************************************************- |
| 5016 | ******************************************************************************- |
| 5017 | ************************ |
| 5018 | ******************************************************************************- |
| 5019 | ******************************************************************************- |
| 5020 | ************************ |
| 5021 | ******************************************************************************- |
| 5022 | ******************************************************************************- |
| 5023 | ************************ |
| 5024 | ******************************************************************************- |
| 5025 | ******************************************************************************- |
| 5026 | ************************ |
| 5027 | ******************************************************************************- |
| 5028 | ******************************************************************************- |
| 5029 | ************************ |
| 5030 | ******************************************************************************- |
| 5031 | ******************************************************************************- |
| 5032 | ************************ |
| 5033 | ******************************************************************************- |
| 5034 | ******************************************************************************- |
| 5035 | ************************ |
| 5036 | ******************************************************************************- |
| 5037 | ******************************************************************************- |
| 5038 | ************************ |
| 5039 | ******************************************************************************- |
| 5040 | ******************************************************************************- |
| 5041 | ************************ |
| 5042 | ******************************************************************************- |
| 5043 | ******************************************************************************- |
| 5044 | ************************ |
| 5045 | ******************************************************************************- |
| 5046 | ******************************************************************************- |
| 5047 | ************************ |
| 5048 | ******************************************************************************- |
| 5049 | ******************************************************************************- |
| 5050 | ************************ |
| 5051 | ******************************************************************************- |
| 5052 | ******************************************************************************- |
| 5053 | ************************ |
| 5054 | ******************************************************************************- |
| 5055 | ******************************************************************************- |
| 5056 | ************************ |
| 5057 | ******************************************************************************- |
| 5058 | ******************************************************************************- |
| 5059 | ************************ |
| 5060 | ******************************************************************************- |
| 5061 | ******************************************************************************- |
| 5062 | ************************ |
| 5063 | ******************************************************************************- |
| 5064 | ******************************************************************************- |
| 5065 | ************************ |
| 5066 | ******************************************************************************- |
| 5067 | ******************************************************************************- |
| 5068 | ************************ |
| 5069 | ******************************************************************************- |
| 5070 | ******************************************************************************- |
| 5071 | ************************ |
| 5072 | ******************************************************************************- |
| 5073 | ******************************************************************************- |
| 5074 | ************************ |
| 5075 | ******************************************************************************- |
| 5076 | ******************************************************************************- |
| 5077 | ************************ |
| 5078 | ******************************************************************************- |
| 5079 | ******************************************************************************- |
| 5080 | ************************ |
| 5081 | ******************************************************************************- |
| 5082 | ******************************************************************************- |
| 5083 | ************************ |
| 5084 | ******************************************************************************- |
| 5085 | ******************************************************************************- |
| 5086 | ************************ |
| 5087 | ******************************************************************************- |
| 5088 | ******************************************************************************- |
| 5089 | ************************ |
| 5090 | ******************************************************************************- |
| 5091 | ******************************************************************************- |
| 5092 | ************************ |
| 5093 | ******************************************************************************- |
| 5094 | ******************************************************************************- |
| 5095 | ************************ |
| 5096 | ******************************************************************************- |
| 5097 | ******************************************************************************- |
| 5098 | ************************ |
| 5099 | ******************************************************************************- |
| 5100 | ******************************************************************************- |
| 5101 | ************************ |
| 5102 | ******************************************************************************- |
| 5103 | ******************************************************************************- |
| 5104 | ************************ |
| 5105 | ******************************************************************************- |
| 5106 | ******************************************************************************- |
| 5107 | ************************ |
| 5108 | ******************************************************************************- |
| 5109 | ******************************************************************************- |
| 5110 | ************************ |
| 5111 | ******************************************************************************- |
| 5112 | ******************************************************************************- |
| 5113 | ************************ |
| 5114 | ******************************************************************************- |
| 5115 | ******************************************************************************- |
| 5116 | ************************ |
| 5117 | ******************************************************************************- |
| 5118 | ******************************************************************************- |
| 5119 | ************************ |
| 5120 | ******************************************************************************- |
| 5121 | ******************************************************************************- |
| 5122 | ************************ |
| 5123 | ******************************************************************************- |
| 5124 | ******************************************************************************- |
| 5125 | ************************ |
| 5126 | ******************************************************************************- |
| 5127 | ******************************************************************************- |
| 5128 | ************************ |
| 5129 | ******************************************************************************- |
| 5130 | ******************************************************************************- |
| 5131 | ************************ |
| 5132 | ******************************************************************************- |
| 5133 | ******************************************************************************- |
| 5134 | ************************ |
| 5135 | ******************************************************************************- |
| 5136 | ******************************************************************************- |
| 5137 | ************************ |
| 5138 | ******************************************************************************- |
| 5139 | ******************************************************************************- |
| 5140 | ************************ |
| 5141 | ******************************************************************************- |
| 5142 | ******************************************************************************- |
| 5143 | ************************ |
| 5144 | ******************************************************************************- |
| 5145 | ******************************************************************************- |
| 5146 | ************************ |
| 5147 | ******************************************************************************- |
| 5148 | ******************************************************************************- |
| 5149 | ************************ |
| 5150 | ******************************************************************************- |
| 5151 | ******************************************************************************- |
| 5152 | ************************ |
| 5153 | ******************************************************************************- |
| 5154 | ******************************************************************************- |
| 5155 | ************************ |
| 5156 | ******************************************************************************- |
| 5157 | ******************************************************************************- |
| 5158 | ************************ |
| 5159 | ******************************************************************************- |
| 5160 | ******************************************************************************- |
| 5161 | ************************ |
| 5162 | ******************************************************************************- |
| 5163 | ******************************************************************************- |
| 5164 | ************************ |
| 5165 | ******************************************************************************- |
| 5166 | ******************************************************************************- |
| 5167 | ************************ |
| 5168 | ******************************************************************************- |
| 5169 | ******************************************************************************- |
| 5170 | ************************ |
| 5171 | ******************************************************************************- |
| 5172 | ******************************************************************************- |
| 5173 | ************************ |
| 5174 | ******************************************************************************- |
| 5175 | ******************************************************************************- |
| 5176 | ************************ |
| 5177 | ******************************************************************************- |
| 5178 | ******************************************************************************- |
| 5179 | ************************ |
| 5180 | ******************************************************************************- |
| 5181 | ******************************************************************************- |
| 5182 | ************************ |
| 5183 | ******************************************************************************- |
| 5184 | ******************************************************************************- |
| 5185 | ************************ |
| 5186 | ******************************************************************************- |
| 5187 | ******************************************************************************- |
| 5188 | ************************ |
| 5189 | ******************************************************************************- |
| 5190 | ******************************************************************************- |
| 5191 | ************************ |
| 5192 | ******************************************************************************- |
| 5193 | ******************************************************************************- |
| 5194 | ************************ |
| 5195 | ******************************************************************************- |
| 5196 | ******************************************************************************- |
| 5197 | ************************ |
| 5198 | ******************************************************************************- |
| 5199 | ******************************************************************************- |
| 5200 | ************************ |
| 5201 | ******************************************************************************- |
| 5202 | ******************************************************************************- |
| 5203 | ************************ |
| 5204 | ******************************************************************************- |
| 5205 | ******************************************************************************- |
| 5206 | ************************ |
| 5207 | ******************************************************************************- |
| 5208 | ******************************************************************************- |
| 5209 | ************************ |
| 5210 | ******************************************************************************- |
| 5211 | ******************************************************************************- |
| 5212 | ************************ |
| 5213 | ******************************************************************************- |
| 5214 | ******************************************************************************- |
| 5215 | ************************ |
| 5216 | ******************************************************************************- |
| 5217 | ******************************************************************************- |
| 5218 | ************************ |
| 5219 | ******************************************************************************- |
| 5220 | ******************************************************************************- |
| 5221 | ************************ |
| 5222 | ******************************************************************************- |
| 5223 | ******************************************************************************- |
| 5224 | ************************ |
| 5225 | ******************************************************************************- |
| 5226 | ******************************************************************************- |
| 5227 | ************************ |
| 5228 | ******************************************************************************- |
| 5229 | ******************************************************************************- |
| 5230 | ************************ |
| 5231 | ******************************************************************************- |
| 5232 | ******************************************************************************- |
| 5233 | ************************ |
| 5234 | ******************************************************************************- |
| 5235 | ******************************************************************************- |
| 5236 | ************************ |
| 5237 | ******************************************************************************- |
| 5238 | ******************************************************************************- |
| 5239 | ************************ |
| 5240 | ******************************************************************************- |
| 5241 | ******************************************************************************- |
| 5242 | ************************ |
| 5243 | ******************************************************************************- |
| 5244 | ******************************************************************************- |
| 5245 | ************************ |
| 5246 | ******************************************************************************- |
| 5247 | ******************************************************************************- |
| 5248 | ************************ |
| 5249 | ******************************************************************************- |
| 5250 | ******************************************************************************- |
| 5251 | ************************ |
| 5252 | ******************************************************************************- |
| 5253 | ******************************************************************************- |
| 5254 | ************************ |
| 5255 | ******************************************************************************- |
| 5256 | ******************************************************************************- |
| 5257 | ************************ |
| 5258 | ******************************************************************************- |
| 5259 | ******************************************************************************- |
| 5260 | ************************ |
| 5261 | ******************************************************************************- |
| 5262 | ******************************************************************************- |
| 5263 | ************************ |
| 5264 | ******************************************************************************- |
| 5265 | ******************************************************************************- |
| 5266 | ************************ |
| 5267 | ******************************************************************************- |
| 5268 | ******************************************************************************- |
| 5269 | ************************ |
| 5270 | ******************************************************************************- |
| 5271 | ******************************************************************************- |
| 5272 | ************************ |
| 5273 | ******************************************************************************- |
| 5274 | ******************************************************************************- |
| 5275 | ************************ |
| 5276 | ******************************************************************************- |
| 5277 | ******************************************************************************- |
| 5278 | ************************ |
| 5279 | ******************************************************************************- |
| 5280 | ******************************************************************************- |
| 5281 | ************************ |
| 5282 | ******************************************************************************- |
| 5283 | ******************************************************************************- |
| 5284 | ************************ |
| 5285 | ******************************************************************************- |
| 5286 | ******************************************************************************- |
| 5287 | ************************ |
| 5288 | ******************************************************************************- |
| 5289 | ******************************************************************************- |
| 5290 | ************************ |
| 5291 | ******************************************************************************- |
| 5292 | ******************************************************************************- |
| 5293 | ************************ |
| 5294 | ******************************************************************************- |
| 5295 | ******************************************************************************- |
| 5296 | ************************ |
| 5297 | ******************************************************************************- |
| 5298 | ******************************************************************************- |
| 5299 | ************************ |
| 5300 | ******************************************************************************- |
| 5301 | ******************************************************************************- |
| 5302 | ************************ |
| 5303 | ******************************************************************************- |
| 5304 | ******************************************************************************- |
| 5305 | ************************ |
| 5306 | ******************************************************************************- |
| 5307 | ******************************************************************************- |
| 5308 | ************************ |
| 5309 | ******************************************************************************- |
| 5310 | ******************************************************************************- |
| 5311 | ************************ |
| 5312 | ******************************************************************************- |
| 5313 | ******************************************************************************- |
| 5314 | ************************ |
| 5315 | ******************************************************************************- |
| 5316 | ******************************************************************************- |
| 5317 | ************************ |
| 5318 | ******************************************************************************- |
| 5319 | ******************************************************************************- |
| 5320 | ************************ |
| 5321 | ******************************************************************************- |
| 5322 | ******************************************************************************- |
| 5323 | ************************ |
| 5324 | ******************************************************************************- |
| 5325 | ******************************************************************************- |
| 5326 | ************************ |
| 5327 | ******************************************************************************- |
| 5328 | ******************************************************************************- |
| 5329 | ************************ |
| 5330 | ******************************************************************************- |
| 5331 | ******************************************************************************- |
| 5332 | ************************ |
| 5333 | ******************************************************************************- |
| 5334 | ******************************************************************************- |
| 5335 | ************************ |
| 5336 | ******************************************************************************- |
| 5337 | ******************************************************************************- |
| 5338 | ************************ |
| 5339 | ******************************************************************************- |
| 5340 | ******************************************************************************- |
| 5341 | ************************ |
| 5342 | ******************************************************************************- |
| 5343 | ******************************************************************************- |
| 5344 | ************************ |
| 5345 | ******************************************************************************- |
| 5346 | ******************************************************************************- |
| 5347 | ************************ |
| 5348 | ******************************************************************************- |
| 5349 | ******************************************************************************- |
| 5350 | ************************ |
| 5351 | ******************************************************************************- |
| 5352 | ******************************************************************************- |
| 5353 | ************************ |
| 5354 | ******************************************************************************- |
| 5355 | ******************************************************************************- |
| 5356 | ************************ |
| 5357 | ******************************************************************************- |
| 5358 | ******************************************************************************- |
| 5359 | ************************ |
| 5360 | ******************************************************************************- |
| 5361 | ******************************************************************************- |
| 5362 | ************************ |
| 5363 | ******************************************************************************- |
| 5364 | ******************************************************************************- |
| 5365 | ************************ |
| 5366 | ******************************************************************************- |
| 5367 | ******************************************************************************- |
| 5368 | ************************ |
| 5369 | ******************************************************************************- |
| 5370 | ******************************************************************************- |
| 5371 | ************************ |
| 5372 | ******************************************************************************- |
| 5373 | ******************************************************************************- |
| 5374 | ************************ |
| 5375 | ******************************************************************************- |
| 5376 | ******************************************************************************- |
| 5377 | ************************ |
| 5378 | ******************************************************************************- |
| 5379 | ******************************************************************************- |
| 5380 | ************************ |
| 5381 | ******************************************************************************- |
| 5382 | ******************************************************************************- |
| 5383 | ************************ |
| 5384 | ******************************************************************************- |
| 5385 | ******************************************************************************- |
| 5386 | ************************ |
| 5387 | ******************************************************************************- |
| 5388 | ******************************************************************************- |
| 5389 | ************************ |
| 5390 | ******************************************************************************- |
| 5391 | ******************************************************************************- |
| 5392 | ************************ |
| 5393 | ******************************************************************************- |
| 5394 | ******************************************************************************- |
| 5395 | ************************ |
| 5396 | ******************************************************************************- |
| 5397 | ******************************************************************************- |
| 5398 | ************************ |
| 5399 | ******************************************************************************- |
| 5400 | ******************************************************************************- |
| 5401 | ************************ |
| 5402 | ******************************************************************************- |
| 5403 | ******************************************************************************- |
| 5404 | ************************ |
| 5405 | ******************************************************************************- |
| 5406 | ******************************************************************************- |
| 5407 | ************************ |
| 5408 | ******************************************************************************- |
| 5409 | ******************************************************************************- |
| 5410 | ************************ |
| 5411 | ******************************************************************************- |
| 5412 | ******************************************************************************- |
| 5413 | ************************ |
| 5414 | ******************************************************************************- |
| 5415 | ******************************************************************************- |
| 5416 | ************************ |
| 5417 | ******************************************************************************- |
| 5418 | ******************************************************************************- |
| 5419 | ************************ |
| 5420 | ******************************************************************************- |
| 5421 | ******************************************************************************- |
| 5422 | ************************ |
| 5423 | ******************************************************************************- |
| 5424 | ******************************************************************************- |
| 5425 | ************************ |
| 5426 | ******************************************************************************- |
| 5427 | ******************************************************************************- |
| 5428 | ************************ |
| 5429 | ******************************************************************************- |
| 5430 | ******************************************************************************- |
| 5431 | ************************ |
| 5432 | ******************************************************************************- |
| 5433 | ******************************************************************************- |
| 5434 | ************************ |
| 5435 | ******************************************************************************- |
| 5436 | ******************************************************************************- |
| 5437 | ************************ |
| 5438 | ******************************************************************************- |
| 5439 | ******************************************************************************- |
| 5440 | ************************ |
| 5441 | ******************************************************************************- |
| 5442 | ******************************************************************************- |
| 5443 | ************************ |
| 5444 | ******************************************************************************- |
| 5445 | ******************************************************************************- |
| 5446 | ************************ |
| 5447 | ******************************************************************************- |
| 5448 | ******************************************************************************- |
| 5449 | ************************ |
| 5450 | ******************************************************************************- |
| 5451 | ******************************************************************************- |
| 5452 | ************************ |
| 5453 | ******************************************************************************- |
| 5454 | ******************************************************************************- |
| 5455 | ************************ |
| 5456 | ******************************************************************************- |
| 5457 | ******************************************************************************- |
| 5458 | ************************ |
| 5459 | ******************************************************************************- |
| 5460 | ******************************************************************************- |
| 5461 | ************************ |
| 5462 | ******************************************************************************- |
| 5463 | ******************************************************************************- |
| 5464 | ************************ |
| 5465 | ******************************************************************************- |
| 5466 | ******************************************************************************- |
| 5467 | ************************ |
| 5468 | ******************************************************************************- |
| 5469 | ******************************************************************************- |
| 5470 | ************************ |
| 5471 | ******************************************************************************- |
| 5472 | ******************************************************************************- |
| 5473 | ************************ |
| 5474 | ******************************************************************************- |
| 5475 | ******************************************************************************- |
| 5476 | ************************ |
| 5477 | ******************************************************************************- |
| 5478 | ******************************************************************************- |
| 5479 | ************************ |
| 5480 | ******************************************************************************- |
| 5481 | ******************************************************************************- |
| 5482 | ************************ |
| 5483 | ******************************************************************************- |
| 5484 | ******************************************************************************- |
| 5485 | ************************ |
| 5486 | ******************************************************************************- |
| 5487 | ******************************************************************************- |
| 5488 | ************************ |
| 5489 | ******************************************************************************- |
| 5490 | ******************************************************************************- |
| 5491 | ************************ |
| 5492 | ******************************************************************************- |
| 5493 | ******************************************************************************- |
| 5494 | ************************ |
| 5495 | ******************************************************************************- |
| 5496 | ******************************************************************************- |
| 5497 | ************************ |
| 5498 | ******************************************************************************- |
| 5499 | ******************************************************************************- |
| 5500 | ************************ |
| 5501 | ******************************************************************************- |
| 5502 | ******************************************************************************- |
| 5503 | ************************ |
| 5504 | ******************************************************************************- |
| 5505 | ******************************************************************************- |
| 5506 | ************************ |
| 5507 | ******************************************************************************- |
| 5508 | ******************************************************************************- |
| 5509 | ************************ |
| 5510 | ******************************************************************************- |
| 5511 | ******************************************************************************- |
| 5512 | ************************ |
| 5513 | ******************************************************************************- |
| 5514 | ******************************************************************************- |
| 5515 | ************************ |
| 5516 | ******************************************************************************- |
| 5517 | ******************************************************************************- |
| 5518 | ************************ |
| 5519 | ******************************************************************************- |
| 5520 | ******************************************************************************- |
| 5521 | ************************ |
| 5522 | ******************************************************************************- |
| 5523 | ******************************************************************************- |
| 5524 | ************************ |
| 5525 | ******************************************************************************- |
| 5526 | ******************************************************************************- |
| 5527 | ************************ |
| 5528 | ******************************************************************************- |
| 5529 | ******************************************************************************- |
| 5530 | ************************ |
| 5531 | ******************************************************************************- |
| 5532 | ******************************************************************************- |
| 5533 | ************************ |
| 5534 | ******************************************************************************- |
| 5535 | ******************************************************************************- |
| 5536 | ************************ |
| 5537 | ******************************************************************************- |
| 5538 | ******************************************************************************- |
| 5539 | ************************ |
| 5540 | ******************************************************************************- |
| 5541 | ******************************************************************************- |
| 5542 | ************************ |
| 5543 | ******************************************************************************- |
| 5544 | ******************************************************************************- |
| 5545 | ************************ |
| 5546 | ******************************************************************************- |
| 5547 | ******************************************************************************- |
| 5548 | ************************ |
| 5549 | ******************************************************************************- |
| 5550 | ******************************************************************************- |
| 5551 | ************************ |
| 5552 | ******************************************************************************- |
| 5553 | ******************************************************************************- |
| 5554 | ************************ |
| 5555 | ******************************************************************************- |
| 5556 | ******************************************************************************- |
| 5557 | ************************ |
| 5558 | ******************************************************************************- |
| 5559 | ******************************************************************************- |
| 5560 | ************************ |
| 5561 | ******************************************************************************- |
| 5562 | ******************************************************************************- |
| 5563 | ************************ |
| 5564 | ******************************************************************************- |
| 5565 | ******************************************************************************- |
| 5566 | ************************ |
| 5567 | ******************************************************************************- |
| 5568 | ******************************************************************************- |
| 5569 | ************************ |
| 5570 | ******************************************************************************- |
| 5571 | ******************************************************************************- |
| 5572 | ************************ |
| 5573 | ******************************************************************************- |
| 5574 | ******************************************************************************- |
| 5575 | ************************ |
| 5576 | ******************************************************************************- |
| 5577 | ******************************************************************************- |
| 5578 | ************************ |
| 5579 | ******************************************************************************- |
| 5580 | ******************************************************************************- |
| 5581 | ************************ |
| 5582 | ******************************************************************************- |
| 5583 | ******************************************************************************- |
| 5584 | ************************ |
| 5585 | ******************************************************************************- |
| 5586 | ******************************************************************************- |
| 5587 | ************************ |
| 5588 | ******************************************************************************- |
| 5589 | ******************************************************************************- |
| 5590 | ************************ |
| 5591 | ******************************************************************************- |
| 5592 | ******************************************************************************- |
| 5593 | ************************ |
| 5594 | ******************************************************************************- |
| 5595 | ******************************************************************************- |
| 5596 | ************************ |
| 5597 | ******************************************************************************- |
| 5598 | ******************************************************************************- |
| 5599 | ************************ |
| 5600 | ******************************************************************************- |
| 5601 | ******************************************************************************- |
| 5602 | ************************ |
| 5603 | ******************************************************************************- |
| 5604 | ******************************************************************************- |
| 5605 | ************************ |
| 5606 | ******************************************************************************- |
| 5607 | ******************************************************************************- |
| 5608 | ************************ |
| 5609 | ******************************************************************************- |
| 5610 | ******************************************************************************- |
| 5611 | ************************ |
| 5612 | ******************************************************************************- |
| 5613 | ******************************************************************************- |
| 5614 | ************************ |
| 5615 | ******************************************************************************- |
| 5616 | ******************************************************************************- |
| 5617 | ************************ |
| 5618 | ******************************************************************************- |
| 5619 | ... message truncated due to excessive size" ends with: "... message truncated due to excessive size" |
| 5620 | </Expanded> |
| 5621 | </Expression> |
| 5622 | <OverallResult success="true"/> |
| 5623 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 5624 | <TestCase name="Parsing a std::pair"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5625 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5626 | <Original> |
| 5627 | (std::pair<int, int>( 1, 2 )) == aNicePair |
| 5628 | </Original> |
| 5629 | <Expanded> |
| 5630 | std::pair( 1, 2 ) == std::pair( 1, 2 ) |
| 5631 | </Expanded> |
| 5632 | </Expression> |
| 5633 | <OverallResult success="true"/> |
| 5634 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 5635 | <TestCase name="Where the is more to the expression after the RHS[failing]"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5636 | <Warning> |
| 5637 | Uncomment the code in this test to check that it gives a sensible compiler error |
| 5638 | </Warning> |
| 5639 | <OverallResult success="true"/> |
| 5640 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 5641 | <TestCase name="Where the LHS is not a simple value[failing]"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5642 | <Warning> |
| 5643 | Uncomment the code in this test to check that it gives a sensible compiler error |
| 5644 | </Warning> |
| 5645 | <OverallResult success="true"/> |
| 5646 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 5647 | <TestCase name="A failing expression with a non streamable type is still captured[failing]"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5648 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5649 | <Original> |
| 5650 | &o1 == &o2 |
| 5651 | </Original> |
| 5652 | <Expanded> |
| 5653 | 0x<hex digits> == 0x<hex digits> |
| 5654 | </Expanded> |
| 5655 | </Expression> |
| 5656 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5657 | <Original> |
| 5658 | o1 == o2 |
| 5659 | </Original> |
| 5660 | <Expanded> |
| 5661 | {?} == {?} |
| 5662 | </Expanded> |
| 5663 | </Expression> |
| 5664 | <OverallResult success="false"/> |
| 5665 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 5666 | <TestCase name="string literals of different sizes can be compared[failing]"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5667 | <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5668 | <Original> |
| 5669 | std::string( "first" ) == "second" |
| 5670 | </Original> |
| 5671 | <Expanded> |
| 5672 | "first" == "second" |
| 5673 | </Expanded> |
| 5674 | </Expression> |
| 5675 | <OverallResult success="false"/> |
| 5676 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 5677 | <TestCase name="An expression with side-effects should only be evaluated once"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5678 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5679 | <Original> |
| 5680 | i++ == 7 |
| 5681 | </Original> |
| 5682 | <Expanded> |
| 5683 | 7 == 7 |
| 5684 | </Expanded> |
| 5685 | </Expression> |
| 5686 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5687 | <Original> |
| 5688 | i++ == 8 |
| 5689 | </Original> |
| 5690 | <Expanded> |
| 5691 | 8 == 8 |
| 5692 | </Expanded> |
| 5693 | </Expression> |
| 5694 | <OverallResult success="true"/> |
| 5695 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 5696 | <TestCase name="Operators at different namespace levels not hijacked by Koenig lookup"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5697 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5698 | <Original> |
| 5699 | 0x<hex digits> == o |
| 5700 | </Original> |
| 5701 | <Expanded> |
| 5702 | 0x<hex digits> == {?} |
| 5703 | </Expanded> |
| 5704 | </Expression> |
| 5705 | <OverallResult success="true"/> |
| 5706 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 5707 | <TestCase name="Demonstrate that a non-const == is not used"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5708 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5709 | <Original> |
| 5710 | t == 1u |
| 5711 | </Original> |
| 5712 | <Expanded> |
| 5713 | {?} == 1 |
| 5714 | </Expanded> |
| 5715 | </Expression> |
| 5716 | <OverallResult success="true"/> |
| 5717 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 5718 | <TestCase name="Test enum bit values"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5719 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5720 | <Original> |
| 5721 | 0x<hex digits> == bit30and31 |
| 5722 | </Original> |
| 5723 | <Expanded> |
| 5724 | 0x<hex digits> == 3221225472 |
| 5725 | </Expanded> |
| 5726 | </Expression> |
| 5727 | <OverallResult success="true"/> |
| 5728 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 5729 | <TestCase name="boolean member"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5730 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5731 | <Original> |
| 5732 | obj.prop != __null |
| 5733 | </Original> |
| 5734 | <Expanded> |
| 5735 | 0x<hex digits> != 0 |
| 5736 | </Expanded> |
| 5737 | </Expression> |
| 5738 | <OverallResult success="true"/> |
| 5739 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 5740 | <TestCase name="(unimplemented) static bools can be evaluated"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5741 | <Section name="compare to true"> |
| 5742 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5743 | <Original> |
| 5744 | is_true<true>::value == true |
| 5745 | </Original> |
| 5746 | <Expanded> |
| 5747 | true == true |
| 5748 | </Expanded> |
| 5749 | </Expression> |
| 5750 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5751 | <Original> |
| 5752 | true == is_true<true>::value |
| 5753 | </Original> |
| 5754 | <Expanded> |
| 5755 | true == true |
| 5756 | </Expanded> |
| 5757 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5758 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5759 | </Section> |
| 5760 | <Section name="compare to false"> |
| 5761 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5762 | <Original> |
| 5763 | is_true<false>::value == false |
| 5764 | </Original> |
| 5765 | <Expanded> |
| 5766 | false == false |
| 5767 | </Expanded> |
| 5768 | </Expression> |
| 5769 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5770 | <Original> |
| 5771 | false == is_true<false>::value |
| 5772 | </Original> |
| 5773 | <Expanded> |
| 5774 | false == false |
| 5775 | </Expanded> |
| 5776 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5777 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5778 | </Section> |
| 5779 | <Section name="negation"> |
| 5780 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5781 | <Original> |
| 5782 | !is_true<false>::value |
| 5783 | </Original> |
| 5784 | <Expanded> |
| 5785 | true |
| 5786 | </Expanded> |
| 5787 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5788 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5789 | </Section> |
| 5790 | <Section name="double negation"> |
| 5791 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5792 | <Original> |
| 5793 | !!is_true<true>::value |
| 5794 | </Original> |
| 5795 | <Expanded> |
| 5796 | true |
| 5797 | </Expanded> |
| 5798 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5799 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5800 | </Section> |
| 5801 | <Section name="direct"> |
| 5802 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5803 | <Original> |
| 5804 | is_true<true>::value |
| 5805 | </Original> |
| 5806 | <Expanded> |
| 5807 | true |
| 5808 | </Expanded> |
| 5809 | </Expression> |
| 5810 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5811 | <Original> |
| 5812 | !is_true<false>::value |
| 5813 | </Original> |
| 5814 | <Expanded> |
| 5815 | !false |
| 5816 | </Expanded> |
| 5817 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5818 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5819 | </Section> |
| 5820 | <OverallResult success="true"/> |
| 5821 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 5822 | <TestCase name="Objects that evaluated in boolean contexts can be checked"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5823 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5824 | <Original> |
| 5825 | True |
| 5826 | </Original> |
| 5827 | <Expanded> |
| 5828 | true |
| 5829 | </Expanded> |
| 5830 | </Expression> |
| 5831 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5832 | <Original> |
| 5833 | !False |
| 5834 | </Original> |
| 5835 | <Expanded> |
| 5836 | true |
| 5837 | </Expanded> |
| 5838 | </Expression> |
| 5839 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5840 | <Original> |
| 5841 | !False |
| 5842 | </Original> |
| 5843 | <Expanded> |
| 5844 | !false |
| 5845 | </Expanded> |
| 5846 | </Expression> |
| 5847 | <OverallResult success="true"/> |
| 5848 | </TestCase> |
| 5849 | <TestCase name="Assertions then sections"> |
| 5850 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5851 | <Original> |
Phil Nash | 9438a03 | 2014-05-28 18:53:01 +0100 | [diff] [blame] | 5852 | Catch::alwaysTrue() |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5853 | </Original> |
| 5854 | <Expanded> |
| 5855 | true |
| 5856 | </Expanded> |
| 5857 | </Expression> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5858 | <Section name="A section"> |
| 5859 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5860 | <Original> |
Phil Nash | 9438a03 | 2014-05-28 18:53:01 +0100 | [diff] [blame] | 5861 | Catch::alwaysTrue() |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5862 | </Original> |
| 5863 | <Expanded> |
| 5864 | true |
| 5865 | </Expanded> |
| 5866 | </Expression> |
| 5867 | <Section name="Another section"> |
| 5868 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5869 | <Original> |
Phil Nash | 9438a03 | 2014-05-28 18:53:01 +0100 | [diff] [blame] | 5870 | Catch::alwaysTrue() |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5871 | </Original> |
| 5872 | <Expanded> |
| 5873 | true |
| 5874 | </Expanded> |
| 5875 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5876 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5877 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5878 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5879 | </Section> |
| 5880 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5881 | <Original> |
Phil Nash | 9438a03 | 2014-05-28 18:53:01 +0100 | [diff] [blame] | 5882 | Catch::alwaysTrue() |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5883 | </Original> |
| 5884 | <Expanded> |
| 5885 | true |
| 5886 | </Expanded> |
| 5887 | </Expression> |
| 5888 | <Section name="A section"> |
| 5889 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5890 | <Original> |
Phil Nash | 9438a03 | 2014-05-28 18:53:01 +0100 | [diff] [blame] | 5891 | Catch::alwaysTrue() |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5892 | </Original> |
| 5893 | <Expanded> |
| 5894 | true |
| 5895 | </Expanded> |
| 5896 | </Expression> |
| 5897 | <Section name="Another other section"> |
| 5898 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5899 | <Original> |
Phil Nash | 9438a03 | 2014-05-28 18:53:01 +0100 | [diff] [blame] | 5900 | Catch::alwaysTrue() |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5901 | </Original> |
| 5902 | <Expanded> |
| 5903 | true |
| 5904 | </Expanded> |
| 5905 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5906 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5907 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5908 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5909 | </Section> |
| 5910 | <OverallResult success="true"/> |
| 5911 | </TestCase> |
| 5912 | <TestCase name="non streamable - with conv. op"> |
| 5913 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5914 | <Original> |
| 5915 | s == "7" |
| 5916 | </Original> |
| 5917 | <Expanded> |
| 5918 | "7" == "7" |
| 5919 | </Expanded> |
| 5920 | </Expression> |
| 5921 | <OverallResult success="true"/> |
| 5922 | </TestCase> |
| 5923 | <TestCase name="Comparing function pointers"> |
| 5924 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5925 | <Original> |
| 5926 | a |
| 5927 | </Original> |
| 5928 | <Expanded> |
| 5929 | true |
| 5930 | </Expanded> |
| 5931 | </Expression> |
| 5932 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5933 | <Original> |
| 5934 | a == &foo |
| 5935 | </Original> |
| 5936 | <Expanded> |
Phil Nash | e091018 | 2014-01-07 17:25:27 +0000 | [diff] [blame] | 5937 | 0x<hex digits> == 0x<hex digits> |
| 5938 | </Expanded> |
| 5939 | </Expression> |
| 5940 | <OverallResult success="true"/> |
| 5941 | </TestCase> |
| 5942 | <TestCase name="Comparing member function pointers"> |
| 5943 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5944 | <Original> |
| 5945 | m == &S::f |
| 5946 | </Original> |
| 5947 | <Expanded> |
| 5948 | 0x<hex digits> |
| 5949 | == |
| 5950 | 0x<hex digits> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5951 | </Expanded> |
| 5952 | </Expression> |
| 5953 | <OverallResult success="true"/> |
| 5954 | </TestCase> |
| 5955 | <TestCase name="pointer to class"> |
| 5956 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5957 | <Original> |
| 5958 | p == 0 |
| 5959 | </Original> |
| 5960 | <Expanded> |
| 5961 | __null == 0 |
| 5962 | </Expanded> |
| 5963 | </Expression> |
| 5964 | <OverallResult success="true"/> |
| 5965 | </TestCase> |
Phil Nash | 1a6f2a0 | 2014-04-23 18:19:19 +0100 | [diff] [blame] | 5966 | <TestCase name="null_ptr"> |
| 5967 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" > |
| 5968 | <Original> |
| 5969 | ptr.get() == nullptr |
| 5970 | </Original> |
| 5971 | <Expanded> |
| 5972 | __null == nullptr |
| 5973 | </Expanded> |
| 5974 | </Expression> |
| 5975 | <OverallResult success="true"/> |
| 5976 | </TestCase> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 5977 | <TestCase name="X/level/0/a"> |
| 5978 | <OverallResult success="true"/> |
| 5979 | </TestCase> |
| 5980 | <TestCase name="X/level/0/b"> |
| 5981 | <OverallResult success="true"/> |
| 5982 | </TestCase> |
| 5983 | <TestCase name="X/level/1/a"> |
| 5984 | <OverallResult success="true"/> |
| 5985 | </TestCase> |
| 5986 | <TestCase name="X/level/1/b"> |
| 5987 | <OverallResult success="true"/> |
| 5988 | </TestCase> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5989 | <TestCase name="Parse test names and tags"> |
| 5990 | <Section name="Empty test spec should have no filters"> |
| 5991 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 5992 | <Original> |
| 5993 | spec.hasFilters() == false |
| 5994 | </Original> |
| 5995 | <Expanded> |
| 5996 | false == false |
| 5997 | </Expanded> |
| 5998 | </Expression> |
| 5999 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6000 | <Original> |
| 6001 | spec.matches( tcA ) == false |
| 6002 | </Original> |
| 6003 | <Expanded> |
| 6004 | false == false |
| 6005 | </Expanded> |
| 6006 | </Expression> |
| 6007 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6008 | <Original> |
| 6009 | spec.matches( tcB ) == false |
| 6010 | </Original> |
| 6011 | <Expanded> |
| 6012 | false == false |
| 6013 | </Expanded> |
| 6014 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6015 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6016 | </Section> |
| 6017 | <Section name="Test spec from empty string should have no filters"> |
| 6018 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6019 | <Original> |
| 6020 | spec.hasFilters() == false |
| 6021 | </Original> |
| 6022 | <Expanded> |
| 6023 | false == false |
| 6024 | </Expanded> |
| 6025 | </Expression> |
| 6026 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6027 | <Original> |
| 6028 | spec.matches(tcA ) == false |
| 6029 | </Original> |
| 6030 | <Expanded> |
| 6031 | false == false |
| 6032 | </Expanded> |
| 6033 | </Expression> |
| 6034 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6035 | <Original> |
| 6036 | spec.matches( tcB ) == false |
| 6037 | </Original> |
| 6038 | <Expanded> |
| 6039 | false == false |
| 6040 | </Expanded> |
| 6041 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6042 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6043 | </Section> |
| 6044 | <Section name="Test spec from just a comma should have no filters"> |
| 6045 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6046 | <Original> |
| 6047 | spec.hasFilters() == false |
| 6048 | </Original> |
| 6049 | <Expanded> |
| 6050 | false == false |
| 6051 | </Expanded> |
| 6052 | </Expression> |
| 6053 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6054 | <Original> |
| 6055 | spec.matches( tcA ) == false |
| 6056 | </Original> |
| 6057 | <Expanded> |
| 6058 | false == false |
| 6059 | </Expanded> |
| 6060 | </Expression> |
| 6061 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6062 | <Original> |
| 6063 | spec.matches( tcB ) == false |
| 6064 | </Original> |
| 6065 | <Expanded> |
| 6066 | false == false |
| 6067 | </Expanded> |
| 6068 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6069 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6070 | </Section> |
| 6071 | <Section name="Test spec from name should have one filter"> |
| 6072 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6073 | <Original> |
| 6074 | spec.hasFilters() == true |
| 6075 | </Original> |
| 6076 | <Expanded> |
| 6077 | true == true |
| 6078 | </Expanded> |
| 6079 | </Expression> |
| 6080 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6081 | <Original> |
| 6082 | spec.matches( tcA ) == false |
| 6083 | </Original> |
| 6084 | <Expanded> |
| 6085 | false == false |
| 6086 | </Expanded> |
| 6087 | </Expression> |
| 6088 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6089 | <Original> |
| 6090 | spec.matches( tcB ) == true |
| 6091 | </Original> |
| 6092 | <Expanded> |
| 6093 | true == true |
| 6094 | </Expanded> |
| 6095 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6096 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6097 | </Section> |
| 6098 | <Section name="Test spec from quoted name should have one filter"> |
| 6099 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6100 | <Original> |
| 6101 | spec.hasFilters() == true |
| 6102 | </Original> |
| 6103 | <Expanded> |
| 6104 | true == true |
| 6105 | </Expanded> |
| 6106 | </Expression> |
| 6107 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6108 | <Original> |
| 6109 | spec.matches( tcA ) == false |
| 6110 | </Original> |
| 6111 | <Expanded> |
| 6112 | false == false |
| 6113 | </Expanded> |
| 6114 | </Expression> |
| 6115 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6116 | <Original> |
| 6117 | spec.matches( tcB ) == true |
| 6118 | </Original> |
| 6119 | <Expanded> |
| 6120 | true == true |
| 6121 | </Expanded> |
| 6122 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6123 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6124 | </Section> |
| 6125 | <Section name="Test spec from name should have one filter"> |
| 6126 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6127 | <Original> |
| 6128 | spec.hasFilters() == true |
| 6129 | </Original> |
| 6130 | <Expanded> |
| 6131 | true == true |
| 6132 | </Expanded> |
| 6133 | </Expression> |
| 6134 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6135 | <Original> |
| 6136 | spec.matches( tcA ) == false |
| 6137 | </Original> |
| 6138 | <Expanded> |
| 6139 | false == false |
| 6140 | </Expanded> |
| 6141 | </Expression> |
| 6142 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6143 | <Original> |
| 6144 | spec.matches( tcB ) == true |
| 6145 | </Original> |
| 6146 | <Expanded> |
| 6147 | true == true |
| 6148 | </Expanded> |
| 6149 | </Expression> |
| 6150 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6151 | <Original> |
| 6152 | spec.matches( tcC ) == false |
| 6153 | </Original> |
| 6154 | <Expanded> |
| 6155 | false == false |
| 6156 | </Expanded> |
| 6157 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6158 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6159 | </Section> |
| 6160 | <Section name="Wildcard at the start"> |
| 6161 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6162 | <Original> |
| 6163 | spec.hasFilters() == true |
| 6164 | </Original> |
| 6165 | <Expanded> |
| 6166 | true == true |
| 6167 | </Expanded> |
| 6168 | </Expression> |
| 6169 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6170 | <Original> |
| 6171 | spec.matches( tcA ) == false |
| 6172 | </Original> |
| 6173 | <Expanded> |
| 6174 | false == false |
| 6175 | </Expanded> |
| 6176 | </Expression> |
| 6177 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6178 | <Original> |
| 6179 | spec.matches( tcB ) == false |
| 6180 | </Original> |
| 6181 | <Expanded> |
| 6182 | false == false |
| 6183 | </Expanded> |
| 6184 | </Expression> |
| 6185 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6186 | <Original> |
| 6187 | spec.matches( tcC ) == true |
| 6188 | </Original> |
| 6189 | <Expanded> |
| 6190 | true == true |
| 6191 | </Expanded> |
| 6192 | </Expression> |
| 6193 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6194 | <Original> |
| 6195 | spec.matches( tcD ) == false |
| 6196 | </Original> |
| 6197 | <Expanded> |
| 6198 | false == false |
| 6199 | </Expanded> |
| 6200 | </Expression> |
| 6201 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6202 | <Original> |
| 6203 | parseTestSpec( "*a" ).matches( tcA ) == true |
| 6204 | </Original> |
| 6205 | <Expanded> |
| 6206 | true == true |
| 6207 | </Expanded> |
| 6208 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6209 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6210 | </Section> |
| 6211 | <Section name="Wildcard at the end"> |
| 6212 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6213 | <Original> |
| 6214 | spec.hasFilters() == true |
| 6215 | </Original> |
| 6216 | <Expanded> |
| 6217 | true == true |
| 6218 | </Expanded> |
| 6219 | </Expression> |
| 6220 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6221 | <Original> |
| 6222 | spec.matches( tcA ) == false |
| 6223 | </Original> |
| 6224 | <Expanded> |
| 6225 | false == false |
| 6226 | </Expanded> |
| 6227 | </Expression> |
| 6228 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6229 | <Original> |
| 6230 | spec.matches( tcB ) == false |
| 6231 | </Original> |
| 6232 | <Expanded> |
| 6233 | false == false |
| 6234 | </Expanded> |
| 6235 | </Expression> |
| 6236 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6237 | <Original> |
| 6238 | spec.matches( tcC ) == true |
| 6239 | </Original> |
| 6240 | <Expanded> |
| 6241 | true == true |
| 6242 | </Expanded> |
| 6243 | </Expression> |
| 6244 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6245 | <Original> |
| 6246 | spec.matches( tcD ) == false |
| 6247 | </Original> |
| 6248 | <Expanded> |
| 6249 | false == false |
| 6250 | </Expanded> |
| 6251 | </Expression> |
| 6252 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6253 | <Original> |
| 6254 | parseTestSpec( "a*" ).matches( tcA ) == true |
| 6255 | </Original> |
| 6256 | <Expanded> |
| 6257 | true == true |
| 6258 | </Expanded> |
| 6259 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6260 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6261 | </Section> |
| 6262 | <Section name="Wildcard at both ends"> |
| 6263 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6264 | <Original> |
| 6265 | spec.hasFilters() == true |
| 6266 | </Original> |
| 6267 | <Expanded> |
| 6268 | true == true |
| 6269 | </Expanded> |
| 6270 | </Expression> |
| 6271 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6272 | <Original> |
| 6273 | spec.matches( tcA ) == false |
| 6274 | </Original> |
| 6275 | <Expanded> |
| 6276 | false == false |
| 6277 | </Expanded> |
| 6278 | </Expression> |
| 6279 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6280 | <Original> |
| 6281 | spec.matches( tcB ) == false |
| 6282 | </Original> |
| 6283 | <Expanded> |
| 6284 | false == false |
| 6285 | </Expanded> |
| 6286 | </Expression> |
| 6287 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6288 | <Original> |
| 6289 | spec.matches( tcC ) == true |
| 6290 | </Original> |
| 6291 | <Expanded> |
| 6292 | true == true |
| 6293 | </Expanded> |
| 6294 | </Expression> |
| 6295 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6296 | <Original> |
| 6297 | spec.matches( tcD ) == true |
| 6298 | </Original> |
| 6299 | <Expanded> |
| 6300 | true == true |
| 6301 | </Expanded> |
| 6302 | </Expression> |
| 6303 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6304 | <Original> |
| 6305 | parseTestSpec( "*a*" ).matches( tcA ) == true |
| 6306 | </Original> |
| 6307 | <Expanded> |
| 6308 | true == true |
| 6309 | </Expanded> |
| 6310 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6311 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6312 | </Section> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 6313 | <Section name="Redundant wildcard at the start"> |
| 6314 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6315 | <Original> |
| 6316 | spec.hasFilters() == true |
| 6317 | </Original> |
| 6318 | <Expanded> |
| 6319 | true == true |
| 6320 | </Expanded> |
| 6321 | </Expression> |
| 6322 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6323 | <Original> |
| 6324 | spec.matches( tcA ) == true |
| 6325 | </Original> |
| 6326 | <Expanded> |
| 6327 | true == true |
| 6328 | </Expanded> |
| 6329 | </Expression> |
| 6330 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6331 | <Original> |
| 6332 | spec.matches( tcB ) == false |
| 6333 | </Original> |
| 6334 | <Expanded> |
| 6335 | false == false |
| 6336 | </Expanded> |
| 6337 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6338 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 6339 | </Section> |
| 6340 | <Section name="Redundant wildcard at the end"> |
| 6341 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6342 | <Original> |
| 6343 | spec.hasFilters() == true |
| 6344 | </Original> |
| 6345 | <Expanded> |
| 6346 | true == true |
| 6347 | </Expanded> |
| 6348 | </Expression> |
| 6349 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6350 | <Original> |
| 6351 | spec.matches( tcA ) == true |
| 6352 | </Original> |
| 6353 | <Expanded> |
| 6354 | true == true |
| 6355 | </Expanded> |
| 6356 | </Expression> |
| 6357 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6358 | <Original> |
| 6359 | spec.matches( tcB ) == false |
| 6360 | </Original> |
| 6361 | <Expanded> |
| 6362 | false == false |
| 6363 | </Expanded> |
| 6364 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6365 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 6366 | </Section> |
| 6367 | <Section name="Redundant wildcard at both ends"> |
| 6368 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6369 | <Original> |
| 6370 | spec.hasFilters() == true |
| 6371 | </Original> |
| 6372 | <Expanded> |
| 6373 | true == true |
| 6374 | </Expanded> |
| 6375 | </Expression> |
| 6376 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6377 | <Original> |
| 6378 | spec.matches( tcA ) == true |
| 6379 | </Original> |
| 6380 | <Expanded> |
| 6381 | true == true |
| 6382 | </Expanded> |
| 6383 | </Expression> |
| 6384 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6385 | <Original> |
| 6386 | spec.matches( tcB ) == false |
| 6387 | </Original> |
| 6388 | <Expanded> |
| 6389 | false == false |
| 6390 | </Expanded> |
| 6391 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6392 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 6393 | </Section> |
| 6394 | <Section name="Wildcard at both ends, redundant at start"> |
| 6395 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6396 | <Original> |
| 6397 | spec.hasFilters() == true |
| 6398 | </Original> |
| 6399 | <Expanded> |
| 6400 | true == true |
| 6401 | </Expanded> |
| 6402 | </Expression> |
| 6403 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6404 | <Original> |
| 6405 | spec.matches( tcA ) == false |
| 6406 | </Original> |
| 6407 | <Expanded> |
| 6408 | false == false |
| 6409 | </Expanded> |
| 6410 | </Expression> |
| 6411 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6412 | <Original> |
| 6413 | spec.matches( tcB ) == false |
| 6414 | </Original> |
| 6415 | <Expanded> |
| 6416 | false == false |
| 6417 | </Expanded> |
| 6418 | </Expression> |
| 6419 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6420 | <Original> |
| 6421 | spec.matches( tcC ) == true |
| 6422 | </Original> |
| 6423 | <Expanded> |
| 6424 | true == true |
| 6425 | </Expanded> |
| 6426 | </Expression> |
| 6427 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6428 | <Original> |
| 6429 | spec.matches( tcD ) == true |
| 6430 | </Original> |
| 6431 | <Expanded> |
| 6432 | true == true |
| 6433 | </Expanded> |
| 6434 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6435 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 6436 | </Section> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6437 | <Section name="Just wildcard"> |
| 6438 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6439 | <Original> |
| 6440 | spec.hasFilters() == true |
| 6441 | </Original> |
| 6442 | <Expanded> |
| 6443 | true == true |
| 6444 | </Expanded> |
| 6445 | </Expression> |
| 6446 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6447 | <Original> |
| 6448 | spec.matches( tcA ) == true |
| 6449 | </Original> |
| 6450 | <Expanded> |
| 6451 | true == true |
| 6452 | </Expanded> |
| 6453 | </Expression> |
| 6454 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6455 | <Original> |
| 6456 | spec.matches( tcB ) == true |
| 6457 | </Original> |
| 6458 | <Expanded> |
| 6459 | true == true |
| 6460 | </Expanded> |
| 6461 | </Expression> |
| 6462 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6463 | <Original> |
| 6464 | spec.matches( tcC ) == true |
| 6465 | </Original> |
| 6466 | <Expanded> |
| 6467 | true == true |
| 6468 | </Expanded> |
| 6469 | </Expression> |
| 6470 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6471 | <Original> |
| 6472 | spec.matches( tcD ) == true |
| 6473 | </Original> |
| 6474 | <Expanded> |
| 6475 | true == true |
| 6476 | </Expanded> |
| 6477 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6478 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6479 | </Section> |
| 6480 | <Section name="Single tag"> |
| 6481 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6482 | <Original> |
| 6483 | spec.hasFilters() == true |
| 6484 | </Original> |
| 6485 | <Expanded> |
| 6486 | true == true |
| 6487 | </Expanded> |
| 6488 | </Expression> |
| 6489 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6490 | <Original> |
| 6491 | spec.matches( tcA ) == false |
| 6492 | </Original> |
| 6493 | <Expanded> |
| 6494 | false == false |
| 6495 | </Expanded> |
| 6496 | </Expression> |
| 6497 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6498 | <Original> |
| 6499 | spec.matches( tcB ) == true |
| 6500 | </Original> |
| 6501 | <Expanded> |
| 6502 | true == true |
| 6503 | </Expanded> |
| 6504 | </Expression> |
| 6505 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6506 | <Original> |
| 6507 | spec.matches( tcC ) == false |
| 6508 | </Original> |
| 6509 | <Expanded> |
| 6510 | false == false |
| 6511 | </Expanded> |
| 6512 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6513 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6514 | </Section> |
| 6515 | <Section name="Single tag, two matches"> |
| 6516 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6517 | <Original> |
| 6518 | spec.hasFilters() == true |
| 6519 | </Original> |
| 6520 | <Expanded> |
| 6521 | true == true |
| 6522 | </Expanded> |
| 6523 | </Expression> |
| 6524 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6525 | <Original> |
| 6526 | spec.matches( tcA ) == false |
| 6527 | </Original> |
| 6528 | <Expanded> |
| 6529 | false == false |
| 6530 | </Expanded> |
| 6531 | </Expression> |
| 6532 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6533 | <Original> |
| 6534 | spec.matches( tcB ) == true |
| 6535 | </Original> |
| 6536 | <Expanded> |
| 6537 | true == true |
| 6538 | </Expanded> |
| 6539 | </Expression> |
| 6540 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6541 | <Original> |
| 6542 | spec.matches( tcC ) == true |
| 6543 | </Original> |
| 6544 | <Expanded> |
| 6545 | true == true |
| 6546 | </Expanded> |
| 6547 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6548 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6549 | </Section> |
| 6550 | <Section name="Two tags"> |
| 6551 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6552 | <Original> |
| 6553 | spec.hasFilters() == true |
| 6554 | </Original> |
| 6555 | <Expanded> |
| 6556 | true == true |
| 6557 | </Expanded> |
| 6558 | </Expression> |
| 6559 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6560 | <Original> |
| 6561 | spec.matches( tcA ) == false |
| 6562 | </Original> |
| 6563 | <Expanded> |
| 6564 | false == false |
| 6565 | </Expanded> |
| 6566 | </Expression> |
| 6567 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6568 | <Original> |
| 6569 | spec.matches( tcB ) == false |
| 6570 | </Original> |
| 6571 | <Expanded> |
| 6572 | false == false |
| 6573 | </Expanded> |
| 6574 | </Expression> |
| 6575 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6576 | <Original> |
| 6577 | spec.matches( tcC ) == true |
| 6578 | </Original> |
| 6579 | <Expanded> |
| 6580 | true == true |
| 6581 | </Expanded> |
| 6582 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6583 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6584 | </Section> |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 6585 | <Section name="Two tags, spare separated"> |
| 6586 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6587 | <Original> |
| 6588 | spec.hasFilters() == true |
| 6589 | </Original> |
| 6590 | <Expanded> |
| 6591 | true == true |
| 6592 | </Expanded> |
| 6593 | </Expression> |
| 6594 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6595 | <Original> |
| 6596 | spec.matches( tcA ) == false |
| 6597 | </Original> |
| 6598 | <Expanded> |
| 6599 | false == false |
| 6600 | </Expanded> |
| 6601 | </Expression> |
| 6602 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6603 | <Original> |
| 6604 | spec.matches( tcB ) == false |
| 6605 | </Original> |
| 6606 | <Expanded> |
| 6607 | false == false |
| 6608 | </Expanded> |
| 6609 | </Expression> |
| 6610 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6611 | <Original> |
| 6612 | spec.matches( tcC ) == true |
| 6613 | </Original> |
| 6614 | <Expanded> |
| 6615 | true == true |
| 6616 | </Expanded> |
| 6617 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6618 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 6619 | </Section> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6620 | <Section name="Wildcarded name and tag"> |
| 6621 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6622 | <Original> |
| 6623 | spec.hasFilters() == true |
| 6624 | </Original> |
| 6625 | <Expanded> |
| 6626 | true == true |
| 6627 | </Expanded> |
| 6628 | </Expression> |
| 6629 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6630 | <Original> |
| 6631 | spec.matches( tcA ) == false |
| 6632 | </Original> |
| 6633 | <Expanded> |
| 6634 | false == false |
| 6635 | </Expanded> |
| 6636 | </Expression> |
| 6637 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6638 | <Original> |
| 6639 | spec.matches( tcB ) == false |
| 6640 | </Original> |
| 6641 | <Expanded> |
| 6642 | false == false |
| 6643 | </Expanded> |
| 6644 | </Expression> |
| 6645 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6646 | <Original> |
| 6647 | spec.matches( tcC ) == true |
| 6648 | </Original> |
| 6649 | <Expanded> |
| 6650 | true == true |
| 6651 | </Expanded> |
| 6652 | </Expression> |
| 6653 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6654 | <Original> |
| 6655 | spec.matches( tcD ) == false |
| 6656 | </Original> |
| 6657 | <Expanded> |
| 6658 | false == false |
| 6659 | </Expanded> |
| 6660 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6661 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6662 | </Section> |
| 6663 | <Section name="Single tag exclusion"> |
| 6664 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6665 | <Original> |
| 6666 | spec.hasFilters() == true |
| 6667 | </Original> |
| 6668 | <Expanded> |
| 6669 | true == true |
| 6670 | </Expanded> |
| 6671 | </Expression> |
| 6672 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6673 | <Original> |
| 6674 | spec.matches( tcA ) == true |
| 6675 | </Original> |
| 6676 | <Expanded> |
| 6677 | true == true |
| 6678 | </Expanded> |
| 6679 | </Expression> |
| 6680 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6681 | <Original> |
| 6682 | spec.matches( tcB ) == false |
| 6683 | </Original> |
| 6684 | <Expanded> |
| 6685 | false == false |
| 6686 | </Expanded> |
| 6687 | </Expression> |
| 6688 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6689 | <Original> |
| 6690 | spec.matches( tcC ) == true |
| 6691 | </Original> |
| 6692 | <Expanded> |
| 6693 | true == true |
| 6694 | </Expanded> |
| 6695 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6696 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6697 | </Section> |
| 6698 | <Section name="One tag exclusion and one tag inclusion"> |
| 6699 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6700 | <Original> |
| 6701 | spec.hasFilters() == true |
| 6702 | </Original> |
| 6703 | <Expanded> |
| 6704 | true == true |
| 6705 | </Expanded> |
| 6706 | </Expression> |
| 6707 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6708 | <Original> |
| 6709 | spec.matches( tcA ) == false |
| 6710 | </Original> |
| 6711 | <Expanded> |
| 6712 | false == false |
| 6713 | </Expanded> |
| 6714 | </Expression> |
| 6715 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6716 | <Original> |
| 6717 | spec.matches( tcB ) == true |
| 6718 | </Original> |
| 6719 | <Expanded> |
| 6720 | true == true |
| 6721 | </Expanded> |
| 6722 | </Expression> |
| 6723 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6724 | <Original> |
| 6725 | spec.matches( tcC ) == false |
| 6726 | </Original> |
| 6727 | <Expanded> |
| 6728 | false == false |
| 6729 | </Expanded> |
| 6730 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6731 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6732 | </Section> |
| 6733 | <Section name="One tag exclusion and one wldcarded name inclusion"> |
| 6734 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6735 | <Original> |
| 6736 | spec.hasFilters() == true |
| 6737 | </Original> |
| 6738 | <Expanded> |
| 6739 | true == true |
| 6740 | </Expanded> |
| 6741 | </Expression> |
| 6742 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6743 | <Original> |
| 6744 | spec.matches( tcA ) == false |
| 6745 | </Original> |
| 6746 | <Expanded> |
| 6747 | false == false |
| 6748 | </Expanded> |
| 6749 | </Expression> |
| 6750 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6751 | <Original> |
| 6752 | spec.matches( tcB ) == false |
| 6753 | </Original> |
| 6754 | <Expanded> |
| 6755 | false == false |
| 6756 | </Expanded> |
| 6757 | </Expression> |
| 6758 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6759 | <Original> |
| 6760 | spec.matches( tcC ) == false |
| 6761 | </Original> |
| 6762 | <Expanded> |
| 6763 | false == false |
| 6764 | </Expanded> |
| 6765 | </Expression> |
| 6766 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6767 | <Original> |
| 6768 | spec.matches( tcD ) == true |
| 6769 | </Original> |
| 6770 | <Expanded> |
| 6771 | true == true |
| 6772 | </Expanded> |
| 6773 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6774 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6775 | </Section> |
| 6776 | <Section name="One tag exclusion, using exclude:, and one wldcarded name inclusion"> |
| 6777 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6778 | <Original> |
| 6779 | spec.hasFilters() == true |
| 6780 | </Original> |
| 6781 | <Expanded> |
| 6782 | true == true |
| 6783 | </Expanded> |
| 6784 | </Expression> |
| 6785 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6786 | <Original> |
| 6787 | spec.matches( tcA ) == false |
| 6788 | </Original> |
| 6789 | <Expanded> |
| 6790 | false == false |
| 6791 | </Expanded> |
| 6792 | </Expression> |
| 6793 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6794 | <Original> |
| 6795 | spec.matches( tcB ) == false |
| 6796 | </Original> |
| 6797 | <Expanded> |
| 6798 | false == false |
| 6799 | </Expanded> |
| 6800 | </Expression> |
| 6801 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6802 | <Original> |
| 6803 | spec.matches( tcC ) == false |
| 6804 | </Original> |
| 6805 | <Expanded> |
| 6806 | false == false |
| 6807 | </Expanded> |
| 6808 | </Expression> |
| 6809 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6810 | <Original> |
| 6811 | spec.matches( tcD ) == true |
| 6812 | </Original> |
| 6813 | <Expanded> |
| 6814 | true == true |
| 6815 | </Expanded> |
| 6816 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6817 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6818 | </Section> |
| 6819 | <Section name="name exclusion"> |
| 6820 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6821 | <Original> |
| 6822 | spec.hasFilters() == true |
| 6823 | </Original> |
| 6824 | <Expanded> |
| 6825 | true == true |
| 6826 | </Expanded> |
| 6827 | </Expression> |
| 6828 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6829 | <Original> |
| 6830 | spec.matches( tcA ) == true |
| 6831 | </Original> |
| 6832 | <Expanded> |
| 6833 | true == true |
| 6834 | </Expanded> |
| 6835 | </Expression> |
| 6836 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6837 | <Original> |
| 6838 | spec.matches( tcB ) == false |
| 6839 | </Original> |
| 6840 | <Expanded> |
| 6841 | false == false |
| 6842 | </Expanded> |
| 6843 | </Expression> |
| 6844 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6845 | <Original> |
| 6846 | spec.matches( tcC ) == true |
| 6847 | </Original> |
| 6848 | <Expanded> |
| 6849 | true == true |
| 6850 | </Expanded> |
| 6851 | </Expression> |
| 6852 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6853 | <Original> |
| 6854 | spec.matches( tcD ) == true |
| 6855 | </Original> |
| 6856 | <Expanded> |
| 6857 | true == true |
| 6858 | </Expanded> |
| 6859 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6860 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6861 | </Section> |
| 6862 | <Section name="wildcarded name exclusion"> |
| 6863 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6864 | <Original> |
| 6865 | spec.hasFilters() == true |
| 6866 | </Original> |
| 6867 | <Expanded> |
| 6868 | true == true |
| 6869 | </Expanded> |
| 6870 | </Expression> |
| 6871 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6872 | <Original> |
| 6873 | spec.matches( tcA ) == true |
| 6874 | </Original> |
| 6875 | <Expanded> |
| 6876 | true == true |
| 6877 | </Expanded> |
| 6878 | </Expression> |
| 6879 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6880 | <Original> |
| 6881 | spec.matches( tcB ) == true |
| 6882 | </Original> |
| 6883 | <Expanded> |
| 6884 | true == true |
| 6885 | </Expanded> |
| 6886 | </Expression> |
| 6887 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6888 | <Original> |
| 6889 | spec.matches( tcC ) == false |
| 6890 | </Original> |
| 6891 | <Expanded> |
| 6892 | false == false |
| 6893 | </Expanded> |
| 6894 | </Expression> |
| 6895 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6896 | <Original> |
| 6897 | spec.matches( tcD ) == false |
| 6898 | </Original> |
| 6899 | <Expanded> |
| 6900 | false == false |
| 6901 | </Expanded> |
| 6902 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6903 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6904 | </Section> |
| 6905 | <Section name="wildcarded name exclusion with tag inclusion"> |
| 6906 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6907 | <Original> |
| 6908 | spec.hasFilters() == true |
| 6909 | </Original> |
| 6910 | <Expanded> |
| 6911 | true == true |
| 6912 | </Expanded> |
| 6913 | </Expression> |
| 6914 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6915 | <Original> |
| 6916 | spec.matches( tcA ) == true |
| 6917 | </Original> |
| 6918 | <Expanded> |
| 6919 | true == true |
| 6920 | </Expanded> |
| 6921 | </Expression> |
| 6922 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6923 | <Original> |
| 6924 | spec.matches( tcB ) == true |
| 6925 | </Original> |
| 6926 | <Expanded> |
| 6927 | true == true |
| 6928 | </Expanded> |
| 6929 | </Expression> |
| 6930 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6931 | <Original> |
| 6932 | spec.matches( tcC ) == true |
| 6933 | </Original> |
| 6934 | <Expanded> |
| 6935 | true == true |
| 6936 | </Expanded> |
| 6937 | </Expression> |
| 6938 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6939 | <Original> |
| 6940 | spec.matches( tcD ) == false |
| 6941 | </Original> |
| 6942 | <Expanded> |
| 6943 | false == false |
| 6944 | </Expanded> |
| 6945 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6946 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6947 | </Section> |
| 6948 | <Section name="wildcarded name exclusion, using exclude:, with tag inclusion"> |
| 6949 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6950 | <Original> |
| 6951 | spec.hasFilters() == true |
| 6952 | </Original> |
| 6953 | <Expanded> |
| 6954 | true == true |
| 6955 | </Expanded> |
| 6956 | </Expression> |
| 6957 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6958 | <Original> |
| 6959 | spec.matches( tcA ) == true |
| 6960 | </Original> |
| 6961 | <Expanded> |
| 6962 | true == true |
| 6963 | </Expanded> |
| 6964 | </Expression> |
| 6965 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6966 | <Original> |
| 6967 | spec.matches( tcB ) == true |
| 6968 | </Original> |
| 6969 | <Expanded> |
| 6970 | true == true |
| 6971 | </Expanded> |
| 6972 | </Expression> |
| 6973 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6974 | <Original> |
| 6975 | spec.matches( tcC ) == true |
| 6976 | </Original> |
| 6977 | <Expanded> |
| 6978 | true == true |
| 6979 | </Expanded> |
| 6980 | </Expression> |
| 6981 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6982 | <Original> |
| 6983 | spec.matches( tcD ) == false |
| 6984 | </Original> |
| 6985 | <Expanded> |
| 6986 | false == false |
| 6987 | </Expanded> |
| 6988 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6989 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6990 | </Section> |
| 6991 | <Section name="two wildcarded names"> |
| 6992 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 6993 | <Original> |
| 6994 | spec.hasFilters() == true |
| 6995 | </Original> |
| 6996 | <Expanded> |
| 6997 | true == true |
| 6998 | </Expanded> |
| 6999 | </Expression> |
| 7000 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 7001 | <Original> |
| 7002 | spec.matches( tcA ) == false |
| 7003 | </Original> |
| 7004 | <Expanded> |
| 7005 | false == false |
| 7006 | </Expanded> |
| 7007 | </Expression> |
| 7008 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 7009 | <Original> |
| 7010 | spec.matches( tcB ) == false |
| 7011 | </Original> |
| 7012 | <Expanded> |
| 7013 | false == false |
| 7014 | </Expanded> |
| 7015 | </Expression> |
| 7016 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 7017 | <Original> |
| 7018 | spec.matches( tcC ) == true |
| 7019 | </Original> |
| 7020 | <Expanded> |
| 7021 | true == true |
| 7022 | </Expanded> |
| 7023 | </Expression> |
| 7024 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 7025 | <Original> |
| 7026 | spec.matches( tcD ) == false |
| 7027 | </Original> |
| 7028 | <Expanded> |
| 7029 | false == false |
| 7030 | </Expanded> |
| 7031 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7032 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 7033 | </Section> |
| 7034 | <Section name="empty tag"> |
| 7035 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 7036 | <Original> |
| 7037 | spec.hasFilters() == false |
| 7038 | </Original> |
| 7039 | <Expanded> |
| 7040 | false == false |
| 7041 | </Expanded> |
| 7042 | </Expression> |
| 7043 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 7044 | <Original> |
| 7045 | spec.matches( tcA ) == false |
| 7046 | </Original> |
| 7047 | <Expanded> |
| 7048 | false == false |
| 7049 | </Expanded> |
| 7050 | </Expression> |
| 7051 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 7052 | <Original> |
| 7053 | spec.matches( tcB ) == false |
| 7054 | </Original> |
| 7055 | <Expanded> |
| 7056 | false == false |
| 7057 | </Expanded> |
| 7058 | </Expression> |
| 7059 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 7060 | <Original> |
| 7061 | spec.matches( tcC ) == false |
| 7062 | </Original> |
| 7063 | <Expanded> |
| 7064 | false == false |
| 7065 | </Expanded> |
| 7066 | </Expression> |
| 7067 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 7068 | <Original> |
| 7069 | spec.matches( tcD ) == false |
| 7070 | </Original> |
| 7071 | <Expanded> |
| 7072 | false == false |
| 7073 | </Expanded> |
| 7074 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7075 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 7076 | </Section> |
| 7077 | <Section name="empty quoted name"> |
| 7078 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 7079 | <Original> |
| 7080 | spec.hasFilters() == false |
| 7081 | </Original> |
| 7082 | <Expanded> |
| 7083 | false == false |
| 7084 | </Expanded> |
| 7085 | </Expression> |
| 7086 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 7087 | <Original> |
| 7088 | spec.matches( tcA ) == false |
| 7089 | </Original> |
| 7090 | <Expanded> |
| 7091 | false == false |
| 7092 | </Expanded> |
| 7093 | </Expression> |
| 7094 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 7095 | <Original> |
| 7096 | spec.matches( tcB ) == false |
| 7097 | </Original> |
| 7098 | <Expanded> |
| 7099 | false == false |
| 7100 | </Expanded> |
| 7101 | </Expression> |
| 7102 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 7103 | <Original> |
| 7104 | spec.matches( tcC ) == false |
| 7105 | </Original> |
| 7106 | <Expanded> |
| 7107 | false == false |
| 7108 | </Expanded> |
| 7109 | </Expression> |
| 7110 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 7111 | <Original> |
| 7112 | spec.matches( tcD ) == false |
| 7113 | </Original> |
| 7114 | <Expanded> |
| 7115 | false == false |
| 7116 | </Expanded> |
| 7117 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7118 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 7119 | </Section> |
| 7120 | <Section name="quoted string followed by tag exclusion"> |
| 7121 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 7122 | <Original> |
| 7123 | spec.hasFilters() == true |
| 7124 | </Original> |
| 7125 | <Expanded> |
| 7126 | true == true |
| 7127 | </Expanded> |
| 7128 | </Expression> |
| 7129 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 7130 | <Original> |
| 7131 | spec.matches( tcA ) == false |
| 7132 | </Original> |
| 7133 | <Expanded> |
| 7134 | false == false |
| 7135 | </Expanded> |
| 7136 | </Expression> |
| 7137 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 7138 | <Original> |
| 7139 | spec.matches( tcB ) == false |
| 7140 | </Original> |
| 7141 | <Expanded> |
| 7142 | false == false |
| 7143 | </Expanded> |
| 7144 | </Expression> |
| 7145 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 7146 | <Original> |
| 7147 | spec.matches( tcC ) == false |
| 7148 | </Original> |
| 7149 | <Expanded> |
| 7150 | false == false |
| 7151 | </Expanded> |
| 7152 | </Expression> |
| 7153 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/CmdLineTests.cpp" > |
| 7154 | <Original> |
| 7155 | spec.matches( tcD ) == true |
| 7156 | </Original> |
| 7157 | <Expanded> |
| 7158 | true == true |
| 7159 | </Expanded> |
| 7160 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7161 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 7162 | </Section> |
| 7163 | <OverallResult success="true"/> |
| 7164 | </TestCase> |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 7165 | <TestCase name="Tag alias can be registered against tag patterns"> |
| 7166 | <Section name="The same tag alias can only be registered once"> |
| 7167 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TagAliasTests.cpp" > |
| 7168 | <Original> |
| 7169 | what Contains( "[@zzz]" ) |
| 7170 | </Original> |
| 7171 | <Expanded> |
| 7172 | "error: tag alias, "[@zzz]" already registered. |
| 7173 | First seen at file:2 |
| 7174 | Redefined at file:10" contains: "[@zzz]" |
| 7175 | </Expanded> |
| 7176 | </Expression> |
| 7177 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TagAliasTests.cpp" > |
| 7178 | <Original> |
| 7179 | what Contains( "file" ) |
| 7180 | </Original> |
| 7181 | <Expanded> |
| 7182 | "error: tag alias, "[@zzz]" already registered. |
| 7183 | First seen at file:2 |
| 7184 | Redefined at file:10" contains: "file" |
| 7185 | </Expanded> |
| 7186 | </Expression> |
| 7187 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TagAliasTests.cpp" > |
| 7188 | <Original> |
| 7189 | what Contains( "2" ) |
| 7190 | </Original> |
| 7191 | <Expanded> |
| 7192 | "error: tag alias, "[@zzz]" already registered. |
| 7193 | First seen at file:2 |
| 7194 | Redefined at file:10" contains: "2" |
| 7195 | </Expanded> |
| 7196 | </Expression> |
| 7197 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TagAliasTests.cpp" > |
| 7198 | <Original> |
| 7199 | what Contains( "10" ) |
| 7200 | </Original> |
| 7201 | <Expanded> |
| 7202 | "error: tag alias, "[@zzz]" already registered. |
| 7203 | First seen at file:2 |
| 7204 | Redefined at file:10" contains: "10" |
| 7205 | </Expanded> |
| 7206 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7207 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 7208 | </Section> |
| 7209 | <Section name="Tag aliases must be of the form [@name]"> |
| 7210 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TagAliasTests.cpp" > |
| 7211 | <Original> |
| 7212 | registry.add( "[no ampersat]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7213 | </Original> |
| 7214 | <Expanded> |
| 7215 | registry.add( "[no ampersat]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7216 | </Expanded> |
| 7217 | </Expression> |
| 7218 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TagAliasTests.cpp" > |
| 7219 | <Original> |
| 7220 | registry.add( "[the @ is not at the start]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7221 | </Original> |
| 7222 | <Expanded> |
| 7223 | registry.add( "[the @ is not at the start]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7224 | </Expanded> |
| 7225 | </Expression> |
| 7226 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TagAliasTests.cpp" > |
| 7227 | <Original> |
| 7228 | registry.add( "@no square bracket at start]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7229 | </Original> |
| 7230 | <Expanded> |
| 7231 | registry.add( "@no square bracket at start]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7232 | </Expanded> |
| 7233 | </Expression> |
| 7234 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TagAliasTests.cpp" > |
| 7235 | <Original> |
| 7236 | registry.add( "[@no square bracket at end", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7237 | </Original> |
| 7238 | <Expanded> |
| 7239 | registry.add( "[@no square bracket at end", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7240 | </Expanded> |
| 7241 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7242 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 7243 | </Section> |
| 7244 | <OverallResult success="true"/> |
| 7245 | </TestCase> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7246 | <TestCase name="Anonymous test case 1"> |
| 7247 | <OverallResult success="true"/> |
| 7248 | </TestCase> |
| 7249 | <TestCase name="Test case with one argument"> |
| 7250 | <OverallResult success="true"/> |
| 7251 | </TestCase> |
| 7252 | <TestCase name="Variadic macros"> |
| 7253 | <Section name="Section with one argument"> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7254 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7255 | </Section> |
| 7256 | <OverallResult success="true"/> |
| 7257 | </TestCase> |
| 7258 | <TestCase name="Scenario: Do that thing with the thing"> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 7259 | <Section name="Given: This stuff exists"> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 7260 | <Section name="When: I do this"> |
| 7261 | <Section name="Then: it should do this"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7262 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/BDDTests.cpp" > |
| 7263 | <Original> |
| 7264 | itDoesThis() |
| 7265 | </Original> |
| 7266 | <Expanded> |
| 7267 | true |
| 7268 | </Expanded> |
| 7269 | </Expression> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 7270 | <Section name="And: do that"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7271 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/BDDTests.cpp" > |
| 7272 | <Original> |
| 7273 | itDoesThat() |
| 7274 | </Original> |
| 7275 | <Expanded> |
| 7276 | true |
| 7277 | </Expanded> |
| 7278 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7279 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7280 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7281 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7282 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7283 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7284 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7285 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7286 | </Section> |
| 7287 | <OverallResult success="true"/> |
| 7288 | </TestCase> |
| 7289 | <TestCase name="Scenario: Vector resizing affects size and capacity"> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 7290 | <Section name="Given: an empty vector"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7291 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/BDDTests.cpp" > |
| 7292 | <Original> |
| 7293 | v.size() == 0 |
| 7294 | </Original> |
| 7295 | <Expanded> |
| 7296 | 0 == 0 |
| 7297 | </Expanded> |
| 7298 | </Expression> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 7299 | <Section name="When: it is made larger"> |
| 7300 | <Section name="Then: the size and capacity go up"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7301 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/BDDTests.cpp" > |
| 7302 | <Original> |
| 7303 | v.size() == 10 |
| 7304 | </Original> |
| 7305 | <Expanded> |
| 7306 | 10 == 10 |
| 7307 | </Expanded> |
| 7308 | </Expression> |
| 7309 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/BDDTests.cpp" > |
| 7310 | <Original> |
| 7311 | v.capacity() >= 10 |
| 7312 | </Original> |
| 7313 | <Expanded> |
| 7314 | 10 >= 10 |
| 7315 | </Expanded> |
| 7316 | </Expression> |
| 7317 | <Section name="And when: it is made smaller again"> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 7318 | <Section name="Then: the size goes down but the capacity stays the same"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7319 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/BDDTests.cpp" > |
| 7320 | <Original> |
| 7321 | v.size() == 5 |
| 7322 | </Original> |
| 7323 | <Expanded> |
| 7324 | 5 == 5 |
| 7325 | </Expanded> |
| 7326 | </Expression> |
| 7327 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/BDDTests.cpp" > |
| 7328 | <Original> |
| 7329 | v.capacity() >= 10 |
| 7330 | </Original> |
| 7331 | <Expanded> |
| 7332 | 10 >= 10 |
| 7333 | </Expanded> |
| 7334 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7335 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7336 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7337 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7338 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7339 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7340 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7341 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7342 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7343 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7344 | </Section> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 7345 | <Section name="Given: an empty vector"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7346 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/BDDTests.cpp" > |
| 7347 | <Original> |
| 7348 | v.size() == 0 |
| 7349 | </Original> |
| 7350 | <Expanded> |
| 7351 | 0 == 0 |
| 7352 | </Expanded> |
| 7353 | </Expression> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 7354 | <Section name="When: we reserve more space"> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 7355 | <Section name="Then: The capacity is increased but the size remains the same"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7356 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/BDDTests.cpp" > |
| 7357 | <Original> |
| 7358 | v.capacity() >= 10 |
| 7359 | </Original> |
| 7360 | <Expanded> |
| 7361 | 10 >= 10 |
| 7362 | </Expanded> |
| 7363 | </Expression> |
| 7364 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/BDDTests.cpp" > |
| 7365 | <Original> |
| 7366 | v.size() == 0 |
| 7367 | </Original> |
| 7368 | <Expanded> |
| 7369 | 0 == 0 |
| 7370 | </Expanded> |
| 7371 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7372 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7373 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7374 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7375 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7376 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7377 | </Section> |
| 7378 | <OverallResult success="true"/> |
| 7379 | </TestCase> |
| 7380 | <TestCase name="Scenario: This is a really long scenario name to see how the list command deals with wrapping"> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 7381 | <Section name="Given: A section name that is so long that it cannot fit in a single console width"> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 7382 | <Section name="When: The test headers are printed as part of the normal running of the scenario"> |
| 7383 | <Section name="Then: The, deliberately very long and overly verbose (you see what I did there?) section names must wrap, along with an indent"> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7384 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7385 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7386 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7387 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7388 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7389 | </Section> |
| 7390 | <OverallResult success="true"/> |
| 7391 | </TestCase> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7392 | <TestCase name="section tracking"> |
| 7393 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" > |
| 7394 | <Original> |
| 7395 | !testCaseTracker.isCompleted() |
| 7396 | </Original> |
| 7397 | <Expanded> |
| 7398 | !false |
| 7399 | </Expanded> |
| 7400 | </Expression> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7401 | <Section name="test case with no sections"> |
| 7402 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" > |
| 7403 | <Original> |
| 7404 | !testCaseTracker.isCompleted() |
| 7405 | </Original> |
| 7406 | <Expanded> |
| 7407 | !false |
| 7408 | </Expanded> |
| 7409 | </Expression> |
| 7410 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" > |
| 7411 | <Original> |
| 7412 | testCaseTracker.isCompleted() |
| 7413 | </Original> |
| 7414 | <Expanded> |
| 7415 | true |
| 7416 | </Expanded> |
| 7417 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7418 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7419 | </Section> |
| 7420 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" > |
| 7421 | <Original> |
| 7422 | !testCaseTracker.isCompleted() |
| 7423 | </Original> |
| 7424 | <Expanded> |
| 7425 | !false |
| 7426 | </Expanded> |
| 7427 | </Expression> |
| 7428 | <Section name="test case with one section"> |
| 7429 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" > |
| 7430 | <Original> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7431 | testCaseTracker.enterSection( section1Name ) |
| 7432 | </Original> |
| 7433 | <Expanded> |
| 7434 | true |
| 7435 | </Expanded> |
| 7436 | </Expression> |
| 7437 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" > |
| 7438 | <Original> |
Phil Nash | a020865 | 2014-04-21 19:02:38 +0100 | [diff] [blame] | 7439 | !testCaseTracker.isCompleted() |
| 7440 | </Original> |
| 7441 | <Expanded> |
| 7442 | !false |
| 7443 | </Expanded> |
| 7444 | </Expression> |
| 7445 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" > |
| 7446 | <Original> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7447 | testCaseTracker.isCompleted() |
| 7448 | </Original> |
| 7449 | <Expanded> |
| 7450 | true |
| 7451 | </Expanded> |
| 7452 | </Expression> |
Phil Nash | a020865 | 2014-04-21 19:02:38 +0100 | [diff] [blame] | 7453 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" > |
| 7454 | <Original> |
| 7455 | !testCaseTracker.enterSection( section1Name ) |
| 7456 | </Original> |
| 7457 | <Expanded> |
| 7458 | !false |
| 7459 | </Expanded> |
| 7460 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7461 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7462 | </Section> |
| 7463 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" > |
| 7464 | <Original> |
| 7465 | !testCaseTracker.isCompleted() |
| 7466 | </Original> |
| 7467 | <Expanded> |
| 7468 | !false |
| 7469 | </Expanded> |
| 7470 | </Expression> |
| 7471 | <Section name="test case with two consecutive sections"> |
| 7472 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" > |
| 7473 | <Original> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7474 | testCaseTracker.enterSection( section1Name ) |
| 7475 | </Original> |
| 7476 | <Expanded> |
| 7477 | true |
| 7478 | </Expanded> |
| 7479 | </Expression> |
| 7480 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" > |
| 7481 | <Original> |
| 7482 | !testCaseTracker.enterSection( section2Name ) |
| 7483 | </Original> |
| 7484 | <Expanded> |
| 7485 | !false |
| 7486 | </Expanded> |
| 7487 | </Expression> |
| 7488 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" > |
| 7489 | <Original> |
| 7490 | !testCaseTracker.isCompleted() |
| 7491 | </Original> |
| 7492 | <Expanded> |
| 7493 | !false |
| 7494 | </Expanded> |
| 7495 | </Expression> |
| 7496 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" > |
| 7497 | <Original> |
| 7498 | !testCaseTracker.enterSection( section1Name ) |
| 7499 | </Original> |
| 7500 | <Expanded> |
| 7501 | !false |
| 7502 | </Expanded> |
| 7503 | </Expression> |
| 7504 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" > |
| 7505 | <Original> |
| 7506 | testCaseTracker.enterSection( section2Name ) |
| 7507 | </Original> |
| 7508 | <Expanded> |
| 7509 | true |
| 7510 | </Expanded> |
| 7511 | </Expression> |
| 7512 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" > |
| 7513 | <Original> |
| 7514 | testCaseTracker.isCompleted() |
| 7515 | </Original> |
| 7516 | <Expanded> |
| 7517 | true |
| 7518 | </Expanded> |
| 7519 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7520 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7521 | </Section> |
| 7522 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" > |
| 7523 | <Original> |
| 7524 | !testCaseTracker.isCompleted() |
| 7525 | </Original> |
| 7526 | <Expanded> |
| 7527 | !false |
| 7528 | </Expanded> |
| 7529 | </Expression> |
| 7530 | <Section name="test case with one section within another"> |
| 7531 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" > |
| 7532 | <Original> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7533 | testCaseTracker.enterSection( section1Name ) |
| 7534 | </Original> |
| 7535 | <Expanded> |
| 7536 | true |
| 7537 | </Expanded> |
| 7538 | </Expression> |
| 7539 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" > |
| 7540 | <Original> |
| 7541 | testCaseTracker.enterSection( section2Name ) |
| 7542 | </Original> |
| 7543 | <Expanded> |
| 7544 | true |
| 7545 | </Expanded> |
| 7546 | </Expression> |
| 7547 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" > |
| 7548 | <Original> |
Phil Nash | a020865 | 2014-04-21 19:02:38 +0100 | [diff] [blame] | 7549 | !testCaseTracker.isCompleted() |
| 7550 | </Original> |
| 7551 | <Expanded> |
| 7552 | !false |
| 7553 | </Expanded> |
| 7554 | </Expression> |
| 7555 | <Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" > |
| 7556 | <Original> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7557 | testCaseTracker.isCompleted() |
| 7558 | </Original> |
| 7559 | <Expanded> |
| 7560 | true |
| 7561 | </Expanded> |
| 7562 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7563 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7564 | </Section> |
| 7565 | <OverallResult success="true"/> |
| 7566 | </TestCase> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7567 | <OverallResults successes="611" failures="99" expectedFailures="13"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7568 | </Group> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7569 | <OverallResults successes="611" failures="99" expectedFailures="13"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7570 | </Catch> |