Phil Nash | 1f271c9 | 2017-02-06 16:00:05 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2 | <Catch name="<exe-name>"> |
| 3 | <Group name="<exe-name>"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4 | <TestCase name="# A test name that starts with a #"> |
| 5 | <OverallResult success="true"/> |
| 6 | </TestCase> |
Phil Nash | d6b8ac5 | 2017-02-10 11:53:29 +0000 | [diff] [blame^] | 7 | <TestCase name="#542"> |
| 8 | <Expression success="true" type="CHECK_THROWS_AS" filename="projects/<exe-name>/CompilationTests.cpp" > |
| 9 | <Original> |
| 10 | throws_int(true), int |
| 11 | </Original> |
| 12 | <Expanded> |
| 13 | throws_int(true), int |
| 14 | </Expanded> |
| 15 | </Expression> |
| 16 | <Expression success="true" type="CHECK_THROWS_AS" filename="projects/<exe-name>/CompilationTests.cpp" > |
| 17 | <Original> |
| 18 | throws_int(true), int& |
| 19 | </Original> |
| 20 | <Expanded> |
| 21 | throws_int(true), int& |
| 22 | </Expanded> |
| 23 | </Expression> |
| 24 | <Expression success="true" type="CHECK_THROWS_AS" filename="projects/<exe-name>/CompilationTests.cpp" > |
| 25 | <Original> |
| 26 | throws_int(true), const int |
| 27 | </Original> |
| 28 | <Expanded> |
| 29 | throws_int(true), const int |
| 30 | </Expanded> |
| 31 | </Expression> |
| 32 | <Expression success="true" type="CHECK_THROWS_AS" filename="projects/<exe-name>/CompilationTests.cpp" > |
| 33 | <Original> |
| 34 | throws_int(true), const int& |
| 35 | </Original> |
| 36 | <Expanded> |
| 37 | throws_int(true), const int& |
| 38 | </Expanded> |
| 39 | </Expression> |
| 40 | <OverallResult success="true"/> |
| 41 | </TestCase> |
Martin Hořeňovský | 7db4d8d | 2017-02-07 13:32:48 +0100 | [diff] [blame] | 42 | <TestCase name="#809"> |
| 43 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/CompilationTests.cpp" > |
| 44 | <Original> |
| 45 | 42 == f |
| 46 | </Original> |
| 47 | <Expanded> |
| 48 | 42 == {?} |
| 49 | </Expanded> |
| 50 | </Expression> |
| 51 | <OverallResult success="true"/> |
| 52 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 53 | <TestCase name="'Not' checks that should fail" tags="[.][failing][hide]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 54 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 55 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 56 | false != false |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 57 | </Original> |
| 58 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 59 | false != false |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 60 | </Expanded> |
| 61 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 62 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 63 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 64 | true != true |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 65 | </Original> |
| 66 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 67 | true != true |
| 68 | </Expanded> |
| 69 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 70 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 71 | <Original> |
| 72 | !true |
| 73 | </Original> |
| 74 | <Expanded> |
| 75 | false |
| 76 | </Expanded> |
| 77 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 78 | <Expression success="false" type="CHECK_FALSE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 79 | <Original> |
| 80 | !true |
| 81 | </Original> |
| 82 | <Expanded> |
| 83 | !true |
| 84 | </Expanded> |
| 85 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 86 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 87 | <Original> |
| 88 | !trueValue |
| 89 | </Original> |
| 90 | <Expanded> |
| 91 | false |
| 92 | </Expanded> |
| 93 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 94 | <Expression success="false" type="CHECK_FALSE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 95 | <Original> |
| 96 | !trueValue |
| 97 | </Original> |
| 98 | <Expanded> |
| 99 | !true |
| 100 | </Expanded> |
| 101 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 102 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 103 | <Original> |
| 104 | !(1 == 1) |
| 105 | </Original> |
| 106 | <Expanded> |
| 107 | false |
| 108 | </Expanded> |
| 109 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 110 | <Expression success="false" type="CHECK_FALSE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 111 | <Original> |
| 112 | !1 == 1 |
| 113 | </Original> |
| 114 | <Expanded> |
| 115 | !(1 == 1) |
| 116 | </Expanded> |
| 117 | </Expression> |
| 118 | <OverallResult success="false"/> |
| 119 | </TestCase> |
| 120 | <TestCase name="'Not' checks that should succeed"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 121 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 122 | <Original> |
| 123 | false == false |
| 124 | </Original> |
| 125 | <Expanded> |
| 126 | false == false |
| 127 | </Expanded> |
| 128 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 129 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 130 | <Original> |
| 131 | true == true |
| 132 | </Original> |
| 133 | <Expanded> |
| 134 | true == true |
| 135 | </Expanded> |
| 136 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 137 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 138 | <Original> |
| 139 | !false |
| 140 | </Original> |
| 141 | <Expanded> |
| 142 | true |
| 143 | </Expanded> |
| 144 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 145 | <Expression success="true" type="REQUIRE_FALSE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 146 | <Original> |
| 147 | !false |
| 148 | </Original> |
| 149 | <Expanded> |
| 150 | !false |
| 151 | </Expanded> |
| 152 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 153 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 154 | <Original> |
| 155 | !falseValue |
| 156 | </Original> |
| 157 | <Expanded> |
| 158 | true |
| 159 | </Expanded> |
| 160 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 161 | <Expression success="true" type="REQUIRE_FALSE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 162 | <Original> |
| 163 | !falseValue |
| 164 | </Original> |
| 165 | <Expanded> |
| 166 | !false |
| 167 | </Expanded> |
| 168 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 169 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 170 | <Original> |
| 171 | !(1 == 2) |
| 172 | </Original> |
| 173 | <Expanded> |
| 174 | true |
| 175 | </Expanded> |
| 176 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 177 | <Expression success="true" type="REQUIRE_FALSE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 178 | <Original> |
| 179 | !1 == 2 |
| 180 | </Original> |
| 181 | <Expanded> |
| 182 | !(1 == 2) |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 183 | </Expanded> |
| 184 | </Expression> |
| 185 | <OverallResult success="true"/> |
| 186 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 187 | <TestCase name="(unimplemented) static bools can be evaluated" tags="[Tricky]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 188 | <Section name="compare to true"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 189 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 190 | <Original> |
| 191 | is_true<true>::value == true |
| 192 | </Original> |
| 193 | <Expanded> |
| 194 | true == true |
| 195 | </Expanded> |
| 196 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 197 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 198 | <Original> |
| 199 | true == is_true<true>::value |
| 200 | </Original> |
| 201 | <Expanded> |
| 202 | true == true |
| 203 | </Expanded> |
| 204 | </Expression> |
| 205 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 206 | </Section> |
| 207 | <Section name="compare to false"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 208 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 209 | <Original> |
| 210 | is_true<false>::value == false |
| 211 | </Original> |
| 212 | <Expanded> |
| 213 | false == false |
| 214 | </Expanded> |
| 215 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 216 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 217 | <Original> |
| 218 | false == is_true<false>::value |
| 219 | </Original> |
| 220 | <Expanded> |
| 221 | false == false |
| 222 | </Expanded> |
| 223 | </Expression> |
| 224 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 225 | </Section> |
| 226 | <Section name="negation"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 227 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 228 | <Original> |
| 229 | !is_true<false>::value |
| 230 | </Original> |
| 231 | <Expanded> |
| 232 | true |
| 233 | </Expanded> |
| 234 | </Expression> |
| 235 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 236 | </Section> |
| 237 | <Section name="double negation"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 238 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 239 | <Original> |
| 240 | !!is_true<true>::value |
| 241 | </Original> |
| 242 | <Expanded> |
| 243 | true |
| 244 | </Expanded> |
| 245 | </Expression> |
| 246 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 247 | </Section> |
| 248 | <Section name="direct"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 249 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 250 | <Original> |
| 251 | is_true<true>::value |
| 252 | </Original> |
| 253 | <Expanded> |
| 254 | true |
| 255 | </Expanded> |
| 256 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 257 | <Expression success="true" type="REQUIRE_FALSE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 258 | <Original> |
| 259 | !is_true<false>::value |
| 260 | </Original> |
| 261 | <Expanded> |
| 262 | !false |
| 263 | </Expanded> |
| 264 | </Expression> |
| 265 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 266 | </Section> |
| 267 | <OverallResult success="true"/> |
| 268 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 269 | <TestCase name="A METHOD_AS_TEST_CASE based test run that fails" tags="[.][class][failing][hide]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 270 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/ClassTests.cpp" > |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 271 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 272 | s == "world" |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 273 | </Original> |
| 274 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 275 | "hello" == "world" |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 276 | </Expanded> |
| 277 | </Expression> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 278 | <OverallResult success="false"/> |
| 279 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 280 | <TestCase name="A METHOD_AS_TEST_CASE based test run that succeeds" tags="[class]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 281 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ClassTests.cpp" > |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 282 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 283 | s == "hello" |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 284 | </Original> |
| 285 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 286 | "hello" == "hello" |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 287 | </Expanded> |
| 288 | </Expression> |
| 289 | <OverallResult success="true"/> |
| 290 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 291 | <TestCase name="A TEST_CASE_METHOD based test run that fails" tags="[.][class][failing][hide]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 292 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/ClassTests.cpp" > |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 293 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 294 | m_a == 2 |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 295 | </Original> |
| 296 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 297 | 1 == 2 |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 298 | </Expanded> |
| 299 | </Expression> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 300 | <OverallResult success="false"/> |
| 301 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 302 | <TestCase name="A TEST_CASE_METHOD based test run that succeeds" tags="[class]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 303 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ClassTests.cpp" > |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 304 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 305 | m_a == 1 |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 306 | </Original> |
| 307 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 308 | 1 == 1 |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 309 | </Expanded> |
| 310 | </Expression> |
| 311 | <OverallResult success="true"/> |
| 312 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 313 | <TestCase name="A couple of nested sections followed by a failure" tags="[.][failing][hide]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 314 | <Section name="Outer"> |
| 315 | <Section name="Inner"> |
| 316 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 317 | </Section> |
| 318 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 319 | </Section> |
| 320 | <Failure> |
| 321 | to infinity and beyond |
| 322 | </Failure> |
| 323 | <OverallResult success="false"/> |
| 324 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 325 | <TestCase name="A failing expression with a non streamable type is still captured" tags="[.][Tricky][failing][hide]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 326 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 327 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 328 | &o1 == &o2 |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 329 | </Original> |
| 330 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 331 | 0x<hex digits> == 0x<hex digits> |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 332 | </Expanded> |
| 333 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 334 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 335 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 336 | o1 == o2 |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 337 | </Original> |
| 338 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 339 | {?} == {?} |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 340 | </Expanded> |
| 341 | </Expression> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 342 | <OverallResult success="false"/> |
| 343 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 344 | <TestCase name="AllOf matcher" tags="[matchers]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 345 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 886ef16 | 2014-09-04 07:27:09 +0100 | [diff] [blame] | 346 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 347 | testStringForMatching(), AllOf( Catch::Contains( "string" ), Catch::Contains( "abc" ) ) |
Phil Nash | 886ef16 | 2014-09-04 07:27:09 +0100 | [diff] [blame] | 348 | </Original> |
| 349 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 350 | "this string contains 'abc' as a substring" ( contains: "string" and contains: "abc" ) |
Phil Nash | 886ef16 | 2014-09-04 07:27:09 +0100 | [diff] [blame] | 351 | </Expanded> |
| 352 | </Expression> |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 353 | <OverallResult success="true"/> |
| 354 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 355 | <TestCase name="An empty test with no assertions" tags="[empty]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 356 | <OverallResult success="true"/> |
| 357 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 358 | <TestCase name="An expression with side-effects should only be evaluated once" tags="[Tricky]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 359 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 360 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 361 | i++ == 7 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 362 | </Original> |
| 363 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 364 | 7 == 7 |
| 365 | </Expanded> |
| 366 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 367 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 368 | <Original> |
| 369 | i++ == 8 |
| 370 | </Original> |
| 371 | <Expanded> |
| 372 | 8 == 8 |
| 373 | </Expanded> |
| 374 | </Expression> |
| 375 | <OverallResult success="true"/> |
| 376 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 377 | <TestCase name="An unchecked exception reports the line of the last assertion" tags="[!throws][.][failing][hide]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 378 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 379 | <Original> |
| 380 | 1 == 1 |
| 381 | </Original> |
| 382 | <Expanded> |
| 383 | 1 == 1 |
| 384 | </Expanded> |
| 385 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 386 | <Expression success="false" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 387 | <Original> |
| 388 | {Unknown expression after the reported line} |
| 389 | </Original> |
| 390 | <Expanded> |
| 391 | {Unknown expression after the reported line} |
| 392 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 393 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 394 | unexpected exception |
| 395 | </Exception> |
| 396 | </Expression> |
| 397 | <OverallResult success="false"/> |
| 398 | </TestCase> |
| 399 | <TestCase name="Anonymous test case 1"> |
| 400 | <OverallResult success="true"/> |
| 401 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 402 | <TestCase name="AnyOf matcher" tags="[matchers]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 403 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 404 | <Original> |
| 405 | testStringForMatching(), AnyOf( Catch::Contains( "string" ), Catch::Contains( "not there" ) ) |
| 406 | </Original> |
| 407 | <Expanded> |
| 408 | "this string contains 'abc' as a substring" ( contains: "string" or contains: "not there" ) |
| 409 | </Expanded> |
| 410 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 411 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 412 | <Original> |
| 413 | testStringForMatching(), AnyOf( Catch::Contains( "not there" ), Catch::Contains( "string" ) ) |
| 414 | </Original> |
| 415 | <Expanded> |
| 416 | "this string contains 'abc' as a substring" ( contains: "not there" or contains: "string" ) |
| 417 | </Expanded> |
| 418 | </Expression> |
| 419 | <OverallResult success="true"/> |
| 420 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 421 | <TestCase name="Approximate PI" tags="[Approx][PI]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 422 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 423 | <Original> |
| 424 | divide( 22, 7 ) == Approx( 3.141 ).epsilon( 0.001 ) |
| 425 | </Original> |
| 426 | <Expanded> |
| 427 | 3.1428571429 == Approx( 3.141 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 428 | </Expanded> |
| 429 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 430 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 431 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 432 | divide( 22, 7 ) != Approx( 3.141 ).epsilon( 0.0001 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 433 | </Original> |
| 434 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 435 | 3.1428571429 != Approx( 3.141 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 436 | </Expanded> |
| 437 | </Expression> |
| 438 | <OverallResult success="true"/> |
| 439 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 440 | <TestCase name="Approximate comparisons with different epsilons" tags="[Approx]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 441 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 442 | <Original> |
| 443 | d != Approx( 1.231 ) |
| 444 | </Original> |
| 445 | <Expanded> |
| 446 | 1.23 != Approx( 1.231 ) |
| 447 | </Expanded> |
| 448 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 449 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 450 | <Original> |
| 451 | d == Approx( 1.231 ).epsilon( 0.1 ) |
| 452 | </Original> |
| 453 | <Expanded> |
| 454 | 1.23 == Approx( 1.231 ) |
| 455 | </Expanded> |
| 456 | </Expression> |
| 457 | <OverallResult success="true"/> |
| 458 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 459 | <TestCase name="Approximate comparisons with floats" tags="[Approx]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 460 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 461 | <Original> |
| 462 | 1.23f == Approx( 1.23f ) |
| 463 | </Original> |
| 464 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame] | 465 | 1.23f == Approx( 1.2300000191 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 466 | </Expanded> |
| 467 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 468 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 469 | <Original> |
| 470 | 0.0f == Approx( 0.0f ) |
| 471 | </Original> |
| 472 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame] | 473 | 0.0f == Approx( 0.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 474 | </Expanded> |
| 475 | </Expression> |
| 476 | <OverallResult success="true"/> |
| 477 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 478 | <TestCase name="Approximate comparisons with ints" tags="[Approx]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 479 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 480 | <Original> |
| 481 | 1 == Approx( 1 ) |
| 482 | </Original> |
| 483 | <Expanded> |
Phil Nash | 1aa60fa | 2013-12-19 18:41:55 +0000 | [diff] [blame] | 484 | 1 == Approx( 1.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 485 | </Expanded> |
| 486 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 487 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 488 | <Original> |
| 489 | 0 == Approx( 0 ) |
| 490 | </Original> |
| 491 | <Expanded> |
Phil Nash | 1aa60fa | 2013-12-19 18:41:55 +0000 | [diff] [blame] | 492 | 0 == Approx( 0.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 493 | </Expanded> |
| 494 | </Expression> |
| 495 | <OverallResult success="true"/> |
| 496 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 497 | <TestCase name="Approximate comparisons with mixed numeric types" tags="[Approx]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 498 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 499 | <Original> |
| 500 | 1.0f == Approx( 1 ) |
| 501 | </Original> |
| 502 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame] | 503 | 1.0f == Approx( 1.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 504 | </Expanded> |
| 505 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 506 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 507 | <Original> |
| 508 | 0 == Approx( dZero) |
| 509 | </Original> |
| 510 | <Expanded> |
Phil Nash | 1aa60fa | 2013-12-19 18:41:55 +0000 | [diff] [blame] | 511 | 0 == Approx( 0.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 512 | </Expanded> |
| 513 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 514 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 515 | <Original> |
| 516 | 0 == Approx( dSmall ).epsilon( 0.001 ) |
| 517 | </Original> |
| 518 | <Expanded> |
Phil Nash | 1aa60fa | 2013-12-19 18:41:55 +0000 | [diff] [blame] | 519 | 0 == Approx( 0.00001 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 520 | </Expanded> |
| 521 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 522 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 523 | <Original> |
| 524 | 1.234f == Approx( dMedium ) |
| 525 | </Original> |
| 526 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame] | 527 | 1.234f == Approx( 1.234 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 528 | </Expanded> |
| 529 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 530 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 531 | <Original> |
| 532 | dMedium == Approx( 1.234f ) |
| 533 | </Original> |
| 534 | <Expanded> |
Phil Nash | 1aa60fa | 2013-12-19 18:41:55 +0000 | [diff] [blame] | 535 | 1.234 == Approx( 1.2339999676 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 536 | </Expanded> |
| 537 | </Expression> |
| 538 | <OverallResult success="true"/> |
| 539 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 540 | <TestCase name="Assertions then sections" tags="[Tricky]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 541 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 542 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 543 | Catch::alwaysTrue() |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 544 | </Original> |
| 545 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 546 | true |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 547 | </Expanded> |
| 548 | </Expression> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 549 | <Section name="A section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 550 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 551 | <Original> |
| 552 | Catch::alwaysTrue() |
| 553 | </Original> |
| 554 | <Expanded> |
| 555 | true |
| 556 | </Expanded> |
| 557 | </Expression> |
| 558 | <Section name="Another section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 559 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 560 | <Original> |
| 561 | Catch::alwaysTrue() |
| 562 | </Original> |
| 563 | <Expanded> |
| 564 | true |
| 565 | </Expanded> |
| 566 | </Expression> |
| 567 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 568 | </Section> |
| 569 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 570 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 571 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 572 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 573 | Catch::alwaysTrue() |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 574 | </Original> |
| 575 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 576 | true |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 577 | </Expanded> |
| 578 | </Expression> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 579 | <Section name="A section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 580 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 581 | <Original> |
| 582 | Catch::alwaysTrue() |
| 583 | </Original> |
| 584 | <Expanded> |
| 585 | true |
| 586 | </Expanded> |
| 587 | </Expression> |
| 588 | <Section name="Another other section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 589 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 590 | <Original> |
| 591 | Catch::alwaysTrue() |
| 592 | </Original> |
| 593 | <Expanded> |
| 594 | true |
| 595 | </Expanded> |
| 596 | </Expression> |
| 597 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 598 | </Section> |
| 599 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 600 | </Section> |
| 601 | <OverallResult success="true"/> |
| 602 | </TestCase> |
Martin Hořeňovský | 7db4d8d | 2017-02-07 13:32:48 +0100 | [diff] [blame] | 603 | <TestCase name="Character pretty printing"> |
| 604 | <Section name="Specifically escaped"> |
| 605 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 606 | <Original> |
| 607 | tab == '\t' |
| 608 | </Original> |
| 609 | <Expanded> |
| 610 | '\t' == '\t' |
| 611 | </Expanded> |
| 612 | </Expression> |
| 613 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 614 | <Original> |
| 615 | newline == '\n' |
| 616 | </Original> |
| 617 | <Expanded> |
| 618 | '\n' == '\n' |
| 619 | </Expanded> |
| 620 | </Expression> |
| 621 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 622 | <Original> |
| 623 | carr_return == '\r' |
| 624 | </Original> |
| 625 | <Expanded> |
| 626 | '\r' == '\r' |
| 627 | </Expanded> |
| 628 | </Expression> |
| 629 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 630 | <Original> |
| 631 | form_feed == '\f' |
| 632 | </Original> |
| 633 | <Expanded> |
| 634 | '\f' == '\f' |
| 635 | </Expanded> |
| 636 | </Expression> |
| 637 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 638 | </Section> |
| 639 | <Section name="General chars"> |
| 640 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 641 | <Original> |
| 642 | space == ' ' |
| 643 | </Original> |
| 644 | <Expanded> |
| 645 | ' ' == ' ' |
| 646 | </Expanded> |
| 647 | </Expression> |
| 648 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 649 | <Original> |
| 650 | c == chars[i] |
| 651 | </Original> |
| 652 | <Expanded> |
| 653 | 'a' == 'a' |
| 654 | </Expanded> |
| 655 | </Expression> |
| 656 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 657 | <Original> |
| 658 | c == chars[i] |
| 659 | </Original> |
| 660 | <Expanded> |
| 661 | 'z' == 'z' |
| 662 | </Expanded> |
| 663 | </Expression> |
| 664 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 665 | <Original> |
| 666 | c == chars[i] |
| 667 | </Original> |
| 668 | <Expanded> |
| 669 | 'A' == 'A' |
| 670 | </Expanded> |
| 671 | </Expression> |
| 672 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 673 | <Original> |
| 674 | c == chars[i] |
| 675 | </Original> |
| 676 | <Expanded> |
| 677 | 'Z' == 'Z' |
| 678 | </Expanded> |
| 679 | </Expression> |
| 680 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
| 681 | </Section> |
| 682 | <Section name="Low ASCII"> |
| 683 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 684 | <Original> |
| 685 | null_terminator == '\0' |
| 686 | </Original> |
| 687 | <Expanded> |
| 688 | 0 == 0 |
| 689 | </Expanded> |
| 690 | </Expression> |
| 691 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 692 | <Original> |
| 693 | c == i |
| 694 | </Original> |
| 695 | <Expanded> |
| 696 | 2 == 2 |
| 697 | </Expanded> |
| 698 | </Expression> |
| 699 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 700 | <Original> |
| 701 | c == i |
| 702 | </Original> |
| 703 | <Expanded> |
| 704 | 3 == 3 |
| 705 | </Expanded> |
| 706 | </Expression> |
| 707 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 708 | <Original> |
| 709 | c == i |
| 710 | </Original> |
| 711 | <Expanded> |
| 712 | 4 == 4 |
| 713 | </Expanded> |
| 714 | </Expression> |
| 715 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 716 | <Original> |
| 717 | c == i |
| 718 | </Original> |
| 719 | <Expanded> |
| 720 | 5 == 5 |
| 721 | </Expanded> |
| 722 | </Expression> |
| 723 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
| 724 | </Section> |
| 725 | <OverallResult success="true"/> |
| 726 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 727 | <TestCase name="Comparing function pointers" tags="[Tricky][function pointer]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 728 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 729 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 730 | a |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 731 | </Original> |
| 732 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 733 | true |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 734 | </Expanded> |
| 735 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 736 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 737 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 738 | a == &foo |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 739 | </Original> |
| 740 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 741 | 0x<hex digits> == 0x<hex digits> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 742 | </Expanded> |
| 743 | </Expression> |
| 744 | <OverallResult success="true"/> |
| 745 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 746 | <TestCase name="Comparing member function pointers" tags="[Tricky][member function pointer]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 747 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 748 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 749 | m == &S::f |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 750 | </Original> |
| 751 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 752 | 0x<hex digits> |
| 753 | == |
| 754 | 0x<hex digits> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 755 | </Expanded> |
| 756 | </Expression> |
| 757 | <OverallResult success="true"/> |
| 758 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 759 | <TestCase name="Comparisons between ints where one side is computed"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 760 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 761 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 762 | 54 == 6*9 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 763 | </Original> |
| 764 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 765 | 54 == 54 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 766 | </Expanded> |
| 767 | </Expression> |
| 768 | <OverallResult success="true"/> |
| 769 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 770 | <TestCase name="Comparisons between unsigned ints and negative signed ints match c++ standard behaviour"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 771 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 772 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 773 | ( -1 > 2u ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 774 | </Original> |
| 775 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 776 | true |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 777 | </Expanded> |
| 778 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 779 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 780 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 781 | -1 > 2u |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 782 | </Original> |
| 783 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 784 | -1 > 2 |
| 785 | </Expanded> |
| 786 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 787 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 788 | <Original> |
| 789 | ( 2u < -1 ) |
| 790 | </Original> |
| 791 | <Expanded> |
| 792 | true |
| 793 | </Expanded> |
| 794 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 795 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 796 | <Original> |
| 797 | 2u < -1 |
| 798 | </Original> |
| 799 | <Expanded> |
| 800 | 2 < -1 |
| 801 | </Expanded> |
| 802 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 803 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 804 | <Original> |
| 805 | ( minInt > 2u ) |
| 806 | </Original> |
| 807 | <Expanded> |
| 808 | true |
| 809 | </Expanded> |
| 810 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 811 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 812 | <Original> |
| 813 | minInt > 2u |
| 814 | </Original> |
| 815 | <Expanded> |
| 816 | -2147483648 > 2 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 817 | </Expanded> |
| 818 | </Expression> |
| 819 | <OverallResult success="true"/> |
| 820 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 821 | <TestCase name="Comparisons with int literals don't warn when mixing signed/ unsigned"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 822 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 823 | <Original> |
| 824 | i == 1 |
| 825 | </Original> |
| 826 | <Expanded> |
| 827 | 1 == 1 |
| 828 | </Expanded> |
| 829 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 830 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 831 | <Original> |
| 832 | ui == 2 |
| 833 | </Original> |
| 834 | <Expanded> |
| 835 | 2 == 2 |
| 836 | </Expanded> |
| 837 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 838 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 839 | <Original> |
| 840 | l == 3 |
| 841 | </Original> |
| 842 | <Expanded> |
| 843 | 3 == 3 |
| 844 | </Expanded> |
| 845 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 846 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 847 | <Original> |
| 848 | ul == 4 |
| 849 | </Original> |
| 850 | <Expanded> |
| 851 | 4 == 4 |
| 852 | </Expanded> |
| 853 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 854 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 855 | <Original> |
| 856 | c == 5 |
| 857 | </Original> |
| 858 | <Expanded> |
| 859 | 5 == 5 |
| 860 | </Expanded> |
| 861 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 862 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 863 | <Original> |
| 864 | uc == 6 |
| 865 | </Original> |
| 866 | <Expanded> |
| 867 | 6 == 6 |
| 868 | </Expanded> |
| 869 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 870 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 871 | <Original> |
| 872 | 1 == i |
| 873 | </Original> |
| 874 | <Expanded> |
| 875 | 1 == 1 |
| 876 | </Expanded> |
| 877 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 878 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 879 | <Original> |
| 880 | 2 == ui |
| 881 | </Original> |
| 882 | <Expanded> |
| 883 | 2 == 2 |
| 884 | </Expanded> |
| 885 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 886 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 887 | <Original> |
| 888 | 3 == l |
| 889 | </Original> |
| 890 | <Expanded> |
| 891 | 3 == 3 |
| 892 | </Expanded> |
| 893 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 894 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 895 | <Original> |
| 896 | 4 == ul |
| 897 | </Original> |
| 898 | <Expanded> |
| 899 | 4 == 4 |
| 900 | </Expanded> |
| 901 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 902 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 903 | <Original> |
| 904 | 5 == c |
| 905 | </Original> |
| 906 | <Expanded> |
| 907 | 5 == 5 |
| 908 | </Expanded> |
| 909 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 910 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 911 | <Original> |
| 912 | 6 == uc |
| 913 | </Original> |
| 914 | <Expanded> |
| 915 | 6 == 6 |
| 916 | </Expanded> |
| 917 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 918 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 919 | <Original> |
| 920 | (std::numeric_limits<unsigned long>::max)() > ul |
| 921 | </Original> |
| 922 | <Expanded> |
Phil Nash | 0edebf4 | 2015-07-28 18:24:20 +0100 | [diff] [blame] | 923 | 18446744073709551615 (0x<hex digits>) |
| 924 | > |
| 925 | 4 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 926 | </Expanded> |
| 927 | </Expression> |
| 928 | <OverallResult success="true"/> |
| 929 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 930 | <TestCase name="Contains string matcher" tags="[.][failing][hide][matchers]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 931 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 932 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 933 | testStringForMatching(), Contains( "not there" ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 934 | </Original> |
| 935 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 936 | "this string contains 'abc' as a substring" contains: "not there" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 937 | </Expanded> |
| 938 | </Expression> |
Phil Nash | a49f088 | 2015-11-18 08:39:21 +0000 | [diff] [blame] | 939 | <OverallResult success="false"/> |
| 940 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 941 | <TestCase name="Custom exceptions can be translated when testing for nothrow" tags="[!throws][.][failing][hide]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 942 | <Expression success="false" type="REQUIRE_NOTHROW" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 943 | <Original> |
| 944 | throwCustom() |
| 945 | </Original> |
| 946 | <Expanded> |
| 947 | throwCustom() |
| 948 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 949 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 950 | custom exception - not std |
| 951 | </Exception> |
| 952 | </Expression> |
| 953 | <OverallResult success="false"/> |
| 954 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 955 | <TestCase name="Custom exceptions can be translated when testing for throwing as something else" tags="[!throws][.][failing][hide]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 956 | <Expression success="false" type="REQUIRE_THROWS_AS" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 957 | <Original> |
Martin Hořeňovský | 9952dda | 2017-02-09 12:41:16 +0100 | [diff] [blame] | 958 | throwCustom(), std::exception |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 959 | </Original> |
| 960 | <Expanded> |
Martin Hořeňovský | 9952dda | 2017-02-09 12:41:16 +0100 | [diff] [blame] | 961 | throwCustom(), std::exception |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 962 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 963 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 964 | custom exception - not std |
| 965 | </Exception> |
| 966 | </Expression> |
| 967 | <OverallResult success="false"/> |
| 968 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 969 | <TestCase name="Custom std-exceptions can be custom translated" tags="[!throws][.][failing][hide]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 970 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 971 | custom std exception |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 972 | </Exception> |
| 973 | <OverallResult success="false"/> |
| 974 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 975 | <TestCase name="Demonstrate that a non-const == is not used" tags="[Tricky]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 976 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 977 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 978 | t == 1u |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 979 | </Original> |
| 980 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 981 | {?} == 1 |
| 982 | </Expanded> |
| 983 | </Expression> |
| 984 | <OverallResult success="true"/> |
| 985 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 986 | <TestCase name="EndsWith string matcher" tags="[.][failing][hide][matchers]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 987 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 988 | <Original> |
| 989 | testStringForMatching(), EndsWith( "this" ) |
| 990 | </Original> |
| 991 | <Expanded> |
| 992 | "this string contains 'abc' as a substring" ends with: "this" |
| 993 | </Expanded> |
| 994 | </Expression> |
| 995 | <OverallResult success="false"/> |
| 996 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 997 | <TestCase name="Equality checks that should fail" tags="[!mayfail][.][failing][hide]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 998 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 999 | <Original> |
| 1000 | data.int_seven == 6 |
| 1001 | </Original> |
| 1002 | <Expanded> |
| 1003 | 7 == 6 |
| 1004 | </Expanded> |
| 1005 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1006 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1007 | <Original> |
| 1008 | data.int_seven == 8 |
| 1009 | </Original> |
| 1010 | <Expanded> |
| 1011 | 7 == 8 |
| 1012 | </Expanded> |
| 1013 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1014 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1015 | <Original> |
| 1016 | data.int_seven == 0 |
| 1017 | </Original> |
| 1018 | <Expanded> |
| 1019 | 7 == 0 |
| 1020 | </Expanded> |
| 1021 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1022 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1023 | <Original> |
| 1024 | data.float_nine_point_one == Approx( 9.11f ) |
| 1025 | </Original> |
| 1026 | <Expanded> |
| 1027 | 9.1f == Approx( 9.1099996567 ) |
| 1028 | </Expanded> |
| 1029 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1030 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1031 | <Original> |
| 1032 | data.float_nine_point_one == Approx( 9.0f ) |
| 1033 | </Original> |
| 1034 | <Expanded> |
| 1035 | 9.1f == Approx( 9.0 ) |
| 1036 | </Expanded> |
| 1037 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1038 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1039 | <Original> |
| 1040 | data.float_nine_point_one == Approx( 1 ) |
| 1041 | </Original> |
| 1042 | <Expanded> |
| 1043 | 9.1f == Approx( 1.0 ) |
| 1044 | </Expanded> |
| 1045 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1046 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1047 | <Original> |
| 1048 | data.float_nine_point_one == Approx( 0 ) |
| 1049 | </Original> |
| 1050 | <Expanded> |
| 1051 | 9.1f == Approx( 0.0 ) |
| 1052 | </Expanded> |
| 1053 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1054 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1055 | <Original> |
| 1056 | data.double_pi == Approx( 3.1415 ) |
| 1057 | </Original> |
| 1058 | <Expanded> |
| 1059 | 3.1415926535 == Approx( 3.1415 ) |
| 1060 | </Expanded> |
| 1061 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1062 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1063 | <Original> |
| 1064 | data.str_hello == "goodbye" |
| 1065 | </Original> |
| 1066 | <Expanded> |
| 1067 | "hello" == "goodbye" |
| 1068 | </Expanded> |
| 1069 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1070 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1071 | <Original> |
| 1072 | data.str_hello == "hell" |
| 1073 | </Original> |
| 1074 | <Expanded> |
| 1075 | "hello" == "hell" |
| 1076 | </Expanded> |
| 1077 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1078 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1079 | <Original> |
| 1080 | data.str_hello == "hello1" |
| 1081 | </Original> |
| 1082 | <Expanded> |
| 1083 | "hello" == "hello1" |
| 1084 | </Expanded> |
| 1085 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1086 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1087 | <Original> |
| 1088 | data.str_hello.size() == 6 |
| 1089 | </Original> |
| 1090 | <Expanded> |
| 1091 | 5 == 6 |
| 1092 | </Expanded> |
| 1093 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1094 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1095 | <Original> |
| 1096 | x == Approx( 1.301 ) |
| 1097 | </Original> |
| 1098 | <Expanded> |
| 1099 | 1.3 == Approx( 1.301 ) |
| 1100 | </Expanded> |
| 1101 | </Expression> |
| 1102 | <OverallResult success="true"/> |
| 1103 | </TestCase> |
| 1104 | <TestCase name="Equality checks that should succeed"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1105 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1106 | <Original> |
| 1107 | data.int_seven == 7 |
| 1108 | </Original> |
| 1109 | <Expanded> |
| 1110 | 7 == 7 |
| 1111 | </Expanded> |
| 1112 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1113 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1114 | <Original> |
| 1115 | data.float_nine_point_one == Approx( 9.1f ) |
| 1116 | </Original> |
| 1117 | <Expanded> |
| 1118 | 9.1f == Approx( 9.1000003815 ) |
| 1119 | </Expanded> |
| 1120 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1121 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1122 | <Original> |
| 1123 | data.double_pi == Approx( 3.1415926535 ) |
| 1124 | </Original> |
| 1125 | <Expanded> |
| 1126 | 3.1415926535 == Approx( 3.1415926535 ) |
| 1127 | </Expanded> |
| 1128 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1129 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1130 | <Original> |
| 1131 | data.str_hello == "hello" |
| 1132 | </Original> |
| 1133 | <Expanded> |
| 1134 | "hello" == "hello" |
| 1135 | </Expanded> |
| 1136 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1137 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1138 | <Original> |
| 1139 | "hello" == data.str_hello |
| 1140 | </Original> |
| 1141 | <Expanded> |
| 1142 | "hello" == "hello" |
| 1143 | </Expanded> |
| 1144 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1145 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1146 | <Original> |
| 1147 | data.str_hello.size() == 5 |
| 1148 | </Original> |
| 1149 | <Expanded> |
| 1150 | 5 == 5 |
| 1151 | </Expanded> |
| 1152 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1153 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1154 | <Original> |
| 1155 | x == Approx( 1.3 ) |
| 1156 | </Original> |
| 1157 | <Expanded> |
| 1158 | 1.3 == Approx( 1.3 ) |
| 1159 | </Expanded> |
| 1160 | </Expression> |
| 1161 | <OverallResult success="true"/> |
| 1162 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 1163 | <TestCase name="Equals" tags="[matchers]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1164 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1165 | <Original> |
| 1166 | testStringForMatching(), Equals( "this string contains 'abc' as a substring" ) |
| 1167 | </Original> |
| 1168 | <Expanded> |
| 1169 | "this string contains 'abc' as a substring" equals: "this string contains 'abc' as a substring" |
| 1170 | </Expanded> |
| 1171 | </Expression> |
| 1172 | <OverallResult success="true"/> |
| 1173 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 1174 | <TestCase name="Equals string matcher" tags="[.][failing][hide][matchers]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1175 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1176 | <Original> |
| 1177 | testStringForMatching(), Equals( "something else" ) |
| 1178 | </Original> |
| 1179 | <Expanded> |
| 1180 | "this string contains 'abc' as a substring" equals: "something else" |
| 1181 | </Expanded> |
| 1182 | </Expression> |
| 1183 | <OverallResult success="false"/> |
| 1184 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 1185 | <TestCase name="Equals string matcher, with NULL" tags="[matchers]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1186 | <Expression success="true" type="REQUIRE_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1187 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 1188 | "", Equals(0) |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1189 | </Original> |
| 1190 | <Expanded> |
| 1191 | "" equals: "" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1192 | </Expanded> |
| 1193 | </Expression> |
| 1194 | <OverallResult success="true"/> |
| 1195 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 1196 | <TestCase name="Exception messages can be tested for" tags="[!throws]"> |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1197 | <Section name="exact match"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1198 | <Expression success="true" type="REQUIRE_THROWS_WITH" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1199 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1200 | thisThrows(), "expected exception" |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1201 | </Original> |
| 1202 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1203 | thisThrows(), "expected exception" |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1204 | </Expanded> |
| 1205 | </Expression> |
| 1206 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 1207 | </Section> |
| 1208 | <Section name="different case"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1209 | <Expression success="true" type="REQUIRE_THROWS_WITH" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1210 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1211 | thisThrows(), Equals( "expecteD Exception", Catch::CaseSensitive::No ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1212 | </Original> |
| 1213 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1214 | thisThrows(), Equals( "expecteD Exception", Catch::CaseSensitive::No ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1215 | </Expanded> |
| 1216 | </Expression> |
| 1217 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 1218 | </Section> |
| 1219 | <Section name="wildcarded"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1220 | <Expression success="true" type="REQUIRE_THROWS_WITH" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1221 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1222 | thisThrows(), StartsWith( "expected" ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1223 | </Original> |
| 1224 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1225 | thisThrows(), StartsWith( "expected" ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1226 | </Expanded> |
| 1227 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1228 | <Expression success="true" type="REQUIRE_THROWS_WITH" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1229 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1230 | thisThrows(), EndsWith( "exception" ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1231 | </Original> |
| 1232 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1233 | thisThrows(), EndsWith( "exception" ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1234 | </Expanded> |
| 1235 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1236 | <Expression success="true" type="REQUIRE_THROWS_WITH" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1237 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1238 | thisThrows(), Contains( "except" ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1239 | </Original> |
| 1240 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1241 | thisThrows(), Contains( "except" ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1242 | </Expanded> |
| 1243 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1244 | <Expression success="true" type="REQUIRE_THROWS_WITH" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1245 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1246 | thisThrows(), Contains( "exCept", Catch::CaseSensitive::No ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1247 | </Original> |
| 1248 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1249 | thisThrows(), Contains( "exCept", Catch::CaseSensitive::No ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1250 | </Expanded> |
| 1251 | </Expression> |
| 1252 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 1253 | </Section> |
| 1254 | <OverallResult success="true"/> |
| 1255 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 1256 | <TestCase name="Expected exceptions that don't throw or unexpected exceptions fail the test" tags="[!throws][.][failing][hide]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1257 | <Expression success="false" type="CHECK_THROWS_AS" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1258 | <Original> |
Martin Hořeňovský | 9952dda | 2017-02-09 12:41:16 +0100 | [diff] [blame] | 1259 | thisThrows(), std::string |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1260 | </Original> |
| 1261 | <Expanded> |
Martin Hořeňovský | 9952dda | 2017-02-09 12:41:16 +0100 | [diff] [blame] | 1262 | thisThrows(), std::string |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1263 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1264 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1265 | expected exception |
| 1266 | </Exception> |
| 1267 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1268 | <Expression success="false" type="CHECK_THROWS_AS" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1269 | <Original> |
Martin Hořeňovský | 9952dda | 2017-02-09 12:41:16 +0100 | [diff] [blame] | 1270 | thisDoesntThrow(), std::domain_error |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1271 | </Original> |
| 1272 | <Expanded> |
Martin Hořeňovský | 9952dda | 2017-02-09 12:41:16 +0100 | [diff] [blame] | 1273 | thisDoesntThrow(), std::domain_error |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1274 | </Expanded> |
| 1275 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1276 | <Expression success="false" type="CHECK_NOTHROW" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 85de743 | 2015-07-13 06:34:41 +0100 | [diff] [blame] | 1277 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1278 | thisThrows() |
Phil Nash | 85de743 | 2015-07-13 06:34:41 +0100 | [diff] [blame] | 1279 | </Original> |
| 1280 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1281 | thisThrows() |
Phil Nash | 85de743 | 2015-07-13 06:34:41 +0100 | [diff] [blame] | 1282 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1283 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1284 | expected exception |
| 1285 | </Exception> |
Phil Nash | 85de743 | 2015-07-13 06:34:41 +0100 | [diff] [blame] | 1286 | </Expression> |
| 1287 | <OverallResult success="false"/> |
| 1288 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 1289 | <TestCase name="FAIL aborts the test" tags="[.][failing][hide][messages]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1290 | <Failure> |
| 1291 | This is a failure |
| 1292 | </Failure> |
| 1293 | <OverallResult success="false"/> |
| 1294 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 1295 | <TestCase name="FAIL does not require an argument" tags="[.][failing][hide][messages]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1296 | <Failure/> |
| 1297 | <OverallResult success="false"/> |
| 1298 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 1299 | <TestCase name="Factorials are computed" tags="[factorial]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1300 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1301 | <Original> |
| 1302 | Factorial(0) == 1 |
| 1303 | </Original> |
| 1304 | <Expanded> |
| 1305 | 1 == 1 |
| 1306 | </Expanded> |
| 1307 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1308 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1309 | <Original> |
| 1310 | Factorial(1) == 1 |
| 1311 | </Original> |
| 1312 | <Expanded> |
| 1313 | 1 == 1 |
| 1314 | </Expanded> |
| 1315 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1316 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1317 | <Original> |
| 1318 | Factorial(2) == 2 |
| 1319 | </Original> |
| 1320 | <Expanded> |
| 1321 | 2 == 2 |
| 1322 | </Expanded> |
| 1323 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1324 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1325 | <Original> |
| 1326 | Factorial(3) == 6 |
| 1327 | </Original> |
| 1328 | <Expanded> |
| 1329 | 6 == 6 |
| 1330 | </Expanded> |
| 1331 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1332 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1333 | <Original> |
| 1334 | Factorial(10) == 3628800 |
| 1335 | </Original> |
| 1336 | <Expanded> |
| 1337 | 3628800 (0x<hex digits>) == 3628800 (0x<hex digits>) |
| 1338 | </Expanded> |
| 1339 | </Expression> |
| 1340 | <OverallResult success="true"/> |
| 1341 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 1342 | <TestCase name="Generator over a range of pairs" tags="[generators]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1343 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1344 | <Original> |
| 1345 | i->first == i->second-1 |
| 1346 | </Original> |
| 1347 | <Expanded> |
| 1348 | 0 == 0 |
| 1349 | </Expanded> |
| 1350 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1351 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1352 | <Original> |
| 1353 | i->first == i->second-1 |
| 1354 | </Original> |
| 1355 | <Expanded> |
| 1356 | 2 == 2 |
| 1357 | </Expanded> |
| 1358 | </Expression> |
| 1359 | <OverallResult success="true"/> |
| 1360 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 1361 | <TestCase name="Generators over two ranges" tags="[generators]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1362 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1363 | <Original> |
| 1364 | multiply( i, 2 ) == i*2 |
| 1365 | </Original> |
| 1366 | <Expanded> |
| 1367 | 2 == 2 |
| 1368 | </Expanded> |
| 1369 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1370 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1371 | <Original> |
| 1372 | multiply( j, 2 ) == j*2 |
| 1373 | </Original> |
| 1374 | <Expanded> |
| 1375 | 200 == 200 |
| 1376 | </Expanded> |
| 1377 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1378 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1379 | <Original> |
| 1380 | multiply( i, 2 ) == i*2 |
| 1381 | </Original> |
| 1382 | <Expanded> |
| 1383 | 4 == 4 |
| 1384 | </Expanded> |
| 1385 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1386 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1387 | <Original> |
| 1388 | multiply( j, 2 ) == j*2 |
| 1389 | </Original> |
| 1390 | <Expanded> |
| 1391 | 200 == 200 |
| 1392 | </Expanded> |
| 1393 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1394 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1395 | <Original> |
| 1396 | multiply( i, 2 ) == i*2 |
| 1397 | </Original> |
| 1398 | <Expanded> |
| 1399 | 6 == 6 |
| 1400 | </Expanded> |
| 1401 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1402 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1403 | <Original> |
| 1404 | multiply( j, 2 ) == j*2 |
| 1405 | </Original> |
| 1406 | <Expanded> |
| 1407 | 200 == 200 |
| 1408 | </Expanded> |
| 1409 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1410 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1411 | <Original> |
| 1412 | multiply( i, 2 ) == i*2 |
| 1413 | </Original> |
| 1414 | <Expanded> |
| 1415 | 8 == 8 |
| 1416 | </Expanded> |
| 1417 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1418 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1419 | <Original> |
| 1420 | multiply( j, 2 ) == j*2 |
| 1421 | </Original> |
| 1422 | <Expanded> |
| 1423 | 200 == 200 |
| 1424 | </Expanded> |
| 1425 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1426 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1427 | <Original> |
| 1428 | multiply( i, 2 ) == i*2 |
| 1429 | </Original> |
| 1430 | <Expanded> |
| 1431 | 10 == 10 |
| 1432 | </Expanded> |
| 1433 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1434 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1435 | <Original> |
| 1436 | multiply( j, 2 ) == j*2 |
| 1437 | </Original> |
| 1438 | <Expanded> |
| 1439 | 200 == 200 |
| 1440 | </Expanded> |
| 1441 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1442 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1443 | <Original> |
| 1444 | multiply( i, 2 ) == i*2 |
| 1445 | </Original> |
| 1446 | <Expanded> |
| 1447 | 30 == 30 |
| 1448 | </Expanded> |
| 1449 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1450 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1451 | <Original> |
| 1452 | multiply( j, 2 ) == j*2 |
| 1453 | </Original> |
| 1454 | <Expanded> |
| 1455 | 200 == 200 |
| 1456 | </Expanded> |
| 1457 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1458 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1459 | <Original> |
| 1460 | multiply( i, 2 ) == i*2 |
| 1461 | </Original> |
| 1462 | <Expanded> |
| 1463 | 40 == 40 |
| 1464 | </Expanded> |
| 1465 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1466 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1467 | <Original> |
| 1468 | multiply( j, 2 ) == j*2 |
| 1469 | </Original> |
| 1470 | <Expanded> |
| 1471 | 200 == 200 |
| 1472 | </Expanded> |
| 1473 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1474 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1475 | <Original> |
| 1476 | multiply( i, 2 ) == i*2 |
| 1477 | </Original> |
| 1478 | <Expanded> |
| 1479 | 42 == 42 |
| 1480 | </Expanded> |
| 1481 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1482 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1483 | <Original> |
| 1484 | multiply( j, 2 ) == j*2 |
| 1485 | </Original> |
| 1486 | <Expanded> |
| 1487 | 200 == 200 |
| 1488 | </Expanded> |
| 1489 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1490 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1491 | <Original> |
| 1492 | multiply( i, 2 ) == i*2 |
| 1493 | </Original> |
| 1494 | <Expanded> |
| 1495 | 72 == 72 |
| 1496 | </Expanded> |
| 1497 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1498 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1499 | <Original> |
| 1500 | multiply( j, 2 ) == j*2 |
| 1501 | </Original> |
| 1502 | <Expanded> |
| 1503 | 200 == 200 |
| 1504 | </Expanded> |
| 1505 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1506 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1507 | <Original> |
| 1508 | multiply( i, 2 ) == i*2 |
| 1509 | </Original> |
| 1510 | <Expanded> |
| 1511 | 2 == 2 |
| 1512 | </Expanded> |
| 1513 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1514 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1515 | <Original> |
| 1516 | multiply( j, 2 ) == j*2 |
| 1517 | </Original> |
| 1518 | <Expanded> |
| 1519 | 202 == 202 |
| 1520 | </Expanded> |
| 1521 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1522 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1523 | <Original> |
| 1524 | multiply( i, 2 ) == i*2 |
| 1525 | </Original> |
| 1526 | <Expanded> |
| 1527 | 4 == 4 |
| 1528 | </Expanded> |
| 1529 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1530 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1531 | <Original> |
| 1532 | multiply( j, 2 ) == j*2 |
| 1533 | </Original> |
| 1534 | <Expanded> |
| 1535 | 202 == 202 |
| 1536 | </Expanded> |
| 1537 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1538 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1539 | <Original> |
| 1540 | multiply( i, 2 ) == i*2 |
| 1541 | </Original> |
| 1542 | <Expanded> |
| 1543 | 6 == 6 |
| 1544 | </Expanded> |
| 1545 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1546 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1547 | <Original> |
| 1548 | multiply( j, 2 ) == j*2 |
| 1549 | </Original> |
| 1550 | <Expanded> |
| 1551 | 202 == 202 |
| 1552 | </Expanded> |
| 1553 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1554 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1555 | <Original> |
| 1556 | multiply( i, 2 ) == i*2 |
| 1557 | </Original> |
| 1558 | <Expanded> |
| 1559 | 8 == 8 |
| 1560 | </Expanded> |
| 1561 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1562 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1563 | <Original> |
| 1564 | multiply( j, 2 ) == j*2 |
| 1565 | </Original> |
| 1566 | <Expanded> |
| 1567 | 202 == 202 |
| 1568 | </Expanded> |
| 1569 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1570 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1571 | <Original> |
| 1572 | multiply( i, 2 ) == i*2 |
| 1573 | </Original> |
| 1574 | <Expanded> |
| 1575 | 10 == 10 |
| 1576 | </Expanded> |
| 1577 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1578 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1579 | <Original> |
| 1580 | multiply( j, 2 ) == j*2 |
| 1581 | </Original> |
| 1582 | <Expanded> |
| 1583 | 202 == 202 |
| 1584 | </Expanded> |
| 1585 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1586 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1587 | <Original> |
| 1588 | multiply( i, 2 ) == i*2 |
| 1589 | </Original> |
| 1590 | <Expanded> |
| 1591 | 30 == 30 |
| 1592 | </Expanded> |
| 1593 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1594 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1595 | <Original> |
| 1596 | multiply( j, 2 ) == j*2 |
| 1597 | </Original> |
| 1598 | <Expanded> |
| 1599 | 202 == 202 |
| 1600 | </Expanded> |
| 1601 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1602 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1603 | <Original> |
| 1604 | multiply( i, 2 ) == i*2 |
| 1605 | </Original> |
| 1606 | <Expanded> |
| 1607 | 40 == 40 |
| 1608 | </Expanded> |
| 1609 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1610 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1611 | <Original> |
| 1612 | multiply( j, 2 ) == j*2 |
| 1613 | </Original> |
| 1614 | <Expanded> |
| 1615 | 202 == 202 |
| 1616 | </Expanded> |
| 1617 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1618 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1619 | <Original> |
| 1620 | multiply( i, 2 ) == i*2 |
| 1621 | </Original> |
| 1622 | <Expanded> |
| 1623 | 42 == 42 |
| 1624 | </Expanded> |
| 1625 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1626 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1627 | <Original> |
| 1628 | multiply( j, 2 ) == j*2 |
| 1629 | </Original> |
| 1630 | <Expanded> |
| 1631 | 202 == 202 |
| 1632 | </Expanded> |
| 1633 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1634 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1635 | <Original> |
| 1636 | multiply( i, 2 ) == i*2 |
| 1637 | </Original> |
| 1638 | <Expanded> |
| 1639 | 72 == 72 |
| 1640 | </Expanded> |
| 1641 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1642 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1643 | <Original> |
| 1644 | multiply( j, 2 ) == j*2 |
| 1645 | </Original> |
| 1646 | <Expanded> |
| 1647 | 202 == 202 |
| 1648 | </Expanded> |
| 1649 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1650 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1651 | <Original> |
| 1652 | multiply( i, 2 ) == i*2 |
| 1653 | </Original> |
| 1654 | <Expanded> |
| 1655 | 2 == 2 |
| 1656 | </Expanded> |
| 1657 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1658 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1659 | <Original> |
| 1660 | multiply( j, 2 ) == j*2 |
| 1661 | </Original> |
| 1662 | <Expanded> |
| 1663 | 204 == 204 |
| 1664 | </Expanded> |
| 1665 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1666 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1667 | <Original> |
| 1668 | multiply( i, 2 ) == i*2 |
| 1669 | </Original> |
| 1670 | <Expanded> |
| 1671 | 4 == 4 |
| 1672 | </Expanded> |
| 1673 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1674 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1675 | <Original> |
| 1676 | multiply( j, 2 ) == j*2 |
| 1677 | </Original> |
| 1678 | <Expanded> |
| 1679 | 204 == 204 |
| 1680 | </Expanded> |
| 1681 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1682 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1683 | <Original> |
| 1684 | multiply( i, 2 ) == i*2 |
| 1685 | </Original> |
| 1686 | <Expanded> |
| 1687 | 6 == 6 |
| 1688 | </Expanded> |
| 1689 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1690 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1691 | <Original> |
| 1692 | multiply( j, 2 ) == j*2 |
| 1693 | </Original> |
| 1694 | <Expanded> |
| 1695 | 204 == 204 |
| 1696 | </Expanded> |
| 1697 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1698 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1699 | <Original> |
| 1700 | multiply( i, 2 ) == i*2 |
| 1701 | </Original> |
| 1702 | <Expanded> |
| 1703 | 8 == 8 |
| 1704 | </Expanded> |
| 1705 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1706 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1707 | <Original> |
| 1708 | multiply( j, 2 ) == j*2 |
| 1709 | </Original> |
| 1710 | <Expanded> |
| 1711 | 204 == 204 |
| 1712 | </Expanded> |
| 1713 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1714 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1715 | <Original> |
| 1716 | multiply( i, 2 ) == i*2 |
| 1717 | </Original> |
| 1718 | <Expanded> |
| 1719 | 10 == 10 |
| 1720 | </Expanded> |
| 1721 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1722 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1723 | <Original> |
| 1724 | multiply( j, 2 ) == j*2 |
| 1725 | </Original> |
| 1726 | <Expanded> |
| 1727 | 204 == 204 |
| 1728 | </Expanded> |
| 1729 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1730 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1731 | <Original> |
| 1732 | multiply( i, 2 ) == i*2 |
| 1733 | </Original> |
| 1734 | <Expanded> |
| 1735 | 30 == 30 |
| 1736 | </Expanded> |
| 1737 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1738 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1739 | <Original> |
| 1740 | multiply( j, 2 ) == j*2 |
| 1741 | </Original> |
| 1742 | <Expanded> |
| 1743 | 204 == 204 |
| 1744 | </Expanded> |
| 1745 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1746 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1747 | <Original> |
| 1748 | multiply( i, 2 ) == i*2 |
| 1749 | </Original> |
| 1750 | <Expanded> |
| 1751 | 40 == 40 |
| 1752 | </Expanded> |
| 1753 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1754 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1755 | <Original> |
| 1756 | multiply( j, 2 ) == j*2 |
| 1757 | </Original> |
| 1758 | <Expanded> |
| 1759 | 204 == 204 |
| 1760 | </Expanded> |
| 1761 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1762 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1763 | <Original> |
| 1764 | multiply( i, 2 ) == i*2 |
| 1765 | </Original> |
| 1766 | <Expanded> |
| 1767 | 42 == 42 |
| 1768 | </Expanded> |
| 1769 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1770 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1771 | <Original> |
| 1772 | multiply( j, 2 ) == j*2 |
| 1773 | </Original> |
| 1774 | <Expanded> |
| 1775 | 204 == 204 |
| 1776 | </Expanded> |
| 1777 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1778 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1779 | <Original> |
| 1780 | multiply( i, 2 ) == i*2 |
| 1781 | </Original> |
| 1782 | <Expanded> |
| 1783 | 72 == 72 |
| 1784 | </Expanded> |
| 1785 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1786 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1787 | <Original> |
| 1788 | multiply( j, 2 ) == j*2 |
| 1789 | </Original> |
| 1790 | <Expanded> |
| 1791 | 204 == 204 |
| 1792 | </Expanded> |
| 1793 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1794 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1795 | <Original> |
| 1796 | multiply( i, 2 ) == i*2 |
| 1797 | </Original> |
| 1798 | <Expanded> |
| 1799 | 2 == 2 |
| 1800 | </Expanded> |
| 1801 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1802 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1803 | <Original> |
| 1804 | multiply( j, 2 ) == j*2 |
| 1805 | </Original> |
| 1806 | <Expanded> |
| 1807 | 206 == 206 |
| 1808 | </Expanded> |
| 1809 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1810 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1811 | <Original> |
| 1812 | multiply( i, 2 ) == i*2 |
| 1813 | </Original> |
| 1814 | <Expanded> |
| 1815 | 4 == 4 |
| 1816 | </Expanded> |
| 1817 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1818 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1819 | <Original> |
| 1820 | multiply( j, 2 ) == j*2 |
| 1821 | </Original> |
| 1822 | <Expanded> |
| 1823 | 206 == 206 |
| 1824 | </Expanded> |
| 1825 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1826 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1827 | <Original> |
| 1828 | multiply( i, 2 ) == i*2 |
| 1829 | </Original> |
| 1830 | <Expanded> |
| 1831 | 6 == 6 |
| 1832 | </Expanded> |
| 1833 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1834 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1835 | <Original> |
| 1836 | multiply( j, 2 ) == j*2 |
| 1837 | </Original> |
| 1838 | <Expanded> |
| 1839 | 206 == 206 |
| 1840 | </Expanded> |
| 1841 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1842 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1843 | <Original> |
| 1844 | multiply( i, 2 ) == i*2 |
| 1845 | </Original> |
| 1846 | <Expanded> |
| 1847 | 8 == 8 |
| 1848 | </Expanded> |
| 1849 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1850 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1851 | <Original> |
| 1852 | multiply( j, 2 ) == j*2 |
| 1853 | </Original> |
| 1854 | <Expanded> |
| 1855 | 206 == 206 |
| 1856 | </Expanded> |
| 1857 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1858 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1859 | <Original> |
| 1860 | multiply( i, 2 ) == i*2 |
| 1861 | </Original> |
| 1862 | <Expanded> |
| 1863 | 10 == 10 |
| 1864 | </Expanded> |
| 1865 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1866 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1867 | <Original> |
| 1868 | multiply( j, 2 ) == j*2 |
| 1869 | </Original> |
| 1870 | <Expanded> |
| 1871 | 206 == 206 |
| 1872 | </Expanded> |
| 1873 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1874 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1875 | <Original> |
| 1876 | multiply( i, 2 ) == i*2 |
| 1877 | </Original> |
| 1878 | <Expanded> |
| 1879 | 30 == 30 |
| 1880 | </Expanded> |
| 1881 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1882 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1883 | <Original> |
| 1884 | multiply( j, 2 ) == j*2 |
| 1885 | </Original> |
| 1886 | <Expanded> |
| 1887 | 206 == 206 |
| 1888 | </Expanded> |
| 1889 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1890 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1891 | <Original> |
| 1892 | multiply( i, 2 ) == i*2 |
| 1893 | </Original> |
| 1894 | <Expanded> |
| 1895 | 40 == 40 |
| 1896 | </Expanded> |
| 1897 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1898 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1899 | <Original> |
| 1900 | multiply( j, 2 ) == j*2 |
| 1901 | </Original> |
| 1902 | <Expanded> |
| 1903 | 206 == 206 |
| 1904 | </Expanded> |
| 1905 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1906 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1907 | <Original> |
| 1908 | multiply( i, 2 ) == i*2 |
| 1909 | </Original> |
| 1910 | <Expanded> |
| 1911 | 42 == 42 |
| 1912 | </Expanded> |
| 1913 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1914 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1915 | <Original> |
| 1916 | multiply( j, 2 ) == j*2 |
| 1917 | </Original> |
| 1918 | <Expanded> |
| 1919 | 206 == 206 |
| 1920 | </Expanded> |
| 1921 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1922 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1923 | <Original> |
| 1924 | multiply( i, 2 ) == i*2 |
| 1925 | </Original> |
| 1926 | <Expanded> |
| 1927 | 72 == 72 |
| 1928 | </Expanded> |
| 1929 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1930 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1931 | <Original> |
| 1932 | multiply( j, 2 ) == j*2 |
| 1933 | </Original> |
| 1934 | <Expanded> |
| 1935 | 206 == 206 |
| 1936 | </Expanded> |
| 1937 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1938 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1939 | <Original> |
| 1940 | multiply( i, 2 ) == i*2 |
| 1941 | </Original> |
| 1942 | <Expanded> |
| 1943 | 2 == 2 |
| 1944 | </Expanded> |
| 1945 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1946 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1947 | <Original> |
| 1948 | multiply( j, 2 ) == j*2 |
| 1949 | </Original> |
| 1950 | <Expanded> |
| 1951 | 208 == 208 |
| 1952 | </Expanded> |
| 1953 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1954 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1955 | <Original> |
| 1956 | multiply( i, 2 ) == i*2 |
| 1957 | </Original> |
| 1958 | <Expanded> |
| 1959 | 4 == 4 |
| 1960 | </Expanded> |
| 1961 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1962 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1963 | <Original> |
| 1964 | multiply( j, 2 ) == j*2 |
| 1965 | </Original> |
| 1966 | <Expanded> |
| 1967 | 208 == 208 |
| 1968 | </Expanded> |
| 1969 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1970 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1971 | <Original> |
| 1972 | multiply( i, 2 ) == i*2 |
| 1973 | </Original> |
| 1974 | <Expanded> |
| 1975 | 6 == 6 |
| 1976 | </Expanded> |
| 1977 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1978 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1979 | <Original> |
| 1980 | multiply( j, 2 ) == j*2 |
| 1981 | </Original> |
| 1982 | <Expanded> |
| 1983 | 208 == 208 |
| 1984 | </Expanded> |
| 1985 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1986 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1987 | <Original> |
| 1988 | multiply( i, 2 ) == i*2 |
| 1989 | </Original> |
| 1990 | <Expanded> |
| 1991 | 8 == 8 |
| 1992 | </Expanded> |
| 1993 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1994 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1995 | <Original> |
| 1996 | multiply( j, 2 ) == j*2 |
| 1997 | </Original> |
| 1998 | <Expanded> |
| 1999 | 208 == 208 |
| 2000 | </Expanded> |
| 2001 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2002 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2003 | <Original> |
| 2004 | multiply( i, 2 ) == i*2 |
| 2005 | </Original> |
| 2006 | <Expanded> |
| 2007 | 10 == 10 |
| 2008 | </Expanded> |
| 2009 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2010 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2011 | <Original> |
| 2012 | multiply( j, 2 ) == j*2 |
| 2013 | </Original> |
| 2014 | <Expanded> |
| 2015 | 208 == 208 |
| 2016 | </Expanded> |
| 2017 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2018 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2019 | <Original> |
| 2020 | multiply( i, 2 ) == i*2 |
| 2021 | </Original> |
| 2022 | <Expanded> |
| 2023 | 30 == 30 |
| 2024 | </Expanded> |
| 2025 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2026 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2027 | <Original> |
| 2028 | multiply( j, 2 ) == j*2 |
| 2029 | </Original> |
| 2030 | <Expanded> |
| 2031 | 208 == 208 |
| 2032 | </Expanded> |
| 2033 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2034 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2035 | <Original> |
| 2036 | multiply( i, 2 ) == i*2 |
| 2037 | </Original> |
| 2038 | <Expanded> |
| 2039 | 40 == 40 |
| 2040 | </Expanded> |
| 2041 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2042 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2043 | <Original> |
| 2044 | multiply( j, 2 ) == j*2 |
| 2045 | </Original> |
| 2046 | <Expanded> |
| 2047 | 208 == 208 |
| 2048 | </Expanded> |
| 2049 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2050 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2051 | <Original> |
| 2052 | multiply( i, 2 ) == i*2 |
| 2053 | </Original> |
| 2054 | <Expanded> |
| 2055 | 42 == 42 |
| 2056 | </Expanded> |
| 2057 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2058 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2059 | <Original> |
| 2060 | multiply( j, 2 ) == j*2 |
| 2061 | </Original> |
| 2062 | <Expanded> |
| 2063 | 208 == 208 |
| 2064 | </Expanded> |
| 2065 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2066 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2067 | <Original> |
| 2068 | multiply( i, 2 ) == i*2 |
| 2069 | </Original> |
| 2070 | <Expanded> |
| 2071 | 72 == 72 |
| 2072 | </Expanded> |
| 2073 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2074 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2075 | <Original> |
| 2076 | multiply( j, 2 ) == j*2 |
| 2077 | </Original> |
| 2078 | <Expanded> |
| 2079 | 208 == 208 |
| 2080 | </Expanded> |
| 2081 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2082 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2083 | <Original> |
| 2084 | multiply( i, 2 ) == i*2 |
| 2085 | </Original> |
| 2086 | <Expanded> |
| 2087 | 2 == 2 |
| 2088 | </Expanded> |
| 2089 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2090 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2091 | <Original> |
| 2092 | multiply( j, 2 ) == j*2 |
| 2093 | </Original> |
| 2094 | <Expanded> |
| 2095 | 210 == 210 |
| 2096 | </Expanded> |
| 2097 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2098 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2099 | <Original> |
| 2100 | multiply( i, 2 ) == i*2 |
| 2101 | </Original> |
| 2102 | <Expanded> |
| 2103 | 4 == 4 |
| 2104 | </Expanded> |
| 2105 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2106 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2107 | <Original> |
| 2108 | multiply( j, 2 ) == j*2 |
| 2109 | </Original> |
| 2110 | <Expanded> |
| 2111 | 210 == 210 |
| 2112 | </Expanded> |
| 2113 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2114 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2115 | <Original> |
| 2116 | multiply( i, 2 ) == i*2 |
| 2117 | </Original> |
| 2118 | <Expanded> |
| 2119 | 6 == 6 |
| 2120 | </Expanded> |
| 2121 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2122 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2123 | <Original> |
| 2124 | multiply( j, 2 ) == j*2 |
| 2125 | </Original> |
| 2126 | <Expanded> |
| 2127 | 210 == 210 |
| 2128 | </Expanded> |
| 2129 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2130 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2131 | <Original> |
| 2132 | multiply( i, 2 ) == i*2 |
| 2133 | </Original> |
| 2134 | <Expanded> |
| 2135 | 8 == 8 |
| 2136 | </Expanded> |
| 2137 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2138 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2139 | <Original> |
| 2140 | multiply( j, 2 ) == j*2 |
| 2141 | </Original> |
| 2142 | <Expanded> |
| 2143 | 210 == 210 |
| 2144 | </Expanded> |
| 2145 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2146 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2147 | <Original> |
| 2148 | multiply( i, 2 ) == i*2 |
| 2149 | </Original> |
| 2150 | <Expanded> |
| 2151 | 10 == 10 |
| 2152 | </Expanded> |
| 2153 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2154 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2155 | <Original> |
| 2156 | multiply( j, 2 ) == j*2 |
| 2157 | </Original> |
| 2158 | <Expanded> |
| 2159 | 210 == 210 |
| 2160 | </Expanded> |
| 2161 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2162 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2163 | <Original> |
| 2164 | multiply( i, 2 ) == i*2 |
| 2165 | </Original> |
| 2166 | <Expanded> |
| 2167 | 30 == 30 |
| 2168 | </Expanded> |
| 2169 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2170 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2171 | <Original> |
| 2172 | multiply( j, 2 ) == j*2 |
| 2173 | </Original> |
| 2174 | <Expanded> |
| 2175 | 210 == 210 |
| 2176 | </Expanded> |
| 2177 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2178 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2179 | <Original> |
| 2180 | multiply( i, 2 ) == i*2 |
| 2181 | </Original> |
| 2182 | <Expanded> |
| 2183 | 40 == 40 |
| 2184 | </Expanded> |
| 2185 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2186 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2187 | <Original> |
| 2188 | multiply( j, 2 ) == j*2 |
| 2189 | </Original> |
| 2190 | <Expanded> |
| 2191 | 210 == 210 |
| 2192 | </Expanded> |
| 2193 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2194 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2195 | <Original> |
| 2196 | multiply( i, 2 ) == i*2 |
| 2197 | </Original> |
| 2198 | <Expanded> |
| 2199 | 42 == 42 |
| 2200 | </Expanded> |
| 2201 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2202 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2203 | <Original> |
| 2204 | multiply( j, 2 ) == j*2 |
| 2205 | </Original> |
| 2206 | <Expanded> |
| 2207 | 210 == 210 |
| 2208 | </Expanded> |
| 2209 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2210 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2211 | <Original> |
| 2212 | multiply( i, 2 ) == i*2 |
| 2213 | </Original> |
| 2214 | <Expanded> |
| 2215 | 72 == 72 |
| 2216 | </Expanded> |
| 2217 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2218 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2219 | <Original> |
| 2220 | multiply( j, 2 ) == j*2 |
| 2221 | </Original> |
| 2222 | <Expanded> |
| 2223 | 210 == 210 |
| 2224 | </Expanded> |
| 2225 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2226 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2227 | <Original> |
| 2228 | multiply( i, 2 ) == i*2 |
| 2229 | </Original> |
| 2230 | <Expanded> |
| 2231 | 2 == 2 |
| 2232 | </Expanded> |
| 2233 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2234 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2235 | <Original> |
| 2236 | multiply( j, 2 ) == j*2 |
| 2237 | </Original> |
| 2238 | <Expanded> |
| 2239 | 212 == 212 |
| 2240 | </Expanded> |
| 2241 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2242 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2243 | <Original> |
| 2244 | multiply( i, 2 ) == i*2 |
| 2245 | </Original> |
| 2246 | <Expanded> |
| 2247 | 4 == 4 |
| 2248 | </Expanded> |
| 2249 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2250 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2251 | <Original> |
| 2252 | multiply( j, 2 ) == j*2 |
| 2253 | </Original> |
| 2254 | <Expanded> |
| 2255 | 212 == 212 |
| 2256 | </Expanded> |
| 2257 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2258 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2259 | <Original> |
| 2260 | multiply( i, 2 ) == i*2 |
| 2261 | </Original> |
| 2262 | <Expanded> |
| 2263 | 6 == 6 |
| 2264 | </Expanded> |
| 2265 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2266 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2267 | <Original> |
| 2268 | multiply( j, 2 ) == j*2 |
| 2269 | </Original> |
| 2270 | <Expanded> |
| 2271 | 212 == 212 |
| 2272 | </Expanded> |
| 2273 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2274 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2275 | <Original> |
| 2276 | multiply( i, 2 ) == i*2 |
| 2277 | </Original> |
| 2278 | <Expanded> |
| 2279 | 8 == 8 |
| 2280 | </Expanded> |
| 2281 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2282 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2283 | <Original> |
| 2284 | multiply( j, 2 ) == j*2 |
| 2285 | </Original> |
| 2286 | <Expanded> |
| 2287 | 212 == 212 |
| 2288 | </Expanded> |
| 2289 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2290 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2291 | <Original> |
| 2292 | multiply( i, 2 ) == i*2 |
| 2293 | </Original> |
| 2294 | <Expanded> |
| 2295 | 10 == 10 |
| 2296 | </Expanded> |
| 2297 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2298 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2299 | <Original> |
| 2300 | multiply( j, 2 ) == j*2 |
| 2301 | </Original> |
| 2302 | <Expanded> |
| 2303 | 212 == 212 |
| 2304 | </Expanded> |
| 2305 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2306 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2307 | <Original> |
| 2308 | multiply( i, 2 ) == i*2 |
| 2309 | </Original> |
| 2310 | <Expanded> |
| 2311 | 30 == 30 |
| 2312 | </Expanded> |
| 2313 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2314 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2315 | <Original> |
| 2316 | multiply( j, 2 ) == j*2 |
| 2317 | </Original> |
| 2318 | <Expanded> |
| 2319 | 212 == 212 |
| 2320 | </Expanded> |
| 2321 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2322 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2323 | <Original> |
| 2324 | multiply( i, 2 ) == i*2 |
| 2325 | </Original> |
| 2326 | <Expanded> |
| 2327 | 40 == 40 |
| 2328 | </Expanded> |
| 2329 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2330 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2331 | <Original> |
| 2332 | multiply( j, 2 ) == j*2 |
| 2333 | </Original> |
| 2334 | <Expanded> |
| 2335 | 212 == 212 |
| 2336 | </Expanded> |
| 2337 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2338 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2339 | <Original> |
| 2340 | multiply( i, 2 ) == i*2 |
| 2341 | </Original> |
| 2342 | <Expanded> |
| 2343 | 42 == 42 |
| 2344 | </Expanded> |
| 2345 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2346 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2347 | <Original> |
| 2348 | multiply( j, 2 ) == j*2 |
| 2349 | </Original> |
| 2350 | <Expanded> |
| 2351 | 212 == 212 |
| 2352 | </Expanded> |
| 2353 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2354 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2355 | <Original> |
| 2356 | multiply( i, 2 ) == i*2 |
| 2357 | </Original> |
| 2358 | <Expanded> |
| 2359 | 72 == 72 |
| 2360 | </Expanded> |
| 2361 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2362 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2363 | <Original> |
| 2364 | multiply( j, 2 ) == j*2 |
| 2365 | </Original> |
| 2366 | <Expanded> |
| 2367 | 212 == 212 |
| 2368 | </Expanded> |
| 2369 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2370 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2371 | <Original> |
| 2372 | multiply( i, 2 ) == i*2 |
| 2373 | </Original> |
| 2374 | <Expanded> |
| 2375 | 2 == 2 |
| 2376 | </Expanded> |
| 2377 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2378 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2379 | <Original> |
| 2380 | multiply( j, 2 ) == j*2 |
| 2381 | </Original> |
| 2382 | <Expanded> |
| 2383 | 214 == 214 |
| 2384 | </Expanded> |
| 2385 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2386 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2387 | <Original> |
| 2388 | multiply( i, 2 ) == i*2 |
| 2389 | </Original> |
| 2390 | <Expanded> |
| 2391 | 4 == 4 |
| 2392 | </Expanded> |
| 2393 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2394 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2395 | <Original> |
| 2396 | multiply( j, 2 ) == j*2 |
| 2397 | </Original> |
| 2398 | <Expanded> |
| 2399 | 214 == 214 |
| 2400 | </Expanded> |
| 2401 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2402 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2403 | <Original> |
| 2404 | multiply( i, 2 ) == i*2 |
| 2405 | </Original> |
| 2406 | <Expanded> |
| 2407 | 6 == 6 |
| 2408 | </Expanded> |
| 2409 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2410 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2411 | <Original> |
| 2412 | multiply( j, 2 ) == j*2 |
| 2413 | </Original> |
| 2414 | <Expanded> |
| 2415 | 214 == 214 |
| 2416 | </Expanded> |
| 2417 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2418 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2419 | <Original> |
| 2420 | multiply( i, 2 ) == i*2 |
| 2421 | </Original> |
| 2422 | <Expanded> |
| 2423 | 8 == 8 |
| 2424 | </Expanded> |
| 2425 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2426 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2427 | <Original> |
| 2428 | multiply( j, 2 ) == j*2 |
| 2429 | </Original> |
| 2430 | <Expanded> |
| 2431 | 214 == 214 |
| 2432 | </Expanded> |
| 2433 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2434 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2435 | <Original> |
| 2436 | multiply( i, 2 ) == i*2 |
| 2437 | </Original> |
| 2438 | <Expanded> |
| 2439 | 10 == 10 |
| 2440 | </Expanded> |
| 2441 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2442 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2443 | <Original> |
| 2444 | multiply( j, 2 ) == j*2 |
| 2445 | </Original> |
| 2446 | <Expanded> |
| 2447 | 214 == 214 |
| 2448 | </Expanded> |
| 2449 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2450 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2451 | <Original> |
| 2452 | multiply( i, 2 ) == i*2 |
| 2453 | </Original> |
| 2454 | <Expanded> |
| 2455 | 30 == 30 |
| 2456 | </Expanded> |
| 2457 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2458 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2459 | <Original> |
| 2460 | multiply( j, 2 ) == j*2 |
| 2461 | </Original> |
| 2462 | <Expanded> |
| 2463 | 214 == 214 |
| 2464 | </Expanded> |
| 2465 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2466 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2467 | <Original> |
| 2468 | multiply( i, 2 ) == i*2 |
| 2469 | </Original> |
| 2470 | <Expanded> |
| 2471 | 40 == 40 |
| 2472 | </Expanded> |
| 2473 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2474 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2475 | <Original> |
| 2476 | multiply( j, 2 ) == j*2 |
| 2477 | </Original> |
| 2478 | <Expanded> |
| 2479 | 214 == 214 |
| 2480 | </Expanded> |
| 2481 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2482 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2483 | <Original> |
| 2484 | multiply( i, 2 ) == i*2 |
| 2485 | </Original> |
| 2486 | <Expanded> |
| 2487 | 42 == 42 |
| 2488 | </Expanded> |
| 2489 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2490 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2491 | <Original> |
| 2492 | multiply( j, 2 ) == j*2 |
| 2493 | </Original> |
| 2494 | <Expanded> |
| 2495 | 214 == 214 |
| 2496 | </Expanded> |
| 2497 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2498 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2499 | <Original> |
| 2500 | multiply( i, 2 ) == i*2 |
| 2501 | </Original> |
| 2502 | <Expanded> |
| 2503 | 72 == 72 |
| 2504 | </Expanded> |
| 2505 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2506 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2507 | <Original> |
| 2508 | multiply( j, 2 ) == j*2 |
| 2509 | </Original> |
| 2510 | <Expanded> |
| 2511 | 214 == 214 |
| 2512 | </Expanded> |
| 2513 | </Expression> |
| 2514 | <OverallResult success="true"/> |
| 2515 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 2516 | <TestCase name="Greater-than inequalities with different epsilons" tags="[Approx]"> |
Phil Nash | 0cde0e9 | 2017-01-09 14:40:09 +0000 | [diff] [blame] | 2517 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2518 | <Original> |
| 2519 | d >= Approx( 1.22 ) |
| 2520 | </Original> |
| 2521 | <Expanded> |
| 2522 | 1.23 >= Approx( 1.22 ) |
| 2523 | </Expanded> |
| 2524 | </Expression> |
| 2525 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2526 | <Original> |
| 2527 | d >= Approx( 1.23 ) |
| 2528 | </Original> |
| 2529 | <Expanded> |
| 2530 | 1.23 >= Approx( 1.23 ) |
| 2531 | </Expanded> |
| 2532 | </Expression> |
| 2533 | <Expression success="true" type="REQUIRE_FALSE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2534 | <Original> |
| 2535 | !d >= Approx( 1.24 ) |
| 2536 | </Original> |
| 2537 | <Expanded> |
| 2538 | !(1.23 >= Approx( 1.24 )) |
| 2539 | </Expanded> |
| 2540 | </Expression> |
| 2541 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2542 | <Original> |
| 2543 | d >= Approx( 1.24 ).epsilon(0.1) |
| 2544 | </Original> |
| 2545 | <Expanded> |
| 2546 | 1.23 >= Approx( 1.24 ) |
| 2547 | </Expanded> |
| 2548 | </Expression> |
| 2549 | <OverallResult success="true"/> |
| 2550 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 2551 | <TestCase name="INFO and WARN do not abort tests" tags="[.][hide][messages]"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2552 | <Info> |
| 2553 | this is a message |
| 2554 | </Info> |
| 2555 | <Warning> |
| 2556 | this is a warning |
| 2557 | </Warning> |
Phil Nash | 471bd25 | 2015-11-03 07:33:43 +0000 | [diff] [blame] | 2558 | <OverallResult success="true"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2559 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 2560 | <TestCase name="INFO gets logged on failure" tags="[.][failing][hide][messages]"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2561 | <Info> |
| 2562 | this message should be logged |
| 2563 | </Info> |
| 2564 | <Info> |
| 2565 | so should this |
| 2566 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2567 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2568 | <Original> |
| 2569 | a == 1 |
| 2570 | </Original> |
| 2571 | <Expanded> |
| 2572 | 2 == 1 |
| 2573 | </Expanded> |
| 2574 | </Expression> |
| 2575 | <OverallResult success="false"/> |
| 2576 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 2577 | <TestCase name="INFO gets logged on failure, even if captured before successful assertions" tags="[.][failing][hide][messages]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2578 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2579 | <Original> |
| 2580 | a == 2 |
| 2581 | </Original> |
| 2582 | <Expanded> |
| 2583 | 2 == 2 |
| 2584 | </Expanded> |
| 2585 | </Expression> |
| 2586 | <Info> |
| 2587 | this message should be logged |
| 2588 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2589 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2590 | <Original> |
| 2591 | a == 1 |
| 2592 | </Original> |
| 2593 | <Expanded> |
| 2594 | 2 == 1 |
| 2595 | </Expanded> |
| 2596 | </Expression> |
| 2597 | <Info> |
| 2598 | and this, but later |
| 2599 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2600 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2601 | <Original> |
| 2602 | a == 0 |
| 2603 | </Original> |
| 2604 | <Expanded> |
| 2605 | 2 == 0 |
| 2606 | </Expanded> |
| 2607 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2608 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2609 | <Original> |
| 2610 | a == 2 |
| 2611 | </Original> |
| 2612 | <Expanded> |
| 2613 | 2 == 2 |
| 2614 | </Expanded> |
| 2615 | </Expression> |
| 2616 | <OverallResult success="false"/> |
| 2617 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 2618 | <TestCase name="Inequality checks that should fail" tags="[!shouldfail][.][failing][hide]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2619 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2620 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2621 | data.int_seven != 7 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2622 | </Original> |
| 2623 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2624 | 7 != 7 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2625 | </Expanded> |
| 2626 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2627 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2628 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2629 | data.float_nine_point_one != Approx( 9.1f ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2630 | </Original> |
| 2631 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2632 | 9.1f != Approx( 9.1000003815 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2633 | </Expanded> |
| 2634 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2635 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2636 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2637 | data.double_pi != Approx( 3.1415926535 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2638 | </Original> |
| 2639 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2640 | 3.1415926535 != Approx( 3.1415926535 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2641 | </Expanded> |
| 2642 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2643 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2644 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2645 | data.str_hello != "hello" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2646 | </Original> |
| 2647 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2648 | "hello" != "hello" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2649 | </Expanded> |
| 2650 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2651 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2652 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2653 | data.str_hello.size() != 5 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2654 | </Original> |
| 2655 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2656 | 5 != 5 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2657 | </Expanded> |
| 2658 | </Expression> |
Phil Nash | 471bd25 | 2015-11-03 07:33:43 +0000 | [diff] [blame] | 2659 | <OverallResult success="true"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2660 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2661 | <TestCase name="Inequality checks that should succeed"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2662 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2663 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2664 | data.int_seven != 6 |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2665 | </Original> |
| 2666 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2667 | 7 != 6 |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2668 | </Expanded> |
| 2669 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2670 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2671 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2672 | data.int_seven != 8 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2673 | </Original> |
| 2674 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2675 | 7 != 8 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2676 | </Expanded> |
| 2677 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2678 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2679 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2680 | data.float_nine_point_one != Approx( 9.11f ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2681 | </Original> |
| 2682 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2683 | 9.1f != Approx( 9.1099996567 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2684 | </Expanded> |
| 2685 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2686 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2687 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2688 | data.float_nine_point_one != Approx( 9.0f ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2689 | </Original> |
| 2690 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2691 | 9.1f != Approx( 9.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2692 | </Expanded> |
| 2693 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2694 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2695 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2696 | data.float_nine_point_one != Approx( 1 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2697 | </Original> |
| 2698 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2699 | 9.1f != Approx( 1.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2700 | </Expanded> |
| 2701 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2702 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2703 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2704 | data.float_nine_point_one != Approx( 0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2705 | </Original> |
| 2706 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2707 | 9.1f != Approx( 0.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2708 | </Expanded> |
| 2709 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2710 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2711 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2712 | data.double_pi != Approx( 3.1415 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2713 | </Original> |
| 2714 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2715 | 3.1415926535 != Approx( 3.1415 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2716 | </Expanded> |
| 2717 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2718 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2719 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2720 | data.str_hello != "goodbye" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2721 | </Original> |
| 2722 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2723 | "hello" != "goodbye" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2724 | </Expanded> |
| 2725 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2726 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2727 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2728 | data.str_hello != "hell" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2729 | </Original> |
| 2730 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2731 | "hello" != "hell" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2732 | </Expanded> |
| 2733 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2734 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2735 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2736 | data.str_hello != "hello1" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2737 | </Original> |
| 2738 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2739 | "hello" != "hello1" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2740 | </Expanded> |
| 2741 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2742 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2743 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2744 | data.str_hello.size() != 6 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2745 | </Original> |
| 2746 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2747 | 5 != 6 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2748 | </Expanded> |
| 2749 | </Expression> |
| 2750 | <OverallResult success="true"/> |
| 2751 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 2752 | <TestCase name="Less-than inequalities with different epsilons" tags="[Approx]"> |
Phil Nash | 0cde0e9 | 2017-01-09 14:40:09 +0000 | [diff] [blame] | 2753 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2754 | <Original> |
| 2755 | d <= Approx( 1.24 ) |
| 2756 | </Original> |
| 2757 | <Expanded> |
| 2758 | 1.23 <= Approx( 1.24 ) |
| 2759 | </Expanded> |
| 2760 | </Expression> |
| 2761 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2762 | <Original> |
| 2763 | d <= Approx( 1.23 ) |
| 2764 | </Original> |
| 2765 | <Expanded> |
| 2766 | 1.23 <= Approx( 1.23 ) |
| 2767 | </Expanded> |
| 2768 | </Expression> |
| 2769 | <Expression success="true" type="REQUIRE_FALSE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2770 | <Original> |
| 2771 | !d <= Approx( 1.22 ) |
| 2772 | </Original> |
| 2773 | <Expanded> |
| 2774 | !(1.23 <= Approx( 1.22 )) |
| 2775 | </Expanded> |
| 2776 | </Expression> |
| 2777 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2778 | <Original> |
| 2779 | d <= Approx( 1.22 ).epsilon(0.1) |
| 2780 | </Original> |
| 2781 | <Expanded> |
| 2782 | 1.23 <= Approx( 1.22 ) |
| 2783 | </Expanded> |
| 2784 | </Expression> |
| 2785 | <OverallResult success="true"/> |
| 2786 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 2787 | <TestCase name="Long strings can be wrapped" tags="[wrap]"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2788 | <Section name="plain string"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2789 | <Section name="No wrapping"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2790 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2791 | <Original> |
| 2792 | Text( testString, TextAttributes().setWidth( 80 ) ).toString() == testString |
| 2793 | </Original> |
| 2794 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2795 | "one two three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2796 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2797 | "one two three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2798 | </Expanded> |
| 2799 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2800 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2801 | <Original> |
| 2802 | Text( testString, TextAttributes().setWidth( 18 ) ).toString() == testString |
| 2803 | </Original> |
| 2804 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2805 | "one two three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2806 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2807 | "one two three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2808 | </Expanded> |
| 2809 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2810 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2811 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2812 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2813 | </Section> |
| 2814 | <Section name="plain string"> |
| 2815 | <Section name="Wrapped once"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2816 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2817 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2818 | Text( testString, TextAttributes().setWidth( 17 ) ).toString() == "one two three\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2819 | </Original> |
| 2820 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2821 | "one two three |
| 2822 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2823 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2824 | "one two three |
| 2825 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2826 | </Expanded> |
| 2827 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2828 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2829 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2830 | Text( testString, TextAttributes().setWidth( 16 ) ).toString() == "one two three\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2831 | </Original> |
| 2832 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2833 | "one two three |
| 2834 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2835 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2836 | "one two three |
| 2837 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2838 | </Expanded> |
| 2839 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2840 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2841 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2842 | Text( testString, TextAttributes().setWidth( 14 ) ).toString() == "one two three\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2843 | </Original> |
| 2844 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2845 | "one two three |
| 2846 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2847 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2848 | "one two three |
| 2849 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2850 | </Expanded> |
| 2851 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2852 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2853 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2854 | Text( testString, TextAttributes().setWidth( 13 ) ).toString() == "one two three\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2855 | </Original> |
| 2856 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2857 | "one two three |
| 2858 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2859 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2860 | "one two three |
| 2861 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2862 | </Expanded> |
| 2863 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2864 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2865 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2866 | Text( testString, TextAttributes().setWidth( 12 ) ).toString() == "one two\nthree four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2867 | </Original> |
| 2868 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2869 | "one two |
| 2870 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2871 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2872 | "one two |
| 2873 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2874 | </Expanded> |
| 2875 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2876 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2877 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2878 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2879 | </Section> |
| 2880 | <Section name="plain string"> |
| 2881 | <Section name="Wrapped twice"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2882 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2883 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2884 | Text( testString, TextAttributes().setWidth( 9 ) ).toString() == "one two\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2885 | </Original> |
| 2886 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2887 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2888 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2889 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2890 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2891 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2892 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2893 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2894 | </Expanded> |
| 2895 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2896 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2897 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2898 | Text( testString, TextAttributes().setWidth( 8 ) ).toString() == "one two\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2899 | </Original> |
| 2900 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2901 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2902 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2903 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2904 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2905 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2906 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2907 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2908 | </Expanded> |
| 2909 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2910 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2911 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2912 | Text( testString, TextAttributes().setWidth( 7 ) ).toString() == "one two\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2913 | </Original> |
| 2914 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2915 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2916 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2917 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2918 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2919 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2920 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2921 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2922 | </Expanded> |
| 2923 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2924 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2925 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2926 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2927 | </Section> |
| 2928 | <Section name="plain string"> |
| 2929 | <Section name="Wrapped three times"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2930 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2931 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2932 | Text( testString, TextAttributes().setWidth( 6 ) ).toString() == "one\ntwo\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2933 | </Original> |
| 2934 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2935 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2936 | two |
| 2937 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2938 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2939 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2940 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2941 | two |
| 2942 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2943 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2944 | </Expanded> |
| 2945 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2946 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2947 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2948 | Text( testString, TextAttributes().setWidth( 5 ) ).toString() == "one\ntwo\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2949 | </Original> |
| 2950 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2951 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2952 | two |
| 2953 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2954 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2955 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2956 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2957 | two |
| 2958 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2959 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2960 | </Expanded> |
| 2961 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2962 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2963 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2964 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2965 | </Section> |
| 2966 | <Section name="plain string"> |
| 2967 | <Section name="Short wrap"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2968 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2969 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2970 | Text( "abcdef", TextAttributes().setWidth( 4 ) ).toString() == "abc-\ndef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2971 | </Original> |
| 2972 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2973 | "abc- |
| 2974 | def" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2975 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2976 | "abc- |
| 2977 | def" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2978 | </Expanded> |
| 2979 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2980 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2981 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2982 | Text( "abcdefg", TextAttributes().setWidth( 4 ) ).toString() == "abc-\ndefg" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2983 | </Original> |
| 2984 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2985 | "abc- |
| 2986 | defg" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2987 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2988 | "abc- |
| 2989 | defg" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2990 | </Expanded> |
| 2991 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2992 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2993 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2994 | Text( "abcdefgh", TextAttributes().setWidth( 4 ) ).toString() == "abc-\ndef-\ngh" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2995 | </Original> |
| 2996 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2997 | "abc- |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2998 | def- |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2999 | gh" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3000 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3001 | "abc- |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3002 | def- |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3003 | gh" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3004 | </Expanded> |
| 3005 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3006 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3007 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3008 | Text( testString, TextAttributes().setWidth( 4 ) ).toString() == "one\ntwo\nthr-\nee\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3009 | </Original> |
| 3010 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3011 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3012 | two |
| 3013 | thr- |
| 3014 | ee |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3015 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3016 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3017 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3018 | two |
| 3019 | thr- |
| 3020 | ee |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3021 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3022 | </Expanded> |
| 3023 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3024 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3025 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3026 | Text( testString, TextAttributes().setWidth( 3 ) ).toString() == "one\ntwo\nth-\nree\nfo-\nur" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3027 | </Original> |
| 3028 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3029 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3030 | two |
| 3031 | th- |
| 3032 | ree |
| 3033 | fo- |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3034 | ur" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3035 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3036 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3037 | two |
| 3038 | th- |
| 3039 | ree |
| 3040 | fo- |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3041 | ur" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3042 | </Expanded> |
| 3043 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3044 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3045 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3046 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3047 | </Section> |
| 3048 | <Section name="plain string"> |
| 3049 | <Section name="As container"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3050 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3051 | <Original> |
| 3052 | text.size() == 4 |
| 3053 | </Original> |
| 3054 | <Expanded> |
| 3055 | 4 == 4 |
| 3056 | </Expanded> |
| 3057 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3058 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3059 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3060 | text[0] == "one" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3061 | </Original> |
| 3062 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3063 | "one" == "one" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3064 | </Expanded> |
| 3065 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3066 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3067 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3068 | text[1] == "two" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3069 | </Original> |
| 3070 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3071 | "two" == "two" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3072 | </Expanded> |
| 3073 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3074 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3075 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3076 | text[2] == "three" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3077 | </Original> |
| 3078 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3079 | "three" == "three" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3080 | </Expanded> |
| 3081 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3082 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3083 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3084 | text[3] == "four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3085 | </Original> |
| 3086 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3087 | "four" == "four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3088 | </Expanded> |
| 3089 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3090 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3091 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3092 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3093 | </Section> |
| 3094 | <Section name="plain string"> |
| 3095 | <Section name="Indent first line differently"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3096 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3097 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3098 | text.toString() == " one two\n three\n four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3099 | </Original> |
| 3100 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3101 | " one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3102 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3103 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3104 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3105 | " one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3106 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3107 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3108 | </Expanded> |
| 3109 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3110 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3111 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3112 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3113 | </Section> |
| 3114 | <Section name="With newlines"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3115 | <Section name="No wrapping"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3116 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3117 | <Original> |
| 3118 | Text( testString, TextAttributes().setWidth( 80 ) ).toString() == testString |
| 3119 | </Original> |
| 3120 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3121 | "one two |
| 3122 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3123 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3124 | "one two |
| 3125 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3126 | </Expanded> |
| 3127 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3128 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3129 | <Original> |
| 3130 | Text( testString, TextAttributes().setWidth( 18 ) ).toString() == testString |
| 3131 | </Original> |
| 3132 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3133 | "one two |
| 3134 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3135 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3136 | "one two |
| 3137 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3138 | </Expanded> |
| 3139 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3140 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3141 | <Original> |
| 3142 | Text( testString, TextAttributes().setWidth( 10 ) ).toString() == testString |
| 3143 | </Original> |
| 3144 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3145 | "one two |
| 3146 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3147 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3148 | "one two |
| 3149 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3150 | </Expanded> |
| 3151 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3152 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3153 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3154 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3155 | </Section> |
| 3156 | <Section name="With newlines"> |
| 3157 | <Section name="Trailing newline"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3158 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3159 | <Original> |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3160 | Text( "abcdef\n", TextAttributes().setWidth( 10 ) ).toString() == "abcdef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3161 | </Original> |
| 3162 | <Expanded> |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3163 | "abcdef" == "abcdef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3164 | </Expanded> |
| 3165 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3166 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3167 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3168 | Text( "abcdef", TextAttributes().setWidth( 6 ) ).toString() == "abcdef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3169 | </Original> |
| 3170 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3171 | "abcdef" == "abcdef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3172 | </Expanded> |
| 3173 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3174 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3175 | <Original> |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3176 | Text( "abcdef\n", TextAttributes().setWidth( 6 ) ).toString() == "abcdef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3177 | </Original> |
| 3178 | <Expanded> |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3179 | "abcdef" == "abcdef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3180 | </Expanded> |
| 3181 | </Expression> |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3182 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
| 3183 | <Original> |
| 3184 | Text( "abcdef\n", TextAttributes().setWidth( 5 ) ).toString() == "abcd-\nef" |
| 3185 | </Original> |
| 3186 | <Expanded> |
| 3187 | "abcd- |
| 3188 | ef" |
| 3189 | == |
| 3190 | "abcd- |
| 3191 | ef" |
| 3192 | </Expanded> |
| 3193 | </Expression> |
| 3194 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3195 | </Section> |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3196 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3197 | </Section> |
| 3198 | <Section name="With newlines"> |
| 3199 | <Section name="Wrapped once"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3200 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3201 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3202 | Text( testString, TextAttributes().setWidth( 9 ) ).toString() == "one two\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3203 | </Original> |
| 3204 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3205 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3206 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3207 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3208 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3209 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3210 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3211 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3212 | </Expanded> |
| 3213 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3214 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3215 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3216 | Text( testString, TextAttributes().setWidth( 8 ) ).toString() == "one two\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3217 | </Original> |
| 3218 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3219 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3220 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3221 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3222 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3223 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3224 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3225 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3226 | </Expanded> |
| 3227 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3228 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3229 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3230 | Text( testString, TextAttributes().setWidth( 7 ) ).toString() == "one two\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3231 | </Original> |
| 3232 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3233 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3234 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3235 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3236 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3237 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3238 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3239 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3240 | </Expanded> |
| 3241 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3242 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3243 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3244 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3245 | </Section> |
| 3246 | <Section name="With newlines"> |
| 3247 | <Section name="Wrapped twice"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3248 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3249 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3250 | Text( testString, TextAttributes().setWidth( 6 ) ).toString() == "one\ntwo\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3251 | </Original> |
| 3252 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3253 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3254 | two |
| 3255 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3256 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3257 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3258 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3259 | two |
| 3260 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3261 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3262 | </Expanded> |
| 3263 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3264 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3265 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3266 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3267 | </Section> |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3268 | <Section name="With wrap-before/ after characters"> |
| 3269 | <Section name="No wrapping"> |
| 3270 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
| 3271 | <Original> |
| 3272 | Text( testString, TextAttributes().setWidth( 80 ) ).toString() == testString |
| 3273 | </Original> |
| 3274 | <Expanded> |
| 3275 | "one,two(three) <here>" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3276 | == |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3277 | "one,two(three) <here>" |
| 3278 | </Expanded> |
| 3279 | </Expression> |
| 3280 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
| 3281 | <Original> |
| 3282 | Text( testString, TextAttributes().setWidth( 24 ) ).toString() == testString |
| 3283 | </Original> |
| 3284 | <Expanded> |
| 3285 | "one,two(three) <here>" |
| 3286 | == |
| 3287 | "one,two(three) <here>" |
| 3288 | </Expanded> |
| 3289 | </Expression> |
| 3290 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 3291 | </Section> |
| 3292 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 3293 | </Section> |
| 3294 | <Section name="With wrap-before/ after characters"> |
| 3295 | <Section name="Wrap before"> |
| 3296 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
| 3297 | <Original> |
| 3298 | Text( testString, TextAttributes().setWidth( 11 ) ).toString() == "one,two\n(three)\n<here>" |
| 3299 | </Original> |
| 3300 | <Expanded> |
| 3301 | "one,two |
| 3302 | (three) |
| 3303 | <here>" |
| 3304 | == |
| 3305 | "one,two |
| 3306 | (three) |
| 3307 | <here>" |
| 3308 | </Expanded> |
| 3309 | </Expression> |
| 3310 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 3311 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3312 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3313 | </Section> |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3314 | <Section name="With wrap-before/ after characters"> |
| 3315 | <Section name="Wrap after"> |
| 3316 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
| 3317 | <Original> |
| 3318 | Text( testString, TextAttributes().setWidth( 6 ) ).toString() == "one,\ntwo\n(thre-\ne)\n<here>" |
| 3319 | </Original> |
| 3320 | <Expanded> |
| 3321 | "one, |
| 3322 | two |
| 3323 | (thre- |
| 3324 | e) |
| 3325 | <here>" |
| 3326 | == |
| 3327 | "one, |
| 3328 | two |
| 3329 | (thre- |
| 3330 | e) |
| 3331 | <here>" |
| 3332 | </Expanded> |
| 3333 | </Expression> |
| 3334 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
| 3335 | <Original> |
| 3336 | Text( testString, TextAttributes().setWidth( 5 ) ).toString() == "one,\ntwo\n(thr-\nee)\n<her-\ne>" |
| 3337 | </Original> |
| 3338 | <Expanded> |
| 3339 | "one, |
| 3340 | two |
| 3341 | (thr- |
| 3342 | ee) |
| 3343 | <her- |
| 3344 | e>" |
| 3345 | == |
| 3346 | "one, |
| 3347 | two |
| 3348 | (thr- |
| 3349 | ee) |
| 3350 | <her- |
| 3351 | e>" |
| 3352 | </Expanded> |
| 3353 | </Expression> |
| 3354 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
| 3355 | <Original> |
| 3356 | Text( testString, TextAttributes().setWidth( 4 ) ).toString() == "one,\ntwo\n(th-\nree)\n<he-\nre>" |
| 3357 | </Original> |
| 3358 | <Expanded> |
| 3359 | "one, |
| 3360 | two |
| 3361 | (th- |
| 3362 | ree) |
| 3363 | <he- |
| 3364 | re>" |
| 3365 | == |
| 3366 | "one, |
| 3367 | two |
| 3368 | (th- |
| 3369 | ree) |
| 3370 | <he- |
| 3371 | re>" |
| 3372 | </Expanded> |
| 3373 | </Expression> |
| 3374 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 3375 | </Section> |
| 3376 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 3377 | </Section> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3378 | <OverallResult success="true"/> |
| 3379 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 3380 | <TestCase name="Long text is truncted" tags="[Text][Truncated]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3381 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 93a945c | 2013-10-23 15:35:07 +0100 | [diff] [blame] | 3382 | <Original> |
Phil Nash | 5262e61 | 2015-12-10 18:43:29 +0000 | [diff] [blame] | 3383 | t.toString(), EndsWith( "... message truncated due to excessive size" ) |
Phil Nash | 93a945c | 2013-10-23 15:35:07 +0100 | [diff] [blame] | 3384 | </Original> |
| 3385 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3386 | "******************************************************************************- |
Phil Nash | 93a945c | 2013-10-23 15:35:07 +0100 | [diff] [blame] | 3387 | ******************************************************************************- |
| 3388 | ************************ |
| 3389 | ******************************************************************************- |
| 3390 | ******************************************************************************- |
| 3391 | ************************ |
| 3392 | ******************************************************************************- |
| 3393 | ******************************************************************************- |
| 3394 | ************************ |
| 3395 | ******************************************************************************- |
| 3396 | ******************************************************************************- |
| 3397 | ************************ |
| 3398 | ******************************************************************************- |
| 3399 | ******************************************************************************- |
| 3400 | ************************ |
| 3401 | ******************************************************************************- |
| 3402 | ******************************************************************************- |
| 3403 | ************************ |
| 3404 | ******************************************************************************- |
| 3405 | ******************************************************************************- |
| 3406 | ************************ |
| 3407 | ******************************************************************************- |
| 3408 | ******************************************************************************- |
| 3409 | ************************ |
| 3410 | ******************************************************************************- |
| 3411 | ******************************************************************************- |
| 3412 | ************************ |
| 3413 | ******************************************************************************- |
| 3414 | ******************************************************************************- |
| 3415 | ************************ |
| 3416 | ******************************************************************************- |
| 3417 | ******************************************************************************- |
| 3418 | ************************ |
| 3419 | ******************************************************************************- |
| 3420 | ******************************************************************************- |
| 3421 | ************************ |
| 3422 | ******************************************************************************- |
| 3423 | ******************************************************************************- |
| 3424 | ************************ |
| 3425 | ******************************************************************************- |
| 3426 | ******************************************************************************- |
| 3427 | ************************ |
| 3428 | ******************************************************************************- |
| 3429 | ******************************************************************************- |
| 3430 | ************************ |
| 3431 | ******************************************************************************- |
| 3432 | ******************************************************************************- |
| 3433 | ************************ |
| 3434 | ******************************************************************************- |
| 3435 | ******************************************************************************- |
| 3436 | ************************ |
| 3437 | ******************************************************************************- |
| 3438 | ******************************************************************************- |
| 3439 | ************************ |
| 3440 | ******************************************************************************- |
| 3441 | ******************************************************************************- |
| 3442 | ************************ |
| 3443 | ******************************************************************************- |
| 3444 | ******************************************************************************- |
| 3445 | ************************ |
| 3446 | ******************************************************************************- |
| 3447 | ******************************************************************************- |
| 3448 | ************************ |
| 3449 | ******************************************************************************- |
| 3450 | ******************************************************************************- |
| 3451 | ************************ |
| 3452 | ******************************************************************************- |
| 3453 | ******************************************************************************- |
| 3454 | ************************ |
| 3455 | ******************************************************************************- |
| 3456 | ******************************************************************************- |
| 3457 | ************************ |
| 3458 | ******************************************************************************- |
| 3459 | ******************************************************************************- |
| 3460 | ************************ |
| 3461 | ******************************************************************************- |
| 3462 | ******************************************************************************- |
| 3463 | ************************ |
| 3464 | ******************************************************************************- |
| 3465 | ******************************************************************************- |
| 3466 | ************************ |
| 3467 | ******************************************************************************- |
| 3468 | ******************************************************************************- |
| 3469 | ************************ |
| 3470 | ******************************************************************************- |
| 3471 | ******************************************************************************- |
| 3472 | ************************ |
| 3473 | ******************************************************************************- |
| 3474 | ******************************************************************************- |
| 3475 | ************************ |
| 3476 | ******************************************************************************- |
| 3477 | ******************************************************************************- |
| 3478 | ************************ |
| 3479 | ******************************************************************************- |
| 3480 | ******************************************************************************- |
| 3481 | ************************ |
| 3482 | ******************************************************************************- |
| 3483 | ******************************************************************************- |
| 3484 | ************************ |
| 3485 | ******************************************************************************- |
| 3486 | ******************************************************************************- |
| 3487 | ************************ |
| 3488 | ******************************************************************************- |
| 3489 | ******************************************************************************- |
| 3490 | ************************ |
| 3491 | ******************************************************************************- |
| 3492 | ******************************************************************************- |
| 3493 | ************************ |
| 3494 | ******************************************************************************- |
| 3495 | ******************************************************************************- |
| 3496 | ************************ |
| 3497 | ******************************************************************************- |
| 3498 | ******************************************************************************- |
| 3499 | ************************ |
| 3500 | ******************************************************************************- |
| 3501 | ******************************************************************************- |
| 3502 | ************************ |
| 3503 | ******************************************************************************- |
| 3504 | ******************************************************************************- |
| 3505 | ************************ |
| 3506 | ******************************************************************************- |
| 3507 | ******************************************************************************- |
| 3508 | ************************ |
| 3509 | ******************************************************************************- |
| 3510 | ******************************************************************************- |
| 3511 | ************************ |
| 3512 | ******************************************************************************- |
| 3513 | ******************************************************************************- |
| 3514 | ************************ |
| 3515 | ******************************************************************************- |
| 3516 | ******************************************************************************- |
| 3517 | ************************ |
| 3518 | ******************************************************************************- |
| 3519 | ******************************************************************************- |
| 3520 | ************************ |
| 3521 | ******************************************************************************- |
| 3522 | ******************************************************************************- |
| 3523 | ************************ |
| 3524 | ******************************************************************************- |
| 3525 | ******************************************************************************- |
| 3526 | ************************ |
| 3527 | ******************************************************************************- |
| 3528 | ******************************************************************************- |
| 3529 | ************************ |
| 3530 | ******************************************************************************- |
| 3531 | ******************************************************************************- |
| 3532 | ************************ |
| 3533 | ******************************************************************************- |
| 3534 | ******************************************************************************- |
| 3535 | ************************ |
| 3536 | ******************************************************************************- |
| 3537 | ******************************************************************************- |
| 3538 | ************************ |
| 3539 | ******************************************************************************- |
| 3540 | ******************************************************************************- |
| 3541 | ************************ |
| 3542 | ******************************************************************************- |
| 3543 | ******************************************************************************- |
| 3544 | ************************ |
| 3545 | ******************************************************************************- |
| 3546 | ******************************************************************************- |
| 3547 | ************************ |
| 3548 | ******************************************************************************- |
| 3549 | ******************************************************************************- |
| 3550 | ************************ |
| 3551 | ******************************************************************************- |
| 3552 | ******************************************************************************- |
| 3553 | ************************ |
| 3554 | ******************************************************************************- |
| 3555 | ******************************************************************************- |
| 3556 | ************************ |
| 3557 | ******************************************************************************- |
| 3558 | ******************************************************************************- |
| 3559 | ************************ |
| 3560 | ******************************************************************************- |
| 3561 | ******************************************************************************- |
| 3562 | ************************ |
| 3563 | ******************************************************************************- |
| 3564 | ******************************************************************************- |
| 3565 | ************************ |
| 3566 | ******************************************************************************- |
| 3567 | ******************************************************************************- |
| 3568 | ************************ |
| 3569 | ******************************************************************************- |
| 3570 | ******************************************************************************- |
| 3571 | ************************ |
| 3572 | ******************************************************************************- |
| 3573 | ******************************************************************************- |
| 3574 | ************************ |
| 3575 | ******************************************************************************- |
| 3576 | ******************************************************************************- |
| 3577 | ************************ |
| 3578 | ******************************************************************************- |
| 3579 | ******************************************************************************- |
| 3580 | ************************ |
| 3581 | ******************************************************************************- |
| 3582 | ******************************************************************************- |
| 3583 | ************************ |
| 3584 | ******************************************************************************- |
| 3585 | ******************************************************************************- |
| 3586 | ************************ |
| 3587 | ******************************************************************************- |
| 3588 | ******************************************************************************- |
| 3589 | ************************ |
| 3590 | ******************************************************************************- |
| 3591 | ******************************************************************************- |
| 3592 | ************************ |
| 3593 | ******************************************************************************- |
| 3594 | ******************************************************************************- |
| 3595 | ************************ |
| 3596 | ******************************************************************************- |
| 3597 | ******************************************************************************- |
| 3598 | ************************ |
| 3599 | ******************************************************************************- |
| 3600 | ******************************************************************************- |
| 3601 | ************************ |
| 3602 | ******************************************************************************- |
| 3603 | ******************************************************************************- |
| 3604 | ************************ |
| 3605 | ******************************************************************************- |
| 3606 | ******************************************************************************- |
| 3607 | ************************ |
| 3608 | ******************************************************************************- |
| 3609 | ******************************************************************************- |
| 3610 | ************************ |
| 3611 | ******************************************************************************- |
| 3612 | ******************************************************************************- |
| 3613 | ************************ |
| 3614 | ******************************************************************************- |
| 3615 | ******************************************************************************- |
| 3616 | ************************ |
| 3617 | ******************************************************************************- |
| 3618 | ******************************************************************************- |
| 3619 | ************************ |
| 3620 | ******************************************************************************- |
| 3621 | ******************************************************************************- |
| 3622 | ************************ |
| 3623 | ******************************************************************************- |
| 3624 | ******************************************************************************- |
| 3625 | ************************ |
| 3626 | ******************************************************************************- |
| 3627 | ******************************************************************************- |
| 3628 | ************************ |
| 3629 | ******************************************************************************- |
| 3630 | ******************************************************************************- |
| 3631 | ************************ |
| 3632 | ******************************************************************************- |
| 3633 | ******************************************************************************- |
| 3634 | ************************ |
| 3635 | ******************************************************************************- |
| 3636 | ******************************************************************************- |
| 3637 | ************************ |
| 3638 | ******************************************************************************- |
| 3639 | ******************************************************************************- |
| 3640 | ************************ |
| 3641 | ******************************************************************************- |
| 3642 | ******************************************************************************- |
| 3643 | ************************ |
| 3644 | ******************************************************************************- |
| 3645 | ******************************************************************************- |
| 3646 | ************************ |
| 3647 | ******************************************************************************- |
| 3648 | ******************************************************************************- |
| 3649 | ************************ |
| 3650 | ******************************************************************************- |
| 3651 | ******************************************************************************- |
| 3652 | ************************ |
| 3653 | ******************************************************************************- |
| 3654 | ******************************************************************************- |
| 3655 | ************************ |
| 3656 | ******************************************************************************- |
| 3657 | ******************************************************************************- |
| 3658 | ************************ |
| 3659 | ******************************************************************************- |
| 3660 | ******************************************************************************- |
| 3661 | ************************ |
| 3662 | ******************************************************************************- |
| 3663 | ******************************************************************************- |
| 3664 | ************************ |
| 3665 | ******************************************************************************- |
| 3666 | ******************************************************************************- |
| 3667 | ************************ |
| 3668 | ******************************************************************************- |
| 3669 | ******************************************************************************- |
| 3670 | ************************ |
| 3671 | ******************************************************************************- |
| 3672 | ******************************************************************************- |
| 3673 | ************************ |
| 3674 | ******************************************************************************- |
| 3675 | ******************************************************************************- |
| 3676 | ************************ |
| 3677 | ******************************************************************************- |
| 3678 | ******************************************************************************- |
| 3679 | ************************ |
| 3680 | ******************************************************************************- |
| 3681 | ******************************************************************************- |
| 3682 | ************************ |
| 3683 | ******************************************************************************- |
| 3684 | ******************************************************************************- |
| 3685 | ************************ |
| 3686 | ******************************************************************************- |
| 3687 | ******************************************************************************- |
| 3688 | ************************ |
| 3689 | ******************************************************************************- |
| 3690 | ******************************************************************************- |
| 3691 | ************************ |
| 3692 | ******************************************************************************- |
| 3693 | ******************************************************************************- |
| 3694 | ************************ |
| 3695 | ******************************************************************************- |
| 3696 | ******************************************************************************- |
| 3697 | ************************ |
| 3698 | ******************************************************************************- |
| 3699 | ******************************************************************************- |
| 3700 | ************************ |
| 3701 | ******************************************************************************- |
| 3702 | ******************************************************************************- |
| 3703 | ************************ |
| 3704 | ******************************************************************************- |
| 3705 | ******************************************************************************- |
| 3706 | ************************ |
| 3707 | ******************************************************************************- |
| 3708 | ******************************************************************************- |
| 3709 | ************************ |
| 3710 | ******************************************************************************- |
| 3711 | ******************************************************************************- |
| 3712 | ************************ |
| 3713 | ******************************************************************************- |
| 3714 | ******************************************************************************- |
| 3715 | ************************ |
| 3716 | ******************************************************************************- |
| 3717 | ******************************************************************************- |
| 3718 | ************************ |
| 3719 | ******************************************************************************- |
| 3720 | ******************************************************************************- |
| 3721 | ************************ |
| 3722 | ******************************************************************************- |
| 3723 | ******************************************************************************- |
| 3724 | ************************ |
| 3725 | ******************************************************************************- |
| 3726 | ******************************************************************************- |
| 3727 | ************************ |
| 3728 | ******************************************************************************- |
| 3729 | ******************************************************************************- |
| 3730 | ************************ |
| 3731 | ******************************************************************************- |
| 3732 | ******************************************************************************- |
| 3733 | ************************ |
| 3734 | ******************************************************************************- |
| 3735 | ******************************************************************************- |
| 3736 | ************************ |
| 3737 | ******************************************************************************- |
| 3738 | ******************************************************************************- |
| 3739 | ************************ |
| 3740 | ******************************************************************************- |
| 3741 | ******************************************************************************- |
| 3742 | ************************ |
| 3743 | ******************************************************************************- |
| 3744 | ******************************************************************************- |
| 3745 | ************************ |
| 3746 | ******************************************************************************- |
| 3747 | ******************************************************************************- |
| 3748 | ************************ |
| 3749 | ******************************************************************************- |
| 3750 | ******************************************************************************- |
| 3751 | ************************ |
| 3752 | ******************************************************************************- |
| 3753 | ******************************************************************************- |
| 3754 | ************************ |
| 3755 | ******************************************************************************- |
| 3756 | ******************************************************************************- |
| 3757 | ************************ |
| 3758 | ******************************************************************************- |
| 3759 | ******************************************************************************- |
| 3760 | ************************ |
| 3761 | ******************************************************************************- |
| 3762 | ******************************************************************************- |
| 3763 | ************************ |
| 3764 | ******************************************************************************- |
| 3765 | ******************************************************************************- |
| 3766 | ************************ |
| 3767 | ******************************************************************************- |
| 3768 | ******************************************************************************- |
| 3769 | ************************ |
| 3770 | ******************************************************************************- |
| 3771 | ******************************************************************************- |
| 3772 | ************************ |
| 3773 | ******************************************************************************- |
| 3774 | ******************************************************************************- |
| 3775 | ************************ |
| 3776 | ******************************************************************************- |
| 3777 | ******************************************************************************- |
| 3778 | ************************ |
| 3779 | ******************************************************************************- |
| 3780 | ******************************************************************************- |
| 3781 | ************************ |
| 3782 | ******************************************************************************- |
| 3783 | ******************************************************************************- |
| 3784 | ************************ |
| 3785 | ******************************************************************************- |
| 3786 | ******************************************************************************- |
| 3787 | ************************ |
| 3788 | ******************************************************************************- |
| 3789 | ******************************************************************************- |
| 3790 | ************************ |
| 3791 | ******************************************************************************- |
| 3792 | ******************************************************************************- |
| 3793 | ************************ |
| 3794 | ******************************************************************************- |
| 3795 | ******************************************************************************- |
| 3796 | ************************ |
| 3797 | ******************************************************************************- |
| 3798 | ******************************************************************************- |
| 3799 | ************************ |
| 3800 | ******************************************************************************- |
| 3801 | ******************************************************************************- |
| 3802 | ************************ |
| 3803 | ******************************************************************************- |
| 3804 | ******************************************************************************- |
| 3805 | ************************ |
| 3806 | ******************************************************************************- |
| 3807 | ******************************************************************************- |
| 3808 | ************************ |
| 3809 | ******************************************************************************- |
| 3810 | ******************************************************************************- |
| 3811 | ************************ |
| 3812 | ******************************************************************************- |
| 3813 | ******************************************************************************- |
| 3814 | ************************ |
| 3815 | ******************************************************************************- |
| 3816 | ******************************************************************************- |
| 3817 | ************************ |
| 3818 | ******************************************************************************- |
| 3819 | ******************************************************************************- |
| 3820 | ************************ |
| 3821 | ******************************************************************************- |
| 3822 | ******************************************************************************- |
| 3823 | ************************ |
| 3824 | ******************************************************************************- |
| 3825 | ******************************************************************************- |
| 3826 | ************************ |
| 3827 | ******************************************************************************- |
| 3828 | ******************************************************************************- |
| 3829 | ************************ |
| 3830 | ******************************************************************************- |
| 3831 | ******************************************************************************- |
| 3832 | ************************ |
| 3833 | ******************************************************************************- |
| 3834 | ******************************************************************************- |
| 3835 | ************************ |
| 3836 | ******************************************************************************- |
| 3837 | ******************************************************************************- |
| 3838 | ************************ |
| 3839 | ******************************************************************************- |
| 3840 | ******************************************************************************- |
| 3841 | ************************ |
| 3842 | ******************************************************************************- |
| 3843 | ******************************************************************************- |
| 3844 | ************************ |
| 3845 | ******************************************************************************- |
| 3846 | ******************************************************************************- |
| 3847 | ************************ |
| 3848 | ******************************************************************************- |
| 3849 | ******************************************************************************- |
| 3850 | ************************ |
| 3851 | ******************************************************************************- |
| 3852 | ******************************************************************************- |
| 3853 | ************************ |
| 3854 | ******************************************************************************- |
| 3855 | ******************************************************************************- |
| 3856 | ************************ |
| 3857 | ******************************************************************************- |
| 3858 | ******************************************************************************- |
| 3859 | ************************ |
| 3860 | ******************************************************************************- |
| 3861 | ******************************************************************************- |
| 3862 | ************************ |
| 3863 | ******************************************************************************- |
| 3864 | ******************************************************************************- |
| 3865 | ************************ |
| 3866 | ******************************************************************************- |
| 3867 | ******************************************************************************- |
| 3868 | ************************ |
| 3869 | ******************************************************************************- |
| 3870 | ******************************************************************************- |
| 3871 | ************************ |
| 3872 | ******************************************************************************- |
| 3873 | ******************************************************************************- |
| 3874 | ************************ |
| 3875 | ******************************************************************************- |
| 3876 | ******************************************************************************- |
| 3877 | ************************ |
| 3878 | ******************************************************************************- |
| 3879 | ******************************************************************************- |
| 3880 | ************************ |
| 3881 | ******************************************************************************- |
| 3882 | ******************************************************************************- |
| 3883 | ************************ |
| 3884 | ******************************************************************************- |
| 3885 | ******************************************************************************- |
| 3886 | ************************ |
| 3887 | ******************************************************************************- |
| 3888 | ******************************************************************************- |
| 3889 | ************************ |
| 3890 | ******************************************************************************- |
| 3891 | ******************************************************************************- |
| 3892 | ************************ |
| 3893 | ******************************************************************************- |
| 3894 | ******************************************************************************- |
| 3895 | ************************ |
| 3896 | ******************************************************************************- |
| 3897 | ******************************************************************************- |
| 3898 | ************************ |
| 3899 | ******************************************************************************- |
| 3900 | ******************************************************************************- |
| 3901 | ************************ |
| 3902 | ******************************************************************************- |
| 3903 | ******************************************************************************- |
| 3904 | ************************ |
| 3905 | ******************************************************************************- |
| 3906 | ******************************************************************************- |
| 3907 | ************************ |
| 3908 | ******************************************************************************- |
| 3909 | ******************************************************************************- |
| 3910 | ************************ |
| 3911 | ******************************************************************************- |
| 3912 | ******************************************************************************- |
| 3913 | ************************ |
| 3914 | ******************************************************************************- |
| 3915 | ******************************************************************************- |
| 3916 | ************************ |
| 3917 | ******************************************************************************- |
| 3918 | ******************************************************************************- |
| 3919 | ************************ |
| 3920 | ******************************************************************************- |
| 3921 | ******************************************************************************- |
| 3922 | ************************ |
| 3923 | ******************************************************************************- |
| 3924 | ******************************************************************************- |
| 3925 | ************************ |
| 3926 | ******************************************************************************- |
| 3927 | ******************************************************************************- |
| 3928 | ************************ |
| 3929 | ******************************************************************************- |
| 3930 | ******************************************************************************- |
| 3931 | ************************ |
| 3932 | ******************************************************************************- |
| 3933 | ******************************************************************************- |
| 3934 | ************************ |
| 3935 | ******************************************************************************- |
| 3936 | ******************************************************************************- |
| 3937 | ************************ |
| 3938 | ******************************************************************************- |
| 3939 | ******************************************************************************- |
| 3940 | ************************ |
| 3941 | ******************************************************************************- |
| 3942 | ******************************************************************************- |
| 3943 | ************************ |
| 3944 | ******************************************************************************- |
| 3945 | ******************************************************************************- |
| 3946 | ************************ |
| 3947 | ******************************************************************************- |
| 3948 | ******************************************************************************- |
| 3949 | ************************ |
| 3950 | ******************************************************************************- |
| 3951 | ******************************************************************************- |
| 3952 | ************************ |
| 3953 | ******************************************************************************- |
| 3954 | ******************************************************************************- |
| 3955 | ************************ |
| 3956 | ******************************************************************************- |
| 3957 | ******************************************************************************- |
| 3958 | ************************ |
| 3959 | ******************************************************************************- |
| 3960 | ******************************************************************************- |
| 3961 | ************************ |
| 3962 | ******************************************************************************- |
| 3963 | ******************************************************************************- |
| 3964 | ************************ |
| 3965 | ******************************************************************************- |
| 3966 | ******************************************************************************- |
| 3967 | ************************ |
| 3968 | ******************************************************************************- |
| 3969 | ******************************************************************************- |
| 3970 | ************************ |
| 3971 | ******************************************************************************- |
| 3972 | ******************************************************************************- |
| 3973 | ************************ |
| 3974 | ******************************************************************************- |
| 3975 | ******************************************************************************- |
| 3976 | ************************ |
| 3977 | ******************************************************************************- |
| 3978 | ******************************************************************************- |
| 3979 | ************************ |
| 3980 | ******************************************************************************- |
| 3981 | ******************************************************************************- |
| 3982 | ************************ |
| 3983 | ******************************************************************************- |
| 3984 | ******************************************************************************- |
| 3985 | ************************ |
| 3986 | ******************************************************************************- |
| 3987 | ******************************************************************************- |
| 3988 | ************************ |
| 3989 | ******************************************************************************- |
| 3990 | ******************************************************************************- |
| 3991 | ************************ |
| 3992 | ******************************************************************************- |
| 3993 | ******************************************************************************- |
| 3994 | ************************ |
| 3995 | ******************************************************************************- |
| 3996 | ******************************************************************************- |
| 3997 | ************************ |
| 3998 | ******************************************************************************- |
| 3999 | ******************************************************************************- |
| 4000 | ************************ |
| 4001 | ******************************************************************************- |
| 4002 | ******************************************************************************- |
| 4003 | ************************ |
| 4004 | ******************************************************************************- |
| 4005 | ******************************************************************************- |
| 4006 | ************************ |
| 4007 | ******************************************************************************- |
| 4008 | ******************************************************************************- |
| 4009 | ************************ |
| 4010 | ******************************************************************************- |
| 4011 | ******************************************************************************- |
| 4012 | ************************ |
| 4013 | ******************************************************************************- |
| 4014 | ******************************************************************************- |
| 4015 | ************************ |
| 4016 | ******************************************************************************- |
| 4017 | ******************************************************************************- |
| 4018 | ************************ |
| 4019 | ******************************************************************************- |
| 4020 | ******************************************************************************- |
| 4021 | ************************ |
| 4022 | ******************************************************************************- |
| 4023 | ******************************************************************************- |
| 4024 | ************************ |
| 4025 | ******************************************************************************- |
| 4026 | ******************************************************************************- |
| 4027 | ************************ |
| 4028 | ******************************************************************************- |
| 4029 | ******************************************************************************- |
| 4030 | ************************ |
| 4031 | ******************************************************************************- |
| 4032 | ******************************************************************************- |
| 4033 | ************************ |
| 4034 | ******************************************************************************- |
| 4035 | ******************************************************************************- |
| 4036 | ************************ |
| 4037 | ******************************************************************************- |
| 4038 | ******************************************************************************- |
| 4039 | ************************ |
| 4040 | ******************************************************************************- |
| 4041 | ******************************************************************************- |
| 4042 | ************************ |
| 4043 | ******************************************************************************- |
| 4044 | ******************************************************************************- |
| 4045 | ************************ |
| 4046 | ******************************************************************************- |
| 4047 | ******************************************************************************- |
| 4048 | ************************ |
| 4049 | ******************************************************************************- |
| 4050 | ******************************************************************************- |
| 4051 | ************************ |
| 4052 | ******************************************************************************- |
| 4053 | ******************************************************************************- |
| 4054 | ************************ |
| 4055 | ******************************************************************************- |
| 4056 | ******************************************************************************- |
| 4057 | ************************ |
| 4058 | ******************************************************************************- |
| 4059 | ******************************************************************************- |
| 4060 | ************************ |
| 4061 | ******************************************************************************- |
| 4062 | ******************************************************************************- |
| 4063 | ************************ |
| 4064 | ******************************************************************************- |
| 4065 | ******************************************************************************- |
| 4066 | ************************ |
| 4067 | ******************************************************************************- |
| 4068 | ******************************************************************************- |
| 4069 | ************************ |
| 4070 | ******************************************************************************- |
| 4071 | ******************************************************************************- |
| 4072 | ************************ |
| 4073 | ******************************************************************************- |
| 4074 | ******************************************************************************- |
| 4075 | ************************ |
| 4076 | ******************************************************************************- |
| 4077 | ******************************************************************************- |
| 4078 | ************************ |
| 4079 | ******************************************************************************- |
| 4080 | ******************************************************************************- |
| 4081 | ************************ |
| 4082 | ******************************************************************************- |
| 4083 | ******************************************************************************- |
| 4084 | ************************ |
| 4085 | ******************************************************************************- |
| 4086 | ******************************************************************************- |
| 4087 | ************************ |
| 4088 | ******************************************************************************- |
| 4089 | ******************************************************************************- |
| 4090 | ************************ |
| 4091 | ******************************************************************************- |
| 4092 | ******************************************************************************- |
| 4093 | ************************ |
| 4094 | ******************************************************************************- |
| 4095 | ******************************************************************************- |
| 4096 | ************************ |
| 4097 | ******************************************************************************- |
| 4098 | ******************************************************************************- |
| 4099 | ************************ |
| 4100 | ******************************************************************************- |
| 4101 | ******************************************************************************- |
| 4102 | ************************ |
| 4103 | ******************************************************************************- |
| 4104 | ******************************************************************************- |
| 4105 | ************************ |
| 4106 | ******************************************************************************- |
| 4107 | ******************************************************************************- |
| 4108 | ************************ |
| 4109 | ******************************************************************************- |
| 4110 | ******************************************************************************- |
| 4111 | ************************ |
| 4112 | ******************************************************************************- |
| 4113 | ******************************************************************************- |
| 4114 | ************************ |
| 4115 | ******************************************************************************- |
| 4116 | ******************************************************************************- |
| 4117 | ************************ |
| 4118 | ******************************************************************************- |
| 4119 | ******************************************************************************- |
| 4120 | ************************ |
| 4121 | ******************************************************************************- |
| 4122 | ******************************************************************************- |
| 4123 | ************************ |
| 4124 | ******************************************************************************- |
| 4125 | ******************************************************************************- |
| 4126 | ************************ |
| 4127 | ******************************************************************************- |
| 4128 | ******************************************************************************- |
| 4129 | ************************ |
| 4130 | ******************************************************************************- |
| 4131 | ******************************************************************************- |
| 4132 | ************************ |
| 4133 | ******************************************************************************- |
| 4134 | ******************************************************************************- |
| 4135 | ************************ |
| 4136 | ******************************************************************************- |
| 4137 | ******************************************************************************- |
| 4138 | ************************ |
| 4139 | ******************************************************************************- |
| 4140 | ******************************************************************************- |
| 4141 | ************************ |
| 4142 | ******************************************************************************- |
| 4143 | ******************************************************************************- |
| 4144 | ************************ |
| 4145 | ******************************************************************************- |
| 4146 | ******************************************************************************- |
| 4147 | ************************ |
| 4148 | ******************************************************************************- |
| 4149 | ******************************************************************************- |
| 4150 | ************************ |
| 4151 | ******************************************************************************- |
| 4152 | ******************************************************************************- |
| 4153 | ************************ |
| 4154 | ******************************************************************************- |
| 4155 | ******************************************************************************- |
| 4156 | ************************ |
| 4157 | ******************************************************************************- |
| 4158 | ******************************************************************************- |
| 4159 | ************************ |
| 4160 | ******************************************************************************- |
| 4161 | ******************************************************************************- |
| 4162 | ************************ |
| 4163 | ******************************************************************************- |
| 4164 | ******************************************************************************- |
| 4165 | ************************ |
| 4166 | ******************************************************************************- |
| 4167 | ******************************************************************************- |
| 4168 | ************************ |
| 4169 | ******************************************************************************- |
| 4170 | ******************************************************************************- |
| 4171 | ************************ |
| 4172 | ******************************************************************************- |
| 4173 | ******************************************************************************- |
| 4174 | ************************ |
| 4175 | ******************************************************************************- |
| 4176 | ******************************************************************************- |
| 4177 | ************************ |
| 4178 | ******************************************************************************- |
| 4179 | ******************************************************************************- |
| 4180 | ************************ |
| 4181 | ******************************************************************************- |
| 4182 | ******************************************************************************- |
| 4183 | ************************ |
| 4184 | ******************************************************************************- |
| 4185 | ******************************************************************************- |
| 4186 | ************************ |
| 4187 | ******************************************************************************- |
| 4188 | ******************************************************************************- |
| 4189 | ************************ |
| 4190 | ******************************************************************************- |
| 4191 | ******************************************************************************- |
| 4192 | ************************ |
| 4193 | ******************************************************************************- |
| 4194 | ******************************************************************************- |
| 4195 | ************************ |
| 4196 | ******************************************************************************- |
| 4197 | ******************************************************************************- |
| 4198 | ************************ |
| 4199 | ******************************************************************************- |
| 4200 | ******************************************************************************- |
| 4201 | ************************ |
| 4202 | ******************************************************************************- |
| 4203 | ******************************************************************************- |
| 4204 | ************************ |
| 4205 | ******************************************************************************- |
| 4206 | ******************************************************************************- |
| 4207 | ************************ |
| 4208 | ******************************************************************************- |
| 4209 | ******************************************************************************- |
| 4210 | ************************ |
| 4211 | ******************************************************************************- |
| 4212 | ******************************************************************************- |
| 4213 | ************************ |
| 4214 | ******************************************************************************- |
| 4215 | ******************************************************************************- |
| 4216 | ************************ |
| 4217 | ******************************************************************************- |
| 4218 | ******************************************************************************- |
| 4219 | ************************ |
| 4220 | ******************************************************************************- |
| 4221 | ******************************************************************************- |
| 4222 | ************************ |
| 4223 | ******************************************************************************- |
| 4224 | ******************************************************************************- |
| 4225 | ************************ |
| 4226 | ******************************************************************************- |
| 4227 | ******************************************************************************- |
| 4228 | ************************ |
| 4229 | ******************************************************************************- |
| 4230 | ******************************************************************************- |
| 4231 | ************************ |
| 4232 | ******************************************************************************- |
| 4233 | ******************************************************************************- |
| 4234 | ************************ |
| 4235 | ******************************************************************************- |
| 4236 | ******************************************************************************- |
| 4237 | ************************ |
| 4238 | ******************************************************************************- |
| 4239 | ******************************************************************************- |
| 4240 | ************************ |
| 4241 | ******************************************************************************- |
| 4242 | ******************************************************************************- |
| 4243 | ************************ |
| 4244 | ******************************************************************************- |
| 4245 | ******************************************************************************- |
| 4246 | ************************ |
| 4247 | ******************************************************************************- |
| 4248 | ******************************************************************************- |
| 4249 | ************************ |
| 4250 | ******************************************************************************- |
| 4251 | ******************************************************************************- |
| 4252 | ************************ |
| 4253 | ******************************************************************************- |
| 4254 | ******************************************************************************- |
| 4255 | ************************ |
| 4256 | ******************************************************************************- |
| 4257 | ******************************************************************************- |
| 4258 | ************************ |
| 4259 | ******************************************************************************- |
| 4260 | ******************************************************************************- |
| 4261 | ************************ |
| 4262 | ******************************************************************************- |
| 4263 | ******************************************************************************- |
| 4264 | ************************ |
| 4265 | ******************************************************************************- |
| 4266 | ******************************************************************************- |
| 4267 | ************************ |
| 4268 | ******************************************************************************- |
| 4269 | ******************************************************************************- |
| 4270 | ************************ |
| 4271 | ******************************************************************************- |
| 4272 | ******************************************************************************- |
| 4273 | ************************ |
| 4274 | ******************************************************************************- |
| 4275 | ******************************************************************************- |
| 4276 | ************************ |
| 4277 | ******************************************************************************- |
| 4278 | ******************************************************************************- |
| 4279 | ************************ |
| 4280 | ******************************************************************************- |
| 4281 | ******************************************************************************- |
| 4282 | ************************ |
| 4283 | ******************************************************************************- |
| 4284 | ******************************************************************************- |
| 4285 | ************************ |
| 4286 | ******************************************************************************- |
| 4287 | ******************************************************************************- |
| 4288 | ************************ |
| 4289 | ******************************************************************************- |
| 4290 | ******************************************************************************- |
| 4291 | ************************ |
| 4292 | ******************************************************************************- |
| 4293 | ******************************************************************************- |
| 4294 | ************************ |
| 4295 | ******************************************************************************- |
| 4296 | ******************************************************************************- |
| 4297 | ************************ |
| 4298 | ******************************************************************************- |
| 4299 | ******************************************************************************- |
| 4300 | ************************ |
| 4301 | ******************************************************************************- |
| 4302 | ******************************************************************************- |
| 4303 | ************************ |
| 4304 | ******************************************************************************- |
| 4305 | ******************************************************************************- |
| 4306 | ************************ |
| 4307 | ******************************************************************************- |
| 4308 | ******************************************************************************- |
| 4309 | ************************ |
| 4310 | ******************************************************************************- |
| 4311 | ******************************************************************************- |
| 4312 | ************************ |
| 4313 | ******************************************************************************- |
| 4314 | ******************************************************************************- |
| 4315 | ************************ |
| 4316 | ******************************************************************************- |
| 4317 | ******************************************************************************- |
| 4318 | ************************ |
| 4319 | ******************************************************************************- |
| 4320 | ******************************************************************************- |
| 4321 | ************************ |
| 4322 | ******************************************************************************- |
| 4323 | ******************************************************************************- |
| 4324 | ************************ |
| 4325 | ******************************************************************************- |
| 4326 | ******************************************************************************- |
| 4327 | ************************ |
| 4328 | ******************************************************************************- |
| 4329 | ******************************************************************************- |
| 4330 | ************************ |
| 4331 | ******************************************************************************- |
| 4332 | ******************************************************************************- |
| 4333 | ************************ |
| 4334 | ******************************************************************************- |
| 4335 | ******************************************************************************- |
| 4336 | ************************ |
| 4337 | ******************************************************************************- |
| 4338 | ******************************************************************************- |
| 4339 | ************************ |
| 4340 | ******************************************************************************- |
| 4341 | ******************************************************************************- |
| 4342 | ************************ |
| 4343 | ******************************************************************************- |
| 4344 | ******************************************************************************- |
| 4345 | ************************ |
| 4346 | ******************************************************************************- |
| 4347 | ******************************************************************************- |
| 4348 | ************************ |
| 4349 | ******************************************************************************- |
| 4350 | ******************************************************************************- |
| 4351 | ************************ |
| 4352 | ******************************************************************************- |
| 4353 | ******************************************************************************- |
| 4354 | ************************ |
| 4355 | ******************************************************************************- |
| 4356 | ******************************************************************************- |
| 4357 | ************************ |
| 4358 | ******************************************************************************- |
| 4359 | ******************************************************************************- |
| 4360 | ************************ |
| 4361 | ******************************************************************************- |
| 4362 | ******************************************************************************- |
| 4363 | ************************ |
| 4364 | ******************************************************************************- |
| 4365 | ******************************************************************************- |
| 4366 | ************************ |
| 4367 | ******************************************************************************- |
| 4368 | ******************************************************************************- |
| 4369 | ************************ |
| 4370 | ******************************************************************************- |
| 4371 | ******************************************************************************- |
| 4372 | ************************ |
| 4373 | ******************************************************************************- |
| 4374 | ******************************************************************************- |
| 4375 | ************************ |
| 4376 | ******************************************************************************- |
| 4377 | ******************************************************************************- |
| 4378 | ************************ |
| 4379 | ******************************************************************************- |
| 4380 | ******************************************************************************- |
| 4381 | ************************ |
| 4382 | ******************************************************************************- |
| 4383 | ******************************************************************************- |
| 4384 | ************************ |
| 4385 | ******************************************************************************- |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 4386 | ... message truncated due to excessive size" ends with: "... message truncated due to excessive size" |
Phil Nash | 93a945c | 2013-10-23 15:35:07 +0100 | [diff] [blame] | 4387 | </Expanded> |
| 4388 | </Expression> |
| 4389 | <OverallResult success="true"/> |
| 4390 | </TestCase> |
Phil Nash | 0e64973 | 2015-11-20 16:54:07 +0000 | [diff] [blame] | 4391 | <TestCase name="ManuallyRegistered"> |
| 4392 | <OverallResult success="true"/> |
| 4393 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 4394 | <TestCase name="Matchers can be (AllOf) composed with the && operator" tags="[matchers][operator&&][operators]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4395 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4396 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4397 | testStringForMatching(), Contains( "string" ) && Contains( "abc" ) && Contains( "substring" ) && Contains( "contains" ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4398 | </Original> |
| 4399 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4400 | "this string contains 'abc' as a substring" ( contains: "string" and contains: "abc" and contains: "substring" and contains: "contains" ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4401 | </Expanded> |
| 4402 | </Expression> |
| 4403 | <OverallResult success="true"/> |
| 4404 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 4405 | <TestCase name="Matchers can be (AnyOf) composed with the || operator" tags="[matchers][operators][operator||]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4406 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4407 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4408 | testStringForMatching(), Contains( "string" ) || Contains( "different" ) || Contains( "random" ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4409 | </Original> |
| 4410 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4411 | "this string contains 'abc' as a substring" ( contains: "string" or contains: "different" or contains: "random" ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4412 | </Expanded> |
| 4413 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4414 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4415 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4416 | testStringForMatching2(), Contains( "string" ) || Contains( "different" ) || Contains( "random" ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4417 | </Original> |
| 4418 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4419 | "some completely different text that contains one common word" ( contains: "string" or contains: "different" or contains: "random" ) |
| 4420 | </Expanded> |
| 4421 | </Expression> |
| 4422 | <OverallResult success="true"/> |
| 4423 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 4424 | <TestCase name="Matchers can be composed with both && and ||" tags="[matchers][operator&&][operators][operator||]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4425 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4426 | <Original> |
| 4427 | testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "substring" ) |
| 4428 | </Original> |
| 4429 | <Expanded> |
| 4430 | "this string contains 'abc' as a substring" ( ( contains: "string" or contains: "different" ) and contains: "substring" ) |
| 4431 | </Expanded> |
| 4432 | </Expression> |
| 4433 | <OverallResult success="true"/> |
| 4434 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 4435 | <TestCase name="Matchers can be composed with both && and || - failing" tags="[.][.failing][hide][matchers][operator&&][operators][operator||]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4436 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4437 | <Original> |
| 4438 | testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "random" ) |
| 4439 | </Original> |
| 4440 | <Expanded> |
| 4441 | "this string contains 'abc' as a substring" ( ( contains: "string" or contains: "different" ) and contains: "random" ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4442 | </Expanded> |
| 4443 | </Expression> |
| 4444 | <OverallResult success="false"/> |
| 4445 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 4446 | <TestCase name="Matchers can be negated (Not) with the ! operator" tags="[matchers][not][operators]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4447 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4448 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4449 | testStringForMatching(), !Contains( "different" ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4450 | </Original> |
| 4451 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4452 | "this string contains 'abc' as a substring" not contains: "different" |
| 4453 | </Expanded> |
| 4454 | </Expression> |
| 4455 | <OverallResult success="true"/> |
| 4456 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 4457 | <TestCase name="Matchers can be negated (Not) with the ! operator - failing" tags="[.][.failing][hide][matchers][not][operators]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4458 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4459 | <Original> |
| 4460 | testStringForMatching(), !Contains( "substring" ) |
| 4461 | </Original> |
| 4462 | <Expanded> |
| 4463 | "this string contains 'abc' as a substring" not contains: "substring" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4464 | </Expanded> |
| 4465 | </Expression> |
| 4466 | <OverallResult success="false"/> |
| 4467 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 4468 | <TestCase name="Mismatching exception messages failing the test" tags="[!throws][.][failing][hide]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4469 | <Expression success="true" type="REQUIRE_THROWS_WITH" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4470 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4471 | thisThrows(), "expected exception" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4472 | </Original> |
| 4473 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4474 | thisThrows(), "expected exception" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4475 | </Expanded> |
| 4476 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4477 | <Expression success="false" type="REQUIRE_THROWS_WITH" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4478 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4479 | thisThrows(), "should fail" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4480 | </Original> |
| 4481 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4482 | expected exception |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4483 | </Expanded> |
| 4484 | </Expression> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4485 | <OverallResult success="false"/> |
| 4486 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 4487 | <TestCase name="Nice descriptive name" tags="[.][hide][tag1][tag2][tag3]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4488 | <Warning> |
| 4489 | This one ran |
| 4490 | </Warning> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4491 | <OverallResult success="true"/> |
| 4492 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 4493 | <TestCase name="Non-std exceptions can be translated" tags="[!throws][.][failing][hide]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4494 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4495 | custom exception |
| 4496 | </Exception> |
| 4497 | <OverallResult success="false"/> |
| 4498 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 4499 | <TestCase name="NotImplemented exception" tags="[!throws]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4500 | <Expression success="true" type="REQUIRE_THROWS" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4501 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4502 | thisFunctionNotImplemented( 7 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4503 | </Original> |
| 4504 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4505 | thisFunctionNotImplemented( 7 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4506 | </Expanded> |
| 4507 | </Expression> |
| 4508 | <OverallResult success="true"/> |
| 4509 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 4510 | <TestCase name="Objects that evaluated in boolean contexts can be checked" tags="[SafeBool][Tricky]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4511 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4512 | <Original> |
| 4513 | True |
| 4514 | </Original> |
| 4515 | <Expanded> |
| 4516 | true |
| 4517 | </Expanded> |
| 4518 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4519 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4520 | <Original> |
| 4521 | !False |
| 4522 | </Original> |
| 4523 | <Expanded> |
| 4524 | true |
| 4525 | </Expanded> |
| 4526 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4527 | <Expression success="true" type="CHECK_FALSE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4528 | <Original> |
| 4529 | !False |
| 4530 | </Original> |
| 4531 | <Expanded> |
| 4532 | !false |
| 4533 | </Expanded> |
| 4534 | </Expression> |
| 4535 | <OverallResult success="true"/> |
| 4536 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 4537 | <TestCase name="Operators at different namespace levels not hijacked by Koenig lookup" tags="[Tricky]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4538 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4539 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4540 | 0x<hex digits> == o |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4541 | </Original> |
| 4542 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4543 | 3221225472 (0x<hex digits>) == {?} |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4544 | </Expanded> |
| 4545 | </Expression> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4546 | <OverallResult success="true"/> |
| 4547 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 4548 | <TestCase name="Ordering comparison checks that should fail" tags="[.][failing][hide]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4549 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4550 | <Original> |
| 4551 | data.int_seven > 7 |
| 4552 | </Original> |
| 4553 | <Expanded> |
| 4554 | 7 > 7 |
| 4555 | </Expanded> |
| 4556 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4557 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4558 | <Original> |
| 4559 | data.int_seven < 7 |
| 4560 | </Original> |
| 4561 | <Expanded> |
| 4562 | 7 < 7 |
| 4563 | </Expanded> |
| 4564 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4565 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4566 | <Original> |
| 4567 | data.int_seven > 8 |
| 4568 | </Original> |
| 4569 | <Expanded> |
| 4570 | 7 > 8 |
| 4571 | </Expanded> |
| 4572 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4573 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4574 | <Original> |
| 4575 | data.int_seven < 6 |
| 4576 | </Original> |
| 4577 | <Expanded> |
| 4578 | 7 < 6 |
| 4579 | </Expanded> |
| 4580 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4581 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4582 | <Original> |
| 4583 | data.int_seven < 0 |
| 4584 | </Original> |
| 4585 | <Expanded> |
| 4586 | 7 < 0 |
| 4587 | </Expanded> |
| 4588 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4589 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4590 | <Original> |
| 4591 | data.int_seven < -1 |
| 4592 | </Original> |
| 4593 | <Expanded> |
| 4594 | 7 < -1 |
| 4595 | </Expanded> |
| 4596 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4597 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4598 | <Original> |
| 4599 | data.int_seven >= 8 |
| 4600 | </Original> |
| 4601 | <Expanded> |
| 4602 | 7 >= 8 |
| 4603 | </Expanded> |
| 4604 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4605 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4606 | <Original> |
| 4607 | data.int_seven <= 6 |
| 4608 | </Original> |
| 4609 | <Expanded> |
| 4610 | 7 <= 6 |
| 4611 | </Expanded> |
| 4612 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4613 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4614 | <Original> |
| 4615 | data.float_nine_point_one < 9 |
| 4616 | </Original> |
| 4617 | <Expanded> |
| 4618 | 9.1f < 9 |
| 4619 | </Expanded> |
| 4620 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4621 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4622 | <Original> |
| 4623 | data.float_nine_point_one > 10 |
| 4624 | </Original> |
| 4625 | <Expanded> |
| 4626 | 9.1f > 10 |
| 4627 | </Expanded> |
| 4628 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4629 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4630 | <Original> |
| 4631 | data.float_nine_point_one > 9.2 |
| 4632 | </Original> |
| 4633 | <Expanded> |
| 4634 | 9.1f > 9.2 |
| 4635 | </Expanded> |
| 4636 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4637 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4638 | <Original> |
| 4639 | data.str_hello > "hello" |
| 4640 | </Original> |
| 4641 | <Expanded> |
| 4642 | "hello" > "hello" |
| 4643 | </Expanded> |
| 4644 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4645 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4646 | <Original> |
| 4647 | data.str_hello < "hello" |
| 4648 | </Original> |
| 4649 | <Expanded> |
| 4650 | "hello" < "hello" |
| 4651 | </Expanded> |
| 4652 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4653 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4654 | <Original> |
| 4655 | data.str_hello > "hellp" |
| 4656 | </Original> |
| 4657 | <Expanded> |
| 4658 | "hello" > "hellp" |
| 4659 | </Expanded> |
| 4660 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4661 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4662 | <Original> |
| 4663 | data.str_hello > "z" |
| 4664 | </Original> |
| 4665 | <Expanded> |
| 4666 | "hello" > "z" |
| 4667 | </Expanded> |
| 4668 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4669 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4670 | <Original> |
| 4671 | data.str_hello < "hellm" |
| 4672 | </Original> |
| 4673 | <Expanded> |
| 4674 | "hello" < "hellm" |
| 4675 | </Expanded> |
| 4676 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4677 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4678 | <Original> |
| 4679 | data.str_hello < "a" |
| 4680 | </Original> |
| 4681 | <Expanded> |
| 4682 | "hello" < "a" |
| 4683 | </Expanded> |
| 4684 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4685 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4686 | <Original> |
| 4687 | data.str_hello >= "z" |
| 4688 | </Original> |
| 4689 | <Expanded> |
| 4690 | "hello" >= "z" |
| 4691 | </Expanded> |
| 4692 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4693 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4694 | <Original> |
| 4695 | data.str_hello <= "a" |
| 4696 | </Original> |
| 4697 | <Expanded> |
| 4698 | "hello" <= "a" |
| 4699 | </Expanded> |
| 4700 | </Expression> |
| 4701 | <OverallResult success="false"/> |
| 4702 | </TestCase> |
| 4703 | <TestCase name="Ordering comparison checks that should succeed"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4704 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4705 | <Original> |
| 4706 | data.int_seven < 8 |
| 4707 | </Original> |
| 4708 | <Expanded> |
| 4709 | 7 < 8 |
| 4710 | </Expanded> |
| 4711 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4712 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4713 | <Original> |
| 4714 | data.int_seven > 6 |
| 4715 | </Original> |
| 4716 | <Expanded> |
| 4717 | 7 > 6 |
| 4718 | </Expanded> |
| 4719 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4720 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4721 | <Original> |
| 4722 | data.int_seven > 0 |
| 4723 | </Original> |
| 4724 | <Expanded> |
| 4725 | 7 > 0 |
| 4726 | </Expanded> |
| 4727 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4728 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4729 | <Original> |
| 4730 | data.int_seven > -1 |
| 4731 | </Original> |
| 4732 | <Expanded> |
| 4733 | 7 > -1 |
| 4734 | </Expanded> |
| 4735 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4736 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4737 | <Original> |
| 4738 | data.int_seven >= 7 |
| 4739 | </Original> |
| 4740 | <Expanded> |
| 4741 | 7 >= 7 |
| 4742 | </Expanded> |
| 4743 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4744 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4745 | <Original> |
| 4746 | data.int_seven >= 6 |
| 4747 | </Original> |
| 4748 | <Expanded> |
| 4749 | 7 >= 6 |
| 4750 | </Expanded> |
| 4751 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4752 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4753 | <Original> |
| 4754 | data.int_seven <= 7 |
| 4755 | </Original> |
| 4756 | <Expanded> |
| 4757 | 7 <= 7 |
| 4758 | </Expanded> |
| 4759 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4760 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4761 | <Original> |
| 4762 | data.int_seven <= 8 |
| 4763 | </Original> |
| 4764 | <Expanded> |
| 4765 | 7 <= 8 |
| 4766 | </Expanded> |
| 4767 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4768 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4769 | <Original> |
| 4770 | data.float_nine_point_one > 9 |
| 4771 | </Original> |
| 4772 | <Expanded> |
| 4773 | 9.1f > 9 |
| 4774 | </Expanded> |
| 4775 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4776 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4777 | <Original> |
| 4778 | data.float_nine_point_one < 10 |
| 4779 | </Original> |
| 4780 | <Expanded> |
| 4781 | 9.1f < 10 |
| 4782 | </Expanded> |
| 4783 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4784 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4785 | <Original> |
| 4786 | data.float_nine_point_one < 9.2 |
| 4787 | </Original> |
| 4788 | <Expanded> |
| 4789 | 9.1f < 9.2 |
| 4790 | </Expanded> |
| 4791 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4792 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4793 | <Original> |
| 4794 | data.str_hello <= "hello" |
| 4795 | </Original> |
| 4796 | <Expanded> |
| 4797 | "hello" <= "hello" |
| 4798 | </Expanded> |
| 4799 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4800 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4801 | <Original> |
| 4802 | data.str_hello >= "hello" |
| 4803 | </Original> |
| 4804 | <Expanded> |
| 4805 | "hello" >= "hello" |
| 4806 | </Expanded> |
| 4807 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4808 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4809 | <Original> |
| 4810 | data.str_hello < "hellp" |
| 4811 | </Original> |
| 4812 | <Expanded> |
| 4813 | "hello" < "hellp" |
| 4814 | </Expanded> |
| 4815 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4816 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4817 | <Original> |
| 4818 | data.str_hello < "zebra" |
| 4819 | </Original> |
| 4820 | <Expanded> |
| 4821 | "hello" < "zebra" |
| 4822 | </Expanded> |
| 4823 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4824 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4825 | <Original> |
| 4826 | data.str_hello > "hellm" |
| 4827 | </Original> |
| 4828 | <Expanded> |
| 4829 | "hello" > "hellm" |
| 4830 | </Expanded> |
| 4831 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4832 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4833 | <Original> |
| 4834 | data.str_hello > "a" |
| 4835 | </Original> |
| 4836 | <Expanded> |
| 4837 | "hello" > "a" |
| 4838 | </Expanded> |
| 4839 | </Expression> |
| 4840 | <OverallResult success="true"/> |
| 4841 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 4842 | <TestCase name="Output from all sections is reported" tags="[.][failing][hide][messages]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4843 | <Section name="one"> |
| 4844 | <Failure> |
| 4845 | Message from section one |
| 4846 | </Failure> |
| 4847 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4848 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4849 | <Section name="two"> |
| 4850 | <Failure> |
| 4851 | Message from section two |
| 4852 | </Failure> |
| 4853 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4854 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4855 | <OverallResult success="false"/> |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 4856 | </TestCase> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4857 | <TestCase name="Parse test names and tags"> |
| 4858 | <Section name="Empty test spec should have no filters"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4859 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4860 | <Original> |
| 4861 | spec.hasFilters() == false |
| 4862 | </Original> |
| 4863 | <Expanded> |
| 4864 | false == false |
| 4865 | </Expanded> |
| 4866 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4867 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4868 | <Original> |
| 4869 | spec.matches( tcA ) == false |
| 4870 | </Original> |
| 4871 | <Expanded> |
| 4872 | false == false |
| 4873 | </Expanded> |
| 4874 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4875 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4876 | <Original> |
| 4877 | spec.matches( tcB ) == false |
| 4878 | </Original> |
| 4879 | <Expanded> |
| 4880 | false == false |
| 4881 | </Expanded> |
| 4882 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4883 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4884 | </Section> |
| 4885 | <Section name="Test spec from empty string should have no filters"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4886 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4887 | <Original> |
| 4888 | spec.hasFilters() == false |
| 4889 | </Original> |
| 4890 | <Expanded> |
| 4891 | false == false |
| 4892 | </Expanded> |
| 4893 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4894 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4895 | <Original> |
| 4896 | spec.matches(tcA ) == false |
| 4897 | </Original> |
| 4898 | <Expanded> |
| 4899 | false == false |
| 4900 | </Expanded> |
| 4901 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4902 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4903 | <Original> |
| 4904 | spec.matches( tcB ) == false |
| 4905 | </Original> |
| 4906 | <Expanded> |
| 4907 | false == false |
| 4908 | </Expanded> |
| 4909 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4910 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4911 | </Section> |
| 4912 | <Section name="Test spec from just a comma should have no filters"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4913 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4914 | <Original> |
| 4915 | spec.hasFilters() == false |
| 4916 | </Original> |
| 4917 | <Expanded> |
| 4918 | false == false |
| 4919 | </Expanded> |
| 4920 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4921 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4922 | <Original> |
| 4923 | spec.matches( tcA ) == false |
| 4924 | </Original> |
| 4925 | <Expanded> |
| 4926 | false == false |
| 4927 | </Expanded> |
| 4928 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4929 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4930 | <Original> |
| 4931 | spec.matches( tcB ) == false |
| 4932 | </Original> |
| 4933 | <Expanded> |
| 4934 | false == false |
| 4935 | </Expanded> |
| 4936 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4937 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4938 | </Section> |
| 4939 | <Section name="Test spec from name should have one filter"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4940 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4941 | <Original> |
| 4942 | spec.hasFilters() == true |
| 4943 | </Original> |
| 4944 | <Expanded> |
| 4945 | true == true |
| 4946 | </Expanded> |
| 4947 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4948 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4949 | <Original> |
| 4950 | spec.matches( tcA ) == false |
| 4951 | </Original> |
| 4952 | <Expanded> |
| 4953 | false == false |
| 4954 | </Expanded> |
| 4955 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4956 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4957 | <Original> |
| 4958 | spec.matches( tcB ) == true |
| 4959 | </Original> |
| 4960 | <Expanded> |
| 4961 | true == true |
| 4962 | </Expanded> |
| 4963 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4964 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4965 | </Section> |
| 4966 | <Section name="Test spec from quoted name should have one filter"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4967 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4968 | <Original> |
| 4969 | spec.hasFilters() == true |
| 4970 | </Original> |
| 4971 | <Expanded> |
| 4972 | true == true |
| 4973 | </Expanded> |
| 4974 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4975 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4976 | <Original> |
| 4977 | spec.matches( tcA ) == false |
| 4978 | </Original> |
| 4979 | <Expanded> |
| 4980 | false == false |
| 4981 | </Expanded> |
| 4982 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4983 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4984 | <Original> |
| 4985 | spec.matches( tcB ) == true |
| 4986 | </Original> |
| 4987 | <Expanded> |
| 4988 | true == true |
| 4989 | </Expanded> |
| 4990 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4991 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4992 | </Section> |
| 4993 | <Section name="Test spec from name should have one filter"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4994 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4995 | <Original> |
| 4996 | spec.hasFilters() == true |
| 4997 | </Original> |
| 4998 | <Expanded> |
| 4999 | true == true |
| 5000 | </Expanded> |
| 5001 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5002 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5003 | <Original> |
| 5004 | spec.matches( tcA ) == false |
| 5005 | </Original> |
| 5006 | <Expanded> |
| 5007 | false == false |
| 5008 | </Expanded> |
| 5009 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5010 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5011 | <Original> |
| 5012 | spec.matches( tcB ) == true |
| 5013 | </Original> |
| 5014 | <Expanded> |
| 5015 | true == true |
| 5016 | </Expanded> |
| 5017 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5018 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5019 | <Original> |
| 5020 | spec.matches( tcC ) == false |
| 5021 | </Original> |
| 5022 | <Expanded> |
| 5023 | false == false |
| 5024 | </Expanded> |
| 5025 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5026 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5027 | </Section> |
| 5028 | <Section name="Wildcard at the start"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5029 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5030 | <Original> |
| 5031 | spec.hasFilters() == true |
| 5032 | </Original> |
| 5033 | <Expanded> |
| 5034 | true == true |
| 5035 | </Expanded> |
| 5036 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5037 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5038 | <Original> |
| 5039 | spec.matches( tcA ) == false |
| 5040 | </Original> |
| 5041 | <Expanded> |
| 5042 | false == false |
| 5043 | </Expanded> |
| 5044 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5045 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5046 | <Original> |
| 5047 | spec.matches( tcB ) == false |
| 5048 | </Original> |
| 5049 | <Expanded> |
| 5050 | false == false |
| 5051 | </Expanded> |
| 5052 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5053 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5054 | <Original> |
| 5055 | spec.matches( tcC ) == true |
| 5056 | </Original> |
| 5057 | <Expanded> |
| 5058 | true == true |
| 5059 | </Expanded> |
| 5060 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5061 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5062 | <Original> |
| 5063 | spec.matches( tcD ) == false |
| 5064 | </Original> |
| 5065 | <Expanded> |
| 5066 | false == false |
| 5067 | </Expanded> |
| 5068 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5069 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5070 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 5071 | parseTestSpec( "*a" ).matches( tcA ) == true |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5072 | </Original> |
| 5073 | <Expanded> |
| 5074 | true == true |
| 5075 | </Expanded> |
| 5076 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5077 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5078 | </Section> |
| 5079 | <Section name="Wildcard at the end"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5080 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5081 | <Original> |
| 5082 | spec.hasFilters() == true |
| 5083 | </Original> |
| 5084 | <Expanded> |
| 5085 | true == true |
| 5086 | </Expanded> |
| 5087 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5088 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5089 | <Original> |
| 5090 | spec.matches( tcA ) == false |
| 5091 | </Original> |
| 5092 | <Expanded> |
| 5093 | false == false |
| 5094 | </Expanded> |
| 5095 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5096 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5097 | <Original> |
| 5098 | spec.matches( tcB ) == false |
| 5099 | </Original> |
| 5100 | <Expanded> |
| 5101 | false == false |
| 5102 | </Expanded> |
| 5103 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5104 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5105 | <Original> |
| 5106 | spec.matches( tcC ) == true |
| 5107 | </Original> |
| 5108 | <Expanded> |
| 5109 | true == true |
| 5110 | </Expanded> |
| 5111 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5112 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5113 | <Original> |
| 5114 | spec.matches( tcD ) == false |
| 5115 | </Original> |
| 5116 | <Expanded> |
| 5117 | false == false |
| 5118 | </Expanded> |
| 5119 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5120 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5121 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 5122 | parseTestSpec( "a*" ).matches( tcA ) == true |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5123 | </Original> |
| 5124 | <Expanded> |
| 5125 | true == true |
| 5126 | </Expanded> |
| 5127 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5128 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5129 | </Section> |
| 5130 | <Section name="Wildcard at both ends"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5131 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5132 | <Original> |
| 5133 | spec.hasFilters() == true |
| 5134 | </Original> |
| 5135 | <Expanded> |
| 5136 | true == true |
| 5137 | </Expanded> |
| 5138 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5139 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5140 | <Original> |
| 5141 | spec.matches( tcA ) == false |
| 5142 | </Original> |
| 5143 | <Expanded> |
| 5144 | false == false |
| 5145 | </Expanded> |
| 5146 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5147 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5148 | <Original> |
| 5149 | spec.matches( tcB ) == false |
| 5150 | </Original> |
| 5151 | <Expanded> |
| 5152 | false == false |
| 5153 | </Expanded> |
| 5154 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5155 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5156 | <Original> |
| 5157 | spec.matches( tcC ) == true |
| 5158 | </Original> |
| 5159 | <Expanded> |
| 5160 | true == true |
| 5161 | </Expanded> |
| 5162 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5163 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5164 | <Original> |
| 5165 | spec.matches( tcD ) == true |
| 5166 | </Original> |
| 5167 | <Expanded> |
| 5168 | true == true |
| 5169 | </Expanded> |
| 5170 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5171 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5172 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 5173 | parseTestSpec( "*a*" ).matches( tcA ) == true |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5174 | </Original> |
| 5175 | <Expanded> |
| 5176 | true == true |
| 5177 | </Expanded> |
| 5178 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5179 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5180 | </Section> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5181 | <Section name="Redundant wildcard at the start"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5182 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5183 | <Original> |
| 5184 | spec.hasFilters() == true |
| 5185 | </Original> |
| 5186 | <Expanded> |
| 5187 | true == true |
| 5188 | </Expanded> |
| 5189 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5190 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5191 | <Original> |
| 5192 | spec.matches( tcA ) == true |
| 5193 | </Original> |
| 5194 | <Expanded> |
| 5195 | true == true |
| 5196 | </Expanded> |
| 5197 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5198 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5199 | <Original> |
| 5200 | spec.matches( tcB ) == false |
| 5201 | </Original> |
| 5202 | <Expanded> |
| 5203 | false == false |
| 5204 | </Expanded> |
| 5205 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5206 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5207 | </Section> |
| 5208 | <Section name="Redundant wildcard at the end"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5209 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5210 | <Original> |
| 5211 | spec.hasFilters() == true |
| 5212 | </Original> |
| 5213 | <Expanded> |
| 5214 | true == true |
| 5215 | </Expanded> |
| 5216 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5217 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5218 | <Original> |
| 5219 | spec.matches( tcA ) == true |
| 5220 | </Original> |
| 5221 | <Expanded> |
| 5222 | true == true |
| 5223 | </Expanded> |
| 5224 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5225 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5226 | <Original> |
| 5227 | spec.matches( tcB ) == false |
| 5228 | </Original> |
| 5229 | <Expanded> |
| 5230 | false == false |
| 5231 | </Expanded> |
| 5232 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5233 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5234 | </Section> |
| 5235 | <Section name="Redundant wildcard at both ends"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5236 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5237 | <Original> |
| 5238 | spec.hasFilters() == true |
| 5239 | </Original> |
| 5240 | <Expanded> |
| 5241 | true == true |
| 5242 | </Expanded> |
| 5243 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5244 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5245 | <Original> |
| 5246 | spec.matches( tcA ) == true |
| 5247 | </Original> |
| 5248 | <Expanded> |
| 5249 | true == true |
| 5250 | </Expanded> |
| 5251 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5252 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5253 | <Original> |
| 5254 | spec.matches( tcB ) == false |
| 5255 | </Original> |
| 5256 | <Expanded> |
| 5257 | false == false |
| 5258 | </Expanded> |
| 5259 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5260 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5261 | </Section> |
| 5262 | <Section name="Wildcard at both ends, redundant at start"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5263 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5264 | <Original> |
| 5265 | spec.hasFilters() == true |
| 5266 | </Original> |
| 5267 | <Expanded> |
| 5268 | true == true |
| 5269 | </Expanded> |
| 5270 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5271 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5272 | <Original> |
| 5273 | spec.matches( tcA ) == false |
| 5274 | </Original> |
| 5275 | <Expanded> |
| 5276 | false == false |
| 5277 | </Expanded> |
| 5278 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5279 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5280 | <Original> |
| 5281 | spec.matches( tcB ) == false |
| 5282 | </Original> |
| 5283 | <Expanded> |
| 5284 | false == false |
| 5285 | </Expanded> |
| 5286 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5287 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5288 | <Original> |
| 5289 | spec.matches( tcC ) == true |
| 5290 | </Original> |
| 5291 | <Expanded> |
| 5292 | true == true |
| 5293 | </Expanded> |
| 5294 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5295 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5296 | <Original> |
| 5297 | spec.matches( tcD ) == true |
| 5298 | </Original> |
| 5299 | <Expanded> |
| 5300 | true == true |
| 5301 | </Expanded> |
| 5302 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5303 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5304 | </Section> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5305 | <Section name="Just wildcard"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5306 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5307 | <Original> |
| 5308 | spec.hasFilters() == true |
| 5309 | </Original> |
| 5310 | <Expanded> |
| 5311 | true == true |
| 5312 | </Expanded> |
| 5313 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5314 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5315 | <Original> |
| 5316 | spec.matches( tcA ) == true |
| 5317 | </Original> |
| 5318 | <Expanded> |
| 5319 | true == true |
| 5320 | </Expanded> |
| 5321 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5322 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5323 | <Original> |
| 5324 | spec.matches( tcB ) == true |
| 5325 | </Original> |
| 5326 | <Expanded> |
| 5327 | true == true |
| 5328 | </Expanded> |
| 5329 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5330 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5331 | <Original> |
| 5332 | spec.matches( tcC ) == true |
| 5333 | </Original> |
| 5334 | <Expanded> |
| 5335 | true == true |
| 5336 | </Expanded> |
| 5337 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5338 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5339 | <Original> |
| 5340 | spec.matches( tcD ) == true |
| 5341 | </Original> |
| 5342 | <Expanded> |
| 5343 | true == true |
| 5344 | </Expanded> |
| 5345 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5346 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5347 | </Section> |
| 5348 | <Section name="Single tag"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5349 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5350 | <Original> |
| 5351 | spec.hasFilters() == true |
| 5352 | </Original> |
| 5353 | <Expanded> |
| 5354 | true == true |
| 5355 | </Expanded> |
| 5356 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5357 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5358 | <Original> |
| 5359 | spec.matches( tcA ) == false |
| 5360 | </Original> |
| 5361 | <Expanded> |
| 5362 | false == false |
| 5363 | </Expanded> |
| 5364 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5365 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5366 | <Original> |
| 5367 | spec.matches( tcB ) == true |
| 5368 | </Original> |
| 5369 | <Expanded> |
| 5370 | true == true |
| 5371 | </Expanded> |
| 5372 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5373 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5374 | <Original> |
| 5375 | spec.matches( tcC ) == false |
| 5376 | </Original> |
| 5377 | <Expanded> |
| 5378 | false == false |
| 5379 | </Expanded> |
| 5380 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5381 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5382 | </Section> |
| 5383 | <Section name="Single tag, two matches"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5384 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5385 | <Original> |
| 5386 | spec.hasFilters() == true |
| 5387 | </Original> |
| 5388 | <Expanded> |
| 5389 | true == true |
| 5390 | </Expanded> |
| 5391 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5392 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5393 | <Original> |
| 5394 | spec.matches( tcA ) == false |
| 5395 | </Original> |
| 5396 | <Expanded> |
| 5397 | false == false |
| 5398 | </Expanded> |
| 5399 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5400 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5401 | <Original> |
| 5402 | spec.matches( tcB ) == true |
| 5403 | </Original> |
| 5404 | <Expanded> |
| 5405 | true == true |
| 5406 | </Expanded> |
| 5407 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5408 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5409 | <Original> |
| 5410 | spec.matches( tcC ) == true |
| 5411 | </Original> |
| 5412 | <Expanded> |
| 5413 | true == true |
| 5414 | </Expanded> |
| 5415 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5416 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5417 | </Section> |
| 5418 | <Section name="Two tags"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5419 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5420 | <Original> |
| 5421 | spec.hasFilters() == true |
| 5422 | </Original> |
| 5423 | <Expanded> |
| 5424 | true == true |
| 5425 | </Expanded> |
| 5426 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5427 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5428 | <Original> |
| 5429 | spec.matches( tcA ) == false |
| 5430 | </Original> |
| 5431 | <Expanded> |
| 5432 | false == false |
| 5433 | </Expanded> |
| 5434 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5435 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5436 | <Original> |
| 5437 | spec.matches( tcB ) == false |
| 5438 | </Original> |
| 5439 | <Expanded> |
| 5440 | false == false |
| 5441 | </Expanded> |
| 5442 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5443 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5444 | <Original> |
| 5445 | spec.matches( tcC ) == true |
| 5446 | </Original> |
| 5447 | <Expanded> |
| 5448 | true == true |
| 5449 | </Expanded> |
| 5450 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5451 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5452 | </Section> |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5453 | <Section name="Two tags, spare separated"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5454 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5455 | <Original> |
| 5456 | spec.hasFilters() == true |
| 5457 | </Original> |
| 5458 | <Expanded> |
| 5459 | true == true |
| 5460 | </Expanded> |
| 5461 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5462 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5463 | <Original> |
| 5464 | spec.matches( tcA ) == false |
| 5465 | </Original> |
| 5466 | <Expanded> |
| 5467 | false == false |
| 5468 | </Expanded> |
| 5469 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5470 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5471 | <Original> |
| 5472 | spec.matches( tcB ) == false |
| 5473 | </Original> |
| 5474 | <Expanded> |
| 5475 | false == false |
| 5476 | </Expanded> |
| 5477 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5478 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5479 | <Original> |
| 5480 | spec.matches( tcC ) == true |
| 5481 | </Original> |
| 5482 | <Expanded> |
| 5483 | true == true |
| 5484 | </Expanded> |
| 5485 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5486 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5487 | </Section> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5488 | <Section name="Wildcarded name and tag"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5489 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5490 | <Original> |
| 5491 | spec.hasFilters() == true |
| 5492 | </Original> |
| 5493 | <Expanded> |
| 5494 | true == true |
| 5495 | </Expanded> |
| 5496 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5497 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5498 | <Original> |
| 5499 | spec.matches( tcA ) == false |
| 5500 | </Original> |
| 5501 | <Expanded> |
| 5502 | false == false |
| 5503 | </Expanded> |
| 5504 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5505 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5506 | <Original> |
| 5507 | spec.matches( tcB ) == false |
| 5508 | </Original> |
| 5509 | <Expanded> |
| 5510 | false == false |
| 5511 | </Expanded> |
| 5512 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5513 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5514 | <Original> |
| 5515 | spec.matches( tcC ) == true |
| 5516 | </Original> |
| 5517 | <Expanded> |
| 5518 | true == true |
| 5519 | </Expanded> |
| 5520 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5521 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5522 | <Original> |
| 5523 | spec.matches( tcD ) == false |
| 5524 | </Original> |
| 5525 | <Expanded> |
| 5526 | false == false |
| 5527 | </Expanded> |
| 5528 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5529 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5530 | </Section> |
| 5531 | <Section name="Single tag exclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5532 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5533 | <Original> |
| 5534 | spec.hasFilters() == true |
| 5535 | </Original> |
| 5536 | <Expanded> |
| 5537 | true == true |
| 5538 | </Expanded> |
| 5539 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5540 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5541 | <Original> |
| 5542 | spec.matches( tcA ) == true |
| 5543 | </Original> |
| 5544 | <Expanded> |
| 5545 | true == true |
| 5546 | </Expanded> |
| 5547 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5548 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5549 | <Original> |
| 5550 | spec.matches( tcB ) == false |
| 5551 | </Original> |
| 5552 | <Expanded> |
| 5553 | false == false |
| 5554 | </Expanded> |
| 5555 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5556 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5557 | <Original> |
| 5558 | spec.matches( tcC ) == true |
| 5559 | </Original> |
| 5560 | <Expanded> |
| 5561 | true == true |
| 5562 | </Expanded> |
| 5563 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5564 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5565 | </Section> |
| 5566 | <Section name="One tag exclusion and one tag inclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5567 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5568 | <Original> |
| 5569 | spec.hasFilters() == true |
| 5570 | </Original> |
| 5571 | <Expanded> |
| 5572 | true == true |
| 5573 | </Expanded> |
| 5574 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5575 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5576 | <Original> |
| 5577 | spec.matches( tcA ) == false |
| 5578 | </Original> |
| 5579 | <Expanded> |
| 5580 | false == false |
| 5581 | </Expanded> |
| 5582 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5583 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5584 | <Original> |
| 5585 | spec.matches( tcB ) == true |
| 5586 | </Original> |
| 5587 | <Expanded> |
| 5588 | true == true |
| 5589 | </Expanded> |
| 5590 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5591 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5592 | <Original> |
| 5593 | spec.matches( tcC ) == false |
| 5594 | </Original> |
| 5595 | <Expanded> |
| 5596 | false == false |
| 5597 | </Expanded> |
| 5598 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5599 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5600 | </Section> |
| 5601 | <Section name="One tag exclusion and one wldcarded name inclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5602 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5603 | <Original> |
| 5604 | spec.hasFilters() == true |
| 5605 | </Original> |
| 5606 | <Expanded> |
| 5607 | true == true |
| 5608 | </Expanded> |
| 5609 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5610 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5611 | <Original> |
| 5612 | spec.matches( tcA ) == false |
| 5613 | </Original> |
| 5614 | <Expanded> |
| 5615 | false == false |
| 5616 | </Expanded> |
| 5617 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5618 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5619 | <Original> |
| 5620 | spec.matches( tcB ) == false |
| 5621 | </Original> |
| 5622 | <Expanded> |
| 5623 | false == false |
| 5624 | </Expanded> |
| 5625 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5626 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5627 | <Original> |
| 5628 | spec.matches( tcC ) == false |
| 5629 | </Original> |
| 5630 | <Expanded> |
| 5631 | false == false |
| 5632 | </Expanded> |
| 5633 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5634 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5635 | <Original> |
| 5636 | spec.matches( tcD ) == true |
| 5637 | </Original> |
| 5638 | <Expanded> |
| 5639 | true == true |
| 5640 | </Expanded> |
| 5641 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5642 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5643 | </Section> |
| 5644 | <Section name="One tag exclusion, using exclude:, and one wldcarded name inclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5645 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5646 | <Original> |
| 5647 | spec.hasFilters() == true |
| 5648 | </Original> |
| 5649 | <Expanded> |
| 5650 | true == true |
| 5651 | </Expanded> |
| 5652 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5653 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5654 | <Original> |
| 5655 | spec.matches( tcA ) == false |
| 5656 | </Original> |
| 5657 | <Expanded> |
| 5658 | false == false |
| 5659 | </Expanded> |
| 5660 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5661 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5662 | <Original> |
| 5663 | spec.matches( tcB ) == false |
| 5664 | </Original> |
| 5665 | <Expanded> |
| 5666 | false == false |
| 5667 | </Expanded> |
| 5668 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5669 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5670 | <Original> |
| 5671 | spec.matches( tcC ) == false |
| 5672 | </Original> |
| 5673 | <Expanded> |
| 5674 | false == false |
| 5675 | </Expanded> |
| 5676 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5677 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5678 | <Original> |
| 5679 | spec.matches( tcD ) == true |
| 5680 | </Original> |
| 5681 | <Expanded> |
| 5682 | true == true |
| 5683 | </Expanded> |
| 5684 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5685 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5686 | </Section> |
| 5687 | <Section name="name exclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5688 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5689 | <Original> |
| 5690 | spec.hasFilters() == true |
| 5691 | </Original> |
| 5692 | <Expanded> |
| 5693 | true == true |
| 5694 | </Expanded> |
| 5695 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5696 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5697 | <Original> |
| 5698 | spec.matches( tcA ) == true |
| 5699 | </Original> |
| 5700 | <Expanded> |
| 5701 | true == true |
| 5702 | </Expanded> |
| 5703 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5704 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5705 | <Original> |
| 5706 | spec.matches( tcB ) == false |
| 5707 | </Original> |
| 5708 | <Expanded> |
| 5709 | false == false |
| 5710 | </Expanded> |
| 5711 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5712 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5713 | <Original> |
| 5714 | spec.matches( tcC ) == true |
| 5715 | </Original> |
| 5716 | <Expanded> |
| 5717 | true == true |
| 5718 | </Expanded> |
| 5719 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5720 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5721 | <Original> |
| 5722 | spec.matches( tcD ) == true |
| 5723 | </Original> |
| 5724 | <Expanded> |
| 5725 | true == true |
| 5726 | </Expanded> |
| 5727 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5728 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5729 | </Section> |
| 5730 | <Section name="wildcarded name exclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5731 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5732 | <Original> |
| 5733 | spec.hasFilters() == true |
| 5734 | </Original> |
| 5735 | <Expanded> |
| 5736 | true == true |
| 5737 | </Expanded> |
| 5738 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5739 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5740 | <Original> |
| 5741 | spec.matches( tcA ) == true |
| 5742 | </Original> |
| 5743 | <Expanded> |
| 5744 | true == true |
| 5745 | </Expanded> |
| 5746 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5747 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5748 | <Original> |
| 5749 | spec.matches( tcB ) == true |
| 5750 | </Original> |
| 5751 | <Expanded> |
| 5752 | true == true |
| 5753 | </Expanded> |
| 5754 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5755 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5756 | <Original> |
| 5757 | spec.matches( tcC ) == false |
| 5758 | </Original> |
| 5759 | <Expanded> |
| 5760 | false == false |
| 5761 | </Expanded> |
| 5762 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5763 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5764 | <Original> |
| 5765 | spec.matches( tcD ) == false |
| 5766 | </Original> |
| 5767 | <Expanded> |
| 5768 | false == false |
| 5769 | </Expanded> |
| 5770 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5771 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5772 | </Section> |
| 5773 | <Section name="wildcarded name exclusion with tag inclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5774 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5775 | <Original> |
| 5776 | spec.hasFilters() == true |
| 5777 | </Original> |
| 5778 | <Expanded> |
| 5779 | true == true |
| 5780 | </Expanded> |
| 5781 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5782 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5783 | <Original> |
| 5784 | spec.matches( tcA ) == true |
| 5785 | </Original> |
| 5786 | <Expanded> |
| 5787 | true == true |
| 5788 | </Expanded> |
| 5789 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5790 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5791 | <Original> |
| 5792 | spec.matches( tcB ) == true |
| 5793 | </Original> |
| 5794 | <Expanded> |
| 5795 | true == true |
| 5796 | </Expanded> |
| 5797 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5798 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5799 | <Original> |
| 5800 | spec.matches( tcC ) == true |
| 5801 | </Original> |
| 5802 | <Expanded> |
| 5803 | true == true |
| 5804 | </Expanded> |
| 5805 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5806 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5807 | <Original> |
| 5808 | spec.matches( tcD ) == false |
| 5809 | </Original> |
| 5810 | <Expanded> |
| 5811 | false == false |
| 5812 | </Expanded> |
| 5813 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5814 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5815 | </Section> |
| 5816 | <Section name="wildcarded name exclusion, using exclude:, with tag inclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5817 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5818 | <Original> |
| 5819 | spec.hasFilters() == true |
| 5820 | </Original> |
| 5821 | <Expanded> |
| 5822 | true == true |
| 5823 | </Expanded> |
| 5824 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5825 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5826 | <Original> |
| 5827 | spec.matches( tcA ) == true |
| 5828 | </Original> |
| 5829 | <Expanded> |
| 5830 | true == true |
| 5831 | </Expanded> |
| 5832 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5833 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5834 | <Original> |
| 5835 | spec.matches( tcB ) == true |
| 5836 | </Original> |
| 5837 | <Expanded> |
| 5838 | true == true |
| 5839 | </Expanded> |
| 5840 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5841 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5842 | <Original> |
| 5843 | spec.matches( tcC ) == true |
| 5844 | </Original> |
| 5845 | <Expanded> |
| 5846 | true == true |
| 5847 | </Expanded> |
| 5848 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5849 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5850 | <Original> |
| 5851 | spec.matches( tcD ) == false |
| 5852 | </Original> |
| 5853 | <Expanded> |
| 5854 | false == false |
| 5855 | </Expanded> |
| 5856 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5857 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5858 | </Section> |
| 5859 | <Section name="two wildcarded names"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5860 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5861 | <Original> |
| 5862 | spec.hasFilters() == true |
| 5863 | </Original> |
| 5864 | <Expanded> |
| 5865 | true == true |
| 5866 | </Expanded> |
| 5867 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5868 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5869 | <Original> |
| 5870 | spec.matches( tcA ) == false |
| 5871 | </Original> |
| 5872 | <Expanded> |
| 5873 | false == false |
| 5874 | </Expanded> |
| 5875 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5876 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5877 | <Original> |
| 5878 | spec.matches( tcB ) == false |
| 5879 | </Original> |
| 5880 | <Expanded> |
| 5881 | false == false |
| 5882 | </Expanded> |
| 5883 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5884 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5885 | <Original> |
| 5886 | spec.matches( tcC ) == true |
| 5887 | </Original> |
| 5888 | <Expanded> |
| 5889 | true == true |
| 5890 | </Expanded> |
| 5891 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5892 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5893 | <Original> |
| 5894 | spec.matches( tcD ) == false |
| 5895 | </Original> |
| 5896 | <Expanded> |
| 5897 | false == false |
| 5898 | </Expanded> |
| 5899 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5900 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5901 | </Section> |
| 5902 | <Section name="empty tag"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5903 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5904 | <Original> |
| 5905 | spec.hasFilters() == false |
| 5906 | </Original> |
| 5907 | <Expanded> |
| 5908 | false == false |
| 5909 | </Expanded> |
| 5910 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5911 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5912 | <Original> |
| 5913 | spec.matches( tcA ) == false |
| 5914 | </Original> |
| 5915 | <Expanded> |
| 5916 | false == false |
| 5917 | </Expanded> |
| 5918 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5919 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5920 | <Original> |
| 5921 | spec.matches( tcB ) == false |
| 5922 | </Original> |
| 5923 | <Expanded> |
| 5924 | false == false |
| 5925 | </Expanded> |
| 5926 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5927 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5928 | <Original> |
| 5929 | spec.matches( tcC ) == false |
| 5930 | </Original> |
| 5931 | <Expanded> |
| 5932 | false == false |
| 5933 | </Expanded> |
| 5934 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5935 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5936 | <Original> |
| 5937 | spec.matches( tcD ) == false |
| 5938 | </Original> |
| 5939 | <Expanded> |
| 5940 | false == false |
| 5941 | </Expanded> |
| 5942 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5943 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5944 | </Section> |
| 5945 | <Section name="empty quoted name"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5946 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5947 | <Original> |
| 5948 | spec.hasFilters() == false |
| 5949 | </Original> |
| 5950 | <Expanded> |
| 5951 | false == false |
| 5952 | </Expanded> |
| 5953 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5954 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5955 | <Original> |
| 5956 | spec.matches( tcA ) == false |
| 5957 | </Original> |
| 5958 | <Expanded> |
| 5959 | false == false |
| 5960 | </Expanded> |
| 5961 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5962 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5963 | <Original> |
| 5964 | spec.matches( tcB ) == false |
| 5965 | </Original> |
| 5966 | <Expanded> |
| 5967 | false == false |
| 5968 | </Expanded> |
| 5969 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5970 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5971 | <Original> |
| 5972 | spec.matches( tcC ) == false |
| 5973 | </Original> |
| 5974 | <Expanded> |
| 5975 | false == false |
| 5976 | </Expanded> |
| 5977 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5978 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5979 | <Original> |
| 5980 | spec.matches( tcD ) == false |
| 5981 | </Original> |
| 5982 | <Expanded> |
| 5983 | false == false |
| 5984 | </Expanded> |
| 5985 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5986 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5987 | </Section> |
| 5988 | <Section name="quoted string followed by tag exclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5989 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5990 | <Original> |
| 5991 | spec.hasFilters() == true |
| 5992 | </Original> |
| 5993 | <Expanded> |
| 5994 | true == true |
| 5995 | </Expanded> |
| 5996 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5997 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5998 | <Original> |
| 5999 | spec.matches( tcA ) == false |
| 6000 | </Original> |
| 6001 | <Expanded> |
| 6002 | false == false |
| 6003 | </Expanded> |
| 6004 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6005 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6006 | <Original> |
| 6007 | spec.matches( tcB ) == false |
| 6008 | </Original> |
| 6009 | <Expanded> |
| 6010 | false == false |
| 6011 | </Expanded> |
| 6012 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6013 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6014 | <Original> |
| 6015 | spec.matches( tcC ) == false |
| 6016 | </Original> |
| 6017 | <Expanded> |
| 6018 | false == false |
| 6019 | </Expanded> |
| 6020 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6021 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6022 | <Original> |
| 6023 | spec.matches( tcD ) == true |
| 6024 | </Original> |
| 6025 | <Expanded> |
| 6026 | true == true |
| 6027 | </Expanded> |
| 6028 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6029 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6030 | </Section> |
| 6031 | <OverallResult success="true"/> |
| 6032 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 6033 | <TestCase name="Parsing a std::pair" tags="[Tricky][std::pair]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6034 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 6035 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6036 | (std::pair<int, int>( 1, 2 )) == aNicePair |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 6037 | </Original> |
| 6038 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6039 | std::pair( 1, 2 ) == std::pair( 1, 2 ) |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 6040 | </Expanded> |
| 6041 | </Expression> |
| 6042 | <OverallResult success="true"/> |
| 6043 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6044 | <TestCase name="Pointers can be compared to null"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6045 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 6046 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6047 | p == 0 |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 6048 | </Original> |
| 6049 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6050 | NULL == 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6051 | </Expanded> |
| 6052 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6053 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6054 | <Original> |
| 6055 | p == pNULL |
| 6056 | </Original> |
| 6057 | <Expanded> |
| 6058 | NULL == NULL |
| 6059 | </Expanded> |
| 6060 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6061 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6062 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6063 | p != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6064 | </Original> |
| 6065 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6066 | 0x<hex digits> != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6067 | </Expanded> |
| 6068 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6069 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6070 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6071 | cp != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6072 | </Original> |
| 6073 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6074 | 0x<hex digits> != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6075 | </Expanded> |
| 6076 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6077 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6078 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6079 | cpc != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6080 | </Original> |
| 6081 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6082 | 0x<hex digits> != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6083 | </Expanded> |
| 6084 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6085 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6086 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6087 | returnsNull() == 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6088 | </Original> |
| 6089 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6090 | {null string} == 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6091 | </Expanded> |
| 6092 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6093 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6094 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6095 | returnsConstNull() == 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6096 | </Original> |
| 6097 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6098 | {null string} == 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6099 | </Expanded> |
| 6100 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6101 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6102 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6103 | 0 != p |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6104 | </Original> |
| 6105 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6106 | 0 != 0x<hex digits> |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 6107 | </Expanded> |
| 6108 | </Expression> |
| 6109 | <OverallResult success="true"/> |
| 6110 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 6111 | <TestCase name="Pointers can be converted to strings" tags="[.][hide][messages]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6112 | <Warning> |
| 6113 | actual address of p: 0x<hex digits> |
| 6114 | </Warning> |
| 6115 | <Warning> |
| 6116 | toString(p): 0x<hex digits> |
| 6117 | </Warning> |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 6118 | <OverallResult success="true"/> |
| 6119 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 6120 | <TestCase name="Process can be configured on command line" tags="[command-line][config]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6121 | <Section name="default - no arguments"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6122 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6123 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6124 | parseIntoConfig( argv, config ) |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6125 | </Original> |
| 6126 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6127 | parseIntoConfig( argv, config ) |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6128 | </Expanded> |
| 6129 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6130 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6131 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6132 | config.shouldDebugBreak == false |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6133 | </Original> |
| 6134 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6135 | false == false |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6136 | </Expanded> |
| 6137 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6138 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6139 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6140 | config.abortAfter == -1 |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6141 | </Original> |
| 6142 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6143 | -1 == -1 |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6144 | </Expanded> |
| 6145 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6146 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6147 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6148 | config.noThrow == false |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6149 | </Original> |
| 6150 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6151 | false == false |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6152 | </Expanded> |
| 6153 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6154 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6155 | <Original> |
| 6156 | config.reporterNames.empty() |
| 6157 | </Original> |
| 6158 | <Expanded> |
| 6159 | true |
| 6160 | </Expanded> |
| 6161 | </Expression> |
| 6162 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
| 6163 | </Section> |
| 6164 | <Section name="test lists"> |
| 6165 | <Section name="1 test" description="Specify one test case using"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6166 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6167 | <Original> |
| 6168 | parseIntoConfig( argv, config ) |
| 6169 | </Original> |
| 6170 | <Expanded> |
| 6171 | parseIntoConfig( argv, config ) |
| 6172 | </Expanded> |
| 6173 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6174 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6175 | <Original> |
| 6176 | cfg.testSpec().matches( fakeTestCase( "notIncluded" ) ) == false |
| 6177 | </Original> |
| 6178 | <Expanded> |
| 6179 | false == false |
| 6180 | </Expanded> |
| 6181 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6182 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6183 | <Original> |
| 6184 | cfg.testSpec().matches( fakeTestCase( "test1" ) ) |
| 6185 | </Original> |
| 6186 | <Expanded> |
| 6187 | true |
| 6188 | </Expanded> |
| 6189 | </Expression> |
| 6190 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 6191 | </Section> |
| 6192 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 6193 | </Section> |
| 6194 | <Section name="test lists"> |
| 6195 | <Section name="Specify one test case exclusion using exclude:"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6196 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6197 | <Original> |
| 6198 | parseIntoConfig( argv, config ) |
| 6199 | </Original> |
| 6200 | <Expanded> |
| 6201 | parseIntoConfig( argv, config ) |
| 6202 | </Expanded> |
| 6203 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6204 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6205 | <Original> |
| 6206 | cfg.testSpec().matches( fakeTestCase( "test1" ) ) == false |
| 6207 | </Original> |
| 6208 | <Expanded> |
| 6209 | false == false |
| 6210 | </Expanded> |
| 6211 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6212 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6213 | <Original> |
| 6214 | cfg.testSpec().matches( fakeTestCase( "alwaysIncluded" ) ) |
| 6215 | </Original> |
| 6216 | <Expanded> |
| 6217 | true |
| 6218 | </Expanded> |
| 6219 | </Expression> |
| 6220 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 6221 | </Section> |
| 6222 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 6223 | </Section> |
| 6224 | <Section name="test lists"> |
| 6225 | <Section name="Specify one test case exclusion using ~"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6226 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6227 | <Original> |
| 6228 | parseIntoConfig( argv, config ) |
| 6229 | </Original> |
| 6230 | <Expanded> |
| 6231 | parseIntoConfig( argv, config ) |
| 6232 | </Expanded> |
| 6233 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6234 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6235 | <Original> |
| 6236 | cfg.testSpec().matches( fakeTestCase( "test1" ) ) == false |
| 6237 | </Original> |
| 6238 | <Expanded> |
| 6239 | false == false |
| 6240 | </Expanded> |
| 6241 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6242 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6243 | <Original> |
| 6244 | cfg.testSpec().matches( fakeTestCase( "alwaysIncluded" ) ) |
| 6245 | </Original> |
| 6246 | <Expanded> |
| 6247 | true |
| 6248 | </Expanded> |
| 6249 | </Expression> |
| 6250 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 6251 | </Section> |
| 6252 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 6253 | </Section> |
| 6254 | <Section name="reporter"> |
| 6255 | <Section name="-r/console"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6256 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6257 | <Original> |
| 6258 | parseIntoConfig( argv, config ) |
| 6259 | </Original> |
| 6260 | <Expanded> |
| 6261 | parseIntoConfig( argv, config ) |
| 6262 | </Expanded> |
| 6263 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6264 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6265 | <Original> |
| 6266 | config.reporterNames[0] == "console" |
| 6267 | </Original> |
| 6268 | <Expanded> |
| 6269 | "console" == "console" |
| 6270 | </Expanded> |
| 6271 | </Expression> |
| 6272 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6273 | </Section> |
| 6274 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6275 | </Section> |
| 6276 | <Section name="reporter"> |
| 6277 | <Section name="-r/xml"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6278 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6279 | <Original> |
| 6280 | parseIntoConfig( argv, config ) |
| 6281 | </Original> |
| 6282 | <Expanded> |
| 6283 | parseIntoConfig( argv, config ) |
| 6284 | </Expanded> |
| 6285 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6286 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6287 | <Original> |
| 6288 | config.reporterNames[0] == "xml" |
| 6289 | </Original> |
| 6290 | <Expanded> |
| 6291 | "xml" == "xml" |
| 6292 | </Expanded> |
| 6293 | </Expression> |
| 6294 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6295 | </Section> |
| 6296 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6297 | </Section> |
| 6298 | <Section name="reporter"> |
| 6299 | <Section name="-r xml and junit"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6300 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6301 | <Original> |
| 6302 | parseIntoConfig( argv, config ) |
| 6303 | </Original> |
| 6304 | <Expanded> |
| 6305 | parseIntoConfig( argv, config ) |
| 6306 | </Expanded> |
| 6307 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6308 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6309 | <Original> |
| 6310 | config.reporterNames.size() == 2 |
| 6311 | </Original> |
| 6312 | <Expanded> |
| 6313 | 2 == 2 |
| 6314 | </Expanded> |
| 6315 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6316 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6317 | <Original> |
| 6318 | config.reporterNames[0] == "xml" |
| 6319 | </Original> |
| 6320 | <Expanded> |
| 6321 | "xml" == "xml" |
| 6322 | </Expanded> |
| 6323 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6324 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6325 | <Original> |
| 6326 | config.reporterNames[1] == "junit" |
| 6327 | </Original> |
| 6328 | <Expanded> |
| 6329 | "junit" == "junit" |
| 6330 | </Expanded> |
| 6331 | </Expression> |
| 6332 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 6333 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6334 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6335 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6336 | <Section name="reporter"> |
| 6337 | <Section name="--reporter/junit"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6338 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6339 | <Original> |
| 6340 | parseIntoConfig( argv, config ) |
| 6341 | </Original> |
| 6342 | <Expanded> |
| 6343 | parseIntoConfig( argv, config ) |
| 6344 | </Expanded> |
| 6345 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6346 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6347 | <Original> |
| 6348 | config.reporterNames[0] == "junit" |
| 6349 | </Original> |
| 6350 | <Expanded> |
| 6351 | "junit" == "junit" |
| 6352 | </Expanded> |
| 6353 | </Expression> |
| 6354 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6355 | </Section> |
| 6356 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6357 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6358 | <Section name="debugger"> |
| 6359 | <Section name="-b"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6360 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6361 | <Original> |
| 6362 | parseIntoConfig( argv, config ) |
| 6363 | </Original> |
| 6364 | <Expanded> |
| 6365 | parseIntoConfig( argv, config ) |
| 6366 | </Expanded> |
| 6367 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6368 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6369 | <Original> |
| 6370 | config.shouldDebugBreak == true |
| 6371 | </Original> |
| 6372 | <Expanded> |
| 6373 | true == true |
| 6374 | </Expanded> |
| 6375 | </Expression> |
| 6376 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6377 | </Section> |
| 6378 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6379 | </Section> |
| 6380 | <Section name="debugger"> |
| 6381 | <Section name="--break"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6382 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6383 | <Original> |
| 6384 | parseIntoConfig( argv, config ) |
| 6385 | </Original> |
| 6386 | <Expanded> |
| 6387 | parseIntoConfig( argv, config ) |
| 6388 | </Expanded> |
| 6389 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6390 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6391 | <Original> |
| 6392 | config.shouldDebugBreak |
| 6393 | </Original> |
| 6394 | <Expanded> |
| 6395 | true |
| 6396 | </Expanded> |
| 6397 | </Expression> |
| 6398 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6399 | </Section> |
| 6400 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6401 | </Section> |
| 6402 | <Section name="abort"> |
| 6403 | <Section name="-a aborts after first failure"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6404 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6405 | <Original> |
| 6406 | parseIntoConfig( argv, config ) |
| 6407 | </Original> |
| 6408 | <Expanded> |
| 6409 | parseIntoConfig( argv, config ) |
| 6410 | </Expanded> |
| 6411 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6412 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6413 | <Original> |
| 6414 | config.abortAfter == 1 |
| 6415 | </Original> |
| 6416 | <Expanded> |
| 6417 | 1 == 1 |
| 6418 | </Expanded> |
| 6419 | </Expression> |
| 6420 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6421 | </Section> |
| 6422 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6423 | </Section> |
| 6424 | <Section name="abort"> |
| 6425 | <Section name="-x 2 aborts after two failures"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6426 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6427 | <Original> |
| 6428 | parseIntoConfig( argv, config ) |
| 6429 | </Original> |
| 6430 | <Expanded> |
| 6431 | parseIntoConfig( argv, config ) |
| 6432 | </Expanded> |
| 6433 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6434 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6435 | <Original> |
| 6436 | config.abortAfter == 2 |
| 6437 | </Original> |
| 6438 | <Expanded> |
| 6439 | 2 == 2 |
| 6440 | </Expanded> |
| 6441 | </Expression> |
| 6442 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6443 | </Section> |
| 6444 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6445 | </Section> |
| 6446 | <Section name="abort"> |
| 6447 | <Section name="-x must be greater than zero"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6448 | <Expression success="true" type="REQUIRE_THAT" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6449 | <Original> |
| 6450 | parseIntoConfigAndReturnError( argv, config ), Contains( "greater than zero" ) |
| 6451 | </Original> |
| 6452 | <Expanded> |
| 6453 | "Value after -x or --abortAfter must be greater than zero |
| 6454 | - while parsing: (-x, --abortx <no. failures>)" contains: "greater than zero" |
| 6455 | </Expanded> |
| 6456 | </Expression> |
| 6457 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6458 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6459 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6460 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6461 | <Section name="abort"> |
| 6462 | <Section name="-x must be numeric"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6463 | <Expression success="true" type="REQUIRE_THAT" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6464 | <Original> |
| 6465 | parseIntoConfigAndReturnError( argv, config ), Contains( "-x" ) |
| 6466 | </Original> |
| 6467 | <Expanded> |
| 6468 | "Unable to convert oops to destination type |
| 6469 | - while parsing: (-x, --abortx <no. failures>)" contains: "-x" |
| 6470 | </Expanded> |
| 6471 | </Expression> |
| 6472 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6473 | </Section> |
| 6474 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6475 | </Section> |
| 6476 | <Section name="nothrow"> |
| 6477 | <Section name="-e"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6478 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6479 | <Original> |
| 6480 | parseIntoConfig( argv, config ) |
| 6481 | </Original> |
| 6482 | <Expanded> |
| 6483 | parseIntoConfig( argv, config ) |
| 6484 | </Expanded> |
| 6485 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6486 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6487 | <Original> |
| 6488 | config.noThrow == true |
| 6489 | </Original> |
| 6490 | <Expanded> |
| 6491 | true == true |
| 6492 | </Expanded> |
| 6493 | </Expression> |
| 6494 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6495 | </Section> |
| 6496 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6497 | </Section> |
| 6498 | <Section name="nothrow"> |
| 6499 | <Section name="--nothrow"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6500 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6501 | <Original> |
| 6502 | parseIntoConfig( argv, config ) |
| 6503 | </Original> |
| 6504 | <Expanded> |
| 6505 | parseIntoConfig( argv, config ) |
| 6506 | </Expanded> |
| 6507 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6508 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6509 | <Original> |
| 6510 | config.noThrow == true |
| 6511 | </Original> |
| 6512 | <Expanded> |
| 6513 | true == true |
| 6514 | </Expanded> |
| 6515 | </Expression> |
| 6516 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6517 | </Section> |
| 6518 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6519 | </Section> |
| 6520 | <Section name="output filename"> |
| 6521 | <Section name="-o filename"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6522 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6523 | <Original> |
| 6524 | parseIntoConfig( argv, config ) |
| 6525 | </Original> |
| 6526 | <Expanded> |
| 6527 | parseIntoConfig( argv, config ) |
| 6528 | </Expanded> |
| 6529 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6530 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6531 | <Original> |
| 6532 | config.outputFilename == "filename.ext" |
| 6533 | </Original> |
| 6534 | <Expanded> |
| 6535 | "filename.ext" == "filename.ext" |
| 6536 | </Expanded> |
| 6537 | </Expression> |
| 6538 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6539 | </Section> |
| 6540 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6541 | </Section> |
| 6542 | <Section name="output filename"> |
| 6543 | <Section name="--out"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6544 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6545 | <Original> |
| 6546 | parseIntoConfig( argv, config ) |
| 6547 | </Original> |
| 6548 | <Expanded> |
| 6549 | parseIntoConfig( argv, config ) |
| 6550 | </Expanded> |
| 6551 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6552 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6553 | <Original> |
| 6554 | config.outputFilename == "filename.ext" |
| 6555 | </Original> |
| 6556 | <Expanded> |
| 6557 | "filename.ext" == "filename.ext" |
| 6558 | </Expanded> |
| 6559 | </Expression> |
| 6560 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6561 | </Section> |
| 6562 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6563 | </Section> |
| 6564 | <Section name="combinations"> |
| 6565 | <Section name="Single character flags can be combined"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6566 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6567 | <Original> |
| 6568 | parseIntoConfig( argv, config ) |
| 6569 | </Original> |
| 6570 | <Expanded> |
| 6571 | parseIntoConfig( argv, config ) |
| 6572 | </Expanded> |
| 6573 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6574 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6575 | <Original> |
| 6576 | config.abortAfter == 1 |
| 6577 | </Original> |
| 6578 | <Expanded> |
| 6579 | 1 == 1 |
| 6580 | </Expanded> |
| 6581 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6582 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6583 | <Original> |
| 6584 | config.shouldDebugBreak |
| 6585 | </Original> |
| 6586 | <Expanded> |
| 6587 | true |
| 6588 | </Expanded> |
| 6589 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6590 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6591 | <Original> |
| 6592 | config.noThrow == true |
| 6593 | </Original> |
| 6594 | <Expanded> |
| 6595 | true == true |
| 6596 | </Expanded> |
| 6597 | </Expression> |
| 6598 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 6599 | </Section> |
| 6600 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 6601 | </Section> |
| 6602 | <Section name="use-colour"> |
| 6603 | <Section name="without option"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6604 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6605 | <Original> |
| 6606 | parseIntoConfig( argv, config ) |
| 6607 | </Original> |
| 6608 | <Expanded> |
| 6609 | parseIntoConfig( argv, config ) |
| 6610 | </Expanded> |
| 6611 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6612 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6613 | <Original> |
| 6614 | config.useColour == UseColour::Auto |
| 6615 | </Original> |
| 6616 | <Expanded> |
| 6617 | 0 == 0 |
| 6618 | </Expanded> |
| 6619 | </Expression> |
| 6620 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6621 | </Section> |
| 6622 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6623 | </Section> |
| 6624 | <Section name="use-colour"> |
| 6625 | <Section name="auto"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6626 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6627 | <Original> |
| 6628 | parseIntoConfig( argv, config ) |
| 6629 | </Original> |
| 6630 | <Expanded> |
| 6631 | parseIntoConfig( argv, config ) |
| 6632 | </Expanded> |
| 6633 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6634 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6635 | <Original> |
| 6636 | config.useColour == UseColour::Auto |
| 6637 | </Original> |
| 6638 | <Expanded> |
| 6639 | 0 == 0 |
| 6640 | </Expanded> |
| 6641 | </Expression> |
| 6642 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6643 | </Section> |
| 6644 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6645 | </Section> |
| 6646 | <Section name="use-colour"> |
| 6647 | <Section name="yes"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6648 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6649 | <Original> |
| 6650 | parseIntoConfig( argv, config ) |
| 6651 | </Original> |
| 6652 | <Expanded> |
| 6653 | parseIntoConfig( argv, config ) |
| 6654 | </Expanded> |
| 6655 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6656 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6657 | <Original> |
| 6658 | config.useColour == UseColour::Yes |
| 6659 | </Original> |
| 6660 | <Expanded> |
| 6661 | 1 == 1 |
| 6662 | </Expanded> |
| 6663 | </Expression> |
| 6664 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6665 | </Section> |
| 6666 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6667 | </Section> |
| 6668 | <Section name="use-colour"> |
| 6669 | <Section name="no"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6670 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6671 | <Original> |
| 6672 | parseIntoConfig( argv, config ) |
| 6673 | </Original> |
| 6674 | <Expanded> |
| 6675 | parseIntoConfig( argv, config ) |
| 6676 | </Expanded> |
| 6677 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6678 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6679 | <Original> |
| 6680 | config.useColour == UseColour::No |
| 6681 | </Original> |
| 6682 | <Expanded> |
| 6683 | 2 == 2 |
| 6684 | </Expanded> |
| 6685 | </Expression> |
| 6686 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6687 | </Section> |
| 6688 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6689 | </Section> |
| 6690 | <Section name="use-colour"> |
| 6691 | <Section name="error"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6692 | <Expression success="true" type="REQUIRE_THROWS_WITH" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6693 | <Original> |
| 6694 | parseIntoConfig( argv, config ), Contains( "colour mode must be one of" ) |
| 6695 | </Original> |
| 6696 | <Expanded> |
| 6697 | parseIntoConfig( argv, config ), Contains( "colour mode must be one of" ) |
| 6698 | </Expanded> |
| 6699 | </Expression> |
| 6700 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6701 | </Section> |
| 6702 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6703 | </Section> |
| 6704 | <OverallResult success="true"/> |
| 6705 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 6706 | <TestCase name="SCOPED_INFO is reset for each loop" tags="[.][failing][hide][messages]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6707 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6708 | <Original> |
| 6709 | i < 10 |
| 6710 | </Original> |
| 6711 | <Expanded> |
| 6712 | 0 < 10 |
| 6713 | </Expanded> |
| 6714 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6715 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6716 | <Original> |
| 6717 | i < 10 |
| 6718 | </Original> |
| 6719 | <Expanded> |
| 6720 | 1 < 10 |
| 6721 | </Expanded> |
| 6722 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6723 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6724 | <Original> |
| 6725 | i < 10 |
| 6726 | </Original> |
| 6727 | <Expanded> |
| 6728 | 2 < 10 |
| 6729 | </Expanded> |
| 6730 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6731 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6732 | <Original> |
| 6733 | i < 10 |
| 6734 | </Original> |
| 6735 | <Expanded> |
| 6736 | 3 < 10 |
| 6737 | </Expanded> |
| 6738 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6739 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6740 | <Original> |
| 6741 | i < 10 |
| 6742 | </Original> |
| 6743 | <Expanded> |
| 6744 | 4 < 10 |
| 6745 | </Expanded> |
| 6746 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6747 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6748 | <Original> |
| 6749 | i < 10 |
| 6750 | </Original> |
| 6751 | <Expanded> |
| 6752 | 5 < 10 |
| 6753 | </Expanded> |
| 6754 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6755 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6756 | <Original> |
| 6757 | i < 10 |
| 6758 | </Original> |
| 6759 | <Expanded> |
| 6760 | 6 < 10 |
| 6761 | </Expanded> |
| 6762 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6763 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6764 | <Original> |
| 6765 | i < 10 |
| 6766 | </Original> |
| 6767 | <Expanded> |
| 6768 | 7 < 10 |
| 6769 | </Expanded> |
| 6770 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6771 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6772 | <Original> |
| 6773 | i < 10 |
| 6774 | </Original> |
| 6775 | <Expanded> |
| 6776 | 8 < 10 |
| 6777 | </Expanded> |
| 6778 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6779 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6780 | <Original> |
| 6781 | i < 10 |
| 6782 | </Original> |
| 6783 | <Expanded> |
| 6784 | 9 < 10 |
| 6785 | </Expanded> |
| 6786 | </Expression> |
| 6787 | <Info> |
| 6788 | current counter 10 |
| 6789 | </Info> |
| 6790 | <Info> |
| 6791 | i := 10 |
| 6792 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6793 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6794 | <Original> |
| 6795 | i < 10 |
| 6796 | </Original> |
| 6797 | <Expanded> |
| 6798 | 10 < 10 |
| 6799 | </Expanded> |
| 6800 | </Expression> |
| 6801 | <OverallResult success="false"/> |
| 6802 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 6803 | <TestCase name="SUCCEED counts as a test pass" tags="[messages]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6804 | <OverallResult success="true"/> |
| 6805 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 6806 | <TestCase name="SUCCESS does not require an argument" tags="[.][hide][messages]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6807 | <OverallResult success="true"/> |
| 6808 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 6809 | <TestCase name="Scenario: BDD tests requiring Fixtures to provide commonly-accessed data or methods" tags="[bdd][fixtures]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6810 | <Section name="Given: No operations precede me"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6811 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6812 | <Original> |
| 6813 | before == 0 |
| 6814 | </Original> |
| 6815 | <Expanded> |
| 6816 | 0 == 0 |
| 6817 | </Expanded> |
| 6818 | </Expression> |
| 6819 | <Section name="When: We get the count"> |
| 6820 | <Section name="Then: Subsequently values are higher"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6821 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6822 | <Original> |
| 6823 | after > before |
| 6824 | </Original> |
| 6825 | <Expanded> |
| 6826 | 1 > 0 |
| 6827 | </Expanded> |
| 6828 | </Expression> |
| 6829 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6830 | </Section> |
| 6831 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6832 | </Section> |
| 6833 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6834 | </Section> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6835 | <OverallResult success="true"/> |
| 6836 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 6837 | <TestCase name="Scenario: Do that thing with the thing" tags="[Tags]"> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6838 | <Section name="Given: This stuff exists"> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6839 | <Section name="When: I do this"> |
| 6840 | <Section name="Then: it should do this"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6841 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6842 | <Original> |
| 6843 | itDoesThis() |
| 6844 | </Original> |
| 6845 | <Expanded> |
| 6846 | true |
| 6847 | </Expanded> |
| 6848 | </Expression> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6849 | <Section name="And: do that"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6850 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6851 | <Original> |
| 6852 | itDoesThat() |
| 6853 | </Original> |
| 6854 | <Expanded> |
| 6855 | true |
| 6856 | </Expanded> |
| 6857 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6858 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6859 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6860 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6861 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6862 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6863 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6864 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6865 | </Section> |
| 6866 | <OverallResult success="true"/> |
| 6867 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 6868 | <TestCase name="Scenario: This is a really long scenario name to see how the list command deals with wrapping" tags="[anotherReallyLongTagNameButThisOneHasNoObviousWrapPointsSoShouldSplitWithinAWordUsingADashCharacter][long][lots][one very long tag name that should cause line wrapping writing out using the list command][tags][verbose][very long tags]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6869 | <Section name="Given: A section name that is so long that it cannot fit in a single console width"> |
| 6870 | <Section name="When: The test headers are printed as part of the normal running of the scenario"> |
| 6871 | <Section name="Then: The, deliberately very long and overly verbose (you see what I did there?) section names must wrap, along with an indent"> |
| 6872 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6873 | </Section> |
| 6874 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6875 | </Section> |
| 6876 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6877 | </Section> |
| 6878 | <OverallResult success="true"/> |
| 6879 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 6880 | <TestCase name="Scenario: Vector resizing affects size and capacity" tags="[bdd][capacity][size][vector]"> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6881 | <Section name="Given: an empty vector"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6882 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6883 | <Original> |
| 6884 | v.size() == 0 |
| 6885 | </Original> |
| 6886 | <Expanded> |
| 6887 | 0 == 0 |
| 6888 | </Expanded> |
| 6889 | </Expression> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6890 | <Section name="When: it is made larger"> |
| 6891 | <Section name="Then: the size and capacity go up"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6892 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6893 | <Original> |
| 6894 | v.size() == 10 |
| 6895 | </Original> |
| 6896 | <Expanded> |
| 6897 | 10 == 10 |
| 6898 | </Expanded> |
| 6899 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6900 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6901 | <Original> |
| 6902 | v.capacity() >= 10 |
| 6903 | </Original> |
| 6904 | <Expanded> |
| 6905 | 10 >= 10 |
| 6906 | </Expanded> |
| 6907 | </Expression> |
| 6908 | <Section name="And when: it is made smaller again"> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6909 | <Section name="Then: the size goes down but the capacity stays the same"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6910 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6911 | <Original> |
| 6912 | v.size() == 5 |
| 6913 | </Original> |
| 6914 | <Expanded> |
| 6915 | 5 == 5 |
| 6916 | </Expanded> |
| 6917 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6918 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6919 | <Original> |
| 6920 | v.capacity() >= 10 |
| 6921 | </Original> |
| 6922 | <Expanded> |
| 6923 | 10 >= 10 |
| 6924 | </Expanded> |
| 6925 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6926 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6927 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6928 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6929 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6930 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6931 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6932 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6933 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6934 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6935 | </Section> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6936 | <Section name="Given: an empty vector"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6937 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6938 | <Original> |
| 6939 | v.size() == 0 |
| 6940 | </Original> |
| 6941 | <Expanded> |
| 6942 | 0 == 0 |
| 6943 | </Expanded> |
| 6944 | </Expression> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6945 | <Section name="When: we reserve more space"> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6946 | <Section name="Then: The capacity is increased but the size remains the same"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6947 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6948 | <Original> |
| 6949 | v.capacity() >= 10 |
| 6950 | </Original> |
| 6951 | <Expanded> |
| 6952 | 10 >= 10 |
| 6953 | </Expanded> |
| 6954 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6955 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6956 | <Original> |
| 6957 | v.size() == 0 |
| 6958 | </Original> |
| 6959 | <Expanded> |
| 6960 | 0 == 0 |
| 6961 | </Expanded> |
| 6962 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6963 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6964 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6965 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6966 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6967 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6968 | </Section> |
| 6969 | <OverallResult success="true"/> |
| 6970 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 6971 | <TestCase name="Sends stuff to stdout and stderr" tags="[.][hide]"> |
Phil Nash | 23eb4cc | 2017-02-06 16:14:06 +0000 | [diff] [blame] | 6972 | <OverallResult success="true"> |
| 6973 | <StdOut> |
| 6974 | A string sent directly to stdout |
| 6975 | </StdOut> |
| 6976 | <StdErr> |
| 6977 | A string sent directly to stderr |
| 6978 | </StdErr> |
| 6979 | </OverallResult> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6980 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 6981 | <TestCase name="Some simple comparisons between doubles" tags="[Approx]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6982 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6983 | <Original> |
| 6984 | d == Approx( 1.23 ) |
| 6985 | </Original> |
| 6986 | <Expanded> |
| 6987 | 1.23 == Approx( 1.23 ) |
| 6988 | </Expanded> |
| 6989 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6990 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6991 | <Original> |
| 6992 | d != Approx( 1.22 ) |
| 6993 | </Original> |
| 6994 | <Expanded> |
| 6995 | 1.23 != Approx( 1.22 ) |
| 6996 | </Expanded> |
| 6997 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6998 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6999 | <Original> |
| 7000 | d != Approx( 1.24 ) |
| 7001 | </Original> |
| 7002 | <Expanded> |
| 7003 | 1.23 != Approx( 1.24 ) |
| 7004 | </Expanded> |
| 7005 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7006 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7007 | <Original> |
| 7008 | Approx( d ) == 1.23 |
| 7009 | </Original> |
| 7010 | <Expanded> |
| 7011 | Approx( 1.23 ) == 1.23 |
| 7012 | </Expanded> |
| 7013 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7014 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7015 | <Original> |
| 7016 | Approx( d ) != 1.22 |
| 7017 | </Original> |
| 7018 | <Expanded> |
| 7019 | Approx( 1.23 ) != 1.22 |
| 7020 | </Expanded> |
| 7021 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7022 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7023 | <Original> |
| 7024 | Approx( d ) != 1.24 |
| 7025 | </Original> |
| 7026 | <Expanded> |
| 7027 | Approx( 1.23 ) != 1.24 |
| 7028 | </Expanded> |
| 7029 | </Expression> |
| 7030 | <OverallResult success="true"/> |
| 7031 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 7032 | <TestCase name="Standard output from all sections is reported" tags="[.][hide][messages]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7033 | <Section name="one"> |
| 7034 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 7035 | </Section> |
| 7036 | <Section name="two"> |
| 7037 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 7038 | </Section> |
Phil Nash | 23eb4cc | 2017-02-06 16:14:06 +0000 | [diff] [blame] | 7039 | <OverallResult success="false"> |
| 7040 | <StdOut> |
| 7041 | Message from section one |
| 7042 | Message from section two |
| 7043 | </StdOut> |
| 7044 | </OverallResult> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7045 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 7046 | <TestCase name="StartsWith string matcher" tags="[.][failing][hide][matchers]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7047 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7048 | <Original> |
| 7049 | testStringForMatching(), StartsWith( "string" ) |
| 7050 | </Original> |
| 7051 | <Expanded> |
| 7052 | "this string contains 'abc' as a substring" starts with: "string" |
| 7053 | </Expanded> |
| 7054 | </Expression> |
| 7055 | <OverallResult success="false"/> |
| 7056 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 7057 | <TestCase name="String matchers" tags="[matchers]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7058 | <Expression success="true" type="REQUIRE_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7059 | <Original> |
| 7060 | testStringForMatching(), Contains( "string" ) |
| 7061 | </Original> |
| 7062 | <Expanded> |
| 7063 | "this string contains 'abc' as a substring" contains: "string" |
| 7064 | </Expanded> |
| 7065 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7066 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7067 | <Original> |
| 7068 | testStringForMatching(), Contains( "abc" ) |
| 7069 | </Original> |
| 7070 | <Expanded> |
| 7071 | "this string contains 'abc' as a substring" contains: "abc" |
| 7072 | </Expanded> |
| 7073 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7074 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7075 | <Original> |
| 7076 | testStringForMatching(), StartsWith( "this" ) |
| 7077 | </Original> |
| 7078 | <Expanded> |
| 7079 | "this string contains 'abc' as a substring" starts with: "this" |
| 7080 | </Expanded> |
| 7081 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7082 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7083 | <Original> |
| 7084 | testStringForMatching(), EndsWith( "substring" ) |
| 7085 | </Original> |
| 7086 | <Expanded> |
| 7087 | "this string contains 'abc' as a substring" ends with: "substring" |
| 7088 | </Expanded> |
| 7089 | </Expression> |
| 7090 | <OverallResult success="true"/> |
| 7091 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 7092 | <TestCase name="Strings can be rendered with colour" tags="[.][.colour][hide]"> |
Phil Nash | 23eb4cc | 2017-02-06 16:14:06 +0000 | [diff] [blame] | 7093 | <OverallResult success="true"> |
| 7094 | <StdOut> |
| 7095 | hello |
| 7096 | hello |
| 7097 | </StdOut> |
| 7098 | </OverallResult> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7099 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 7100 | <TestCase name="Tabs and newlines show in output" tags="[.][failing][hide][whitespace]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7101 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7102 | <Original> |
| 7103 | s1 == s2 |
| 7104 | </Original> |
| 7105 | <Expanded> |
| 7106 | "if ($b == 10) { |
| 7107 | $a = 20; |
| 7108 | }" |
| 7109 | == |
| 7110 | "if ($b == 10) { |
| 7111 | $a = 20; |
| 7112 | } |
| 7113 | " |
| 7114 | </Expanded> |
| 7115 | </Expression> |
| 7116 | <OverallResult success="false"/> |
| 7117 | </TestCase> |
| 7118 | <TestCase name="Tag alias can be registered against tag patterns"> |
| 7119 | <Section name="The same tag alias can only be registered once"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7120 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7121 | <Original> |
| 7122 | what, Contains( "[@zzz]" ) |
| 7123 | </Original> |
| 7124 | <Expanded> |
| 7125 | "error: tag alias, "[@zzz]" already registered. |
| 7126 | First seen at file:2 |
| 7127 | Redefined at file:10" contains: "[@zzz]" |
| 7128 | </Expanded> |
| 7129 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7130 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7131 | <Original> |
| 7132 | what, Contains( "file" ) |
| 7133 | </Original> |
| 7134 | <Expanded> |
| 7135 | "error: tag alias, "[@zzz]" already registered. |
| 7136 | First seen at file:2 |
| 7137 | Redefined at file:10" contains: "file" |
| 7138 | </Expanded> |
| 7139 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7140 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7141 | <Original> |
| 7142 | what, Contains( "2" ) |
| 7143 | </Original> |
| 7144 | <Expanded> |
| 7145 | "error: tag alias, "[@zzz]" already registered. |
| 7146 | First seen at file:2 |
| 7147 | Redefined at file:10" contains: "2" |
| 7148 | </Expanded> |
| 7149 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7150 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7151 | <Original> |
| 7152 | what, Contains( "10" ) |
| 7153 | </Original> |
| 7154 | <Expanded> |
| 7155 | "error: tag alias, "[@zzz]" already registered. |
| 7156 | First seen at file:2 |
| 7157 | Redefined at file:10" contains: "10" |
| 7158 | </Expanded> |
| 7159 | </Expression> |
| 7160 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 7161 | </Section> |
| 7162 | <Section name="Tag aliases must be of the form [@name]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7163 | <Expression success="true" type="CHECK_THROWS" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7164 | <Original> |
| 7165 | registry.add( "[no ampersat]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7166 | </Original> |
| 7167 | <Expanded> |
| 7168 | registry.add( "[no ampersat]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7169 | </Expanded> |
| 7170 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7171 | <Expression success="true" type="CHECK_THROWS" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7172 | <Original> |
| 7173 | registry.add( "[the @ is not at the start]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7174 | </Original> |
| 7175 | <Expanded> |
| 7176 | registry.add( "[the @ is not at the start]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7177 | </Expanded> |
| 7178 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7179 | <Expression success="true" type="CHECK_THROWS" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7180 | <Original> |
| 7181 | registry.add( "@no square bracket at start]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7182 | </Original> |
| 7183 | <Expanded> |
| 7184 | registry.add( "@no square bracket at start]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7185 | </Expanded> |
| 7186 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7187 | <Expression success="true" type="CHECK_THROWS" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7188 | <Original> |
| 7189 | registry.add( "[@no square bracket at end", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7190 | </Original> |
| 7191 | <Expanded> |
| 7192 | registry.add( "[@no square bracket at end", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7193 | </Expanded> |
| 7194 | </Expression> |
| 7195 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7196 | </Section> |
| 7197 | <OverallResult success="true"/> |
| 7198 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7199 | <TestCase name="Test case with one argument"> |
| 7200 | <OverallResult success="true"/> |
| 7201 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 7202 | <TestCase name="Test enum bit values" tags="[Tricky]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7203 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7204 | <Original> |
| 7205 | 0x<hex digits> == bit30and31 |
| 7206 | </Original> |
| 7207 | <Expanded> |
| 7208 | 3221225472 (0x<hex digits>) == 3221225472 |
| 7209 | </Expanded> |
| 7210 | </Expression> |
| 7211 | <OverallResult success="true"/> |
| 7212 | </TestCase> |
| 7213 | <TestCase name="Text can be formatted using the Text class"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7214 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7215 | <Original> |
| 7216 | Text( "hi there" ).toString() == "hi there" |
| 7217 | </Original> |
| 7218 | <Expanded> |
| 7219 | "hi there" == "hi there" |
| 7220 | </Expanded> |
| 7221 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7222 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7223 | <Original> |
| 7224 | Text( "hi there", narrow ).toString() == "hi\nthere" |
| 7225 | </Original> |
| 7226 | <Expanded> |
| 7227 | "hi |
| 7228 | there" |
| 7229 | == |
| 7230 | "hi |
| 7231 | there" |
| 7232 | </Expanded> |
| 7233 | </Expression> |
| 7234 | <OverallResult success="true"/> |
| 7235 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 7236 | <TestCase name="The NO_FAIL macro reports a failure but does not fail the test" tags="[messages]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7237 | <Expression success="false" type="CHECK_NOFAIL" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7238 | <Original> |
| 7239 | 1 == 2 |
| 7240 | </Original> |
| 7241 | <Expanded> |
| 7242 | 1 == 2 |
| 7243 | </Expanded> |
| 7244 | </Expression> |
| 7245 | <OverallResult success="true"/> |
| 7246 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 7247 | <TestCase name="This test 'should' fail but doesn't" tags="[!shouldfail][.][failing][hide]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7248 | <OverallResult success="false"/> |
| 7249 | </TestCase> |
| 7250 | <TestCase name="Tracker"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7251 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7252 | <Original> |
| 7253 | testCase.isOpen() |
| 7254 | </Original> |
| 7255 | <Expanded> |
| 7256 | true |
| 7257 | </Expanded> |
| 7258 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7259 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7260 | <Original> |
| 7261 | s1.isOpen() |
| 7262 | </Original> |
| 7263 | <Expanded> |
| 7264 | true |
| 7265 | </Expanded> |
| 7266 | </Expression> |
| 7267 | <Section name="successfully close one section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7268 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 7269 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7270 | s1.isSuccessfullyCompleted() |
| 7271 | </Original> |
| 7272 | <Expanded> |
| 7273 | true |
| 7274 | </Expanded> |
| 7275 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7276 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7277 | <Original> |
| 7278 | testCase.isComplete() == false |
| 7279 | </Original> |
| 7280 | <Expanded> |
| 7281 | false == false |
| 7282 | </Expanded> |
| 7283 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7284 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7285 | <Original> |
| 7286 | ctx.completedCycle() |
| 7287 | </Original> |
| 7288 | <Expanded> |
| 7289 | true |
| 7290 | </Expanded> |
| 7291 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7292 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7293 | <Original> |
| 7294 | testCase.isSuccessfullyCompleted() |
| 7295 | </Original> |
| 7296 | <Expanded> |
| 7297 | true |
| 7298 | </Expanded> |
| 7299 | </Expression> |
| 7300 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 7301 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7302 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7303 | <Original> |
| 7304 | testCase.isOpen() |
| 7305 | </Original> |
| 7306 | <Expanded> |
| 7307 | true |
| 7308 | </Expanded> |
| 7309 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7310 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7311 | <Original> |
| 7312 | s1.isOpen() |
| 7313 | </Original> |
| 7314 | <Expanded> |
| 7315 | true |
| 7316 | </Expanded> |
| 7317 | </Expression> |
| 7318 | <Section name="fail one section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7319 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7320 | <Original> |
| 7321 | s1.isComplete() |
| 7322 | </Original> |
| 7323 | <Expanded> |
| 7324 | true |
| 7325 | </Expanded> |
| 7326 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7327 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7328 | <Original> |
| 7329 | s1.isSuccessfullyCompleted() == false |
| 7330 | </Original> |
| 7331 | <Expanded> |
| 7332 | false == false |
| 7333 | </Expanded> |
| 7334 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7335 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7336 | <Original> |
| 7337 | testCase.isComplete() == false |
| 7338 | </Original> |
| 7339 | <Expanded> |
| 7340 | false == false |
| 7341 | </Expanded> |
| 7342 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7343 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7344 | <Original> |
| 7345 | ctx.completedCycle() |
| 7346 | </Original> |
| 7347 | <Expanded> |
| 7348 | true |
| 7349 | </Expanded> |
| 7350 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7351 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7352 | <Original> |
| 7353 | testCase.isSuccessfullyCompleted() == false |
| 7354 | </Original> |
| 7355 | <Expanded> |
| 7356 | false == false |
| 7357 | </Expanded> |
| 7358 | </Expression> |
| 7359 | <Section name="re-enter after failed section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7360 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7361 | <Original> |
| 7362 | testCase2.isOpen() |
| 7363 | </Original> |
| 7364 | <Expanded> |
| 7365 | true |
| 7366 | </Expanded> |
| 7367 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7368 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7369 | <Original> |
| 7370 | s1b.isOpen() == false |
| 7371 | </Original> |
| 7372 | <Expanded> |
| 7373 | false == false |
| 7374 | </Expanded> |
| 7375 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7376 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7377 | <Original> |
| 7378 | ctx.completedCycle() |
| 7379 | </Original> |
| 7380 | <Expanded> |
| 7381 | true |
| 7382 | </Expanded> |
| 7383 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7384 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7385 | <Original> |
| 7386 | testCase.isComplete() |
| 7387 | </Original> |
| 7388 | <Expanded> |
| 7389 | true |
| 7390 | </Expanded> |
| 7391 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7392 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7393 | <Original> |
| 7394 | testCase.isSuccessfullyCompleted() |
| 7395 | </Original> |
| 7396 | <Expanded> |
| 7397 | true |
| 7398 | </Expanded> |
| 7399 | </Expression> |
| 7400 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
| 7401 | </Section> |
| 7402 | <OverallResults successes="10" failures="0" expectedFailures="0"/> |
| 7403 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7404 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7405 | <Original> |
| 7406 | testCase.isOpen() |
| 7407 | </Original> |
| 7408 | <Expanded> |
| 7409 | true |
| 7410 | </Expanded> |
| 7411 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7412 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7413 | <Original> |
| 7414 | s1.isOpen() |
| 7415 | </Original> |
| 7416 | <Expanded> |
| 7417 | true |
| 7418 | </Expanded> |
| 7419 | </Expression> |
| 7420 | <Section name="fail one section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7421 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7422 | <Original> |
| 7423 | s1.isComplete() |
| 7424 | </Original> |
| 7425 | <Expanded> |
| 7426 | true |
| 7427 | </Expanded> |
| 7428 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7429 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7430 | <Original> |
| 7431 | s1.isSuccessfullyCompleted() == false |
| 7432 | </Original> |
| 7433 | <Expanded> |
| 7434 | false == false |
| 7435 | </Expanded> |
| 7436 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7437 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7438 | <Original> |
| 7439 | testCase.isComplete() == false |
| 7440 | </Original> |
| 7441 | <Expanded> |
| 7442 | false == false |
| 7443 | </Expanded> |
| 7444 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7445 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7446 | <Original> |
| 7447 | ctx.completedCycle() |
| 7448 | </Original> |
| 7449 | <Expanded> |
| 7450 | true |
| 7451 | </Expanded> |
| 7452 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7453 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7454 | <Original> |
| 7455 | testCase.isSuccessfullyCompleted() == false |
| 7456 | </Original> |
| 7457 | <Expanded> |
| 7458 | false == false |
| 7459 | </Expanded> |
| 7460 | </Expression> |
| 7461 | <Section name="re-enter after failed section and find next section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7462 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7463 | <Original> |
| 7464 | testCase2.isOpen() |
| 7465 | </Original> |
| 7466 | <Expanded> |
| 7467 | true |
| 7468 | </Expanded> |
| 7469 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7470 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7471 | <Original> |
| 7472 | s1b.isOpen() == false |
| 7473 | </Original> |
| 7474 | <Expanded> |
| 7475 | false == false |
| 7476 | </Expanded> |
| 7477 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7478 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7479 | <Original> |
| 7480 | s2.isOpen() |
| 7481 | </Original> |
| 7482 | <Expanded> |
| 7483 | true |
| 7484 | </Expanded> |
| 7485 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7486 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7487 | <Original> |
| 7488 | ctx.completedCycle() |
| 7489 | </Original> |
| 7490 | <Expanded> |
| 7491 | true |
| 7492 | </Expanded> |
| 7493 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7494 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7495 | <Original> |
| 7496 | testCase.isComplete() |
| 7497 | </Original> |
| 7498 | <Expanded> |
| 7499 | true |
| 7500 | </Expanded> |
| 7501 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7502 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7503 | <Original> |
| 7504 | testCase.isSuccessfullyCompleted() |
| 7505 | </Original> |
| 7506 | <Expanded> |
| 7507 | true |
| 7508 | </Expanded> |
| 7509 | </Expression> |
| 7510 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
| 7511 | </Section> |
| 7512 | <OverallResults successes="11" failures="0" expectedFailures="0"/> |
| 7513 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7514 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7515 | <Original> |
| 7516 | testCase.isOpen() |
| 7517 | </Original> |
| 7518 | <Expanded> |
| 7519 | true |
| 7520 | </Expanded> |
| 7521 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7522 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7523 | <Original> |
| 7524 | s1.isOpen() |
| 7525 | </Original> |
| 7526 | <Expanded> |
| 7527 | true |
| 7528 | </Expanded> |
| 7529 | </Expression> |
| 7530 | <Section name="successfully close one section, then find another"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7531 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7532 | <Original> |
| 7533 | s2.isOpen() == false |
| 7534 | </Original> |
| 7535 | <Expanded> |
| 7536 | false == false |
| 7537 | </Expanded> |
| 7538 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7539 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7540 | <Original> |
| 7541 | testCase.isComplete() == false |
| 7542 | </Original> |
| 7543 | <Expanded> |
| 7544 | false == false |
| 7545 | </Expanded> |
| 7546 | </Expression> |
| 7547 | <Section name="Re-enter - skips S1 and enters S2"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7548 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7549 | <Original> |
| 7550 | testCase2.isOpen() |
| 7551 | </Original> |
| 7552 | <Expanded> |
| 7553 | true |
| 7554 | </Expanded> |
| 7555 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7556 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7557 | <Original> |
| 7558 | s1b.isOpen() == false |
| 7559 | </Original> |
| 7560 | <Expanded> |
| 7561 | false == false |
| 7562 | </Expanded> |
| 7563 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7564 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7565 | <Original> |
| 7566 | s2b.isOpen() |
| 7567 | </Original> |
| 7568 | <Expanded> |
| 7569 | true |
| 7570 | </Expanded> |
| 7571 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7572 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7573 | <Original> |
| 7574 | ctx.completedCycle() == false |
| 7575 | </Original> |
| 7576 | <Expanded> |
| 7577 | false == false |
| 7578 | </Expanded> |
| 7579 | </Expression> |
| 7580 | <Section name="Successfully close S2"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7581 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7582 | <Original> |
| 7583 | ctx.completedCycle() |
| 7584 | </Original> |
| 7585 | <Expanded> |
| 7586 | true |
| 7587 | </Expanded> |
| 7588 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7589 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7590 | <Original> |
| 7591 | s2b.isSuccessfullyCompleted() |
| 7592 | </Original> |
| 7593 | <Expanded> |
| 7594 | true |
| 7595 | </Expanded> |
| 7596 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7597 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7598 | <Original> |
| 7599 | testCase2.isComplete() == false |
| 7600 | </Original> |
| 7601 | <Expanded> |
| 7602 | false == false |
| 7603 | </Expanded> |
| 7604 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7605 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7606 | <Original> |
| 7607 | testCase2.isSuccessfullyCompleted() |
| 7608 | </Original> |
| 7609 | <Expanded> |
| 7610 | true |
| 7611 | </Expanded> |
| 7612 | </Expression> |
| 7613 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 7614 | </Section> |
| 7615 | <OverallResults successes="8" failures="0" expectedFailures="0"/> |
| 7616 | </Section> |
| 7617 | <OverallResults successes="10" failures="0" expectedFailures="0"/> |
| 7618 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7619 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7620 | <Original> |
| 7621 | testCase.isOpen() |
| 7622 | </Original> |
| 7623 | <Expanded> |
| 7624 | true |
| 7625 | </Expanded> |
| 7626 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7627 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7628 | <Original> |
| 7629 | s1.isOpen() |
| 7630 | </Original> |
| 7631 | <Expanded> |
| 7632 | true |
| 7633 | </Expanded> |
| 7634 | </Expression> |
| 7635 | <Section name="successfully close one section, then find another"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7636 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7637 | <Original> |
| 7638 | s2.isOpen() == false |
| 7639 | </Original> |
| 7640 | <Expanded> |
| 7641 | false == false |
| 7642 | </Expanded> |
| 7643 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7644 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7645 | <Original> |
| 7646 | testCase.isComplete() == false |
| 7647 | </Original> |
| 7648 | <Expanded> |
| 7649 | false == false |
| 7650 | </Expanded> |
| 7651 | </Expression> |
| 7652 | <Section name="Re-enter - skips S1 and enters S2"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7653 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7654 | <Original> |
| 7655 | testCase2.isOpen() |
| 7656 | </Original> |
| 7657 | <Expanded> |
| 7658 | true |
| 7659 | </Expanded> |
| 7660 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7661 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7662 | <Original> |
| 7663 | s1b.isOpen() == false |
| 7664 | </Original> |
| 7665 | <Expanded> |
| 7666 | false == false |
| 7667 | </Expanded> |
| 7668 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7669 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7670 | <Original> |
| 7671 | s2b.isOpen() |
| 7672 | </Original> |
| 7673 | <Expanded> |
| 7674 | true |
| 7675 | </Expanded> |
| 7676 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7677 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7678 | <Original> |
| 7679 | ctx.completedCycle() == false |
| 7680 | </Original> |
| 7681 | <Expanded> |
| 7682 | false == false |
| 7683 | </Expanded> |
| 7684 | </Expression> |
| 7685 | <Section name="fail S2"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7686 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7687 | <Original> |
| 7688 | ctx.completedCycle() |
| 7689 | </Original> |
| 7690 | <Expanded> |
| 7691 | true |
| 7692 | </Expanded> |
| 7693 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7694 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7695 | <Original> |
| 7696 | s2b.isComplete() |
| 7697 | </Original> |
| 7698 | <Expanded> |
| 7699 | true |
| 7700 | </Expanded> |
| 7701 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7702 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7703 | <Original> |
| 7704 | s2b.isSuccessfullyCompleted() == false |
| 7705 | </Original> |
| 7706 | <Expanded> |
| 7707 | false == false |
| 7708 | </Expanded> |
| 7709 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7710 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7711 | <Original> |
| 7712 | testCase2.isSuccessfullyCompleted() == false |
| 7713 | </Original> |
| 7714 | <Expanded> |
| 7715 | false == false |
| 7716 | </Expanded> |
| 7717 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7718 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7719 | <Original> |
| 7720 | testCase3.isOpen() |
| 7721 | </Original> |
| 7722 | <Expanded> |
| 7723 | true |
| 7724 | </Expanded> |
| 7725 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7726 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7727 | <Original> |
| 7728 | s1c.isOpen() == false |
| 7729 | </Original> |
| 7730 | <Expanded> |
| 7731 | false == false |
| 7732 | </Expanded> |
| 7733 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7734 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7735 | <Original> |
| 7736 | s2c.isOpen() == false |
| 7737 | </Original> |
| 7738 | <Expanded> |
| 7739 | false == false |
| 7740 | </Expanded> |
| 7741 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7742 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7743 | <Original> |
| 7744 | testCase3.isSuccessfullyCompleted() |
| 7745 | </Original> |
| 7746 | <Expanded> |
| 7747 | true |
| 7748 | </Expanded> |
| 7749 | </Expression> |
| 7750 | <OverallResults successes="8" failures="0" expectedFailures="0"/> |
| 7751 | </Section> |
| 7752 | <OverallResults successes="12" failures="0" expectedFailures="0"/> |
| 7753 | </Section> |
| 7754 | <OverallResults successes="14" failures="0" expectedFailures="0"/> |
| 7755 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7756 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7757 | <Original> |
| 7758 | testCase.isOpen() |
| 7759 | </Original> |
| 7760 | <Expanded> |
| 7761 | true |
| 7762 | </Expanded> |
| 7763 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7764 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7765 | <Original> |
| 7766 | s1.isOpen() |
| 7767 | </Original> |
| 7768 | <Expanded> |
| 7769 | true |
| 7770 | </Expanded> |
| 7771 | </Expression> |
| 7772 | <Section name="open a nested section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7773 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7774 | <Original> |
| 7775 | s2.isOpen() |
| 7776 | </Original> |
| 7777 | <Expanded> |
| 7778 | true |
| 7779 | </Expanded> |
| 7780 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7781 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7782 | <Original> |
| 7783 | s2.isComplete() |
| 7784 | </Original> |
| 7785 | <Expanded> |
| 7786 | true |
| 7787 | </Expanded> |
| 7788 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7789 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7790 | <Original> |
| 7791 | s1.isComplete() == false |
| 7792 | </Original> |
| 7793 | <Expanded> |
| 7794 | false == false |
| 7795 | </Expanded> |
| 7796 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7797 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7798 | <Original> |
| 7799 | s1.isComplete() |
| 7800 | </Original> |
| 7801 | <Expanded> |
| 7802 | true |
| 7803 | </Expanded> |
| 7804 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7805 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7806 | <Original> |
| 7807 | testCase.isComplete() == false |
| 7808 | </Original> |
| 7809 | <Expanded> |
| 7810 | false == false |
| 7811 | </Expanded> |
| 7812 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7813 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7814 | <Original> |
| 7815 | testCase.isComplete() |
| 7816 | </Original> |
| 7817 | <Expanded> |
| 7818 | true |
| 7819 | </Expanded> |
| 7820 | </Expression> |
| 7821 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
| 7822 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7823 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7824 | <Original> |
| 7825 | testCase.isOpen() |
| 7826 | </Original> |
| 7827 | <Expanded> |
| 7828 | true |
| 7829 | </Expanded> |
| 7830 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7831 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7832 | <Original> |
| 7833 | s1.isOpen() |
| 7834 | </Original> |
| 7835 | <Expanded> |
| 7836 | true |
| 7837 | </Expanded> |
| 7838 | </Expression> |
| 7839 | <Section name="start a generator"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7840 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7841 | <Original> |
| 7842 | g1.isOpen() |
| 7843 | </Original> |
| 7844 | <Expanded> |
| 7845 | true |
| 7846 | </Expanded> |
| 7847 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7848 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7849 | <Original> |
| 7850 | g1.index() == 0 |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 7851 | </Original> |
| 7852 | <Expanded> |
| 7853 | 0 == 0 |
| 7854 | </Expanded> |
| 7855 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7856 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7857 | <Original> |
| 7858 | g1.isComplete() == false |
| 7859 | </Original> |
| 7860 | <Expanded> |
| 7861 | false == false |
| 7862 | </Expanded> |
| 7863 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7864 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7865 | <Original> |
| 7866 | s1.isComplete() == false |
| 7867 | </Original> |
| 7868 | <Expanded> |
| 7869 | false == false |
| 7870 | </Expanded> |
| 7871 | </Expression> |
| 7872 | <Section name="close outer section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7873 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7874 | <Original> |
| 7875 | s1.isComplete() == false |
| 7876 | </Original> |
| 7877 | <Expanded> |
| 7878 | false == false |
| 7879 | </Expanded> |
| 7880 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7881 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7882 | <Original> |
| 7883 | testCase.isSuccessfullyCompleted() == false |
| 7884 | </Original> |
| 7885 | <Expanded> |
| 7886 | false == false |
| 7887 | </Expanded> |
| 7888 | </Expression> |
| 7889 | <Section name="Re-enter for second generation"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7890 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 7891 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7892 | testCase2.isOpen() |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 7893 | </Original> |
| 7894 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7895 | true |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 7896 | </Expanded> |
| 7897 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7898 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7899 | <Original> |
| 7900 | s1b.isOpen() |
| 7901 | </Original> |
| 7902 | <Expanded> |
| 7903 | true |
| 7904 | </Expanded> |
| 7905 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7906 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7907 | <Original> |
| 7908 | g1b.isOpen() |
| 7909 | </Original> |
| 7910 | <Expanded> |
| 7911 | true |
| 7912 | </Expanded> |
| 7913 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7914 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7915 | <Original> |
| 7916 | g1b.index() == 1 |
| 7917 | </Original> |
| 7918 | <Expanded> |
| 7919 | 1 == 1 |
| 7920 | </Expanded> |
| 7921 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7922 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7923 | <Original> |
| 7924 | s1.isComplete() == false |
| 7925 | </Original> |
| 7926 | <Expanded> |
| 7927 | false == false |
| 7928 | </Expanded> |
| 7929 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7930 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7931 | <Original> |
| 7932 | s1b.isComplete() |
| 7933 | </Original> |
| 7934 | <Expanded> |
| 7935 | true |
| 7936 | </Expanded> |
| 7937 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7938 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7939 | <Original> |
| 7940 | g1b.isComplete() |
| 7941 | </Original> |
| 7942 | <Expanded> |
| 7943 | true |
| 7944 | </Expanded> |
| 7945 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7946 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7947 | <Original> |
| 7948 | testCase2.isComplete() |
| 7949 | </Original> |
| 7950 | <Expanded> |
| 7951 | true |
| 7952 | </Expanded> |
| 7953 | </Expression> |
| 7954 | <OverallResults successes="8" failures="0" expectedFailures="0"/> |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 7955 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7956 | <OverallResults successes="10" failures="0" expectedFailures="0"/> |
| 7957 | </Section> |
| 7958 | <OverallResults successes="14" failures="0" expectedFailures="0"/> |
| 7959 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7960 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7961 | <Original> |
| 7962 | testCase.isOpen() |
| 7963 | </Original> |
| 7964 | <Expanded> |
| 7965 | true |
| 7966 | </Expanded> |
| 7967 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7968 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7969 | <Original> |
| 7970 | s1.isOpen() |
| 7971 | </Original> |
| 7972 | <Expanded> |
| 7973 | true |
| 7974 | </Expanded> |
| 7975 | </Expression> |
| 7976 | <Section name="start a generator"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7977 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7978 | <Original> |
| 7979 | g1.isOpen() |
| 7980 | </Original> |
| 7981 | <Expanded> |
| 7982 | true |
| 7983 | </Expanded> |
| 7984 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7985 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7986 | <Original> |
| 7987 | g1.index() == 0 |
| 7988 | </Original> |
| 7989 | <Expanded> |
| 7990 | 0 == 0 |
| 7991 | </Expanded> |
| 7992 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7993 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7994 | <Original> |
| 7995 | g1.isComplete() == false |
| 7996 | </Original> |
| 7997 | <Expanded> |
| 7998 | false == false |
| 7999 | </Expanded> |
| 8000 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8001 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8002 | <Original> |
| 8003 | s1.isComplete() == false |
| 8004 | </Original> |
| 8005 | <Expanded> |
| 8006 | false == false |
| 8007 | </Expanded> |
| 8008 | </Expression> |
| 8009 | <Section name="Start a new inner section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8010 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8011 | <Original> |
| 8012 | s2.isOpen() |
| 8013 | </Original> |
| 8014 | <Expanded> |
| 8015 | true |
| 8016 | </Expanded> |
| 8017 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8018 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8019 | <Original> |
| 8020 | s2.isComplete() |
| 8021 | </Original> |
| 8022 | <Expanded> |
| 8023 | true |
| 8024 | </Expanded> |
| 8025 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8026 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8027 | <Original> |
| 8028 | s1.isComplete() == false |
| 8029 | </Original> |
| 8030 | <Expanded> |
| 8031 | false == false |
| 8032 | </Expanded> |
| 8033 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8034 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8035 | <Original> |
| 8036 | testCase.isComplete() == false |
| 8037 | </Original> |
| 8038 | <Expanded> |
| 8039 | false == false |
| 8040 | </Expanded> |
| 8041 | </Expression> |
| 8042 | <Section name="Re-enter for second generation"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8043 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8044 | <Original> |
| 8045 | testCase2.isOpen() |
| 8046 | </Original> |
| 8047 | <Expanded> |
| 8048 | true |
| 8049 | </Expanded> |
| 8050 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8051 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8052 | <Original> |
| 8053 | s1b.isOpen() |
| 8054 | </Original> |
| 8055 | <Expanded> |
| 8056 | true |
| 8057 | </Expanded> |
| 8058 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8059 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8060 | <Original> |
| 8061 | g1b.isOpen() |
| 8062 | </Original> |
| 8063 | <Expanded> |
| 8064 | true |
| 8065 | </Expanded> |
| 8066 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8067 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8068 | <Original> |
| 8069 | g1b.index() == 1 |
| 8070 | </Original> |
| 8071 | <Expanded> |
| 8072 | 1 == 1 |
| 8073 | </Expanded> |
| 8074 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8075 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8076 | <Original> |
| 8077 | s2b.isOpen() |
| 8078 | </Original> |
| 8079 | <Expanded> |
| 8080 | true |
| 8081 | </Expanded> |
| 8082 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8083 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8084 | <Original> |
| 8085 | s2b.isComplete() |
| 8086 | </Original> |
| 8087 | <Expanded> |
| 8088 | true |
| 8089 | </Expanded> |
| 8090 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8091 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8092 | <Original> |
| 8093 | g1b.isComplete() |
| 8094 | </Original> |
| 8095 | <Expanded> |
| 8096 | true |
| 8097 | </Expanded> |
| 8098 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8099 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8100 | <Original> |
| 8101 | s1b.isComplete() |
| 8102 | </Original> |
| 8103 | <Expanded> |
| 8104 | true |
| 8105 | </Expanded> |
| 8106 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8107 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8108 | <Original> |
| 8109 | testCase2.isComplete() |
| 8110 | </Original> |
| 8111 | <Expanded> |
| 8112 | true |
| 8113 | </Expanded> |
| 8114 | </Expression> |
| 8115 | <OverallResults successes="9" failures="0" expectedFailures="0"/> |
| 8116 | </Section> |
| 8117 | <OverallResults successes="13" failures="0" expectedFailures="0"/> |
| 8118 | </Section> |
| 8119 | <OverallResults successes="17" failures="0" expectedFailures="0"/> |
| 8120 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8121 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8122 | <Original> |
| 8123 | testCase.isOpen() |
| 8124 | </Original> |
| 8125 | <Expanded> |
| 8126 | true |
| 8127 | </Expanded> |
| 8128 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8129 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8130 | <Original> |
| 8131 | s1.isOpen() |
| 8132 | </Original> |
| 8133 | <Expanded> |
| 8134 | true |
| 8135 | </Expanded> |
| 8136 | </Expression> |
| 8137 | <Section name="start a generator"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8138 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8139 | <Original> |
| 8140 | g1.isOpen() |
| 8141 | </Original> |
| 8142 | <Expanded> |
| 8143 | true |
| 8144 | </Expanded> |
| 8145 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8146 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8147 | <Original> |
| 8148 | g1.index() == 0 |
| 8149 | </Original> |
| 8150 | <Expanded> |
| 8151 | 0 == 0 |
| 8152 | </Expanded> |
| 8153 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8154 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8155 | <Original> |
| 8156 | g1.isComplete() == false |
| 8157 | </Original> |
| 8158 | <Expanded> |
| 8159 | false == false |
| 8160 | </Expanded> |
| 8161 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8162 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8163 | <Original> |
| 8164 | s1.isComplete() == false |
| 8165 | </Original> |
| 8166 | <Expanded> |
| 8167 | false == false |
| 8168 | </Expanded> |
| 8169 | </Expression> |
| 8170 | <Section name="Fail an inner section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8171 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8172 | <Original> |
| 8173 | s2.isOpen() |
| 8174 | </Original> |
| 8175 | <Expanded> |
| 8176 | true |
| 8177 | </Expanded> |
| 8178 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8179 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8180 | <Original> |
| 8181 | s2.isComplete() |
| 8182 | </Original> |
| 8183 | <Expanded> |
| 8184 | true |
| 8185 | </Expanded> |
| 8186 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8187 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8188 | <Original> |
| 8189 | s2.isSuccessfullyCompleted() == false |
| 8190 | </Original> |
| 8191 | <Expanded> |
| 8192 | false == false |
| 8193 | </Expanded> |
| 8194 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8195 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8196 | <Original> |
| 8197 | s1.isComplete() == false |
| 8198 | </Original> |
| 8199 | <Expanded> |
| 8200 | false == false |
| 8201 | </Expanded> |
| 8202 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8203 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8204 | <Original> |
| 8205 | testCase.isComplete() == false |
| 8206 | </Original> |
| 8207 | <Expanded> |
| 8208 | false == false |
| 8209 | </Expanded> |
| 8210 | </Expression> |
| 8211 | <Section name="Re-enter for second generation"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8212 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8213 | <Original> |
| 8214 | testCase2.isOpen() |
| 8215 | </Original> |
| 8216 | <Expanded> |
| 8217 | true |
| 8218 | </Expanded> |
| 8219 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8220 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8221 | <Original> |
| 8222 | s1b.isOpen() |
| 8223 | </Original> |
| 8224 | <Expanded> |
| 8225 | true |
| 8226 | </Expanded> |
| 8227 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8228 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8229 | <Original> |
| 8230 | g1b.isOpen() |
| 8231 | </Original> |
| 8232 | <Expanded> |
| 8233 | true |
| 8234 | </Expanded> |
| 8235 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8236 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8237 | <Original> |
| 8238 | g1b.index() == 0 |
| 8239 | </Original> |
| 8240 | <Expanded> |
| 8241 | 0 == 0 |
| 8242 | </Expanded> |
| 8243 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8244 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8245 | <Original> |
| 8246 | s2b.isOpen() == false |
| 8247 | </Original> |
| 8248 | <Expanded> |
| 8249 | false == false |
| 8250 | </Expanded> |
| 8251 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8252 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8253 | <Original> |
| 8254 | g1b.isComplete() == false |
| 8255 | </Original> |
| 8256 | <Expanded> |
| 8257 | false == false |
| 8258 | </Expanded> |
| 8259 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8260 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8261 | <Original> |
| 8262 | s1b.isComplete() == false |
| 8263 | </Original> |
| 8264 | <Expanded> |
| 8265 | false == false |
| 8266 | </Expanded> |
| 8267 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8268 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8269 | <Original> |
| 8270 | testCase2.isComplete() == false |
| 8271 | </Original> |
| 8272 | <Expanded> |
| 8273 | false == false |
| 8274 | </Expanded> |
| 8275 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8276 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8277 | <Original> |
| 8278 | testCase3.isOpen() |
| 8279 | </Original> |
| 8280 | <Expanded> |
| 8281 | true |
| 8282 | </Expanded> |
| 8283 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8284 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8285 | <Original> |
| 8286 | s1c.isOpen() |
| 8287 | </Original> |
| 8288 | <Expanded> |
| 8289 | true |
| 8290 | </Expanded> |
| 8291 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8292 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8293 | <Original> |
| 8294 | g1c.isOpen() |
| 8295 | </Original> |
| 8296 | <Expanded> |
| 8297 | true |
| 8298 | </Expanded> |
| 8299 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8300 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8301 | <Original> |
| 8302 | g1c.index() == 1 |
| 8303 | </Original> |
| 8304 | <Expanded> |
| 8305 | 1 == 1 |
| 8306 | </Expanded> |
| 8307 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8308 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8309 | <Original> |
| 8310 | s2c.isOpen() |
| 8311 | </Original> |
| 8312 | <Expanded> |
| 8313 | true |
| 8314 | </Expanded> |
| 8315 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8316 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8317 | <Original> |
| 8318 | s2c.isComplete() |
| 8319 | </Original> |
| 8320 | <Expanded> |
| 8321 | true |
| 8322 | </Expanded> |
| 8323 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8324 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8325 | <Original> |
| 8326 | g1c.isComplete() |
| 8327 | </Original> |
| 8328 | <Expanded> |
| 8329 | true |
| 8330 | </Expanded> |
| 8331 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8332 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8333 | <Original> |
| 8334 | s1c.isComplete() |
| 8335 | </Original> |
| 8336 | <Expanded> |
| 8337 | true |
| 8338 | </Expanded> |
| 8339 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8340 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8341 | <Original> |
| 8342 | testCase3.isComplete() |
| 8343 | </Original> |
| 8344 | <Expanded> |
| 8345 | true |
| 8346 | </Expanded> |
| 8347 | </Expression> |
| 8348 | <OverallResults successes="17" failures="0" expectedFailures="0"/> |
| 8349 | </Section> |
| 8350 | <OverallResults successes="22" failures="0" expectedFailures="0"/> |
| 8351 | </Section> |
| 8352 | <OverallResults successes="26" failures="0" expectedFailures="0"/> |
| 8353 | </Section> |
| 8354 | <OverallResult success="true"/> |
| 8355 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8356 | <TestCase name="Unexpected exceptions can be translated" tags="[!throws][.][failing][hide]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8357 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8358 | 3.14 |
| 8359 | </Exception> |
| 8360 | <OverallResult success="false"/> |
| 8361 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8362 | <TestCase name="Use a custom approx" tags="[Approx][custom]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8363 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8364 | <Original> |
| 8365 | d == approx( 1.23 ) |
| 8366 | </Original> |
| 8367 | <Expanded> |
| 8368 | 1.23 == Approx( 1.23 ) |
| 8369 | </Expanded> |
| 8370 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8371 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8372 | <Original> |
| 8373 | d == approx( 1.22 ) |
| 8374 | </Original> |
| 8375 | <Expanded> |
| 8376 | 1.23 == Approx( 1.22 ) |
| 8377 | </Expanded> |
| 8378 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8379 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8380 | <Original> |
| 8381 | d == approx( 1.24 ) |
| 8382 | </Original> |
| 8383 | <Expanded> |
| 8384 | 1.23 == Approx( 1.24 ) |
| 8385 | </Expanded> |
| 8386 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8387 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8388 | <Original> |
| 8389 | d != approx( 1.25 ) |
| 8390 | </Original> |
| 8391 | <Expanded> |
| 8392 | 1.23 != Approx( 1.25 ) |
| 8393 | </Expanded> |
| 8394 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8395 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8396 | <Original> |
| 8397 | approx( d ) == 1.23 |
| 8398 | </Original> |
| 8399 | <Expanded> |
| 8400 | Approx( 1.23 ) == 1.23 |
| 8401 | </Expanded> |
| 8402 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8403 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8404 | <Original> |
| 8405 | approx( d ) == 1.22 |
| 8406 | </Original> |
| 8407 | <Expanded> |
| 8408 | Approx( 1.23 ) == 1.22 |
| 8409 | </Expanded> |
| 8410 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8411 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8412 | <Original> |
| 8413 | approx( d ) == 1.24 |
| 8414 | </Original> |
| 8415 | <Expanded> |
| 8416 | Approx( 1.23 ) == 1.24 |
| 8417 | </Expanded> |
| 8418 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8419 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8420 | <Original> |
| 8421 | approx( d ) != 1.25 |
| 8422 | </Original> |
| 8423 | <Expanded> |
| 8424 | Approx( 1.23 ) != 1.25 |
| 8425 | </Expanded> |
| 8426 | </Expression> |
| 8427 | <OverallResult success="true"/> |
| 8428 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8429 | <TestCase name="Variadic macros" tags="[sections][variadic]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8430 | <Section name="Section with one argument"> |
| 8431 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8432 | </Section> |
| 8433 | <OverallResult success="true"/> |
| 8434 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8435 | <TestCase name="When checked exceptions are thrown they can be expected or unexpected" tags="[!throws]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8436 | <Expression success="true" type="REQUIRE_THROWS_AS" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8437 | <Original> |
Martin Hořeňovský | 9952dda | 2017-02-09 12:41:16 +0100 | [diff] [blame] | 8438 | thisThrows(), std::domain_error |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8439 | </Original> |
| 8440 | <Expanded> |
Martin Hořeňovský | 9952dda | 2017-02-09 12:41:16 +0100 | [diff] [blame] | 8441 | thisThrows(), std::domain_error |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8442 | </Expanded> |
| 8443 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8444 | <Expression success="true" type="REQUIRE_NOTHROW" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8445 | <Original> |
| 8446 | thisDoesntThrow() |
| 8447 | </Original> |
| 8448 | <Expanded> |
| 8449 | thisDoesntThrow() |
| 8450 | </Expanded> |
| 8451 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8452 | <Expression success="true" type="REQUIRE_THROWS" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8453 | <Original> |
| 8454 | thisThrows() |
| 8455 | </Original> |
| 8456 | <Expanded> |
| 8457 | thisThrows() |
| 8458 | </Expanded> |
| 8459 | </Expression> |
| 8460 | <OverallResult success="true"/> |
| 8461 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8462 | <TestCase name="When unchecked exceptions are thrown directly they are always failures" tags="[!throws][.][failing][hide]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8463 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8464 | unexpected exception |
| 8465 | </Exception> |
| 8466 | <OverallResult success="false"/> |
| 8467 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8468 | <TestCase name="When unchecked exceptions are thrown during a CHECK the test should continue" tags="[!throws][.][failing][hide]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8469 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8470 | <Original> |
| 8471 | thisThrows() == 0 |
| 8472 | </Original> |
| 8473 | <Expanded> |
| 8474 | thisThrows() == 0 |
| 8475 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8476 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8477 | expected exception |
| 8478 | </Exception> |
| 8479 | </Expression> |
| 8480 | <OverallResult success="false"/> |
| 8481 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8482 | <TestCase name="When unchecked exceptions are thrown during a REQUIRE the test should abort fail" tags="[!throws][.][failing][hide]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8483 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8484 | <Original> |
| 8485 | thisThrows() == 0 |
| 8486 | </Original> |
| 8487 | <Expanded> |
| 8488 | thisThrows() == 0 |
| 8489 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8490 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8491 | expected exception |
| 8492 | </Exception> |
| 8493 | </Expression> |
| 8494 | <OverallResult success="false"/> |
| 8495 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8496 | <TestCase name="When unchecked exceptions are thrown from functions they are always failures" tags="[!throws][.][failing][hide]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8497 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8498 | <Original> |
| 8499 | thisThrows() == 0 |
| 8500 | </Original> |
| 8501 | <Expanded> |
| 8502 | thisThrows() == 0 |
| 8503 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8504 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8505 | expected exception |
| 8506 | </Exception> |
| 8507 | </Expression> |
| 8508 | <OverallResult success="false"/> |
| 8509 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8510 | <TestCase name="When unchecked exceptions are thrown from sections they are always failures" tags="[!throws][.][failing][hide]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8511 | <Section name="section name"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8512 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8513 | unexpected exception |
| 8514 | </Exception> |
| 8515 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 8516 | </Section> |
| 8517 | <OverallResult success="false"/> |
| 8518 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8519 | <TestCase name="When unchecked exceptions are thrown, but caught, they do not affect the test" tags="[!throws]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8520 | <OverallResult success="true"/> |
| 8521 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8522 | <TestCase name="Where the LHS is not a simple value" tags="[.][Tricky][failing][hide]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8523 | <Warning> |
| 8524 | Uncomment the code in this test to check that it gives a sensible compiler error |
| 8525 | </Warning> |
| 8526 | <OverallResult success="true"/> |
| 8527 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8528 | <TestCase name="Where there is more to the expression after the RHS" tags="[.][Tricky][failing][hide]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8529 | <Warning> |
| 8530 | Uncomment the code in this test to check that it gives a sensible compiler error |
| 8531 | </Warning> |
| 8532 | <OverallResult success="true"/> |
| 8533 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8534 | <TestCase name="X/level/0/a" tags="[Tricky]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8535 | <OverallResult success="true"/> |
| 8536 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8537 | <TestCase name="X/level/0/b" tags="[Tricky][fizz]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8538 | <OverallResult success="true"/> |
| 8539 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8540 | <TestCase name="X/level/1/a" tags="[Tricky]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8541 | <OverallResult success="true"/> |
| 8542 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8543 | <TestCase name="X/level/1/b" tags="[Tricky]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8544 | <OverallResult success="true"/> |
| 8545 | </TestCase> |
| 8546 | <TestCase name="XmlEncode"> |
| 8547 | <Section name="normal string"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8548 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8549 | <Original> |
| 8550 | encode( "normal string" ) == "normal string" |
| 8551 | </Original> |
| 8552 | <Expanded> |
| 8553 | "normal string" == "normal string" |
| 8554 | </Expanded> |
| 8555 | </Expression> |
| 8556 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8557 | </Section> |
| 8558 | <Section name="empty string"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8559 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8560 | <Original> |
| 8561 | encode( "" ) == "" |
| 8562 | </Original> |
| 8563 | <Expanded> |
| 8564 | "" == "" |
| 8565 | </Expanded> |
| 8566 | </Expression> |
| 8567 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8568 | </Section> |
| 8569 | <Section name="string with ampersand"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8570 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8571 | <Original> |
| 8572 | encode( "smith & jones" ) == "smith &amp; jones" |
| 8573 | </Original> |
| 8574 | <Expanded> |
| 8575 | "smith &amp; jones" == "smith &amp; jones" |
| 8576 | </Expanded> |
| 8577 | </Expression> |
| 8578 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8579 | </Section> |
| 8580 | <Section name="string with less-than"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8581 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8582 | <Original> |
| 8583 | encode( "smith < jones" ) == "smith &lt; jones" |
| 8584 | </Original> |
| 8585 | <Expanded> |
| 8586 | "smith &lt; jones" == "smith &lt; jones" |
| 8587 | </Expanded> |
| 8588 | </Expression> |
| 8589 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8590 | </Section> |
| 8591 | <Section name="string with greater-than"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8592 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8593 | <Original> |
| 8594 | encode( "smith > jones" ) == "smith > jones" |
| 8595 | </Original> |
| 8596 | <Expanded> |
| 8597 | "smith > jones" == "smith > jones" |
| 8598 | </Expanded> |
| 8599 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8600 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8601 | <Original> |
| 8602 | encode( "smith ]]> jones" ) == "smith ]]&gt; jones" |
| 8603 | </Original> |
| 8604 | <Expanded> |
| 8605 | "smith ]]&gt; jones" |
| 8606 | == |
| 8607 | "smith ]]&gt; jones" |
| 8608 | </Expanded> |
| 8609 | </Expression> |
| 8610 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 8611 | </Section> |
| 8612 | <Section name="string with quotes"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8613 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8614 | <Original> |
| 8615 | encode( stringWithQuotes ) == stringWithQuotes |
| 8616 | </Original> |
| 8617 | <Expanded> |
| 8618 | "don't "quote" me on that" |
| 8619 | == |
| 8620 | "don't "quote" me on that" |
| 8621 | </Expanded> |
| 8622 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8623 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8624 | <Original> |
| 8625 | encode( stringWithQuotes, Catch::XmlEncode::ForAttributes ) == "don't &quot;quote&quot; me on that" |
| 8626 | </Original> |
| 8627 | <Expanded> |
| 8628 | "don't &quot;quote&quot; me on that" |
| 8629 | == |
| 8630 | "don't &quot;quote&quot; me on that" |
| 8631 | </Expanded> |
| 8632 | </Expression> |
| 8633 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 8634 | </Section> |
Phil Nash | 197bf07 | 2017-02-06 16:25:09 +0000 | [diff] [blame] | 8635 | <Section name="string with control char (1)"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8636 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8637 | <Original> |
Phil Nash | 1f271c9 | 2017-02-06 16:00:05 +0000 | [diff] [blame] | 8638 | encode( "[\x01]" ) == "[\\x01]" |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8639 | </Original> |
| 8640 | <Expanded> |
Phil Nash | 1f271c9 | 2017-02-06 16:00:05 +0000 | [diff] [blame] | 8641 | "[\x01]" == "[\x01]" |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8642 | </Expanded> |
| 8643 | </Expression> |
| 8644 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8645 | </Section> |
Phil Nash | 197bf07 | 2017-02-06 16:25:09 +0000 | [diff] [blame] | 8646 | <Section name="string with control char (x7F)"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8647 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8648 | <Original> |
Phil Nash | 1f271c9 | 2017-02-06 16:00:05 +0000 | [diff] [blame] | 8649 | encode( "[\x7F]" ) == "[\\x7F]" |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8650 | </Original> |
| 8651 | <Expanded> |
Phil Nash | 1f271c9 | 2017-02-06 16:00:05 +0000 | [diff] [blame] | 8652 | "[\x7F]" == "[\x7F]" |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8653 | </Expanded> |
| 8654 | </Expression> |
| 8655 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8656 | </Section> |
| 8657 | <OverallResult success="true"/> |
| 8658 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8659 | <TestCase name="atomic if" tags="[0][failing]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8660 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8661 | <Original> |
| 8662 | x == 0 |
| 8663 | </Original> |
| 8664 | <Expanded> |
| 8665 | 0 == 0 |
| 8666 | </Expanded> |
| 8667 | </Expression> |
| 8668 | <OverallResult success="true"/> |
| 8669 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8670 | <TestCase name="boolean member" tags="[Tricky]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8671 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8672 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 8673 | obj.prop != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8674 | </Original> |
| 8675 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 8676 | 0x<hex digits> != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8677 | </Expanded> |
| 8678 | </Expression> |
| 8679 | <OverallResult success="true"/> |
| 8680 | </TestCase> |
| 8681 | <TestCase name="checkedElse"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8682 | <Expression success="true" type="CHECKED_ELSE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8683 | <Original> |
| 8684 | flag |
| 8685 | </Original> |
| 8686 | <Expanded> |
| 8687 | true |
| 8688 | </Expanded> |
| 8689 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8690 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8691 | <Original> |
| 8692 | testCheckedElse( true ) |
| 8693 | </Original> |
| 8694 | <Expanded> |
| 8695 | true |
| 8696 | </Expanded> |
| 8697 | </Expression> |
| 8698 | <OverallResult success="true"/> |
| 8699 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8700 | <TestCase name="checkedElse, failing" tags="[.][failing][hide]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8701 | <Expression success="false" type="CHECKED_ELSE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8702 | <Original> |
| 8703 | flag |
| 8704 | </Original> |
| 8705 | <Expanded> |
| 8706 | false |
| 8707 | </Expanded> |
| 8708 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8709 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8710 | <Original> |
| 8711 | testCheckedElse( false ) |
| 8712 | </Original> |
| 8713 | <Expanded> |
| 8714 | false |
| 8715 | </Expanded> |
| 8716 | </Expression> |
| 8717 | <OverallResult success="false"/> |
| 8718 | </TestCase> |
| 8719 | <TestCase name="checkedIf"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8720 | <Expression success="true" type="CHECKED_IF" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8721 | <Original> |
| 8722 | flag |
| 8723 | </Original> |
| 8724 | <Expanded> |
| 8725 | true |
| 8726 | </Expanded> |
| 8727 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8728 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8729 | <Original> |
| 8730 | testCheckedIf( true ) |
| 8731 | </Original> |
| 8732 | <Expanded> |
| 8733 | true |
| 8734 | </Expanded> |
| 8735 | </Expression> |
| 8736 | <OverallResult success="true"/> |
| 8737 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8738 | <TestCase name="checkedIf, failing" tags="[.][failing][hide]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8739 | <Expression success="false" type="CHECKED_IF" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8740 | <Original> |
| 8741 | flag |
| 8742 | </Original> |
| 8743 | <Expanded> |
| 8744 | false |
| 8745 | </Expanded> |
| 8746 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8747 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8748 | <Original> |
| 8749 | testCheckedIf( false ) |
| 8750 | </Original> |
| 8751 | <Expanded> |
| 8752 | false |
| 8753 | </Expanded> |
| 8754 | </Expression> |
| 8755 | <OverallResult success="false"/> |
| 8756 | </TestCase> |
| 8757 | <TestCase name="comparisons between const int variables"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8758 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8759 | <Original> |
| 8760 | unsigned_char_var == 1 |
| 8761 | </Original> |
| 8762 | <Expanded> |
| 8763 | 1 == 1 |
| 8764 | </Expanded> |
| 8765 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8766 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8767 | <Original> |
| 8768 | unsigned_short_var == 1 |
| 8769 | </Original> |
| 8770 | <Expanded> |
| 8771 | 1 == 1 |
| 8772 | </Expanded> |
| 8773 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8774 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8775 | <Original> |
| 8776 | unsigned_int_var == 1 |
| 8777 | </Original> |
| 8778 | <Expanded> |
| 8779 | 1 == 1 |
| 8780 | </Expanded> |
| 8781 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8782 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8783 | <Original> |
| 8784 | unsigned_long_var == 1 |
| 8785 | </Original> |
| 8786 | <Expanded> |
| 8787 | 1 == 1 |
| 8788 | </Expanded> |
| 8789 | </Expression> |
| 8790 | <OverallResult success="true"/> |
| 8791 | </TestCase> |
| 8792 | <TestCase name="comparisons between int variables"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8793 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8794 | <Original> |
| 8795 | long_var == unsigned_char_var |
| 8796 | </Original> |
| 8797 | <Expanded> |
| 8798 | 1 == 1 |
| 8799 | </Expanded> |
| 8800 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8801 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8802 | <Original> |
| 8803 | long_var == unsigned_short_var |
| 8804 | </Original> |
| 8805 | <Expanded> |
| 8806 | 1 == 1 |
| 8807 | </Expanded> |
| 8808 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8809 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8810 | <Original> |
| 8811 | long_var == unsigned_int_var |
| 8812 | </Original> |
| 8813 | <Expanded> |
| 8814 | 1 == 1 |
| 8815 | </Expanded> |
| 8816 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8817 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8818 | <Original> |
| 8819 | long_var == unsigned_long_var |
| 8820 | </Original> |
| 8821 | <Expanded> |
| 8822 | 1 == 1 |
| 8823 | </Expanded> |
| 8824 | </Expression> |
| 8825 | <OverallResult success="true"/> |
| 8826 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8827 | <TestCase name="even more nested SECTION tests" tags="[sections]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8828 | <Section name="c"> |
| 8829 | <Section name="d (leaf)"> |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 8830 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8831 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8832 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8833 | </Section> |
| 8834 | <Section name="c"> |
| 8835 | <Section name="e (leaf)"> |
| 8836 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8837 | </Section> |
| 8838 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8839 | </Section> |
| 8840 | <Section name="f (leaf)"> |
| 8841 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8842 | </Section> |
| 8843 | <OverallResult success="true"/> |
| 8844 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8845 | <TestCase name="first tag" tags="[tag1]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8846 | <OverallResult success="true"/> |
| 8847 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8848 | <TestCase name="just failure" tags="[.][fail][hide][isolated info][messages]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8849 | <Failure> |
| 8850 | Previous info should not be seen |
| 8851 | </Failure> |
| 8852 | <OverallResult success="false"/> |
| 8853 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8854 | <TestCase name="just info" tags="[info][isolated info][messages]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8855 | <OverallResult success="true"/> |
| 8856 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8857 | <TestCase name="looped SECTION tests" tags="[.][failing][hide][sections]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8858 | <Section name="s1" description="b is currently: 0"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8859 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8860 | <Original> |
| 8861 | b > a |
| 8862 | </Original> |
| 8863 | <Expanded> |
| 8864 | 0 > 1 |
| 8865 | </Expanded> |
| 8866 | </Expression> |
| 8867 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 8868 | </Section> |
| 8869 | <OverallResult success="false"/> |
| 8870 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8871 | <TestCase name="looped tests" tags="[.][failing][hide]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8872 | <Info> |
| 8873 | Testing if fib[0] (1) is even |
| 8874 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8875 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8876 | <Original> |
| 8877 | ( fib[i] % 2 ) == 0 |
| 8878 | </Original> |
| 8879 | <Expanded> |
| 8880 | 1 == 0 |
| 8881 | </Expanded> |
| 8882 | </Expression> |
| 8883 | <Info> |
| 8884 | Testing if fib[1] (1) is even |
| 8885 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8886 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8887 | <Original> |
| 8888 | ( fib[i] % 2 ) == 0 |
| 8889 | </Original> |
| 8890 | <Expanded> |
| 8891 | 1 == 0 |
| 8892 | </Expanded> |
| 8893 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8894 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8895 | <Original> |
| 8896 | ( fib[i] % 2 ) == 0 |
| 8897 | </Original> |
| 8898 | <Expanded> |
| 8899 | 0 == 0 |
| 8900 | </Expanded> |
| 8901 | </Expression> |
| 8902 | <Info> |
| 8903 | Testing if fib[3] (3) is even |
| 8904 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8905 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8906 | <Original> |
| 8907 | ( fib[i] % 2 ) == 0 |
| 8908 | </Original> |
| 8909 | <Expanded> |
| 8910 | 1 == 0 |
| 8911 | </Expanded> |
| 8912 | </Expression> |
| 8913 | <Info> |
| 8914 | Testing if fib[4] (5) is even |
| 8915 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8916 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8917 | <Original> |
| 8918 | ( fib[i] % 2 ) == 0 |
| 8919 | </Original> |
| 8920 | <Expanded> |
| 8921 | 1 == 0 |
| 8922 | </Expanded> |
| 8923 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8924 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8925 | <Original> |
| 8926 | ( fib[i] % 2 ) == 0 |
| 8927 | </Original> |
| 8928 | <Expanded> |
| 8929 | 0 == 0 |
| 8930 | </Expanded> |
| 8931 | </Expression> |
| 8932 | <Info> |
| 8933 | Testing if fib[6] (13) is even |
| 8934 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8935 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8936 | <Original> |
| 8937 | ( fib[i] % 2 ) == 0 |
| 8938 | </Original> |
| 8939 | <Expanded> |
| 8940 | 1 == 0 |
| 8941 | </Expanded> |
| 8942 | </Expression> |
| 8943 | <Info> |
| 8944 | Testing if fib[7] (21) is even |
| 8945 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8946 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8947 | <Original> |
| 8948 | ( fib[i] % 2 ) == 0 |
| 8949 | </Original> |
| 8950 | <Expanded> |
| 8951 | 1 == 0 |
| 8952 | </Expanded> |
| 8953 | </Expression> |
| 8954 | <OverallResult success="false"/> |
| 8955 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 8956 | <TestCase name="more nested SECTION tests" tags="[.][failing][hide][sections]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8957 | <Section name="s1" description="doesn't equal"> |
| 8958 | <Section name="s2" description="equal"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8959 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8960 | <Original> |
| 8961 | a == b |
| 8962 | </Original> |
| 8963 | <Expanded> |
| 8964 | 1 == 2 |
| 8965 | </Expanded> |
| 8966 | </Expression> |
| 8967 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 8968 | </Section> |
| 8969 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 8970 | </Section> |
| 8971 | <Section name="s1" description="doesn't equal"> |
| 8972 | <Section name="s3" description="not equal"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8973 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8974 | <Original> |
| 8975 | a != b |
| 8976 | </Original> |
| 8977 | <Expanded> |
| 8978 | 1 != 2 |
| 8979 | </Expanded> |
| 8980 | </Expression> |
| 8981 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8982 | </Section> |
| 8983 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8984 | </Section> |
| 8985 | <Section name="s1" description="doesn't equal"> |
| 8986 | <Section name="s4" description="less than"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8987 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8988 | <Original> |
| 8989 | a < b |
| 8990 | </Original> |
| 8991 | <Expanded> |
| 8992 | 1 < 2 |
| 8993 | </Expanded> |
| 8994 | </Expression> |
| 8995 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8996 | </Section> |
| 8997 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8998 | </Section> |
| 8999 | <OverallResult success="false"/> |
| 9000 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9001 | <TestCase name="nested SECTION tests" tags="[.][failing][hide][sections]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9002 | <Section name="s1" description="doesn't equal"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9003 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9004 | <Original> |
| 9005 | a != b |
| 9006 | </Original> |
| 9007 | <Expanded> |
| 9008 | 1 != 2 |
| 9009 | </Expanded> |
| 9010 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9011 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9012 | <Original> |
| 9013 | b != a |
| 9014 | </Original> |
| 9015 | <Expanded> |
| 9016 | 2 != 1 |
| 9017 | </Expanded> |
| 9018 | </Expression> |
| 9019 | <Section name="s2" description="not equal"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9020 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9021 | <Original> |
| 9022 | a != b |
| 9023 | </Original> |
| 9024 | <Expanded> |
| 9025 | 1 != 2 |
| 9026 | </Expanded> |
| 9027 | </Expression> |
| 9028 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9029 | </Section> |
| 9030 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 9031 | </Section> |
| 9032 | <OverallResult success="true"/> |
| 9033 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9034 | <TestCase name="non streamable - with conv. op" tags="[Tricky]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9035 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9036 | <Original> |
| 9037 | s == "7" |
| 9038 | </Original> |
| 9039 | <Expanded> |
| 9040 | "7" == "7" |
| 9041 | </Expanded> |
| 9042 | </Expression> |
| 9043 | <OverallResult success="true"/> |
| 9044 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9045 | <TestCase name="not allowed" tags="[!throws]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9046 | <OverallResult success="true"/> |
| 9047 | </TestCase> |
| 9048 | <TestCase name="null strings"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9049 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9050 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 9051 | makeString( false ) != static_cast<char*>(0) |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9052 | </Original> |
| 9053 | <Expanded> |
| 9054 | "valid string" != {null string} |
| 9055 | </Expanded> |
| 9056 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9057 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9058 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 9059 | makeString( true ) == static_cast<char*>(0) |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9060 | </Original> |
| 9061 | <Expanded> |
| 9062 | {null string} == {null string} |
| 9063 | </Expanded> |
| 9064 | </Expression> |
| 9065 | <OverallResult success="true"/> |
| 9066 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9067 | <TestCase name="pair<pair<int,const char *,pair<std::string,int> > -> toString" tags="[pair][toString]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9068 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringPair.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9069 | <Original> |
| 9070 | Catch::toString( pair ) == "{ { 42, \"Arthur\" }, { \"Ford\", 24 } }" |
| 9071 | </Original> |
| 9072 | <Expanded> |
| 9073 | "{ { 42, "Arthur" }, { "Ford", 24 } }" |
| 9074 | == |
| 9075 | "{ { 42, "Arthur" }, { "Ford", 24 } }" |
| 9076 | </Expanded> |
| 9077 | </Expression> |
| 9078 | <OverallResult success="true"/> |
| 9079 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9080 | <TestCase name="pointer to class" tags="[Tricky]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9081 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9082 | <Original> |
| 9083 | p == 0 |
| 9084 | </Original> |
| 9085 | <Expanded> |
| 9086 | NULL == 0 |
| 9087 | </Expanded> |
| 9088 | </Expression> |
| 9089 | <OverallResult success="true"/> |
| 9090 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9091 | <TestCase name="random SECTION tests" tags="[.][failing][hide][sections]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9092 | <Section name="s1" description="doesn't equal"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9093 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9094 | <Original> |
| 9095 | a != b |
| 9096 | </Original> |
| 9097 | <Expanded> |
| 9098 | 1 != 2 |
| 9099 | </Expanded> |
| 9100 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9101 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9102 | <Original> |
| 9103 | b != a |
| 9104 | </Original> |
| 9105 | <Expanded> |
| 9106 | 2 != 1 |
| 9107 | </Expanded> |
| 9108 | </Expression> |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 9109 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9110 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9111 | <Section name="s2" description="not equal"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9112 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9113 | <Original> |
| 9114 | a != b |
| 9115 | </Original> |
| 9116 | <Expanded> |
| 9117 | 1 != 2 |
| 9118 | </Expanded> |
| 9119 | </Expression> |
| 9120 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9121 | </Section> |
| 9122 | <OverallResult success="true"/> |
| 9123 | </TestCase> |
| 9124 | <TestCase name="replaceInPlace"> |
| 9125 | <Section name="replace single char"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9126 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9127 | <Original> |
| 9128 | replaceInPlace( letters, "b", "z" ) |
| 9129 | </Original> |
| 9130 | <Expanded> |
| 9131 | true |
| 9132 | </Expanded> |
| 9133 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9134 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9135 | <Original> |
| 9136 | letters == "azcdefcg" |
| 9137 | </Original> |
| 9138 | <Expanded> |
| 9139 | "azcdefcg" == "azcdefcg" |
| 9140 | </Expanded> |
| 9141 | </Expression> |
| 9142 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9143 | </Section> |
| 9144 | <Section name="replace two chars"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9145 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9146 | <Original> |
| 9147 | replaceInPlace( letters, "c", "z" ) |
| 9148 | </Original> |
| 9149 | <Expanded> |
| 9150 | true |
| 9151 | </Expanded> |
| 9152 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9153 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9154 | <Original> |
| 9155 | letters == "abzdefzg" |
| 9156 | </Original> |
| 9157 | <Expanded> |
| 9158 | "abzdefzg" == "abzdefzg" |
| 9159 | </Expanded> |
| 9160 | </Expression> |
| 9161 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9162 | </Section> |
| 9163 | <Section name="replace first char"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9164 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9165 | <Original> |
| 9166 | replaceInPlace( letters, "a", "z" ) |
| 9167 | </Original> |
| 9168 | <Expanded> |
| 9169 | true |
| 9170 | </Expanded> |
| 9171 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9172 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9173 | <Original> |
| 9174 | letters == "zbcdefcg" |
| 9175 | </Original> |
| 9176 | <Expanded> |
| 9177 | "zbcdefcg" == "zbcdefcg" |
| 9178 | </Expanded> |
| 9179 | </Expression> |
| 9180 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9181 | </Section> |
| 9182 | <Section name="replace last char"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9183 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9184 | <Original> |
| 9185 | replaceInPlace( letters, "g", "z" ) |
| 9186 | </Original> |
| 9187 | <Expanded> |
| 9188 | true |
| 9189 | </Expanded> |
| 9190 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9191 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9192 | <Original> |
| 9193 | letters == "abcdefcz" |
| 9194 | </Original> |
| 9195 | <Expanded> |
| 9196 | "abcdefcz" == "abcdefcz" |
| 9197 | </Expanded> |
| 9198 | </Expression> |
| 9199 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9200 | </Section> |
| 9201 | <Section name="replace all chars"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9202 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9203 | <Original> |
| 9204 | replaceInPlace( letters, letters, "replaced" ) |
| 9205 | </Original> |
| 9206 | <Expanded> |
| 9207 | true |
| 9208 | </Expanded> |
| 9209 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9210 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9211 | <Original> |
| 9212 | letters == "replaced" |
| 9213 | </Original> |
| 9214 | <Expanded> |
| 9215 | "replaced" == "replaced" |
| 9216 | </Expanded> |
| 9217 | </Expression> |
| 9218 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9219 | </Section> |
| 9220 | <Section name="replace no chars"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9221 | <Expression success="true" type="CHECK_FALSE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9222 | <Original> |
| 9223 | !replaceInPlace( letters, "x", "z" ) |
| 9224 | </Original> |
| 9225 | <Expanded> |
| 9226 | !false |
| 9227 | </Expanded> |
| 9228 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9229 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9230 | <Original> |
| 9231 | letters == letters |
| 9232 | </Original> |
| 9233 | <Expanded> |
| 9234 | "abcdefcg" == "abcdefcg" |
| 9235 | </Expanded> |
| 9236 | </Expression> |
| 9237 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9238 | </Section> |
| 9239 | <Section name="escape '"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9240 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9241 | <Original> |
| 9242 | replaceInPlace( s, "'", "|'" ) |
| 9243 | </Original> |
| 9244 | <Expanded> |
| 9245 | true |
| 9246 | </Expanded> |
| 9247 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9248 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9249 | <Original> |
| 9250 | s == "didn|'t" |
| 9251 | </Original> |
| 9252 | <Expanded> |
| 9253 | "didn|'t" == "didn|'t" |
| 9254 | </Expanded> |
| 9255 | </Expression> |
| 9256 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9257 | </Section> |
| 9258 | <OverallResult success="true"/> |
| 9259 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9260 | <TestCase name="second tag" tags="[tag2]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9261 | <OverallResult success="true"/> |
| 9262 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9263 | <TestCase name="send a single char to INFO" tags="[.][failing][hide]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9264 | <Info> |
| 9265 | 3 |
| 9266 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9267 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9268 | <Original> |
| 9269 | false |
| 9270 | </Original> |
| 9271 | <Expanded> |
| 9272 | false |
| 9273 | </Expanded> |
| 9274 | </Expression> |
| 9275 | <OverallResult success="false"/> |
| 9276 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9277 | <TestCase name="sends information to INFO" tags="[.][failing][hide]"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9278 | <Info> |
| 9279 | hi |
| 9280 | </Info> |
| 9281 | <Info> |
| 9282 | i := 7 |
| 9283 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9284 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9285 | <Original> |
| 9286 | false |
| 9287 | </Original> |
| 9288 | <Expanded> |
| 9289 | false |
| 9290 | </Expanded> |
| 9291 | </Expression> |
| 9292 | <OverallResult success="false"/> |
| 9293 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9294 | <TestCase name="std::pair<int,const std::string> -> toString" tags="[pair][toString]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9295 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringPair.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9296 | <Original> |
| 9297 | Catch::toString(value) == "{ 34, \"xyzzy\" }" |
| 9298 | </Original> |
| 9299 | <Expanded> |
| 9300 | "{ 34, "xyzzy" }" == "{ 34, "xyzzy" }" |
| 9301 | </Expanded> |
| 9302 | </Expression> |
| 9303 | <OverallResult success="true"/> |
| 9304 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9305 | <TestCase name="std::pair<int,std::string> -> toString" tags="[pair][toString]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9306 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringPair.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9307 | <Original> |
| 9308 | Catch::toString( value ) == "{ 34, \"xyzzy\" }" |
| 9309 | </Original> |
| 9310 | <Expanded> |
| 9311 | "{ 34, "xyzzy" }" == "{ 34, "xyzzy" }" |
| 9312 | </Expanded> |
| 9313 | </Expression> |
| 9314 | <OverallResult success="true"/> |
| 9315 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9316 | <TestCase name="std::vector<std::pair<std::string,int> > -> toString" tags="[pair][toString]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9317 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringPair.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9318 | <Original> |
| 9319 | Catch::toString( pr ) == "{ { \"green\", 55 } }" |
| 9320 | </Original> |
| 9321 | <Expanded> |
| 9322 | "{ { "green", 55 } }" |
| 9323 | == |
| 9324 | "{ { "green", 55 } }" |
| 9325 | </Expanded> |
| 9326 | </Expression> |
| 9327 | <OverallResult success="true"/> |
| 9328 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9329 | <TestCase name="string literals of different sizes can be compared" tags="[.][Tricky][failing][hide]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9330 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9331 | <Original> |
| 9332 | std::string( "first" ) == "second" |
| 9333 | </Original> |
| 9334 | <Expanded> |
| 9335 | "first" == "second" |
| 9336 | </Expanded> |
| 9337 | </Expression> |
| 9338 | <OverallResult success="false"/> |
| 9339 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9340 | <TestCase name="toString on const wchar_t const pointer returns the string contents" tags="[toString]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9341 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9342 | <Original> |
| 9343 | result == "\"wide load\"" |
| 9344 | </Original> |
| 9345 | <Expanded> |
| 9346 | ""wide load"" == ""wide load"" |
| 9347 | </Expanded> |
| 9348 | </Expression> |
| 9349 | <OverallResult success="true"/> |
| 9350 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9351 | <TestCase name="toString on const wchar_t pointer returns the string contents" tags="[toString]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9352 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9353 | <Original> |
| 9354 | result == "\"wide load\"" |
| 9355 | </Original> |
| 9356 | <Expanded> |
| 9357 | ""wide load"" == ""wide load"" |
| 9358 | </Expanded> |
| 9359 | </Expression> |
| 9360 | <OverallResult success="true"/> |
| 9361 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9362 | <TestCase name="toString on wchar_t const pointer returns the string contents" tags="[toString]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9363 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9364 | <Original> |
| 9365 | result == "\"wide load\"" |
| 9366 | </Original> |
| 9367 | <Expanded> |
| 9368 | ""wide load"" == ""wide load"" |
| 9369 | </Expanded> |
| 9370 | </Expression> |
| 9371 | <OverallResult success="true"/> |
| 9372 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9373 | <TestCase name="toString on wchar_t returns the string contents" tags="[toString]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9374 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9375 | <Original> |
| 9376 | result == "\"wide load\"" |
| 9377 | </Original> |
| 9378 | <Expanded> |
| 9379 | ""wide load"" == ""wide load"" |
| 9380 | </Expanded> |
| 9381 | </Expression> |
| 9382 | <OverallResult success="true"/> |
| 9383 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9384 | <TestCase name="toString( has_maker )" description="toString]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9385 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringWhich.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9386 | <Original> |
| 9387 | Catch::toString( item ) == "StringMaker<has_maker>" |
| 9388 | </Original> |
| 9389 | <Expanded> |
| 9390 | "StringMaker<has_maker>" |
| 9391 | == |
| 9392 | "StringMaker<has_maker>" |
| 9393 | </Expanded> |
| 9394 | </Expression> |
| 9395 | <OverallResult success="true"/> |
| 9396 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9397 | <TestCase name="toString( has_maker_and_toString )" tags="[.][hide][toString]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9398 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringWhich.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9399 | <Original> |
| 9400 | Catch::toString( item ) == "toString( has_maker_and_toString )" |
| 9401 | </Original> |
| 9402 | <Expanded> |
| 9403 | "toString( has_maker_and_toString )" |
| 9404 | == |
| 9405 | "toString( has_maker_and_toString )" |
| 9406 | </Expanded> |
| 9407 | </Expression> |
| 9408 | <OverallResult success="true"/> |
| 9409 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9410 | <TestCase name="toString( has_toString )" tags="[toString]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9411 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringWhich.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9412 | <Original> |
| 9413 | Catch::toString( item ) == "toString( has_toString )" |
| 9414 | </Original> |
| 9415 | <Expanded> |
| 9416 | "toString( has_toString )" |
| 9417 | == |
| 9418 | "toString( has_toString )" |
| 9419 | </Expanded> |
| 9420 | </Expression> |
| 9421 | <OverallResult success="true"/> |
| 9422 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9423 | <TestCase name="toString( vectors<has_maker )" tags="[toString]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9424 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringWhich.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9425 | <Original> |
| 9426 | Catch::toString( v ) == "{ StringMaker<has_maker> }" |
| 9427 | </Original> |
| 9428 | <Expanded> |
| 9429 | "{ StringMaker<has_maker> }" |
| 9430 | == |
| 9431 | "{ StringMaker<has_maker> }" |
| 9432 | </Expanded> |
| 9433 | </Expression> |
| 9434 | <OverallResult success="true"/> |
| 9435 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9436 | <TestCase name="toString(enum w/operator<<)" tags="[enum][toString]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9437 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/EnumToString.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9438 | <Original> |
| 9439 | Catch::toString(e0) == "E2{0}" |
| 9440 | </Original> |
| 9441 | <Expanded> |
| 9442 | "E2{0}" == "E2{0}" |
| 9443 | </Expanded> |
| 9444 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9445 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/EnumToString.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9446 | <Original> |
| 9447 | Catch::toString(e1) == "E2{1}" |
| 9448 | </Original> |
| 9449 | <Expanded> |
| 9450 | "E2{1}" == "E2{1}" |
| 9451 | </Expanded> |
| 9452 | </Expression> |
| 9453 | <OverallResult success="true"/> |
| 9454 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9455 | <TestCase name="toString(enum)" tags="[enum][toString]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9456 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/EnumToString.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9457 | <Original> |
| 9458 | Catch::toString(e0) == "0" |
| 9459 | </Original> |
| 9460 | <Expanded> |
| 9461 | "0" == "0" |
| 9462 | </Expanded> |
| 9463 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9464 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/EnumToString.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9465 | <Original> |
| 9466 | Catch::toString(e1) == "1" |
| 9467 | </Original> |
| 9468 | <Expanded> |
| 9469 | "1" == "1" |
| 9470 | </Expanded> |
| 9471 | </Expression> |
| 9472 | <OverallResult success="true"/> |
| 9473 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9474 | <TestCase name="vector<int> -> toString" tags="[toString][vector]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9475 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9476 | <Original> |
| 9477 | Catch::toString(vv) == "{ }" |
| 9478 | </Original> |
| 9479 | <Expanded> |
| 9480 | "{ }" == "{ }" |
| 9481 | </Expanded> |
| 9482 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9483 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9484 | <Original> |
| 9485 | Catch::toString(vv) == "{ 42 }" |
| 9486 | </Original> |
| 9487 | <Expanded> |
| 9488 | "{ 42 }" == "{ 42 }" |
| 9489 | </Expanded> |
| 9490 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9491 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9492 | <Original> |
| 9493 | Catch::toString(vv) == "{ 42, 250 }" |
| 9494 | </Original> |
| 9495 | <Expanded> |
| 9496 | "{ 42, 250 }" == "{ 42, 250 }" |
| 9497 | </Expanded> |
| 9498 | </Expression> |
| 9499 | <OverallResult success="true"/> |
| 9500 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9501 | <TestCase name="vector<string> -> toString" tags="[toString][vector]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9502 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9503 | <Original> |
| 9504 | Catch::toString(vv) == "{ }" |
| 9505 | </Original> |
| 9506 | <Expanded> |
| 9507 | "{ }" == "{ }" |
| 9508 | </Expanded> |
| 9509 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9510 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9511 | <Original> |
| 9512 | Catch::toString(vv) == "{ \"hello\" }" |
| 9513 | </Original> |
| 9514 | <Expanded> |
| 9515 | "{ "hello" }" == "{ "hello" }" |
| 9516 | </Expanded> |
| 9517 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9518 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9519 | <Original> |
| 9520 | Catch::toString(vv) == "{ \"hello\", \"world\" }" |
| 9521 | </Original> |
| 9522 | <Expanded> |
| 9523 | "{ "hello", "world" }" |
| 9524 | == |
| 9525 | "{ "hello", "world" }" |
| 9526 | </Expanded> |
| 9527 | </Expression> |
| 9528 | <OverallResult success="true"/> |
| 9529 | </TestCase> |
Phil Nash | 4d0cd60 | 2017-02-07 23:14:49 +0000 | [diff] [blame] | 9530 | <TestCase name="vectors can be sized and resized" tags="[vector]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9531 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9532 | <Original> |
| 9533 | v.size() == 5 |
| 9534 | </Original> |
| 9535 | <Expanded> |
| 9536 | 5 == 5 |
| 9537 | </Expanded> |
| 9538 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9539 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9540 | <Original> |
| 9541 | v.capacity() >= 5 |
| 9542 | </Original> |
| 9543 | <Expanded> |
| 9544 | 5 >= 5 |
| 9545 | </Expanded> |
| 9546 | </Expression> |
| 9547 | <Section name="resizing bigger changes size and capacity"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9548 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9549 | <Original> |
| 9550 | v.size() == 10 |
| 9551 | </Original> |
| 9552 | <Expanded> |
| 9553 | 10 == 10 |
| 9554 | </Expanded> |
| 9555 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9556 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9557 | <Original> |
| 9558 | v.capacity() >= 10 |
| 9559 | </Original> |
| 9560 | <Expanded> |
| 9561 | 10 >= 10 |
| 9562 | </Expanded> |
| 9563 | </Expression> |
| 9564 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9565 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9566 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9567 | <Original> |
| 9568 | v.size() == 5 |
| 9569 | </Original> |
| 9570 | <Expanded> |
| 9571 | 5 == 5 |
| 9572 | </Expanded> |
| 9573 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9574 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9575 | <Original> |
| 9576 | v.capacity() >= 5 |
| 9577 | </Original> |
| 9578 | <Expanded> |
| 9579 | 5 >= 5 |
| 9580 | </Expanded> |
| 9581 | </Expression> |
| 9582 | <Section name="resizing smaller changes size but not capacity"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9583 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9584 | <Original> |
| 9585 | v.size() == 0 |
| 9586 | </Original> |
| 9587 | <Expanded> |
| 9588 | 0 == 0 |
| 9589 | </Expanded> |
| 9590 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9591 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9592 | <Original> |
| 9593 | v.capacity() >= 5 |
| 9594 | </Original> |
| 9595 | <Expanded> |
| 9596 | 5 >= 5 |
| 9597 | </Expanded> |
| 9598 | </Expression> |
| 9599 | <Section name="We can use the 'swap trick' to reset the capacity"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9600 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9601 | <Original> |
| 9602 | v.capacity() == 0 |
| 9603 | </Original> |
| 9604 | <Expanded> |
| 9605 | 0 == 0 |
| 9606 | </Expanded> |
| 9607 | </Expression> |
| 9608 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9609 | </Section> |
| 9610 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 9611 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9612 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9613 | <Original> |
| 9614 | v.size() == 5 |
| 9615 | </Original> |
| 9616 | <Expanded> |
| 9617 | 5 == 5 |
| 9618 | </Expanded> |
| 9619 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9620 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9621 | <Original> |
| 9622 | v.capacity() >= 5 |
| 9623 | </Original> |
| 9624 | <Expanded> |
| 9625 | 5 >= 5 |
| 9626 | </Expanded> |
| 9627 | </Expression> |
| 9628 | <Section name="reserving bigger changes capacity but not size"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9629 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9630 | <Original> |
| 9631 | v.size() == 5 |
| 9632 | </Original> |
| 9633 | <Expanded> |
| 9634 | 5 == 5 |
| 9635 | </Expanded> |
| 9636 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9637 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9638 | <Original> |
| 9639 | v.capacity() >= 10 |
| 9640 | </Original> |
| 9641 | <Expanded> |
| 9642 | 10 >= 10 |
| 9643 | </Expanded> |
| 9644 | </Expression> |
| 9645 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9646 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9647 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9648 | <Original> |
| 9649 | v.size() == 5 |
| 9650 | </Original> |
| 9651 | <Expanded> |
| 9652 | 5 == 5 |
| 9653 | </Expanded> |
| 9654 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9655 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9656 | <Original> |
| 9657 | v.capacity() >= 5 |
| 9658 | </Original> |
| 9659 | <Expanded> |
| 9660 | 5 >= 5 |
| 9661 | </Expanded> |
| 9662 | </Expression> |
| 9663 | <Section name="reserving smaller does not change size or capacity"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9664 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9665 | <Original> |
| 9666 | v.size() == 5 |
| 9667 | </Original> |
| 9668 | <Expanded> |
| 9669 | 5 == 5 |
| 9670 | </Expanded> |
| 9671 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9672 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9673 | <Original> |
| 9674 | v.capacity() >= 5 |
| 9675 | </Original> |
| 9676 | <Expanded> |
| 9677 | 5 >= 5 |
| 9678 | </Expanded> |
| 9679 | </Expression> |
| 9680 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9681 | </Section> |
| 9682 | <OverallResult success="true"/> |
| 9683 | </TestCase> |
| 9684 | <TestCase name="xmlentitycheck"> |
| 9685 | <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>"> |
| 9686 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9687 | </Section> |
| 9688 | <Section name="encoded chars" description="these should all be encoded: &&&"""<<<&"<<&""> |
| 9689 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9690 | </Section> |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 9691 | <OverallResult success="true"/> |
| 9692 | </TestCase> |
Phil Nash | d6b8ac5 | 2017-02-10 11:53:29 +0000 | [diff] [blame^] | 9693 | <OverallResults successes="836" failures="81" expectedFailures="18"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 9694 | </Group> |
Phil Nash | d6b8ac5 | 2017-02-10 11:53:29 +0000 | [diff] [blame^] | 9695 | <OverallResults successes="836" failures="80" expectedFailures="18"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 9696 | </Catch> |