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 | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 4 | <TestCase name="# A test name that starts with a #" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5 | <OverallResult success="true"/> |
| 6 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7 | <TestCase name="#542" filename="projects/<exe-name>/CompilationTests.cpp" > |
Phil Nash | d6b8ac5 | 2017-02-10 11:53:29 +0000 | [diff] [blame] | 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> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 42 | <TestCase name="#809" filename="projects/<exe-name>/CompilationTests.cpp" > |
Martin Hořeňovský | 7db4d8d | 2017-02-07 13:32:48 +0100 | [diff] [blame] | 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 | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 53 | <TestCase name="'Not' checks that should fail" tags="[.][failing][hide]" filename="projects/<exe-name>/ConditionTests.cpp" > |
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> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 120 | <TestCase name="'Not' checks that should succeed" filename="projects/<exe-name>/ConditionTests.cpp" > |
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 | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 187 | <TestCase name="(unimplemented) static bools can be evaluated" tags="[Tricky]" filename="projects/<exe-name>/TrickyTests.cpp" > |
| 188 | <Section name="compare to true" filename="projects/<exe-name>/TrickyTests.cpp" > |
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> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 207 | <Section name="compare to false" filename="projects/<exe-name>/TrickyTests.cpp" > |
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> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 226 | <Section name="negation" filename="projects/<exe-name>/TrickyTests.cpp" > |
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> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 237 | <Section name="double negation" filename="projects/<exe-name>/TrickyTests.cpp" > |
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> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 248 | <Section name="direct" filename="projects/<exe-name>/TrickyTests.cpp" > |
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 | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 269 | <TestCase name="A METHOD_AS_TEST_CASE based test run that fails" tags="[.][class][failing][hide]" filename="projects/<exe-name>/ClassTests.cpp" > |
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 | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 280 | <TestCase name="A METHOD_AS_TEST_CASE based test run that succeeds" tags="[class]" filename="projects/<exe-name>/ClassTests.cpp" > |
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 | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 291 | <TestCase name="A TEST_CASE_METHOD based test run that fails" tags="[.][class][failing][hide]" filename="projects/<exe-name>/ClassTests.cpp" > |
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 | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 302 | <TestCase name="A TEST_CASE_METHOD based test run that succeeds" tags="[class]" filename="projects/<exe-name>/ClassTests.cpp" > |
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 | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 313 | <TestCase name="A couple of nested sections followed by a failure" tags="[.][failing][hide]" filename="projects/<exe-name>/MiscTests.cpp" > |
| 314 | <Section name="Outer" filename="projects/<exe-name>/MiscTests.cpp" > |
| 315 | <Section name="Inner" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 316 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 317 | </Section> |
| 318 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 319 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 320 | <Failure filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 321 | to infinity and beyond |
| 322 | </Failure> |
| 323 | <OverallResult success="false"/> |
| 324 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 325 | <TestCase name="A failing expression with a non streamable type is still captured" tags="[.][Tricky][failing][hide]" filename="projects/<exe-name>/TrickyTests.cpp" > |
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> |
Martin Hořeňovský | bbeb192 | 2017-02-27 16:27:43 +0100 | [diff] [blame] | 344 | <TestCase name="Absolute margin" tags="[Approx]" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 345 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 346 | <Original> |
| 347 | 104.0 != Approx(100.0) |
| 348 | </Original> |
| 349 | <Expanded> |
| 350 | 104.0 != Approx( 100.0 ) |
| 351 | </Expanded> |
| 352 | </Expression> |
| 353 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 354 | <Original> |
| 355 | 104.0 == Approx(100.0).margin(5) |
| 356 | </Original> |
| 357 | <Expanded> |
| 358 | 104.0 == Approx( 100.0 ) |
| 359 | </Expanded> |
| 360 | </Expression> |
| 361 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 362 | <Original> |
| 363 | 104.0 != Approx(100.0).margin(3) |
| 364 | </Original> |
| 365 | <Expanded> |
| 366 | 104.0 != Approx( 100.0 ) |
| 367 | </Expanded> |
| 368 | </Expression> |
| 369 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 370 | <Original> |
| 371 | 100.3 != Approx(100.0) |
| 372 | </Original> |
| 373 | <Expanded> |
| 374 | 100.3 != Approx( 100.0 ) |
| 375 | </Expanded> |
| 376 | </Expression> |
| 377 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 378 | <Original> |
| 379 | 100.3 == Approx(100.0).margin(0.5) |
| 380 | </Original> |
| 381 | <Expanded> |
| 382 | 100.3 == Approx( 100.0 ) |
| 383 | </Expanded> |
| 384 | </Expression> |
| 385 | <OverallResult success="true"/> |
| 386 | </TestCase> |
Phil Nash | 4e6938d | 2017-02-21 14:19:09 +0000 | [diff] [blame] | 387 | <TestCase name="AllOf matcher" tags="[matchers]" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 388 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
Phil Nash | 886ef16 | 2014-09-04 07:27:09 +0100 | [diff] [blame] | 389 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 390 | testStringForMatching(), AllOf( Catch::Contains( "string" ), Catch::Contains( "abc" ) ) |
Phil Nash | 886ef16 | 2014-09-04 07:27:09 +0100 | [diff] [blame] | 391 | </Original> |
| 392 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 393 | "this string contains 'abc' as a substring" ( contains: "string" and contains: "abc" ) |
Phil Nash | 886ef16 | 2014-09-04 07:27:09 +0100 | [diff] [blame] | 394 | </Expanded> |
| 395 | </Expression> |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 396 | <OverallResult success="true"/> |
| 397 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 398 | <TestCase name="An empty test with no assertions" tags="[empty]" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 399 | <OverallResult success="true"/> |
| 400 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 401 | <TestCase name="An expression with side-effects should only be evaluated once" tags="[Tricky]" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 402 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 403 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 404 | i++ == 7 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 405 | </Original> |
| 406 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 407 | 7 == 7 |
| 408 | </Expanded> |
| 409 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 410 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 411 | <Original> |
| 412 | i++ == 8 |
| 413 | </Original> |
| 414 | <Expanded> |
| 415 | 8 == 8 |
| 416 | </Expanded> |
| 417 | </Expression> |
| 418 | <OverallResult success="true"/> |
| 419 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 420 | <TestCase name="An unchecked exception reports the line of the last assertion" tags="[!throws][.][failing][hide]" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 421 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 422 | <Original> |
| 423 | 1 == 1 |
| 424 | </Original> |
| 425 | <Expanded> |
| 426 | 1 == 1 |
| 427 | </Expanded> |
| 428 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 429 | <Expression success="false" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 430 | <Original> |
| 431 | {Unknown expression after the reported line} |
| 432 | </Original> |
| 433 | <Expanded> |
| 434 | {Unknown expression after the reported line} |
| 435 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 436 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 437 | unexpected exception |
| 438 | </Exception> |
| 439 | </Expression> |
| 440 | <OverallResult success="false"/> |
| 441 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 442 | <TestCase name="Anonymous test case 1" filename="projects/<exe-name>/VariadicMacrosTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 443 | <OverallResult success="true"/> |
| 444 | </TestCase> |
Phil Nash | 4e6938d | 2017-02-21 14:19:09 +0000 | [diff] [blame] | 445 | <TestCase name="AnyOf matcher" tags="[matchers]" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 446 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 447 | <Original> |
| 448 | testStringForMatching(), AnyOf( Catch::Contains( "string" ), Catch::Contains( "not there" ) ) |
| 449 | </Original> |
| 450 | <Expanded> |
| 451 | "this string contains 'abc' as a substring" ( contains: "string" or contains: "not there" ) |
| 452 | </Expanded> |
| 453 | </Expression> |
Phil Nash | 4e6938d | 2017-02-21 14:19:09 +0000 | [diff] [blame] | 454 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 455 | <Original> |
| 456 | testStringForMatching(), AnyOf( Catch::Contains( "not there" ), Catch::Contains( "string" ) ) |
| 457 | </Original> |
| 458 | <Expanded> |
| 459 | "this string contains 'abc' as a substring" ( contains: "not there" or contains: "string" ) |
| 460 | </Expanded> |
| 461 | </Expression> |
| 462 | <OverallResult success="true"/> |
| 463 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 464 | <TestCase name="Approximate PI" tags="[Approx][PI]" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 465 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 466 | <Original> |
| 467 | divide( 22, 7 ) == Approx( 3.141 ).epsilon( 0.001 ) |
| 468 | </Original> |
| 469 | <Expanded> |
| 470 | 3.1428571429 == Approx( 3.141 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 471 | </Expanded> |
| 472 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 473 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 474 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 475 | divide( 22, 7 ) != Approx( 3.141 ).epsilon( 0.0001 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 476 | </Original> |
| 477 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 478 | 3.1428571429 != Approx( 3.141 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 479 | </Expanded> |
| 480 | </Expression> |
| 481 | <OverallResult success="true"/> |
| 482 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 483 | <TestCase name="Approximate comparisons with different epsilons" tags="[Approx]" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 484 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 485 | <Original> |
| 486 | d != Approx( 1.231 ) |
| 487 | </Original> |
| 488 | <Expanded> |
| 489 | 1.23 != Approx( 1.231 ) |
| 490 | </Expanded> |
| 491 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 492 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 493 | <Original> |
| 494 | d == Approx( 1.231 ).epsilon( 0.1 ) |
| 495 | </Original> |
| 496 | <Expanded> |
| 497 | 1.23 == Approx( 1.231 ) |
| 498 | </Expanded> |
| 499 | </Expression> |
| 500 | <OverallResult success="true"/> |
| 501 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 502 | <TestCase name="Approximate comparisons with floats" tags="[Approx]" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 503 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 504 | <Original> |
| 505 | 1.23f == Approx( 1.23f ) |
| 506 | </Original> |
| 507 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame] | 508 | 1.23f == Approx( 1.2300000191 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 509 | </Expanded> |
| 510 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 511 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 512 | <Original> |
| 513 | 0.0f == Approx( 0.0f ) |
| 514 | </Original> |
| 515 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame] | 516 | 0.0f == Approx( 0.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 517 | </Expanded> |
| 518 | </Expression> |
| 519 | <OverallResult success="true"/> |
| 520 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 521 | <TestCase name="Approximate comparisons with ints" tags="[Approx]" filename="projects/<exe-name>/ApproxTests.cpp" > |
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 == Approx( 1 ) |
| 525 | </Original> |
| 526 | <Expanded> |
Phil Nash | 1aa60fa | 2013-12-19 18:41:55 +0000 | [diff] [blame] | 527 | 1 == Approx( 1.0 ) |
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 | 0 == Approx( 0 ) |
| 533 | </Original> |
| 534 | <Expanded> |
Phil Nash | 1aa60fa | 2013-12-19 18:41:55 +0000 | [diff] [blame] | 535 | 0 == Approx( 0.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 536 | </Expanded> |
| 537 | </Expression> |
| 538 | <OverallResult success="true"/> |
| 539 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 540 | <TestCase name="Approximate comparisons with mixed numeric types" tags="[Approx]" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 541 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 542 | <Original> |
| 543 | 1.0f == Approx( 1 ) |
| 544 | </Original> |
| 545 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame] | 546 | 1.0f == Approx( 1.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 547 | </Expanded> |
| 548 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 549 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 550 | <Original> |
| 551 | 0 == Approx( dZero) |
| 552 | </Original> |
| 553 | <Expanded> |
Phil Nash | 1aa60fa | 2013-12-19 18:41:55 +0000 | [diff] [blame] | 554 | 0 == Approx( 0.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 555 | </Expanded> |
| 556 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 557 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 558 | <Original> |
| 559 | 0 == Approx( dSmall ).epsilon( 0.001 ) |
| 560 | </Original> |
| 561 | <Expanded> |
Phil Nash | 1aa60fa | 2013-12-19 18:41:55 +0000 | [diff] [blame] | 562 | 0 == Approx( 0.00001 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 563 | </Expanded> |
| 564 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 565 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 566 | <Original> |
| 567 | 1.234f == Approx( dMedium ) |
| 568 | </Original> |
| 569 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame] | 570 | 1.234f == Approx( 1.234 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 571 | </Expanded> |
| 572 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 573 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 574 | <Original> |
| 575 | dMedium == Approx( 1.234f ) |
| 576 | </Original> |
| 577 | <Expanded> |
Phil Nash | 1aa60fa | 2013-12-19 18:41:55 +0000 | [diff] [blame] | 578 | 1.234 == Approx( 1.2339999676 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 579 | </Expanded> |
| 580 | </Expression> |
| 581 | <OverallResult success="true"/> |
| 582 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 583 | <TestCase name="Assertions then sections" tags="[Tricky]" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 584 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 585 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 586 | Catch::alwaysTrue() |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 587 | </Original> |
| 588 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 589 | true |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 590 | </Expanded> |
| 591 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 592 | <Section name="A section" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 593 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 594 | <Original> |
| 595 | Catch::alwaysTrue() |
| 596 | </Original> |
| 597 | <Expanded> |
| 598 | true |
| 599 | </Expanded> |
| 600 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 601 | <Section name="Another section" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 602 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 603 | <Original> |
| 604 | Catch::alwaysTrue() |
| 605 | </Original> |
| 606 | <Expanded> |
| 607 | true |
| 608 | </Expanded> |
| 609 | </Expression> |
| 610 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 611 | </Section> |
| 612 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 613 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 614 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 615 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 616 | Catch::alwaysTrue() |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 617 | </Original> |
| 618 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 619 | true |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 620 | </Expanded> |
| 621 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 622 | <Section name="A section" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 623 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 624 | <Original> |
| 625 | Catch::alwaysTrue() |
| 626 | </Original> |
| 627 | <Expanded> |
| 628 | true |
| 629 | </Expanded> |
| 630 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 631 | <Section name="Another other section" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 632 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 633 | <Original> |
| 634 | Catch::alwaysTrue() |
| 635 | </Original> |
| 636 | <Expanded> |
| 637 | true |
| 638 | </Expanded> |
| 639 | </Expression> |
| 640 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 641 | </Section> |
| 642 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 643 | </Section> |
| 644 | <OverallResult success="true"/> |
| 645 | </TestCase> |
Martin Hořeňovský | be4f6ab | 2017-03-03 14:34:50 +0100 | [diff] [blame] | 646 | <TestCase name="Capture and info messages" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 647 | <Section name="Capture should stringify like assertions" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
Phil Nash | 9bee606 | 2017-03-03 14:12:47 +0000 | [diff] [blame^] | 648 | <Info> |
| 649 | i := 2 |
| 650 | </Info> |
Martin Hořeňovský | be4f6ab | 2017-03-03 14:34:50 +0100 | [diff] [blame] | 651 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 652 | <Original> |
| 653 | true |
| 654 | </Original> |
| 655 | <Expanded> |
| 656 | true |
| 657 | </Expanded> |
| 658 | </Expression> |
| 659 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 660 | </Section> |
| 661 | <Section name="Info should NOT stringify the way assertions do" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
Phil Nash | 9bee606 | 2017-03-03 14:12:47 +0000 | [diff] [blame^] | 662 | <Info> |
| 663 | 3 |
| 664 | </Info> |
Martin Hořeňovský | be4f6ab | 2017-03-03 14:34:50 +0100 | [diff] [blame] | 665 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 666 | <Original> |
| 667 | true |
| 668 | </Original> |
| 669 | <Expanded> |
| 670 | true |
| 671 | </Expanded> |
| 672 | </Expression> |
| 673 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 674 | </Section> |
| 675 | <OverallResult success="true"/> |
| 676 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 677 | <TestCase name="Character pretty printing" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 678 | <Section name="Specifically escaped" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
Martin Hořeňovský | 7db4d8d | 2017-02-07 13:32:48 +0100 | [diff] [blame] | 679 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 680 | <Original> |
| 681 | tab == '\t' |
| 682 | </Original> |
| 683 | <Expanded> |
| 684 | '\t' == '\t' |
| 685 | </Expanded> |
| 686 | </Expression> |
| 687 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 688 | <Original> |
| 689 | newline == '\n' |
| 690 | </Original> |
| 691 | <Expanded> |
| 692 | '\n' == '\n' |
| 693 | </Expanded> |
| 694 | </Expression> |
| 695 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 696 | <Original> |
| 697 | carr_return == '\r' |
| 698 | </Original> |
| 699 | <Expanded> |
| 700 | '\r' == '\r' |
| 701 | </Expanded> |
| 702 | </Expression> |
| 703 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 704 | <Original> |
| 705 | form_feed == '\f' |
| 706 | </Original> |
| 707 | <Expanded> |
| 708 | '\f' == '\f' |
| 709 | </Expanded> |
| 710 | </Expression> |
| 711 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 712 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 713 | <Section name="General chars" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
Martin Hořeňovský | 7db4d8d | 2017-02-07 13:32:48 +0100 | [diff] [blame] | 714 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 715 | <Original> |
| 716 | space == ' ' |
| 717 | </Original> |
| 718 | <Expanded> |
| 719 | ' ' == ' ' |
| 720 | </Expanded> |
| 721 | </Expression> |
| 722 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 723 | <Original> |
| 724 | c == chars[i] |
| 725 | </Original> |
| 726 | <Expanded> |
| 727 | 'a' == 'a' |
| 728 | </Expanded> |
| 729 | </Expression> |
| 730 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 731 | <Original> |
| 732 | c == chars[i] |
| 733 | </Original> |
| 734 | <Expanded> |
| 735 | 'z' == 'z' |
| 736 | </Expanded> |
| 737 | </Expression> |
| 738 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 739 | <Original> |
| 740 | c == chars[i] |
| 741 | </Original> |
| 742 | <Expanded> |
| 743 | 'A' == 'A' |
| 744 | </Expanded> |
| 745 | </Expression> |
| 746 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 747 | <Original> |
| 748 | c == chars[i] |
| 749 | </Original> |
| 750 | <Expanded> |
| 751 | 'Z' == 'Z' |
| 752 | </Expanded> |
| 753 | </Expression> |
| 754 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
| 755 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 756 | <Section name="Low ASCII" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
Martin Hořeňovský | 7db4d8d | 2017-02-07 13:32:48 +0100 | [diff] [blame] | 757 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 758 | <Original> |
| 759 | null_terminator == '\0' |
| 760 | </Original> |
| 761 | <Expanded> |
| 762 | 0 == 0 |
| 763 | </Expanded> |
| 764 | </Expression> |
| 765 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 766 | <Original> |
| 767 | c == i |
| 768 | </Original> |
| 769 | <Expanded> |
| 770 | 2 == 2 |
| 771 | </Expanded> |
| 772 | </Expression> |
| 773 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 774 | <Original> |
| 775 | c == i |
| 776 | </Original> |
| 777 | <Expanded> |
| 778 | 3 == 3 |
| 779 | </Expanded> |
| 780 | </Expression> |
| 781 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 782 | <Original> |
| 783 | c == i |
| 784 | </Original> |
| 785 | <Expanded> |
| 786 | 4 == 4 |
| 787 | </Expanded> |
| 788 | </Expression> |
| 789 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringGeneralTests.cpp" > |
| 790 | <Original> |
| 791 | c == i |
| 792 | </Original> |
| 793 | <Expanded> |
| 794 | 5 == 5 |
| 795 | </Expanded> |
| 796 | </Expression> |
| 797 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
| 798 | </Section> |
| 799 | <OverallResult success="true"/> |
| 800 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 801 | <TestCase name="Comparing function pointers" tags="[Tricky][function pointer]" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 802 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 803 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 804 | a |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 805 | </Original> |
| 806 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 807 | true |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 808 | </Expanded> |
| 809 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 810 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 811 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 812 | a == &foo |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 813 | </Original> |
| 814 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 815 | 0x<hex digits> == 0x<hex digits> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 816 | </Expanded> |
| 817 | </Expression> |
| 818 | <OverallResult success="true"/> |
| 819 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 820 | <TestCase name="Comparing member function pointers" tags="[Tricky][member function pointer]" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 821 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 822 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 823 | m == &S::f |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 824 | </Original> |
| 825 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 826 | 0x<hex digits> |
| 827 | == |
| 828 | 0x<hex digits> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 829 | </Expanded> |
| 830 | </Expression> |
| 831 | <OverallResult success="true"/> |
| 832 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 833 | <TestCase name="Comparisons between ints where one side is computed" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 834 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 835 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 836 | 54 == 6*9 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 837 | </Original> |
| 838 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 839 | 54 == 54 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 840 | </Expanded> |
| 841 | </Expression> |
| 842 | <OverallResult success="true"/> |
| 843 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 844 | <TestCase name="Comparisons between unsigned ints and negative signed ints match c++ standard behaviour" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 845 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 846 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 847 | ( -1 > 2u ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 848 | </Original> |
| 849 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 850 | true |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 851 | </Expanded> |
| 852 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 853 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 854 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 855 | -1 > 2u |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 856 | </Original> |
| 857 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 858 | -1 > 2 |
| 859 | </Expanded> |
| 860 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 861 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 862 | <Original> |
| 863 | ( 2u < -1 ) |
| 864 | </Original> |
| 865 | <Expanded> |
| 866 | true |
| 867 | </Expanded> |
| 868 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 869 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 870 | <Original> |
| 871 | 2u < -1 |
| 872 | </Original> |
| 873 | <Expanded> |
| 874 | 2 < -1 |
| 875 | </Expanded> |
| 876 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 877 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 878 | <Original> |
| 879 | ( minInt > 2u ) |
| 880 | </Original> |
| 881 | <Expanded> |
| 882 | true |
| 883 | </Expanded> |
| 884 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 885 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 886 | <Original> |
| 887 | minInt > 2u |
| 888 | </Original> |
| 889 | <Expanded> |
| 890 | -2147483648 > 2 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 891 | </Expanded> |
| 892 | </Expression> |
| 893 | <OverallResult success="true"/> |
| 894 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 895 | <TestCase name="Comparisons with int literals don't warn when mixing signed/ unsigned" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 896 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 897 | <Original> |
| 898 | i == 1 |
| 899 | </Original> |
| 900 | <Expanded> |
| 901 | 1 == 1 |
| 902 | </Expanded> |
| 903 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 904 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 905 | <Original> |
| 906 | ui == 2 |
| 907 | </Original> |
| 908 | <Expanded> |
| 909 | 2 == 2 |
| 910 | </Expanded> |
| 911 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 912 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 913 | <Original> |
| 914 | l == 3 |
| 915 | </Original> |
| 916 | <Expanded> |
| 917 | 3 == 3 |
| 918 | </Expanded> |
| 919 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 920 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 921 | <Original> |
| 922 | ul == 4 |
| 923 | </Original> |
| 924 | <Expanded> |
| 925 | 4 == 4 |
| 926 | </Expanded> |
| 927 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 928 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 929 | <Original> |
| 930 | c == 5 |
| 931 | </Original> |
| 932 | <Expanded> |
| 933 | 5 == 5 |
| 934 | </Expanded> |
| 935 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 936 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 937 | <Original> |
| 938 | uc == 6 |
| 939 | </Original> |
| 940 | <Expanded> |
| 941 | 6 == 6 |
| 942 | </Expanded> |
| 943 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 944 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 945 | <Original> |
| 946 | 1 == i |
| 947 | </Original> |
| 948 | <Expanded> |
| 949 | 1 == 1 |
| 950 | </Expanded> |
| 951 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 952 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 953 | <Original> |
| 954 | 2 == ui |
| 955 | </Original> |
| 956 | <Expanded> |
| 957 | 2 == 2 |
| 958 | </Expanded> |
| 959 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 960 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 961 | <Original> |
| 962 | 3 == l |
| 963 | </Original> |
| 964 | <Expanded> |
| 965 | 3 == 3 |
| 966 | </Expanded> |
| 967 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 968 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 969 | <Original> |
| 970 | 4 == ul |
| 971 | </Original> |
| 972 | <Expanded> |
| 973 | 4 == 4 |
| 974 | </Expanded> |
| 975 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 976 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 977 | <Original> |
| 978 | 5 == c |
| 979 | </Original> |
| 980 | <Expanded> |
| 981 | 5 == 5 |
| 982 | </Expanded> |
| 983 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 984 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 985 | <Original> |
| 986 | 6 == uc |
| 987 | </Original> |
| 988 | <Expanded> |
| 989 | 6 == 6 |
| 990 | </Expanded> |
| 991 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 992 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 993 | <Original> |
| 994 | (std::numeric_limits<unsigned long>::max)() > ul |
| 995 | </Original> |
| 996 | <Expanded> |
Phil Nash | 0edebf4 | 2015-07-28 18:24:20 +0100 | [diff] [blame] | 997 | 18446744073709551615 (0x<hex digits>) |
| 998 | > |
| 999 | 4 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1000 | </Expanded> |
| 1001 | </Expression> |
| 1002 | <OverallResult success="true"/> |
| 1003 | </TestCase> |
Phil Nash | 4e6938d | 2017-02-21 14:19:09 +0000 | [diff] [blame] | 1004 | <TestCase name="Contains string matcher" tags="[.][failing][hide][matchers]" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 1005 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1006 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1007 | testStringForMatching(), Contains( "not there" ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1008 | </Original> |
| 1009 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1010 | "this string contains 'abc' as a substring" contains: "not there" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1011 | </Expanded> |
| 1012 | </Expression> |
Phil Nash | a49f088 | 2015-11-18 08:39:21 +0000 | [diff] [blame] | 1013 | <OverallResult success="false"/> |
| 1014 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 1015 | <TestCase name="Custom exceptions can be translated when testing for nothrow" tags="[!throws][.][failing][hide]" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1016 | <Expression success="false" type="REQUIRE_NOTHROW" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1017 | <Original> |
| 1018 | throwCustom() |
| 1019 | </Original> |
| 1020 | <Expanded> |
| 1021 | throwCustom() |
| 1022 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1023 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1024 | custom exception - not std |
| 1025 | </Exception> |
| 1026 | </Expression> |
| 1027 | <OverallResult success="false"/> |
| 1028 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 1029 | <TestCase name="Custom exceptions can be translated when testing for throwing as something else" tags="[!throws][.][failing][hide]" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1030 | <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] | 1031 | <Original> |
Martin Hořeňovský | 9952dda | 2017-02-09 12:41:16 +0100 | [diff] [blame] | 1032 | throwCustom(), std::exception |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1033 | </Original> |
| 1034 | <Expanded> |
Martin Hořeňovský | 9952dda | 2017-02-09 12:41:16 +0100 | [diff] [blame] | 1035 | throwCustom(), std::exception |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1036 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1037 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1038 | custom exception - not std |
| 1039 | </Exception> |
| 1040 | </Expression> |
| 1041 | <OverallResult success="false"/> |
| 1042 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 1043 | <TestCase name="Custom std-exceptions can be custom translated" tags="[!throws][.][failing][hide]" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1044 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1045 | custom std exception |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1046 | </Exception> |
| 1047 | <OverallResult success="false"/> |
| 1048 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 1049 | <TestCase name="Demonstrate that a non-const == is not used" tags="[Tricky]" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1050 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1051 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1052 | t == 1u |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1053 | </Original> |
| 1054 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1055 | {?} == 1 |
| 1056 | </Expanded> |
| 1057 | </Expression> |
| 1058 | <OverallResult success="true"/> |
| 1059 | </TestCase> |
Phil Nash | 4e6938d | 2017-02-21 14:19:09 +0000 | [diff] [blame] | 1060 | <TestCase name="EndsWith string matcher" tags="[.][failing][hide][matchers]" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 1061 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1062 | <Original> |
| 1063 | testStringForMatching(), EndsWith( "this" ) |
| 1064 | </Original> |
| 1065 | <Expanded> |
| 1066 | "this string contains 'abc' as a substring" ends with: "this" |
| 1067 | </Expanded> |
| 1068 | </Expression> |
| 1069 | <OverallResult success="false"/> |
| 1070 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 1071 | <TestCase name="Equality checks that should fail" tags="[!mayfail][.][failing][hide]" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1072 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1073 | <Original> |
| 1074 | data.int_seven == 6 |
| 1075 | </Original> |
| 1076 | <Expanded> |
| 1077 | 7 == 6 |
| 1078 | </Expanded> |
| 1079 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1080 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1081 | <Original> |
| 1082 | data.int_seven == 8 |
| 1083 | </Original> |
| 1084 | <Expanded> |
| 1085 | 7 == 8 |
| 1086 | </Expanded> |
| 1087 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1088 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1089 | <Original> |
| 1090 | data.int_seven == 0 |
| 1091 | </Original> |
| 1092 | <Expanded> |
| 1093 | 7 == 0 |
| 1094 | </Expanded> |
| 1095 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1096 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1097 | <Original> |
| 1098 | data.float_nine_point_one == Approx( 9.11f ) |
| 1099 | </Original> |
| 1100 | <Expanded> |
| 1101 | 9.1f == Approx( 9.1099996567 ) |
| 1102 | </Expanded> |
| 1103 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1104 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1105 | <Original> |
| 1106 | data.float_nine_point_one == Approx( 9.0f ) |
| 1107 | </Original> |
| 1108 | <Expanded> |
| 1109 | 9.1f == Approx( 9.0 ) |
| 1110 | </Expanded> |
| 1111 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1112 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1113 | <Original> |
| 1114 | data.float_nine_point_one == Approx( 1 ) |
| 1115 | </Original> |
| 1116 | <Expanded> |
| 1117 | 9.1f == Approx( 1.0 ) |
| 1118 | </Expanded> |
| 1119 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1120 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1121 | <Original> |
| 1122 | data.float_nine_point_one == Approx( 0 ) |
| 1123 | </Original> |
| 1124 | <Expanded> |
| 1125 | 9.1f == Approx( 0.0 ) |
| 1126 | </Expanded> |
| 1127 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1128 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1129 | <Original> |
| 1130 | data.double_pi == Approx( 3.1415 ) |
| 1131 | </Original> |
| 1132 | <Expanded> |
| 1133 | 3.1415926535 == Approx( 3.1415 ) |
| 1134 | </Expanded> |
| 1135 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1136 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1137 | <Original> |
| 1138 | data.str_hello == "goodbye" |
| 1139 | </Original> |
| 1140 | <Expanded> |
| 1141 | "hello" == "goodbye" |
| 1142 | </Expanded> |
| 1143 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1144 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1145 | <Original> |
| 1146 | data.str_hello == "hell" |
| 1147 | </Original> |
| 1148 | <Expanded> |
| 1149 | "hello" == "hell" |
| 1150 | </Expanded> |
| 1151 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1152 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1153 | <Original> |
| 1154 | data.str_hello == "hello1" |
| 1155 | </Original> |
| 1156 | <Expanded> |
| 1157 | "hello" == "hello1" |
| 1158 | </Expanded> |
| 1159 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1160 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1161 | <Original> |
| 1162 | data.str_hello.size() == 6 |
| 1163 | </Original> |
| 1164 | <Expanded> |
| 1165 | 5 == 6 |
| 1166 | </Expanded> |
| 1167 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1168 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1169 | <Original> |
| 1170 | x == Approx( 1.301 ) |
| 1171 | </Original> |
| 1172 | <Expanded> |
| 1173 | 1.3 == Approx( 1.301 ) |
| 1174 | </Expanded> |
| 1175 | </Expression> |
| 1176 | <OverallResult success="true"/> |
| 1177 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 1178 | <TestCase name="Equality checks that should succeed" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1179 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1180 | <Original> |
| 1181 | data.int_seven == 7 |
| 1182 | </Original> |
| 1183 | <Expanded> |
| 1184 | 7 == 7 |
| 1185 | </Expanded> |
| 1186 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1187 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1188 | <Original> |
| 1189 | data.float_nine_point_one == Approx( 9.1f ) |
| 1190 | </Original> |
| 1191 | <Expanded> |
| 1192 | 9.1f == Approx( 9.1000003815 ) |
| 1193 | </Expanded> |
| 1194 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1195 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1196 | <Original> |
| 1197 | data.double_pi == Approx( 3.1415926535 ) |
| 1198 | </Original> |
| 1199 | <Expanded> |
| 1200 | 3.1415926535 == Approx( 3.1415926535 ) |
| 1201 | </Expanded> |
| 1202 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1203 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1204 | <Original> |
| 1205 | data.str_hello == "hello" |
| 1206 | </Original> |
| 1207 | <Expanded> |
| 1208 | "hello" == "hello" |
| 1209 | </Expanded> |
| 1210 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1211 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1212 | <Original> |
| 1213 | "hello" == data.str_hello |
| 1214 | </Original> |
| 1215 | <Expanded> |
| 1216 | "hello" == "hello" |
| 1217 | </Expanded> |
| 1218 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1219 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1220 | <Original> |
| 1221 | data.str_hello.size() == 5 |
| 1222 | </Original> |
| 1223 | <Expanded> |
| 1224 | 5 == 5 |
| 1225 | </Expanded> |
| 1226 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1227 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1228 | <Original> |
| 1229 | x == Approx( 1.3 ) |
| 1230 | </Original> |
| 1231 | <Expanded> |
| 1232 | 1.3 == Approx( 1.3 ) |
| 1233 | </Expanded> |
| 1234 | </Expression> |
| 1235 | <OverallResult success="true"/> |
| 1236 | </TestCase> |
Phil Nash | 4e6938d | 2017-02-21 14:19:09 +0000 | [diff] [blame] | 1237 | <TestCase name="Equals" tags="[matchers]" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 1238 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1239 | <Original> |
| 1240 | testStringForMatching(), Equals( "this string contains 'abc' as a substring" ) |
| 1241 | </Original> |
| 1242 | <Expanded> |
| 1243 | "this string contains 'abc' as a substring" equals: "this string contains 'abc' as a substring" |
| 1244 | </Expanded> |
| 1245 | </Expression> |
| 1246 | <OverallResult success="true"/> |
| 1247 | </TestCase> |
Phil Nash | 4e6938d | 2017-02-21 14:19:09 +0000 | [diff] [blame] | 1248 | <TestCase name="Equals string matcher" tags="[.][failing][hide][matchers]" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 1249 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1250 | <Original> |
| 1251 | testStringForMatching(), Equals( "something else" ) |
| 1252 | </Original> |
| 1253 | <Expanded> |
| 1254 | "this string contains 'abc' as a substring" equals: "something else" |
| 1255 | </Expanded> |
| 1256 | </Expression> |
| 1257 | <OverallResult success="false"/> |
| 1258 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 1259 | <TestCase name="Exception messages can be tested for" tags="[!throws]" filename="projects/<exe-name>/ExceptionTests.cpp" > |
| 1260 | <Section name="exact match" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1261 | <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] | 1262 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1263 | thisThrows(), "expected exception" |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1264 | </Original> |
| 1265 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1266 | thisThrows(), "expected exception" |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1267 | </Expanded> |
| 1268 | </Expression> |
| 1269 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 1270 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 1271 | <Section name="different case" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1272 | <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] | 1273 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1274 | thisThrows(), Equals( "expecteD Exception", Catch::CaseSensitive::No ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1275 | </Original> |
| 1276 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1277 | thisThrows(), Equals( "expecteD Exception", Catch::CaseSensitive::No ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1278 | </Expanded> |
| 1279 | </Expression> |
| 1280 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 1281 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 1282 | <Section name="wildcarded" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1283 | <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] | 1284 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1285 | thisThrows(), StartsWith( "expected" ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1286 | </Original> |
| 1287 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1288 | thisThrows(), StartsWith( "expected" ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1289 | </Expanded> |
| 1290 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1291 | <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] | 1292 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1293 | thisThrows(), EndsWith( "exception" ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1294 | </Original> |
| 1295 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1296 | thisThrows(), EndsWith( "exception" ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1297 | </Expanded> |
| 1298 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1299 | <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] | 1300 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1301 | thisThrows(), Contains( "except" ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1302 | </Original> |
| 1303 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1304 | thisThrows(), Contains( "except" ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1305 | </Expanded> |
| 1306 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1307 | <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] | 1308 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1309 | thisThrows(), Contains( "exCept", Catch::CaseSensitive::No ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1310 | </Original> |
| 1311 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1312 | thisThrows(), Contains( "exCept", Catch::CaseSensitive::No ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1313 | </Expanded> |
| 1314 | </Expression> |
| 1315 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 1316 | </Section> |
| 1317 | <OverallResult success="true"/> |
| 1318 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 1319 | <TestCase name="Expected exceptions that don't throw or unexpected exceptions fail the test" tags="[!throws][.][failing][hide]" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1320 | <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] | 1321 | <Original> |
Martin Hořeňovský | 9952dda | 2017-02-09 12:41:16 +0100 | [diff] [blame] | 1322 | thisThrows(), std::string |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1323 | </Original> |
| 1324 | <Expanded> |
Martin Hořeňovský | 9952dda | 2017-02-09 12:41:16 +0100 | [diff] [blame] | 1325 | thisThrows(), std::string |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1326 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1327 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1328 | expected exception |
| 1329 | </Exception> |
| 1330 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1331 | <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] | 1332 | <Original> |
Martin Hořeňovský | 9952dda | 2017-02-09 12:41:16 +0100 | [diff] [blame] | 1333 | thisDoesntThrow(), std::domain_error |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1334 | </Original> |
| 1335 | <Expanded> |
Martin Hořeňovský | 9952dda | 2017-02-09 12:41:16 +0100 | [diff] [blame] | 1336 | thisDoesntThrow(), std::domain_error |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1337 | </Expanded> |
| 1338 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1339 | <Expression success="false" type="CHECK_NOTHROW" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 85de743 | 2015-07-13 06:34:41 +0100 | [diff] [blame] | 1340 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1341 | thisThrows() |
Phil Nash | 85de743 | 2015-07-13 06:34:41 +0100 | [diff] [blame] | 1342 | </Original> |
| 1343 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1344 | thisThrows() |
Phil Nash | 85de743 | 2015-07-13 06:34:41 +0100 | [diff] [blame] | 1345 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1346 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1347 | expected exception |
| 1348 | </Exception> |
Phil Nash | 85de743 | 2015-07-13 06:34:41 +0100 | [diff] [blame] | 1349 | </Expression> |
| 1350 | <OverallResult success="false"/> |
| 1351 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 1352 | <TestCase name="FAIL aborts the test" tags="[.][failing][hide][messages]" filename="projects/<exe-name>/MessageTests.cpp" > |
| 1353 | <Failure filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1354 | This is a failure |
| 1355 | </Failure> |
| 1356 | <OverallResult success="false"/> |
| 1357 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 1358 | <TestCase name="FAIL does not require an argument" tags="[.][failing][hide][messages]" filename="projects/<exe-name>/MessageTests.cpp" > |
| 1359 | <Failure filename="projects/<exe-name>/MessageTests.cpp" /> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1360 | <OverallResult success="false"/> |
| 1361 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 1362 | <TestCase name="Factorials are computed" tags="[factorial]" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1363 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1364 | <Original> |
| 1365 | Factorial(0) == 1 |
| 1366 | </Original> |
| 1367 | <Expanded> |
| 1368 | 1 == 1 |
| 1369 | </Expanded> |
| 1370 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1371 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1372 | <Original> |
| 1373 | Factorial(1) == 1 |
| 1374 | </Original> |
| 1375 | <Expanded> |
| 1376 | 1 == 1 |
| 1377 | </Expanded> |
| 1378 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1379 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1380 | <Original> |
| 1381 | Factorial(2) == 2 |
| 1382 | </Original> |
| 1383 | <Expanded> |
| 1384 | 2 == 2 |
| 1385 | </Expanded> |
| 1386 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1387 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1388 | <Original> |
| 1389 | Factorial(3) == 6 |
| 1390 | </Original> |
| 1391 | <Expanded> |
| 1392 | 6 == 6 |
| 1393 | </Expanded> |
| 1394 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1395 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1396 | <Original> |
| 1397 | Factorial(10) == 3628800 |
| 1398 | </Original> |
| 1399 | <Expanded> |
| 1400 | 3628800 (0x<hex digits>) == 3628800 (0x<hex digits>) |
| 1401 | </Expanded> |
| 1402 | </Expression> |
| 1403 | <OverallResult success="true"/> |
| 1404 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 1405 | <TestCase name="Generator over a range of pairs" tags="[generators]" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1406 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1407 | <Original> |
| 1408 | i->first == i->second-1 |
| 1409 | </Original> |
| 1410 | <Expanded> |
| 1411 | 0 == 0 |
| 1412 | </Expanded> |
| 1413 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1414 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1415 | <Original> |
| 1416 | i->first == i->second-1 |
| 1417 | </Original> |
| 1418 | <Expanded> |
| 1419 | 2 == 2 |
| 1420 | </Expanded> |
| 1421 | </Expression> |
| 1422 | <OverallResult success="true"/> |
| 1423 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 1424 | <TestCase name="Generators over two ranges" tags="[generators]" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1425 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1426 | <Original> |
| 1427 | multiply( i, 2 ) == i*2 |
| 1428 | </Original> |
| 1429 | <Expanded> |
| 1430 | 2 == 2 |
| 1431 | </Expanded> |
| 1432 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1433 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1434 | <Original> |
| 1435 | multiply( j, 2 ) == j*2 |
| 1436 | </Original> |
| 1437 | <Expanded> |
| 1438 | 200 == 200 |
| 1439 | </Expanded> |
| 1440 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1441 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1442 | <Original> |
| 1443 | multiply( i, 2 ) == i*2 |
| 1444 | </Original> |
| 1445 | <Expanded> |
| 1446 | 4 == 4 |
| 1447 | </Expanded> |
| 1448 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1449 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1450 | <Original> |
| 1451 | multiply( j, 2 ) == j*2 |
| 1452 | </Original> |
| 1453 | <Expanded> |
| 1454 | 200 == 200 |
| 1455 | </Expanded> |
| 1456 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1457 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1458 | <Original> |
| 1459 | multiply( i, 2 ) == i*2 |
| 1460 | </Original> |
| 1461 | <Expanded> |
| 1462 | 6 == 6 |
| 1463 | </Expanded> |
| 1464 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1465 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1466 | <Original> |
| 1467 | multiply( j, 2 ) == j*2 |
| 1468 | </Original> |
| 1469 | <Expanded> |
| 1470 | 200 == 200 |
| 1471 | </Expanded> |
| 1472 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1473 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1474 | <Original> |
| 1475 | multiply( i, 2 ) == i*2 |
| 1476 | </Original> |
| 1477 | <Expanded> |
| 1478 | 8 == 8 |
| 1479 | </Expanded> |
| 1480 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1481 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1482 | <Original> |
| 1483 | multiply( j, 2 ) == j*2 |
| 1484 | </Original> |
| 1485 | <Expanded> |
| 1486 | 200 == 200 |
| 1487 | </Expanded> |
| 1488 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1489 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1490 | <Original> |
| 1491 | multiply( i, 2 ) == i*2 |
| 1492 | </Original> |
| 1493 | <Expanded> |
| 1494 | 10 == 10 |
| 1495 | </Expanded> |
| 1496 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1497 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1498 | <Original> |
| 1499 | multiply( j, 2 ) == j*2 |
| 1500 | </Original> |
| 1501 | <Expanded> |
| 1502 | 200 == 200 |
| 1503 | </Expanded> |
| 1504 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1505 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1506 | <Original> |
| 1507 | multiply( i, 2 ) == i*2 |
| 1508 | </Original> |
| 1509 | <Expanded> |
| 1510 | 30 == 30 |
| 1511 | </Expanded> |
| 1512 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1513 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1514 | <Original> |
| 1515 | multiply( j, 2 ) == j*2 |
| 1516 | </Original> |
| 1517 | <Expanded> |
| 1518 | 200 == 200 |
| 1519 | </Expanded> |
| 1520 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1521 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1522 | <Original> |
| 1523 | multiply( i, 2 ) == i*2 |
| 1524 | </Original> |
| 1525 | <Expanded> |
| 1526 | 40 == 40 |
| 1527 | </Expanded> |
| 1528 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1529 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1530 | <Original> |
| 1531 | multiply( j, 2 ) == j*2 |
| 1532 | </Original> |
| 1533 | <Expanded> |
| 1534 | 200 == 200 |
| 1535 | </Expanded> |
| 1536 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1537 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1538 | <Original> |
| 1539 | multiply( i, 2 ) == i*2 |
| 1540 | </Original> |
| 1541 | <Expanded> |
| 1542 | 42 == 42 |
| 1543 | </Expanded> |
| 1544 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1545 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1546 | <Original> |
| 1547 | multiply( j, 2 ) == j*2 |
| 1548 | </Original> |
| 1549 | <Expanded> |
| 1550 | 200 == 200 |
| 1551 | </Expanded> |
| 1552 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1553 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1554 | <Original> |
| 1555 | multiply( i, 2 ) == i*2 |
| 1556 | </Original> |
| 1557 | <Expanded> |
| 1558 | 72 == 72 |
| 1559 | </Expanded> |
| 1560 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1561 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1562 | <Original> |
| 1563 | multiply( j, 2 ) == j*2 |
| 1564 | </Original> |
| 1565 | <Expanded> |
| 1566 | 200 == 200 |
| 1567 | </Expanded> |
| 1568 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1569 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1570 | <Original> |
| 1571 | multiply( i, 2 ) == i*2 |
| 1572 | </Original> |
| 1573 | <Expanded> |
| 1574 | 2 == 2 |
| 1575 | </Expanded> |
| 1576 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1577 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1578 | <Original> |
| 1579 | multiply( j, 2 ) == j*2 |
| 1580 | </Original> |
| 1581 | <Expanded> |
| 1582 | 202 == 202 |
| 1583 | </Expanded> |
| 1584 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1585 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1586 | <Original> |
| 1587 | multiply( i, 2 ) == i*2 |
| 1588 | </Original> |
| 1589 | <Expanded> |
| 1590 | 4 == 4 |
| 1591 | </Expanded> |
| 1592 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1593 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1594 | <Original> |
| 1595 | multiply( j, 2 ) == j*2 |
| 1596 | </Original> |
| 1597 | <Expanded> |
| 1598 | 202 == 202 |
| 1599 | </Expanded> |
| 1600 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1601 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1602 | <Original> |
| 1603 | multiply( i, 2 ) == i*2 |
| 1604 | </Original> |
| 1605 | <Expanded> |
| 1606 | 6 == 6 |
| 1607 | </Expanded> |
| 1608 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1609 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1610 | <Original> |
| 1611 | multiply( j, 2 ) == j*2 |
| 1612 | </Original> |
| 1613 | <Expanded> |
| 1614 | 202 == 202 |
| 1615 | </Expanded> |
| 1616 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1617 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1618 | <Original> |
| 1619 | multiply( i, 2 ) == i*2 |
| 1620 | </Original> |
| 1621 | <Expanded> |
| 1622 | 8 == 8 |
| 1623 | </Expanded> |
| 1624 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1625 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1626 | <Original> |
| 1627 | multiply( j, 2 ) == j*2 |
| 1628 | </Original> |
| 1629 | <Expanded> |
| 1630 | 202 == 202 |
| 1631 | </Expanded> |
| 1632 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1633 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1634 | <Original> |
| 1635 | multiply( i, 2 ) == i*2 |
| 1636 | </Original> |
| 1637 | <Expanded> |
| 1638 | 10 == 10 |
| 1639 | </Expanded> |
| 1640 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1641 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1642 | <Original> |
| 1643 | multiply( j, 2 ) == j*2 |
| 1644 | </Original> |
| 1645 | <Expanded> |
| 1646 | 202 == 202 |
| 1647 | </Expanded> |
| 1648 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1649 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1650 | <Original> |
| 1651 | multiply( i, 2 ) == i*2 |
| 1652 | </Original> |
| 1653 | <Expanded> |
| 1654 | 30 == 30 |
| 1655 | </Expanded> |
| 1656 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1657 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1658 | <Original> |
| 1659 | multiply( j, 2 ) == j*2 |
| 1660 | </Original> |
| 1661 | <Expanded> |
| 1662 | 202 == 202 |
| 1663 | </Expanded> |
| 1664 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1665 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1666 | <Original> |
| 1667 | multiply( i, 2 ) == i*2 |
| 1668 | </Original> |
| 1669 | <Expanded> |
| 1670 | 40 == 40 |
| 1671 | </Expanded> |
| 1672 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1673 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1674 | <Original> |
| 1675 | multiply( j, 2 ) == j*2 |
| 1676 | </Original> |
| 1677 | <Expanded> |
| 1678 | 202 == 202 |
| 1679 | </Expanded> |
| 1680 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1681 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1682 | <Original> |
| 1683 | multiply( i, 2 ) == i*2 |
| 1684 | </Original> |
| 1685 | <Expanded> |
| 1686 | 42 == 42 |
| 1687 | </Expanded> |
| 1688 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1689 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1690 | <Original> |
| 1691 | multiply( j, 2 ) == j*2 |
| 1692 | </Original> |
| 1693 | <Expanded> |
| 1694 | 202 == 202 |
| 1695 | </Expanded> |
| 1696 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1697 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1698 | <Original> |
| 1699 | multiply( i, 2 ) == i*2 |
| 1700 | </Original> |
| 1701 | <Expanded> |
| 1702 | 72 == 72 |
| 1703 | </Expanded> |
| 1704 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1705 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1706 | <Original> |
| 1707 | multiply( j, 2 ) == j*2 |
| 1708 | </Original> |
| 1709 | <Expanded> |
| 1710 | 202 == 202 |
| 1711 | </Expanded> |
| 1712 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1713 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1714 | <Original> |
| 1715 | multiply( i, 2 ) == i*2 |
| 1716 | </Original> |
| 1717 | <Expanded> |
| 1718 | 2 == 2 |
| 1719 | </Expanded> |
| 1720 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1721 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1722 | <Original> |
| 1723 | multiply( j, 2 ) == j*2 |
| 1724 | </Original> |
| 1725 | <Expanded> |
| 1726 | 204 == 204 |
| 1727 | </Expanded> |
| 1728 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1729 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1730 | <Original> |
| 1731 | multiply( i, 2 ) == i*2 |
| 1732 | </Original> |
| 1733 | <Expanded> |
| 1734 | 4 == 4 |
| 1735 | </Expanded> |
| 1736 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1737 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1738 | <Original> |
| 1739 | multiply( j, 2 ) == j*2 |
| 1740 | </Original> |
| 1741 | <Expanded> |
| 1742 | 204 == 204 |
| 1743 | </Expanded> |
| 1744 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1745 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1746 | <Original> |
| 1747 | multiply( i, 2 ) == i*2 |
| 1748 | </Original> |
| 1749 | <Expanded> |
| 1750 | 6 == 6 |
| 1751 | </Expanded> |
| 1752 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1753 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1754 | <Original> |
| 1755 | multiply( j, 2 ) == j*2 |
| 1756 | </Original> |
| 1757 | <Expanded> |
| 1758 | 204 == 204 |
| 1759 | </Expanded> |
| 1760 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1761 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1762 | <Original> |
| 1763 | multiply( i, 2 ) == i*2 |
| 1764 | </Original> |
| 1765 | <Expanded> |
| 1766 | 8 == 8 |
| 1767 | </Expanded> |
| 1768 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1769 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1770 | <Original> |
| 1771 | multiply( j, 2 ) == j*2 |
| 1772 | </Original> |
| 1773 | <Expanded> |
| 1774 | 204 == 204 |
| 1775 | </Expanded> |
| 1776 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1777 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1778 | <Original> |
| 1779 | multiply( i, 2 ) == i*2 |
| 1780 | </Original> |
| 1781 | <Expanded> |
| 1782 | 10 == 10 |
| 1783 | </Expanded> |
| 1784 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1785 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1786 | <Original> |
| 1787 | multiply( j, 2 ) == j*2 |
| 1788 | </Original> |
| 1789 | <Expanded> |
| 1790 | 204 == 204 |
| 1791 | </Expanded> |
| 1792 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1793 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1794 | <Original> |
| 1795 | multiply( i, 2 ) == i*2 |
| 1796 | </Original> |
| 1797 | <Expanded> |
| 1798 | 30 == 30 |
| 1799 | </Expanded> |
| 1800 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1801 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1802 | <Original> |
| 1803 | multiply( j, 2 ) == j*2 |
| 1804 | </Original> |
| 1805 | <Expanded> |
| 1806 | 204 == 204 |
| 1807 | </Expanded> |
| 1808 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1809 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1810 | <Original> |
| 1811 | multiply( i, 2 ) == i*2 |
| 1812 | </Original> |
| 1813 | <Expanded> |
| 1814 | 40 == 40 |
| 1815 | </Expanded> |
| 1816 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1817 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1818 | <Original> |
| 1819 | multiply( j, 2 ) == j*2 |
| 1820 | </Original> |
| 1821 | <Expanded> |
| 1822 | 204 == 204 |
| 1823 | </Expanded> |
| 1824 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1825 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1826 | <Original> |
| 1827 | multiply( i, 2 ) == i*2 |
| 1828 | </Original> |
| 1829 | <Expanded> |
| 1830 | 42 == 42 |
| 1831 | </Expanded> |
| 1832 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1833 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1834 | <Original> |
| 1835 | multiply( j, 2 ) == j*2 |
| 1836 | </Original> |
| 1837 | <Expanded> |
| 1838 | 204 == 204 |
| 1839 | </Expanded> |
| 1840 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1841 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1842 | <Original> |
| 1843 | multiply( i, 2 ) == i*2 |
| 1844 | </Original> |
| 1845 | <Expanded> |
| 1846 | 72 == 72 |
| 1847 | </Expanded> |
| 1848 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1849 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1850 | <Original> |
| 1851 | multiply( j, 2 ) == j*2 |
| 1852 | </Original> |
| 1853 | <Expanded> |
| 1854 | 204 == 204 |
| 1855 | </Expanded> |
| 1856 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1857 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1858 | <Original> |
| 1859 | multiply( i, 2 ) == i*2 |
| 1860 | </Original> |
| 1861 | <Expanded> |
| 1862 | 2 == 2 |
| 1863 | </Expanded> |
| 1864 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1865 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1866 | <Original> |
| 1867 | multiply( j, 2 ) == j*2 |
| 1868 | </Original> |
| 1869 | <Expanded> |
| 1870 | 206 == 206 |
| 1871 | </Expanded> |
| 1872 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1873 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1874 | <Original> |
| 1875 | multiply( i, 2 ) == i*2 |
| 1876 | </Original> |
| 1877 | <Expanded> |
| 1878 | 4 == 4 |
| 1879 | </Expanded> |
| 1880 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1881 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1882 | <Original> |
| 1883 | multiply( j, 2 ) == j*2 |
| 1884 | </Original> |
| 1885 | <Expanded> |
| 1886 | 206 == 206 |
| 1887 | </Expanded> |
| 1888 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1889 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1890 | <Original> |
| 1891 | multiply( i, 2 ) == i*2 |
| 1892 | </Original> |
| 1893 | <Expanded> |
| 1894 | 6 == 6 |
| 1895 | </Expanded> |
| 1896 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1897 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1898 | <Original> |
| 1899 | multiply( j, 2 ) == j*2 |
| 1900 | </Original> |
| 1901 | <Expanded> |
| 1902 | 206 == 206 |
| 1903 | </Expanded> |
| 1904 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1905 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1906 | <Original> |
| 1907 | multiply( i, 2 ) == i*2 |
| 1908 | </Original> |
| 1909 | <Expanded> |
| 1910 | 8 == 8 |
| 1911 | </Expanded> |
| 1912 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1913 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1914 | <Original> |
| 1915 | multiply( j, 2 ) == j*2 |
| 1916 | </Original> |
| 1917 | <Expanded> |
| 1918 | 206 == 206 |
| 1919 | </Expanded> |
| 1920 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1921 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1922 | <Original> |
| 1923 | multiply( i, 2 ) == i*2 |
| 1924 | </Original> |
| 1925 | <Expanded> |
| 1926 | 10 == 10 |
| 1927 | </Expanded> |
| 1928 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1929 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1930 | <Original> |
| 1931 | multiply( j, 2 ) == j*2 |
| 1932 | </Original> |
| 1933 | <Expanded> |
| 1934 | 206 == 206 |
| 1935 | </Expanded> |
| 1936 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1937 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1938 | <Original> |
| 1939 | multiply( i, 2 ) == i*2 |
| 1940 | </Original> |
| 1941 | <Expanded> |
| 1942 | 30 == 30 |
| 1943 | </Expanded> |
| 1944 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1945 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1946 | <Original> |
| 1947 | multiply( j, 2 ) == j*2 |
| 1948 | </Original> |
| 1949 | <Expanded> |
| 1950 | 206 == 206 |
| 1951 | </Expanded> |
| 1952 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1953 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1954 | <Original> |
| 1955 | multiply( i, 2 ) == i*2 |
| 1956 | </Original> |
| 1957 | <Expanded> |
| 1958 | 40 == 40 |
| 1959 | </Expanded> |
| 1960 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1961 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1962 | <Original> |
| 1963 | multiply( j, 2 ) == j*2 |
| 1964 | </Original> |
| 1965 | <Expanded> |
| 1966 | 206 == 206 |
| 1967 | </Expanded> |
| 1968 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1969 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1970 | <Original> |
| 1971 | multiply( i, 2 ) == i*2 |
| 1972 | </Original> |
| 1973 | <Expanded> |
| 1974 | 42 == 42 |
| 1975 | </Expanded> |
| 1976 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1977 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1978 | <Original> |
| 1979 | multiply( j, 2 ) == j*2 |
| 1980 | </Original> |
| 1981 | <Expanded> |
| 1982 | 206 == 206 |
| 1983 | </Expanded> |
| 1984 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1985 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1986 | <Original> |
| 1987 | multiply( i, 2 ) == i*2 |
| 1988 | </Original> |
| 1989 | <Expanded> |
| 1990 | 72 == 72 |
| 1991 | </Expanded> |
| 1992 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1993 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1994 | <Original> |
| 1995 | multiply( j, 2 ) == j*2 |
| 1996 | </Original> |
| 1997 | <Expanded> |
| 1998 | 206 == 206 |
| 1999 | </Expanded> |
| 2000 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2001 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2002 | <Original> |
| 2003 | multiply( i, 2 ) == i*2 |
| 2004 | </Original> |
| 2005 | <Expanded> |
| 2006 | 2 == 2 |
| 2007 | </Expanded> |
| 2008 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2009 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2010 | <Original> |
| 2011 | multiply( j, 2 ) == j*2 |
| 2012 | </Original> |
| 2013 | <Expanded> |
| 2014 | 208 == 208 |
| 2015 | </Expanded> |
| 2016 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2017 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2018 | <Original> |
| 2019 | multiply( i, 2 ) == i*2 |
| 2020 | </Original> |
| 2021 | <Expanded> |
| 2022 | 4 == 4 |
| 2023 | </Expanded> |
| 2024 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2025 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2026 | <Original> |
| 2027 | multiply( j, 2 ) == j*2 |
| 2028 | </Original> |
| 2029 | <Expanded> |
| 2030 | 208 == 208 |
| 2031 | </Expanded> |
| 2032 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2033 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2034 | <Original> |
| 2035 | multiply( i, 2 ) == i*2 |
| 2036 | </Original> |
| 2037 | <Expanded> |
| 2038 | 6 == 6 |
| 2039 | </Expanded> |
| 2040 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2041 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2042 | <Original> |
| 2043 | multiply( j, 2 ) == j*2 |
| 2044 | </Original> |
| 2045 | <Expanded> |
| 2046 | 208 == 208 |
| 2047 | </Expanded> |
| 2048 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2049 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2050 | <Original> |
| 2051 | multiply( i, 2 ) == i*2 |
| 2052 | </Original> |
| 2053 | <Expanded> |
| 2054 | 8 == 8 |
| 2055 | </Expanded> |
| 2056 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2057 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2058 | <Original> |
| 2059 | multiply( j, 2 ) == j*2 |
| 2060 | </Original> |
| 2061 | <Expanded> |
| 2062 | 208 == 208 |
| 2063 | </Expanded> |
| 2064 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2065 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2066 | <Original> |
| 2067 | multiply( i, 2 ) == i*2 |
| 2068 | </Original> |
| 2069 | <Expanded> |
| 2070 | 10 == 10 |
| 2071 | </Expanded> |
| 2072 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2073 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2074 | <Original> |
| 2075 | multiply( j, 2 ) == j*2 |
| 2076 | </Original> |
| 2077 | <Expanded> |
| 2078 | 208 == 208 |
| 2079 | </Expanded> |
| 2080 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2081 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2082 | <Original> |
| 2083 | multiply( i, 2 ) == i*2 |
| 2084 | </Original> |
| 2085 | <Expanded> |
| 2086 | 30 == 30 |
| 2087 | </Expanded> |
| 2088 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2089 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2090 | <Original> |
| 2091 | multiply( j, 2 ) == j*2 |
| 2092 | </Original> |
| 2093 | <Expanded> |
| 2094 | 208 == 208 |
| 2095 | </Expanded> |
| 2096 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2097 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2098 | <Original> |
| 2099 | multiply( i, 2 ) == i*2 |
| 2100 | </Original> |
| 2101 | <Expanded> |
| 2102 | 40 == 40 |
| 2103 | </Expanded> |
| 2104 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2105 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2106 | <Original> |
| 2107 | multiply( j, 2 ) == j*2 |
| 2108 | </Original> |
| 2109 | <Expanded> |
| 2110 | 208 == 208 |
| 2111 | </Expanded> |
| 2112 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2113 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2114 | <Original> |
| 2115 | multiply( i, 2 ) == i*2 |
| 2116 | </Original> |
| 2117 | <Expanded> |
| 2118 | 42 == 42 |
| 2119 | </Expanded> |
| 2120 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2121 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2122 | <Original> |
| 2123 | multiply( j, 2 ) == j*2 |
| 2124 | </Original> |
| 2125 | <Expanded> |
| 2126 | 208 == 208 |
| 2127 | </Expanded> |
| 2128 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2129 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2130 | <Original> |
| 2131 | multiply( i, 2 ) == i*2 |
| 2132 | </Original> |
| 2133 | <Expanded> |
| 2134 | 72 == 72 |
| 2135 | </Expanded> |
| 2136 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2137 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2138 | <Original> |
| 2139 | multiply( j, 2 ) == j*2 |
| 2140 | </Original> |
| 2141 | <Expanded> |
| 2142 | 208 == 208 |
| 2143 | </Expanded> |
| 2144 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2145 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2146 | <Original> |
| 2147 | multiply( i, 2 ) == i*2 |
| 2148 | </Original> |
| 2149 | <Expanded> |
| 2150 | 2 == 2 |
| 2151 | </Expanded> |
| 2152 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2153 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2154 | <Original> |
| 2155 | multiply( j, 2 ) == j*2 |
| 2156 | </Original> |
| 2157 | <Expanded> |
| 2158 | 210 == 210 |
| 2159 | </Expanded> |
| 2160 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2161 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2162 | <Original> |
| 2163 | multiply( i, 2 ) == i*2 |
| 2164 | </Original> |
| 2165 | <Expanded> |
| 2166 | 4 == 4 |
| 2167 | </Expanded> |
| 2168 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2169 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2170 | <Original> |
| 2171 | multiply( j, 2 ) == j*2 |
| 2172 | </Original> |
| 2173 | <Expanded> |
| 2174 | 210 == 210 |
| 2175 | </Expanded> |
| 2176 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2177 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2178 | <Original> |
| 2179 | multiply( i, 2 ) == i*2 |
| 2180 | </Original> |
| 2181 | <Expanded> |
| 2182 | 6 == 6 |
| 2183 | </Expanded> |
| 2184 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2185 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2186 | <Original> |
| 2187 | multiply( j, 2 ) == j*2 |
| 2188 | </Original> |
| 2189 | <Expanded> |
| 2190 | 210 == 210 |
| 2191 | </Expanded> |
| 2192 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2193 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2194 | <Original> |
| 2195 | multiply( i, 2 ) == i*2 |
| 2196 | </Original> |
| 2197 | <Expanded> |
| 2198 | 8 == 8 |
| 2199 | </Expanded> |
| 2200 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2201 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2202 | <Original> |
| 2203 | multiply( j, 2 ) == j*2 |
| 2204 | </Original> |
| 2205 | <Expanded> |
| 2206 | 210 == 210 |
| 2207 | </Expanded> |
| 2208 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2209 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2210 | <Original> |
| 2211 | multiply( i, 2 ) == i*2 |
| 2212 | </Original> |
| 2213 | <Expanded> |
| 2214 | 10 == 10 |
| 2215 | </Expanded> |
| 2216 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2217 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2218 | <Original> |
| 2219 | multiply( j, 2 ) == j*2 |
| 2220 | </Original> |
| 2221 | <Expanded> |
| 2222 | 210 == 210 |
| 2223 | </Expanded> |
| 2224 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2225 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2226 | <Original> |
| 2227 | multiply( i, 2 ) == i*2 |
| 2228 | </Original> |
| 2229 | <Expanded> |
| 2230 | 30 == 30 |
| 2231 | </Expanded> |
| 2232 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2233 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2234 | <Original> |
| 2235 | multiply( j, 2 ) == j*2 |
| 2236 | </Original> |
| 2237 | <Expanded> |
| 2238 | 210 == 210 |
| 2239 | </Expanded> |
| 2240 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2241 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2242 | <Original> |
| 2243 | multiply( i, 2 ) == i*2 |
| 2244 | </Original> |
| 2245 | <Expanded> |
| 2246 | 40 == 40 |
| 2247 | </Expanded> |
| 2248 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2249 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2250 | <Original> |
| 2251 | multiply( j, 2 ) == j*2 |
| 2252 | </Original> |
| 2253 | <Expanded> |
| 2254 | 210 == 210 |
| 2255 | </Expanded> |
| 2256 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2257 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2258 | <Original> |
| 2259 | multiply( i, 2 ) == i*2 |
| 2260 | </Original> |
| 2261 | <Expanded> |
| 2262 | 42 == 42 |
| 2263 | </Expanded> |
| 2264 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2265 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2266 | <Original> |
| 2267 | multiply( j, 2 ) == j*2 |
| 2268 | </Original> |
| 2269 | <Expanded> |
| 2270 | 210 == 210 |
| 2271 | </Expanded> |
| 2272 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2273 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2274 | <Original> |
| 2275 | multiply( i, 2 ) == i*2 |
| 2276 | </Original> |
| 2277 | <Expanded> |
| 2278 | 72 == 72 |
| 2279 | </Expanded> |
| 2280 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2281 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2282 | <Original> |
| 2283 | multiply( j, 2 ) == j*2 |
| 2284 | </Original> |
| 2285 | <Expanded> |
| 2286 | 210 == 210 |
| 2287 | </Expanded> |
| 2288 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2289 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2290 | <Original> |
| 2291 | multiply( i, 2 ) == i*2 |
| 2292 | </Original> |
| 2293 | <Expanded> |
| 2294 | 2 == 2 |
| 2295 | </Expanded> |
| 2296 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2297 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2298 | <Original> |
| 2299 | multiply( j, 2 ) == j*2 |
| 2300 | </Original> |
| 2301 | <Expanded> |
| 2302 | 212 == 212 |
| 2303 | </Expanded> |
| 2304 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2305 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2306 | <Original> |
| 2307 | multiply( i, 2 ) == i*2 |
| 2308 | </Original> |
| 2309 | <Expanded> |
| 2310 | 4 == 4 |
| 2311 | </Expanded> |
| 2312 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2313 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2314 | <Original> |
| 2315 | multiply( j, 2 ) == j*2 |
| 2316 | </Original> |
| 2317 | <Expanded> |
| 2318 | 212 == 212 |
| 2319 | </Expanded> |
| 2320 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2321 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2322 | <Original> |
| 2323 | multiply( i, 2 ) == i*2 |
| 2324 | </Original> |
| 2325 | <Expanded> |
| 2326 | 6 == 6 |
| 2327 | </Expanded> |
| 2328 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2329 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2330 | <Original> |
| 2331 | multiply( j, 2 ) == j*2 |
| 2332 | </Original> |
| 2333 | <Expanded> |
| 2334 | 212 == 212 |
| 2335 | </Expanded> |
| 2336 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2337 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2338 | <Original> |
| 2339 | multiply( i, 2 ) == i*2 |
| 2340 | </Original> |
| 2341 | <Expanded> |
| 2342 | 8 == 8 |
| 2343 | </Expanded> |
| 2344 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2345 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2346 | <Original> |
| 2347 | multiply( j, 2 ) == j*2 |
| 2348 | </Original> |
| 2349 | <Expanded> |
| 2350 | 212 == 212 |
| 2351 | </Expanded> |
| 2352 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2353 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2354 | <Original> |
| 2355 | multiply( i, 2 ) == i*2 |
| 2356 | </Original> |
| 2357 | <Expanded> |
| 2358 | 10 == 10 |
| 2359 | </Expanded> |
| 2360 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2361 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2362 | <Original> |
| 2363 | multiply( j, 2 ) == j*2 |
| 2364 | </Original> |
| 2365 | <Expanded> |
| 2366 | 212 == 212 |
| 2367 | </Expanded> |
| 2368 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2369 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2370 | <Original> |
| 2371 | multiply( i, 2 ) == i*2 |
| 2372 | </Original> |
| 2373 | <Expanded> |
| 2374 | 30 == 30 |
| 2375 | </Expanded> |
| 2376 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2377 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2378 | <Original> |
| 2379 | multiply( j, 2 ) == j*2 |
| 2380 | </Original> |
| 2381 | <Expanded> |
| 2382 | 212 == 212 |
| 2383 | </Expanded> |
| 2384 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2385 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2386 | <Original> |
| 2387 | multiply( i, 2 ) == i*2 |
| 2388 | </Original> |
| 2389 | <Expanded> |
| 2390 | 40 == 40 |
| 2391 | </Expanded> |
| 2392 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2393 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2394 | <Original> |
| 2395 | multiply( j, 2 ) == j*2 |
| 2396 | </Original> |
| 2397 | <Expanded> |
| 2398 | 212 == 212 |
| 2399 | </Expanded> |
| 2400 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2401 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2402 | <Original> |
| 2403 | multiply( i, 2 ) == i*2 |
| 2404 | </Original> |
| 2405 | <Expanded> |
| 2406 | 42 == 42 |
| 2407 | </Expanded> |
| 2408 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2409 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2410 | <Original> |
| 2411 | multiply( j, 2 ) == j*2 |
| 2412 | </Original> |
| 2413 | <Expanded> |
| 2414 | 212 == 212 |
| 2415 | </Expanded> |
| 2416 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2417 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2418 | <Original> |
| 2419 | multiply( i, 2 ) == i*2 |
| 2420 | </Original> |
| 2421 | <Expanded> |
| 2422 | 72 == 72 |
| 2423 | </Expanded> |
| 2424 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2425 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2426 | <Original> |
| 2427 | multiply( j, 2 ) == j*2 |
| 2428 | </Original> |
| 2429 | <Expanded> |
| 2430 | 212 == 212 |
| 2431 | </Expanded> |
| 2432 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2433 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2434 | <Original> |
| 2435 | multiply( i, 2 ) == i*2 |
| 2436 | </Original> |
| 2437 | <Expanded> |
| 2438 | 2 == 2 |
| 2439 | </Expanded> |
| 2440 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2441 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2442 | <Original> |
| 2443 | multiply( j, 2 ) == j*2 |
| 2444 | </Original> |
| 2445 | <Expanded> |
| 2446 | 214 == 214 |
| 2447 | </Expanded> |
| 2448 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2449 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2450 | <Original> |
| 2451 | multiply( i, 2 ) == i*2 |
| 2452 | </Original> |
| 2453 | <Expanded> |
| 2454 | 4 == 4 |
| 2455 | </Expanded> |
| 2456 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2457 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2458 | <Original> |
| 2459 | multiply( j, 2 ) == j*2 |
| 2460 | </Original> |
| 2461 | <Expanded> |
| 2462 | 214 == 214 |
| 2463 | </Expanded> |
| 2464 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2465 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2466 | <Original> |
| 2467 | multiply( i, 2 ) == i*2 |
| 2468 | </Original> |
| 2469 | <Expanded> |
| 2470 | 6 == 6 |
| 2471 | </Expanded> |
| 2472 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2473 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2474 | <Original> |
| 2475 | multiply( j, 2 ) == j*2 |
| 2476 | </Original> |
| 2477 | <Expanded> |
| 2478 | 214 == 214 |
| 2479 | </Expanded> |
| 2480 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2481 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2482 | <Original> |
| 2483 | multiply( i, 2 ) == i*2 |
| 2484 | </Original> |
| 2485 | <Expanded> |
| 2486 | 8 == 8 |
| 2487 | </Expanded> |
| 2488 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2489 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2490 | <Original> |
| 2491 | multiply( j, 2 ) == j*2 |
| 2492 | </Original> |
| 2493 | <Expanded> |
| 2494 | 214 == 214 |
| 2495 | </Expanded> |
| 2496 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2497 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2498 | <Original> |
| 2499 | multiply( i, 2 ) == i*2 |
| 2500 | </Original> |
| 2501 | <Expanded> |
| 2502 | 10 == 10 |
| 2503 | </Expanded> |
| 2504 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2505 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2506 | <Original> |
| 2507 | multiply( j, 2 ) == j*2 |
| 2508 | </Original> |
| 2509 | <Expanded> |
| 2510 | 214 == 214 |
| 2511 | </Expanded> |
| 2512 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2513 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2514 | <Original> |
| 2515 | multiply( i, 2 ) == i*2 |
| 2516 | </Original> |
| 2517 | <Expanded> |
| 2518 | 30 == 30 |
| 2519 | </Expanded> |
| 2520 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2521 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2522 | <Original> |
| 2523 | multiply( j, 2 ) == j*2 |
| 2524 | </Original> |
| 2525 | <Expanded> |
| 2526 | 214 == 214 |
| 2527 | </Expanded> |
| 2528 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2529 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2530 | <Original> |
| 2531 | multiply( i, 2 ) == i*2 |
| 2532 | </Original> |
| 2533 | <Expanded> |
| 2534 | 40 == 40 |
| 2535 | </Expanded> |
| 2536 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2537 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2538 | <Original> |
| 2539 | multiply( j, 2 ) == j*2 |
| 2540 | </Original> |
| 2541 | <Expanded> |
| 2542 | 214 == 214 |
| 2543 | </Expanded> |
| 2544 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2545 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2546 | <Original> |
| 2547 | multiply( i, 2 ) == i*2 |
| 2548 | </Original> |
| 2549 | <Expanded> |
| 2550 | 42 == 42 |
| 2551 | </Expanded> |
| 2552 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2553 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2554 | <Original> |
| 2555 | multiply( j, 2 ) == j*2 |
| 2556 | </Original> |
| 2557 | <Expanded> |
| 2558 | 214 == 214 |
| 2559 | </Expanded> |
| 2560 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2561 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2562 | <Original> |
| 2563 | multiply( i, 2 ) == i*2 |
| 2564 | </Original> |
| 2565 | <Expanded> |
| 2566 | 72 == 72 |
| 2567 | </Expanded> |
| 2568 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2569 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2570 | <Original> |
| 2571 | multiply( j, 2 ) == j*2 |
| 2572 | </Original> |
| 2573 | <Expanded> |
| 2574 | 214 == 214 |
| 2575 | </Expanded> |
| 2576 | </Expression> |
| 2577 | <OverallResult success="true"/> |
| 2578 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 2579 | <TestCase name="Greater-than inequalities with different epsilons" tags="[Approx]" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 0cde0e9 | 2017-01-09 14:40:09 +0000 | [diff] [blame] | 2580 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2581 | <Original> |
| 2582 | d >= Approx( 1.22 ) |
| 2583 | </Original> |
| 2584 | <Expanded> |
| 2585 | 1.23 >= Approx( 1.22 ) |
| 2586 | </Expanded> |
| 2587 | </Expression> |
| 2588 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2589 | <Original> |
| 2590 | d >= Approx( 1.23 ) |
| 2591 | </Original> |
| 2592 | <Expanded> |
| 2593 | 1.23 >= Approx( 1.23 ) |
| 2594 | </Expanded> |
| 2595 | </Expression> |
| 2596 | <Expression success="true" type="REQUIRE_FALSE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2597 | <Original> |
| 2598 | !d >= Approx( 1.24 ) |
| 2599 | </Original> |
| 2600 | <Expanded> |
| 2601 | !(1.23 >= Approx( 1.24 )) |
| 2602 | </Expanded> |
| 2603 | </Expression> |
| 2604 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2605 | <Original> |
| 2606 | d >= Approx( 1.24 ).epsilon(0.1) |
| 2607 | </Original> |
| 2608 | <Expanded> |
| 2609 | 1.23 >= Approx( 1.24 ) |
| 2610 | </Expanded> |
| 2611 | </Expression> |
| 2612 | <OverallResult success="true"/> |
| 2613 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 2614 | <TestCase name="INFO and WARN do not abort tests" tags="[.][hide][messages]" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2615 | <Info> |
| 2616 | this is a message |
| 2617 | </Info> |
| 2618 | <Warning> |
| 2619 | this is a warning |
| 2620 | </Warning> |
Phil Nash | 471bd25 | 2015-11-03 07:33:43 +0000 | [diff] [blame] | 2621 | <OverallResult success="true"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2622 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 2623 | <TestCase name="INFO gets logged on failure" tags="[.][failing][hide][messages]" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2624 | <Info> |
| 2625 | this message should be logged |
| 2626 | </Info> |
| 2627 | <Info> |
| 2628 | so should this |
| 2629 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2630 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2631 | <Original> |
| 2632 | a == 1 |
| 2633 | </Original> |
| 2634 | <Expanded> |
| 2635 | 2 == 1 |
| 2636 | </Expanded> |
| 2637 | </Expression> |
| 2638 | <OverallResult success="false"/> |
| 2639 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 2640 | <TestCase name="INFO gets logged on failure, even if captured before successful assertions" tags="[.][failing][hide][messages]" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 9bee606 | 2017-03-03 14:12:47 +0000 | [diff] [blame^] | 2641 | <Info> |
| 2642 | this message may be logged later |
| 2643 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2644 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2645 | <Original> |
| 2646 | a == 2 |
| 2647 | </Original> |
| 2648 | <Expanded> |
| 2649 | 2 == 2 |
| 2650 | </Expanded> |
| 2651 | </Expression> |
| 2652 | <Info> |
| 2653 | this message should be logged |
| 2654 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2655 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2656 | <Original> |
| 2657 | a == 1 |
| 2658 | </Original> |
| 2659 | <Expanded> |
| 2660 | 2 == 1 |
| 2661 | </Expanded> |
| 2662 | </Expression> |
| 2663 | <Info> |
| 2664 | and this, but later |
| 2665 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2666 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2667 | <Original> |
| 2668 | a == 0 |
| 2669 | </Original> |
| 2670 | <Expanded> |
| 2671 | 2 == 0 |
| 2672 | </Expanded> |
| 2673 | </Expression> |
Phil Nash | 9bee606 | 2017-03-03 14:12:47 +0000 | [diff] [blame^] | 2674 | <Info> |
| 2675 | but not this |
| 2676 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2677 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2678 | <Original> |
| 2679 | a == 2 |
| 2680 | </Original> |
| 2681 | <Expanded> |
| 2682 | 2 == 2 |
| 2683 | </Expanded> |
| 2684 | </Expression> |
| 2685 | <OverallResult success="false"/> |
| 2686 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 2687 | <TestCase name="Inequality checks that should fail" tags="[!shouldfail][.][failing][hide]" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2688 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2689 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2690 | data.int_seven != 7 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2691 | </Original> |
| 2692 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2693 | 7 != 7 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2694 | </Expanded> |
| 2695 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2696 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2697 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2698 | data.float_nine_point_one != Approx( 9.1f ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2699 | </Original> |
| 2700 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2701 | 9.1f != Approx( 9.1000003815 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2702 | </Expanded> |
| 2703 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2704 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2705 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2706 | data.double_pi != Approx( 3.1415926535 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2707 | </Original> |
| 2708 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2709 | 3.1415926535 != Approx( 3.1415926535 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2710 | </Expanded> |
| 2711 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2712 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2713 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2714 | data.str_hello != "hello" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2715 | </Original> |
| 2716 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2717 | "hello" != "hello" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2718 | </Expanded> |
| 2719 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2720 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2721 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2722 | data.str_hello.size() != 5 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2723 | </Original> |
| 2724 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2725 | 5 != 5 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2726 | </Expanded> |
| 2727 | </Expression> |
Phil Nash | 471bd25 | 2015-11-03 07:33:43 +0000 | [diff] [blame] | 2728 | <OverallResult success="true"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2729 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 2730 | <TestCase name="Inequality checks that should succeed" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2731 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2732 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2733 | data.int_seven != 6 |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2734 | </Original> |
| 2735 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2736 | 7 != 6 |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2737 | </Expanded> |
| 2738 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2739 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2740 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2741 | data.int_seven != 8 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2742 | </Original> |
| 2743 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2744 | 7 != 8 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2745 | </Expanded> |
| 2746 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2747 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2748 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2749 | data.float_nine_point_one != Approx( 9.11f ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2750 | </Original> |
| 2751 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2752 | 9.1f != Approx( 9.1099996567 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2753 | </Expanded> |
| 2754 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2755 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2756 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2757 | data.float_nine_point_one != Approx( 9.0f ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2758 | </Original> |
| 2759 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2760 | 9.1f != Approx( 9.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2761 | </Expanded> |
| 2762 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2763 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2764 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2765 | data.float_nine_point_one != Approx( 1 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2766 | </Original> |
| 2767 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2768 | 9.1f != Approx( 1.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2769 | </Expanded> |
| 2770 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2771 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2772 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2773 | data.float_nine_point_one != Approx( 0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2774 | </Original> |
| 2775 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2776 | 9.1f != Approx( 0.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2777 | </Expanded> |
| 2778 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2779 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2780 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2781 | data.double_pi != Approx( 3.1415 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2782 | </Original> |
| 2783 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2784 | 3.1415926535 != Approx( 3.1415 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2785 | </Expanded> |
| 2786 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2787 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2788 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2789 | data.str_hello != "goodbye" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2790 | </Original> |
| 2791 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2792 | "hello" != "goodbye" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2793 | </Expanded> |
| 2794 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2795 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2796 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2797 | data.str_hello != "hell" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2798 | </Original> |
| 2799 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2800 | "hello" != "hell" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2801 | </Expanded> |
| 2802 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2803 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2804 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2805 | data.str_hello != "hello1" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2806 | </Original> |
| 2807 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2808 | "hello" != "hello1" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2809 | </Expanded> |
| 2810 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2811 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2812 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2813 | data.str_hello.size() != 6 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2814 | </Original> |
| 2815 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2816 | 5 != 6 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2817 | </Expanded> |
| 2818 | </Expression> |
| 2819 | <OverallResult success="true"/> |
| 2820 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 2821 | <TestCase name="Less-than inequalities with different epsilons" tags="[Approx]" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 0cde0e9 | 2017-01-09 14:40:09 +0000 | [diff] [blame] | 2822 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2823 | <Original> |
| 2824 | d <= Approx( 1.24 ) |
| 2825 | </Original> |
| 2826 | <Expanded> |
| 2827 | 1.23 <= Approx( 1.24 ) |
| 2828 | </Expanded> |
| 2829 | </Expression> |
| 2830 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2831 | <Original> |
| 2832 | d <= Approx( 1.23 ) |
| 2833 | </Original> |
| 2834 | <Expanded> |
| 2835 | 1.23 <= Approx( 1.23 ) |
| 2836 | </Expanded> |
| 2837 | </Expression> |
| 2838 | <Expression success="true" type="REQUIRE_FALSE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2839 | <Original> |
| 2840 | !d <= Approx( 1.22 ) |
| 2841 | </Original> |
| 2842 | <Expanded> |
| 2843 | !(1.23 <= Approx( 1.22 )) |
| 2844 | </Expanded> |
| 2845 | </Expression> |
| 2846 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2847 | <Original> |
| 2848 | d <= Approx( 1.22 ).epsilon(0.1) |
| 2849 | </Original> |
| 2850 | <Expanded> |
| 2851 | 1.23 <= Approx( 1.22 ) |
| 2852 | </Expanded> |
| 2853 | </Expression> |
| 2854 | <OverallResult success="true"/> |
| 2855 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 2856 | <TestCase name="Long strings can be wrapped" tags="[wrap]" filename="projects/<exe-name>/TestMain.cpp" > |
| 2857 | <Section name="plain string" filename="projects/<exe-name>/TestMain.cpp" > |
| 2858 | <Section name="No wrapping" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2859 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2860 | <Original> |
| 2861 | Text( testString, TextAttributes().setWidth( 80 ) ).toString() == testString |
| 2862 | </Original> |
| 2863 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2864 | "one two three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2865 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2866 | "one two three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2867 | </Expanded> |
| 2868 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2869 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2870 | <Original> |
| 2871 | Text( testString, TextAttributes().setWidth( 18 ) ).toString() == testString |
| 2872 | </Original> |
| 2873 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2874 | "one two three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2875 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2876 | "one two three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2877 | </Expanded> |
| 2878 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2879 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2880 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2881 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2882 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 2883 | <Section name="plain string" filename="projects/<exe-name>/TestMain.cpp" > |
| 2884 | <Section name="Wrapped once" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2885 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2886 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2887 | Text( testString, TextAttributes().setWidth( 17 ) ).toString() == "one two three\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2888 | </Original> |
| 2889 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2890 | "one two three |
| 2891 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2892 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2893 | "one two three |
| 2894 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2895 | </Expanded> |
| 2896 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2897 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2898 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2899 | Text( testString, TextAttributes().setWidth( 16 ) ).toString() == "one two three\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2900 | </Original> |
| 2901 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2902 | "one two three |
| 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 three |
| 2906 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2907 | </Expanded> |
| 2908 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2909 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2910 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2911 | Text( testString, TextAttributes().setWidth( 14 ) ).toString() == "one two three\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2912 | </Original> |
| 2913 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2914 | "one two three |
| 2915 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2916 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2917 | "one two three |
| 2918 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2919 | </Expanded> |
| 2920 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2921 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2922 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2923 | Text( testString, TextAttributes().setWidth( 13 ) ).toString() == "one two three\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2924 | </Original> |
| 2925 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2926 | "one two three |
| 2927 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2928 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2929 | "one two three |
| 2930 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2931 | </Expanded> |
| 2932 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2933 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2934 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2935 | Text( testString, TextAttributes().setWidth( 12 ) ).toString() == "one two\nthree four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2936 | </Original> |
| 2937 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2938 | "one two |
| 2939 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2940 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2941 | "one two |
| 2942 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2943 | </Expanded> |
| 2944 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2945 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2946 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2947 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2948 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 2949 | <Section name="plain string" filename="projects/<exe-name>/TestMain.cpp" > |
| 2950 | <Section name="Wrapped twice" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2951 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2952 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2953 | Text( testString, TextAttributes().setWidth( 9 ) ).toString() == "one two\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2954 | </Original> |
| 2955 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2956 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2957 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2958 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2959 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2960 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2961 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2962 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2963 | </Expanded> |
| 2964 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2965 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2966 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2967 | Text( testString, TextAttributes().setWidth( 8 ) ).toString() == "one two\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2968 | </Original> |
| 2969 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2970 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2971 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2972 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2973 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2974 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2975 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2976 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2977 | </Expanded> |
| 2978 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2979 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2980 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2981 | Text( testString, TextAttributes().setWidth( 7 ) ).toString() == "one two\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2982 | </Original> |
| 2983 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2984 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2985 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2986 | four" |
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 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2989 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2990 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2991 | </Expanded> |
| 2992 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2993 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2994 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2995 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2996 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 2997 | <Section name="plain string" filename="projects/<exe-name>/TestMain.cpp" > |
| 2998 | <Section name="Wrapped three times" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2999 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3000 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3001 | Text( testString, TextAttributes().setWidth( 6 ) ).toString() == "one\ntwo\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3002 | </Original> |
| 3003 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3004 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3005 | two |
| 3006 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3007 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3008 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3009 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3010 | two |
| 3011 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3012 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3013 | </Expanded> |
| 3014 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3015 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3016 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3017 | Text( testString, TextAttributes().setWidth( 5 ) ).toString() == "one\ntwo\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3018 | </Original> |
| 3019 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3020 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3021 | two |
| 3022 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3023 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3024 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3025 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3026 | two |
| 3027 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3028 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3029 | </Expanded> |
| 3030 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3031 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3032 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3033 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3034 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 3035 | <Section name="plain string" filename="projects/<exe-name>/TestMain.cpp" > |
| 3036 | <Section name="Short wrap" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3037 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3038 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3039 | Text( "abcdef", TextAttributes().setWidth( 4 ) ).toString() == "abc-\ndef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3040 | </Original> |
| 3041 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3042 | "abc- |
| 3043 | def" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3044 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3045 | "abc- |
| 3046 | def" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3047 | </Expanded> |
| 3048 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3049 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3050 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3051 | Text( "abcdefg", TextAttributes().setWidth( 4 ) ).toString() == "abc-\ndefg" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3052 | </Original> |
| 3053 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3054 | "abc- |
| 3055 | defg" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3056 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3057 | "abc- |
| 3058 | defg" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3059 | </Expanded> |
| 3060 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3061 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3062 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3063 | Text( "abcdefgh", TextAttributes().setWidth( 4 ) ).toString() == "abc-\ndef-\ngh" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3064 | </Original> |
| 3065 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3066 | "abc- |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3067 | def- |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3068 | gh" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3069 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3070 | "abc- |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3071 | def- |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3072 | gh" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3073 | </Expanded> |
| 3074 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3075 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3076 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3077 | Text( testString, TextAttributes().setWidth( 4 ) ).toString() == "one\ntwo\nthr-\nee\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3078 | </Original> |
| 3079 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3080 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3081 | two |
| 3082 | thr- |
| 3083 | ee |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3084 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3085 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3086 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3087 | two |
| 3088 | thr- |
| 3089 | ee |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3090 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3091 | </Expanded> |
| 3092 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3093 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3094 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3095 | Text( testString, TextAttributes().setWidth( 3 ) ).toString() == "one\ntwo\nth-\nree\nfo-\nur" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3096 | </Original> |
| 3097 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3098 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3099 | two |
| 3100 | th- |
| 3101 | ree |
| 3102 | fo- |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3103 | ur" |
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 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3106 | two |
| 3107 | th- |
| 3108 | ree |
| 3109 | fo- |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3110 | ur" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3111 | </Expanded> |
| 3112 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3113 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3114 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3115 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3116 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 3117 | <Section name="plain string" filename="projects/<exe-name>/TestMain.cpp" > |
| 3118 | <Section name="As container" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3119 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3120 | <Original> |
| 3121 | text.size() == 4 |
| 3122 | </Original> |
| 3123 | <Expanded> |
| 3124 | 4 == 4 |
| 3125 | </Expanded> |
| 3126 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3127 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3128 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3129 | text[0] == "one" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3130 | </Original> |
| 3131 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3132 | "one" == "one" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3133 | </Expanded> |
| 3134 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3135 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3136 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3137 | text[1] == "two" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3138 | </Original> |
| 3139 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3140 | "two" == "two" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3141 | </Expanded> |
| 3142 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3143 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3144 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3145 | text[2] == "three" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3146 | </Original> |
| 3147 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3148 | "three" == "three" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3149 | </Expanded> |
| 3150 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3151 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3152 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3153 | text[3] == "four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3154 | </Original> |
| 3155 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3156 | "four" == "four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3157 | </Expanded> |
| 3158 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3159 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3160 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3161 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3162 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 3163 | <Section name="plain string" filename="projects/<exe-name>/TestMain.cpp" > |
| 3164 | <Section name="Indent first line differently" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3165 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3166 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3167 | text.toString() == " one two\n three\n four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3168 | </Original> |
| 3169 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3170 | " one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3171 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3172 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3173 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3174 | " one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3175 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3176 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3177 | </Expanded> |
| 3178 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3179 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3180 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3181 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3182 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 3183 | <Section name="With newlines" filename="projects/<exe-name>/TestMain.cpp" > |
| 3184 | <Section name="No wrapping" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3185 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3186 | <Original> |
| 3187 | Text( testString, TextAttributes().setWidth( 80 ) ).toString() == testString |
| 3188 | </Original> |
| 3189 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3190 | "one two |
| 3191 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3192 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3193 | "one two |
| 3194 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3195 | </Expanded> |
| 3196 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3197 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3198 | <Original> |
| 3199 | Text( testString, TextAttributes().setWidth( 18 ) ).toString() == testString |
| 3200 | </Original> |
| 3201 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3202 | "one two |
| 3203 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3204 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3205 | "one two |
| 3206 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3207 | </Expanded> |
| 3208 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3209 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3210 | <Original> |
| 3211 | Text( testString, TextAttributes().setWidth( 10 ) ).toString() == testString |
| 3212 | </Original> |
| 3213 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3214 | "one two |
| 3215 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3216 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3217 | "one two |
| 3218 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3219 | </Expanded> |
| 3220 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3221 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3222 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3223 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3224 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 3225 | <Section name="With newlines" filename="projects/<exe-name>/TestMain.cpp" > |
| 3226 | <Section name="Trailing newline" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3227 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3228 | <Original> |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3229 | Text( "abcdef\n", TextAttributes().setWidth( 10 ) ).toString() == "abcdef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3230 | </Original> |
| 3231 | <Expanded> |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3232 | "abcdef" == "abcdef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3233 | </Expanded> |
| 3234 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3235 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3236 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3237 | Text( "abcdef", TextAttributes().setWidth( 6 ) ).toString() == "abcdef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3238 | </Original> |
| 3239 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3240 | "abcdef" == "abcdef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3241 | </Expanded> |
| 3242 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3243 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3244 | <Original> |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3245 | Text( "abcdef\n", TextAttributes().setWidth( 6 ) ).toString() == "abcdef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3246 | </Original> |
| 3247 | <Expanded> |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3248 | "abcdef" == "abcdef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3249 | </Expanded> |
| 3250 | </Expression> |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3251 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
| 3252 | <Original> |
| 3253 | Text( "abcdef\n", TextAttributes().setWidth( 5 ) ).toString() == "abcd-\nef" |
| 3254 | </Original> |
| 3255 | <Expanded> |
| 3256 | "abcd- |
| 3257 | ef" |
| 3258 | == |
| 3259 | "abcd- |
| 3260 | ef" |
| 3261 | </Expanded> |
| 3262 | </Expression> |
| 3263 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3264 | </Section> |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3265 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3266 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 3267 | <Section name="With newlines" filename="projects/<exe-name>/TestMain.cpp" > |
| 3268 | <Section name="Wrapped once" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3269 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3270 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3271 | Text( testString, TextAttributes().setWidth( 9 ) ).toString() == "one two\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3272 | </Original> |
| 3273 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3274 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3275 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3276 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3277 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3278 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3279 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3280 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3281 | </Expanded> |
| 3282 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3283 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3284 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3285 | Text( testString, TextAttributes().setWidth( 8 ) ).toString() == "one two\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3286 | </Original> |
| 3287 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3288 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3289 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3290 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3291 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3292 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3293 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3294 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3295 | </Expanded> |
| 3296 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3297 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3298 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3299 | Text( testString, TextAttributes().setWidth( 7 ) ).toString() == "one two\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3300 | </Original> |
| 3301 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3302 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3303 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3304 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3305 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3306 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3307 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3308 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3309 | </Expanded> |
| 3310 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3311 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3312 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3313 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3314 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 3315 | <Section name="With newlines" filename="projects/<exe-name>/TestMain.cpp" > |
| 3316 | <Section name="Wrapped twice" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3317 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3318 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3319 | Text( testString, TextAttributes().setWidth( 6 ) ).toString() == "one\ntwo\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3320 | </Original> |
| 3321 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3322 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3323 | two |
| 3324 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3325 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3326 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3327 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3328 | two |
| 3329 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3330 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3331 | </Expanded> |
| 3332 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3333 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3334 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3335 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3336 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 3337 | <Section name="With wrap-before/ after characters" filename="projects/<exe-name>/TestMain.cpp" > |
| 3338 | <Section name="No wrapping" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3339 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
| 3340 | <Original> |
| 3341 | Text( testString, TextAttributes().setWidth( 80 ) ).toString() == testString |
| 3342 | </Original> |
| 3343 | <Expanded> |
| 3344 | "one,two(three) <here>" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3345 | == |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3346 | "one,two(three) <here>" |
| 3347 | </Expanded> |
| 3348 | </Expression> |
| 3349 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
| 3350 | <Original> |
| 3351 | Text( testString, TextAttributes().setWidth( 24 ) ).toString() == testString |
| 3352 | </Original> |
| 3353 | <Expanded> |
| 3354 | "one,two(three) <here>" |
| 3355 | == |
| 3356 | "one,two(three) <here>" |
| 3357 | </Expanded> |
| 3358 | </Expression> |
| 3359 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 3360 | </Section> |
| 3361 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 3362 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 3363 | <Section name="With wrap-before/ after characters" filename="projects/<exe-name>/TestMain.cpp" > |
| 3364 | <Section name="Wrap before" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3365 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
| 3366 | <Original> |
| 3367 | Text( testString, TextAttributes().setWidth( 11 ) ).toString() == "one,two\n(three)\n<here>" |
| 3368 | </Original> |
| 3369 | <Expanded> |
| 3370 | "one,two |
| 3371 | (three) |
| 3372 | <here>" |
| 3373 | == |
| 3374 | "one,two |
| 3375 | (three) |
| 3376 | <here>" |
| 3377 | </Expanded> |
| 3378 | </Expression> |
| 3379 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 3380 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3381 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3382 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 3383 | <Section name="With wrap-before/ after characters" filename="projects/<exe-name>/TestMain.cpp" > |
| 3384 | <Section name="Wrap after" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3385 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
| 3386 | <Original> |
| 3387 | Text( testString, TextAttributes().setWidth( 6 ) ).toString() == "one,\ntwo\n(thre-\ne)\n<here>" |
| 3388 | </Original> |
| 3389 | <Expanded> |
| 3390 | "one, |
| 3391 | two |
| 3392 | (thre- |
| 3393 | e) |
| 3394 | <here>" |
| 3395 | == |
| 3396 | "one, |
| 3397 | two |
| 3398 | (thre- |
| 3399 | e) |
| 3400 | <here>" |
| 3401 | </Expanded> |
| 3402 | </Expression> |
| 3403 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
| 3404 | <Original> |
| 3405 | Text( testString, TextAttributes().setWidth( 5 ) ).toString() == "one,\ntwo\n(thr-\nee)\n<her-\ne>" |
| 3406 | </Original> |
| 3407 | <Expanded> |
| 3408 | "one, |
| 3409 | two |
| 3410 | (thr- |
| 3411 | ee) |
| 3412 | <her- |
| 3413 | e>" |
| 3414 | == |
| 3415 | "one, |
| 3416 | two |
| 3417 | (thr- |
| 3418 | ee) |
| 3419 | <her- |
| 3420 | e>" |
| 3421 | </Expanded> |
| 3422 | </Expression> |
| 3423 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
| 3424 | <Original> |
| 3425 | Text( testString, TextAttributes().setWidth( 4 ) ).toString() == "one,\ntwo\n(th-\nree)\n<he-\nre>" |
| 3426 | </Original> |
| 3427 | <Expanded> |
| 3428 | "one, |
| 3429 | two |
| 3430 | (th- |
| 3431 | ree) |
| 3432 | <he- |
| 3433 | re>" |
| 3434 | == |
| 3435 | "one, |
| 3436 | two |
| 3437 | (th- |
| 3438 | ree) |
| 3439 | <he- |
| 3440 | re>" |
| 3441 | </Expanded> |
| 3442 | </Expression> |
| 3443 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 3444 | </Section> |
| 3445 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 3446 | </Section> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3447 | <OverallResult success="true"/> |
| 3448 | </TestCase> |
Martin Hořeňovský | be4f6ab | 2017-03-03 14:34:50 +0100 | [diff] [blame] | 3449 | <TestCase name="Long text is truncated" tags="[Text][Truncated]" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3450 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 93a945c | 2013-10-23 15:35:07 +0100 | [diff] [blame] | 3451 | <Original> |
Phil Nash | 5262e61 | 2015-12-10 18:43:29 +0000 | [diff] [blame] | 3452 | t.toString(), EndsWith( "... message truncated due to excessive size" ) |
Phil Nash | 93a945c | 2013-10-23 15:35:07 +0100 | [diff] [blame] | 3453 | </Original> |
| 3454 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3455 | "******************************************************************************- |
Phil Nash | 93a945c | 2013-10-23 15:35:07 +0100 | [diff] [blame] | 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 | ******************************************************************************- |
| 4386 | ******************************************************************************- |
| 4387 | ************************ |
| 4388 | ******************************************************************************- |
| 4389 | ******************************************************************************- |
| 4390 | ************************ |
| 4391 | ******************************************************************************- |
| 4392 | ******************************************************************************- |
| 4393 | ************************ |
| 4394 | ******************************************************************************- |
| 4395 | ******************************************************************************- |
| 4396 | ************************ |
| 4397 | ******************************************************************************- |
| 4398 | ******************************************************************************- |
| 4399 | ************************ |
| 4400 | ******************************************************************************- |
| 4401 | ******************************************************************************- |
| 4402 | ************************ |
| 4403 | ******************************************************************************- |
| 4404 | ******************************************************************************- |
| 4405 | ************************ |
| 4406 | ******************************************************************************- |
| 4407 | ******************************************************************************- |
| 4408 | ************************ |
| 4409 | ******************************************************************************- |
| 4410 | ******************************************************************************- |
| 4411 | ************************ |
| 4412 | ******************************************************************************- |
| 4413 | ******************************************************************************- |
| 4414 | ************************ |
| 4415 | ******************************************************************************- |
| 4416 | ******************************************************************************- |
| 4417 | ************************ |
| 4418 | ******************************************************************************- |
| 4419 | ******************************************************************************- |
| 4420 | ************************ |
| 4421 | ******************************************************************************- |
| 4422 | ******************************************************************************- |
| 4423 | ************************ |
| 4424 | ******************************************************************************- |
| 4425 | ******************************************************************************- |
| 4426 | ************************ |
| 4427 | ******************************************************************************- |
| 4428 | ******************************************************************************- |
| 4429 | ************************ |
| 4430 | ******************************************************************************- |
| 4431 | ******************************************************************************- |
| 4432 | ************************ |
| 4433 | ******************************************************************************- |
| 4434 | ******************************************************************************- |
| 4435 | ************************ |
| 4436 | ******************************************************************************- |
| 4437 | ******************************************************************************- |
| 4438 | ************************ |
| 4439 | ******************************************************************************- |
| 4440 | ******************************************************************************- |
| 4441 | ************************ |
| 4442 | ******************************************************************************- |
| 4443 | ******************************************************************************- |
| 4444 | ************************ |
| 4445 | ******************************************************************************- |
| 4446 | ******************************************************************************- |
| 4447 | ************************ |
| 4448 | ******************************************************************************- |
| 4449 | ******************************************************************************- |
| 4450 | ************************ |
| 4451 | ******************************************************************************- |
| 4452 | ******************************************************************************- |
| 4453 | ************************ |
| 4454 | ******************************************************************************- |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 4455 | ... 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] | 4456 | </Expanded> |
| 4457 | </Expression> |
| 4458 | <OverallResult success="true"/> |
| 4459 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 4460 | <TestCase name="ManuallyRegistered" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 0e64973 | 2015-11-20 16:54:07 +0000 | [diff] [blame] | 4461 | <OverallResult success="true"/> |
| 4462 | </TestCase> |
Phil Nash | 4e6938d | 2017-02-21 14:19:09 +0000 | [diff] [blame] | 4463 | <TestCase name="Matchers can be (AllOf) composed with the && operator" tags="[matchers][operator&&][operators]" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 4464 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4465 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4466 | testStringForMatching(), Contains( "string" ) && Contains( "abc" ) && Contains( "substring" ) && Contains( "contains" ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4467 | </Original> |
| 4468 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4469 | "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] | 4470 | </Expanded> |
| 4471 | </Expression> |
| 4472 | <OverallResult success="true"/> |
| 4473 | </TestCase> |
Phil Nash | 4e6938d | 2017-02-21 14:19:09 +0000 | [diff] [blame] | 4474 | <TestCase name="Matchers can be (AnyOf) composed with the || operator" tags="[matchers][operators][operator||]" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 4475 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4476 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4477 | testStringForMatching(), Contains( "string" ) || Contains( "different" ) || Contains( "random" ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4478 | </Original> |
| 4479 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4480 | "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] | 4481 | </Expanded> |
| 4482 | </Expression> |
Phil Nash | 4e6938d | 2017-02-21 14:19:09 +0000 | [diff] [blame] | 4483 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4484 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4485 | testStringForMatching2(), Contains( "string" ) || Contains( "different" ) || Contains( "random" ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4486 | </Original> |
| 4487 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4488 | "some completely different text that contains one common word" ( contains: "string" or contains: "different" or contains: "random" ) |
| 4489 | </Expanded> |
| 4490 | </Expression> |
| 4491 | <OverallResult success="true"/> |
| 4492 | </TestCase> |
Phil Nash | 4e6938d | 2017-02-21 14:19:09 +0000 | [diff] [blame] | 4493 | <TestCase name="Matchers can be composed with both && and ||" tags="[matchers][operator&&][operators][operator||]" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 4494 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4495 | <Original> |
| 4496 | testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "substring" ) |
| 4497 | </Original> |
| 4498 | <Expanded> |
| 4499 | "this string contains 'abc' as a substring" ( ( contains: "string" or contains: "different" ) and contains: "substring" ) |
| 4500 | </Expanded> |
| 4501 | </Expression> |
| 4502 | <OverallResult success="true"/> |
| 4503 | </TestCase> |
Phil Nash | 4e6938d | 2017-02-21 14:19:09 +0000 | [diff] [blame] | 4504 | <TestCase name="Matchers can be composed with both && and || - failing" tags="[.][.failing][hide][matchers][operator&&][operators][operator||]" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 4505 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4506 | <Original> |
| 4507 | testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "random" ) |
| 4508 | </Original> |
| 4509 | <Expanded> |
| 4510 | "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] | 4511 | </Expanded> |
| 4512 | </Expression> |
| 4513 | <OverallResult success="false"/> |
| 4514 | </TestCase> |
Phil Nash | 4e6938d | 2017-02-21 14:19:09 +0000 | [diff] [blame] | 4515 | <TestCase name="Matchers can be negated (Not) with the ! operator" tags="[matchers][not][operators]" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 4516 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4517 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4518 | testStringForMatching(), !Contains( "different" ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4519 | </Original> |
| 4520 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4521 | "this string contains 'abc' as a substring" not contains: "different" |
| 4522 | </Expanded> |
| 4523 | </Expression> |
| 4524 | <OverallResult success="true"/> |
| 4525 | </TestCase> |
Phil Nash | 4e6938d | 2017-02-21 14:19:09 +0000 | [diff] [blame] | 4526 | <TestCase name="Matchers can be negated (Not) with the ! operator - failing" tags="[.][.failing][hide][matchers][not][operators]" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 4527 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4528 | <Original> |
| 4529 | testStringForMatching(), !Contains( "substring" ) |
| 4530 | </Original> |
| 4531 | <Expanded> |
| 4532 | "this string contains 'abc' as a substring" not contains: "substring" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4533 | </Expanded> |
| 4534 | </Expression> |
| 4535 | <OverallResult success="false"/> |
| 4536 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 4537 | <TestCase name="Mismatching exception messages failing the test" tags="[!throws][.][failing][hide]" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4538 | <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] | 4539 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4540 | thisThrows(), "expected exception" |
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 | thisThrows(), "expected exception" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4544 | </Expanded> |
| 4545 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4546 | <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] | 4547 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4548 | thisThrows(), "should fail" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4549 | </Original> |
| 4550 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4551 | expected exception |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4552 | </Expanded> |
| 4553 | </Expression> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4554 | <OverallResult success="false"/> |
| 4555 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 4556 | <TestCase name="Nice descriptive name" tags="[.][hide][tag1][tag2][tag3]" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4557 | <Warning> |
| 4558 | This one ran |
| 4559 | </Warning> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4560 | <OverallResult success="true"/> |
| 4561 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 4562 | <TestCase name="Non-std exceptions can be translated" tags="[!throws][.][failing][hide]" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4563 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4564 | custom exception |
| 4565 | </Exception> |
| 4566 | <OverallResult success="false"/> |
| 4567 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 4568 | <TestCase name="NotImplemented exception" tags="[!throws]" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4569 | <Expression success="true" type="REQUIRE_THROWS" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4570 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4571 | thisFunctionNotImplemented( 7 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4572 | </Original> |
| 4573 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4574 | thisFunctionNotImplemented( 7 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4575 | </Expanded> |
| 4576 | </Expression> |
| 4577 | <OverallResult success="true"/> |
| 4578 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 4579 | <TestCase name="Objects that evaluated in boolean contexts can be checked" tags="[SafeBool][Tricky]" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4580 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4581 | <Original> |
| 4582 | True |
| 4583 | </Original> |
| 4584 | <Expanded> |
| 4585 | true |
| 4586 | </Expanded> |
| 4587 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4588 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4589 | <Original> |
| 4590 | !False |
| 4591 | </Original> |
| 4592 | <Expanded> |
| 4593 | true |
| 4594 | </Expanded> |
| 4595 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4596 | <Expression success="true" type="CHECK_FALSE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4597 | <Original> |
| 4598 | !False |
| 4599 | </Original> |
| 4600 | <Expanded> |
| 4601 | !false |
| 4602 | </Expanded> |
| 4603 | </Expression> |
| 4604 | <OverallResult success="true"/> |
| 4605 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 4606 | <TestCase name="Operators at different namespace levels not hijacked by Koenig lookup" tags="[Tricky]" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4607 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4608 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4609 | 0x<hex digits> == o |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4610 | </Original> |
| 4611 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4612 | 3221225472 (0x<hex digits>) == {?} |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4613 | </Expanded> |
| 4614 | </Expression> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4615 | <OverallResult success="true"/> |
| 4616 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 4617 | <TestCase name="Ordering comparison checks that should fail" tags="[.][failing][hide]" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4618 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4619 | <Original> |
| 4620 | data.int_seven > 7 |
| 4621 | </Original> |
| 4622 | <Expanded> |
| 4623 | 7 > 7 |
| 4624 | </Expanded> |
| 4625 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4626 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4627 | <Original> |
| 4628 | data.int_seven < 7 |
| 4629 | </Original> |
| 4630 | <Expanded> |
| 4631 | 7 < 7 |
| 4632 | </Expanded> |
| 4633 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4634 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4635 | <Original> |
| 4636 | data.int_seven > 8 |
| 4637 | </Original> |
| 4638 | <Expanded> |
| 4639 | 7 > 8 |
| 4640 | </Expanded> |
| 4641 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4642 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4643 | <Original> |
| 4644 | data.int_seven < 6 |
| 4645 | </Original> |
| 4646 | <Expanded> |
| 4647 | 7 < 6 |
| 4648 | </Expanded> |
| 4649 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4650 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4651 | <Original> |
| 4652 | data.int_seven < 0 |
| 4653 | </Original> |
| 4654 | <Expanded> |
| 4655 | 7 < 0 |
| 4656 | </Expanded> |
| 4657 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4658 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4659 | <Original> |
| 4660 | data.int_seven < -1 |
| 4661 | </Original> |
| 4662 | <Expanded> |
| 4663 | 7 < -1 |
| 4664 | </Expanded> |
| 4665 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4666 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4667 | <Original> |
| 4668 | data.int_seven >= 8 |
| 4669 | </Original> |
| 4670 | <Expanded> |
| 4671 | 7 >= 8 |
| 4672 | </Expanded> |
| 4673 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4674 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4675 | <Original> |
| 4676 | data.int_seven <= 6 |
| 4677 | </Original> |
| 4678 | <Expanded> |
| 4679 | 7 <= 6 |
| 4680 | </Expanded> |
| 4681 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4682 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4683 | <Original> |
| 4684 | data.float_nine_point_one < 9 |
| 4685 | </Original> |
| 4686 | <Expanded> |
| 4687 | 9.1f < 9 |
| 4688 | </Expanded> |
| 4689 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4690 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4691 | <Original> |
| 4692 | data.float_nine_point_one > 10 |
| 4693 | </Original> |
| 4694 | <Expanded> |
| 4695 | 9.1f > 10 |
| 4696 | </Expanded> |
| 4697 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4698 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4699 | <Original> |
| 4700 | data.float_nine_point_one > 9.2 |
| 4701 | </Original> |
| 4702 | <Expanded> |
| 4703 | 9.1f > 9.2 |
| 4704 | </Expanded> |
| 4705 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4706 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4707 | <Original> |
| 4708 | data.str_hello > "hello" |
| 4709 | </Original> |
| 4710 | <Expanded> |
| 4711 | "hello" > "hello" |
| 4712 | </Expanded> |
| 4713 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4714 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4715 | <Original> |
| 4716 | data.str_hello < "hello" |
| 4717 | </Original> |
| 4718 | <Expanded> |
| 4719 | "hello" < "hello" |
| 4720 | </Expanded> |
| 4721 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4722 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4723 | <Original> |
| 4724 | data.str_hello > "hellp" |
| 4725 | </Original> |
| 4726 | <Expanded> |
| 4727 | "hello" > "hellp" |
| 4728 | </Expanded> |
| 4729 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4730 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4731 | <Original> |
| 4732 | data.str_hello > "z" |
| 4733 | </Original> |
| 4734 | <Expanded> |
| 4735 | "hello" > "z" |
| 4736 | </Expanded> |
| 4737 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4738 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4739 | <Original> |
| 4740 | data.str_hello < "hellm" |
| 4741 | </Original> |
| 4742 | <Expanded> |
| 4743 | "hello" < "hellm" |
| 4744 | </Expanded> |
| 4745 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4746 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4747 | <Original> |
| 4748 | data.str_hello < "a" |
| 4749 | </Original> |
| 4750 | <Expanded> |
| 4751 | "hello" < "a" |
| 4752 | </Expanded> |
| 4753 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4754 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4755 | <Original> |
| 4756 | data.str_hello >= "z" |
| 4757 | </Original> |
| 4758 | <Expanded> |
| 4759 | "hello" >= "z" |
| 4760 | </Expanded> |
| 4761 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4762 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4763 | <Original> |
| 4764 | data.str_hello <= "a" |
| 4765 | </Original> |
| 4766 | <Expanded> |
| 4767 | "hello" <= "a" |
| 4768 | </Expanded> |
| 4769 | </Expression> |
| 4770 | <OverallResult success="false"/> |
| 4771 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 4772 | <TestCase name="Ordering comparison checks that should succeed" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4773 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4774 | <Original> |
| 4775 | data.int_seven < 8 |
| 4776 | </Original> |
| 4777 | <Expanded> |
| 4778 | 7 < 8 |
| 4779 | </Expanded> |
| 4780 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4781 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4782 | <Original> |
| 4783 | data.int_seven > 6 |
| 4784 | </Original> |
| 4785 | <Expanded> |
| 4786 | 7 > 6 |
| 4787 | </Expanded> |
| 4788 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4789 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4790 | <Original> |
| 4791 | data.int_seven > 0 |
| 4792 | </Original> |
| 4793 | <Expanded> |
| 4794 | 7 > 0 |
| 4795 | </Expanded> |
| 4796 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4797 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4798 | <Original> |
| 4799 | data.int_seven > -1 |
| 4800 | </Original> |
| 4801 | <Expanded> |
| 4802 | 7 > -1 |
| 4803 | </Expanded> |
| 4804 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4805 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4806 | <Original> |
| 4807 | data.int_seven >= 7 |
| 4808 | </Original> |
| 4809 | <Expanded> |
| 4810 | 7 >= 7 |
| 4811 | </Expanded> |
| 4812 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4813 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4814 | <Original> |
| 4815 | data.int_seven >= 6 |
| 4816 | </Original> |
| 4817 | <Expanded> |
| 4818 | 7 >= 6 |
| 4819 | </Expanded> |
| 4820 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4821 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4822 | <Original> |
| 4823 | data.int_seven <= 7 |
| 4824 | </Original> |
| 4825 | <Expanded> |
| 4826 | 7 <= 7 |
| 4827 | </Expanded> |
| 4828 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4829 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4830 | <Original> |
| 4831 | data.int_seven <= 8 |
| 4832 | </Original> |
| 4833 | <Expanded> |
| 4834 | 7 <= 8 |
| 4835 | </Expanded> |
| 4836 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4837 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4838 | <Original> |
| 4839 | data.float_nine_point_one > 9 |
| 4840 | </Original> |
| 4841 | <Expanded> |
| 4842 | 9.1f > 9 |
| 4843 | </Expanded> |
| 4844 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4845 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4846 | <Original> |
| 4847 | data.float_nine_point_one < 10 |
| 4848 | </Original> |
| 4849 | <Expanded> |
| 4850 | 9.1f < 10 |
| 4851 | </Expanded> |
| 4852 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4853 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4854 | <Original> |
| 4855 | data.float_nine_point_one < 9.2 |
| 4856 | </Original> |
| 4857 | <Expanded> |
| 4858 | 9.1f < 9.2 |
| 4859 | </Expanded> |
| 4860 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4861 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4862 | <Original> |
| 4863 | data.str_hello <= "hello" |
| 4864 | </Original> |
| 4865 | <Expanded> |
| 4866 | "hello" <= "hello" |
| 4867 | </Expanded> |
| 4868 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4869 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4870 | <Original> |
| 4871 | data.str_hello >= "hello" |
| 4872 | </Original> |
| 4873 | <Expanded> |
| 4874 | "hello" >= "hello" |
| 4875 | </Expanded> |
| 4876 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4877 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4878 | <Original> |
| 4879 | data.str_hello < "hellp" |
| 4880 | </Original> |
| 4881 | <Expanded> |
| 4882 | "hello" < "hellp" |
| 4883 | </Expanded> |
| 4884 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4885 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4886 | <Original> |
| 4887 | data.str_hello < "zebra" |
| 4888 | </Original> |
| 4889 | <Expanded> |
| 4890 | "hello" < "zebra" |
| 4891 | </Expanded> |
| 4892 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4893 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4894 | <Original> |
| 4895 | data.str_hello > "hellm" |
| 4896 | </Original> |
| 4897 | <Expanded> |
| 4898 | "hello" > "hellm" |
| 4899 | </Expanded> |
| 4900 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4901 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4902 | <Original> |
| 4903 | data.str_hello > "a" |
| 4904 | </Original> |
| 4905 | <Expanded> |
| 4906 | "hello" > "a" |
| 4907 | </Expanded> |
| 4908 | </Expression> |
| 4909 | <OverallResult success="true"/> |
| 4910 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 4911 | <TestCase name="Output from all sections is reported" tags="[.][failing][hide][messages]" filename="projects/<exe-name>/MessageTests.cpp" > |
| 4912 | <Section name="one" filename="projects/<exe-name>/MessageTests.cpp" > |
| 4913 | <Failure filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4914 | Message from section one |
| 4915 | </Failure> |
| 4916 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4917 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 4918 | <Section name="two" filename="projects/<exe-name>/MessageTests.cpp" > |
| 4919 | <Failure filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4920 | Message from section two |
| 4921 | </Failure> |
| 4922 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4923 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4924 | <OverallResult success="false"/> |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 4925 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 4926 | <TestCase name="Parse test names and tags" filename="projects/<exe-name>/CmdLineTests.cpp" > |
| 4927 | <Section name="Empty test spec should have no filters" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4928 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4929 | <Original> |
| 4930 | spec.hasFilters() == false |
| 4931 | </Original> |
| 4932 | <Expanded> |
| 4933 | false == false |
| 4934 | </Expanded> |
| 4935 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4936 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4937 | <Original> |
| 4938 | spec.matches( tcA ) == false |
| 4939 | </Original> |
| 4940 | <Expanded> |
| 4941 | false == false |
| 4942 | </Expanded> |
| 4943 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4944 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4945 | <Original> |
| 4946 | spec.matches( tcB ) == false |
| 4947 | </Original> |
| 4948 | <Expanded> |
| 4949 | false == false |
| 4950 | </Expanded> |
| 4951 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4952 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4953 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 4954 | <Section name="Test spec from empty string should have no filters" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4955 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4956 | <Original> |
| 4957 | spec.hasFilters() == false |
| 4958 | </Original> |
| 4959 | <Expanded> |
| 4960 | false == false |
| 4961 | </Expanded> |
| 4962 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4963 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4964 | <Original> |
| 4965 | spec.matches(tcA ) == false |
| 4966 | </Original> |
| 4967 | <Expanded> |
| 4968 | false == false |
| 4969 | </Expanded> |
| 4970 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4971 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4972 | <Original> |
| 4973 | spec.matches( tcB ) == false |
| 4974 | </Original> |
| 4975 | <Expanded> |
| 4976 | false == false |
| 4977 | </Expanded> |
| 4978 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4979 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4980 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 4981 | <Section name="Test spec from just a comma should have no filters" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4982 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4983 | <Original> |
| 4984 | spec.hasFilters() == false |
| 4985 | </Original> |
| 4986 | <Expanded> |
| 4987 | false == false |
| 4988 | </Expanded> |
| 4989 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4990 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4991 | <Original> |
| 4992 | spec.matches( tcA ) == false |
| 4993 | </Original> |
| 4994 | <Expanded> |
| 4995 | false == false |
| 4996 | </Expanded> |
| 4997 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4998 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4999 | <Original> |
| 5000 | spec.matches( tcB ) == false |
| 5001 | </Original> |
| 5002 | <Expanded> |
| 5003 | false == false |
| 5004 | </Expanded> |
| 5005 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5006 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5007 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5008 | <Section name="Test spec from name should have one filter" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5009 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5010 | <Original> |
| 5011 | spec.hasFilters() == true |
| 5012 | </Original> |
| 5013 | <Expanded> |
| 5014 | true == true |
| 5015 | </Expanded> |
| 5016 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5017 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5018 | <Original> |
| 5019 | spec.matches( tcA ) == false |
| 5020 | </Original> |
| 5021 | <Expanded> |
| 5022 | false == false |
| 5023 | </Expanded> |
| 5024 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5025 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5026 | <Original> |
| 5027 | spec.matches( tcB ) == true |
| 5028 | </Original> |
| 5029 | <Expanded> |
| 5030 | true == true |
| 5031 | </Expanded> |
| 5032 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5033 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5034 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5035 | <Section name="Test spec from quoted name should have one filter" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5036 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5037 | <Original> |
| 5038 | spec.hasFilters() == true |
| 5039 | </Original> |
| 5040 | <Expanded> |
| 5041 | true == true |
| 5042 | </Expanded> |
| 5043 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5044 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5045 | <Original> |
| 5046 | spec.matches( tcA ) == false |
| 5047 | </Original> |
| 5048 | <Expanded> |
| 5049 | false == false |
| 5050 | </Expanded> |
| 5051 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5052 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5053 | <Original> |
| 5054 | spec.matches( tcB ) == true |
| 5055 | </Original> |
| 5056 | <Expanded> |
| 5057 | true == true |
| 5058 | </Expanded> |
| 5059 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5060 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5061 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5062 | <Section name="Test spec from name should have one filter" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5063 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5064 | <Original> |
| 5065 | spec.hasFilters() == true |
| 5066 | </Original> |
| 5067 | <Expanded> |
| 5068 | true == true |
| 5069 | </Expanded> |
| 5070 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5071 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5072 | <Original> |
| 5073 | spec.matches( tcA ) == false |
| 5074 | </Original> |
| 5075 | <Expanded> |
| 5076 | false == false |
| 5077 | </Expanded> |
| 5078 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5079 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5080 | <Original> |
| 5081 | spec.matches( tcB ) == true |
| 5082 | </Original> |
| 5083 | <Expanded> |
| 5084 | true == true |
| 5085 | </Expanded> |
| 5086 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5087 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5088 | <Original> |
| 5089 | spec.matches( tcC ) == false |
| 5090 | </Original> |
| 5091 | <Expanded> |
| 5092 | false == false |
| 5093 | </Expanded> |
| 5094 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5095 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5096 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5097 | <Section name="Wildcard at the start" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5098 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5099 | <Original> |
| 5100 | spec.hasFilters() == true |
| 5101 | </Original> |
| 5102 | <Expanded> |
| 5103 | true == true |
| 5104 | </Expanded> |
| 5105 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5106 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5107 | <Original> |
| 5108 | spec.matches( tcA ) == false |
| 5109 | </Original> |
| 5110 | <Expanded> |
| 5111 | false == false |
| 5112 | </Expanded> |
| 5113 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5114 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5115 | <Original> |
| 5116 | spec.matches( tcB ) == false |
| 5117 | </Original> |
| 5118 | <Expanded> |
| 5119 | false == false |
| 5120 | </Expanded> |
| 5121 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5122 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5123 | <Original> |
| 5124 | spec.matches( tcC ) == true |
| 5125 | </Original> |
| 5126 | <Expanded> |
| 5127 | true == true |
| 5128 | </Expanded> |
| 5129 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5130 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5131 | <Original> |
| 5132 | spec.matches( tcD ) == false |
| 5133 | </Original> |
| 5134 | <Expanded> |
| 5135 | false == false |
| 5136 | </Expanded> |
| 5137 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5138 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5139 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 5140 | parseTestSpec( "*a" ).matches( tcA ) == true |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5141 | </Original> |
| 5142 | <Expanded> |
| 5143 | true == true |
| 5144 | </Expanded> |
| 5145 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5146 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5147 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5148 | <Section name="Wildcard at the end" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5149 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5150 | <Original> |
| 5151 | spec.hasFilters() == true |
| 5152 | </Original> |
| 5153 | <Expanded> |
| 5154 | true == true |
| 5155 | </Expanded> |
| 5156 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5157 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5158 | <Original> |
| 5159 | spec.matches( tcA ) == false |
| 5160 | </Original> |
| 5161 | <Expanded> |
| 5162 | false == false |
| 5163 | </Expanded> |
| 5164 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5165 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5166 | <Original> |
| 5167 | spec.matches( tcB ) == false |
| 5168 | </Original> |
| 5169 | <Expanded> |
| 5170 | false == false |
| 5171 | </Expanded> |
| 5172 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5173 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5174 | <Original> |
| 5175 | spec.matches( tcC ) == true |
| 5176 | </Original> |
| 5177 | <Expanded> |
| 5178 | true == true |
| 5179 | </Expanded> |
| 5180 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5181 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5182 | <Original> |
| 5183 | spec.matches( tcD ) == false |
| 5184 | </Original> |
| 5185 | <Expanded> |
| 5186 | false == false |
| 5187 | </Expanded> |
| 5188 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5189 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5190 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 5191 | parseTestSpec( "a*" ).matches( tcA ) == true |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5192 | </Original> |
| 5193 | <Expanded> |
| 5194 | true == true |
| 5195 | </Expanded> |
| 5196 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5197 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5198 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5199 | <Section name="Wildcard at both ends" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5200 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5201 | <Original> |
| 5202 | spec.hasFilters() == true |
| 5203 | </Original> |
| 5204 | <Expanded> |
| 5205 | true == true |
| 5206 | </Expanded> |
| 5207 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5208 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5209 | <Original> |
| 5210 | spec.matches( tcA ) == false |
| 5211 | </Original> |
| 5212 | <Expanded> |
| 5213 | false == false |
| 5214 | </Expanded> |
| 5215 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5216 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5217 | <Original> |
| 5218 | spec.matches( tcB ) == false |
| 5219 | </Original> |
| 5220 | <Expanded> |
| 5221 | false == false |
| 5222 | </Expanded> |
| 5223 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5224 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5225 | <Original> |
| 5226 | spec.matches( tcC ) == true |
| 5227 | </Original> |
| 5228 | <Expanded> |
| 5229 | true == true |
| 5230 | </Expanded> |
| 5231 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5232 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5233 | <Original> |
| 5234 | spec.matches( tcD ) == true |
| 5235 | </Original> |
| 5236 | <Expanded> |
| 5237 | true == true |
| 5238 | </Expanded> |
| 5239 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5240 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5241 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 5242 | parseTestSpec( "*a*" ).matches( tcA ) == true |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5243 | </Original> |
| 5244 | <Expanded> |
| 5245 | true == true |
| 5246 | </Expanded> |
| 5247 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5248 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5249 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5250 | <Section name="Redundant wildcard at the start" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5251 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5252 | <Original> |
| 5253 | spec.hasFilters() == true |
| 5254 | </Original> |
| 5255 | <Expanded> |
| 5256 | true == true |
| 5257 | </Expanded> |
| 5258 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5259 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5260 | <Original> |
| 5261 | spec.matches( tcA ) == true |
| 5262 | </Original> |
| 5263 | <Expanded> |
| 5264 | true == true |
| 5265 | </Expanded> |
| 5266 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5267 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5268 | <Original> |
| 5269 | spec.matches( tcB ) == false |
| 5270 | </Original> |
| 5271 | <Expanded> |
| 5272 | false == false |
| 5273 | </Expanded> |
| 5274 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5275 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5276 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5277 | <Section name="Redundant wildcard at the end" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5278 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5279 | <Original> |
| 5280 | spec.hasFilters() == true |
| 5281 | </Original> |
| 5282 | <Expanded> |
| 5283 | true == true |
| 5284 | </Expanded> |
| 5285 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5286 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5287 | <Original> |
| 5288 | spec.matches( tcA ) == true |
| 5289 | </Original> |
| 5290 | <Expanded> |
| 5291 | true == true |
| 5292 | </Expanded> |
| 5293 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5294 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5295 | <Original> |
| 5296 | spec.matches( tcB ) == false |
| 5297 | </Original> |
| 5298 | <Expanded> |
| 5299 | false == false |
| 5300 | </Expanded> |
| 5301 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5302 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5303 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5304 | <Section name="Redundant wildcard at both ends" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5305 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5306 | <Original> |
| 5307 | spec.hasFilters() == true |
| 5308 | </Original> |
| 5309 | <Expanded> |
| 5310 | true == true |
| 5311 | </Expanded> |
| 5312 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5313 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5314 | <Original> |
| 5315 | spec.matches( tcA ) == true |
| 5316 | </Original> |
| 5317 | <Expanded> |
| 5318 | true == true |
| 5319 | </Expanded> |
| 5320 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5321 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5322 | <Original> |
| 5323 | spec.matches( tcB ) == false |
| 5324 | </Original> |
| 5325 | <Expanded> |
| 5326 | false == false |
| 5327 | </Expanded> |
| 5328 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5329 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5330 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5331 | <Section name="Wildcard at both ends, redundant at start" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5332 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5333 | <Original> |
| 5334 | spec.hasFilters() == true |
| 5335 | </Original> |
| 5336 | <Expanded> |
| 5337 | true == true |
| 5338 | </Expanded> |
| 5339 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5340 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5341 | <Original> |
| 5342 | spec.matches( tcA ) == false |
| 5343 | </Original> |
| 5344 | <Expanded> |
| 5345 | false == false |
| 5346 | </Expanded> |
| 5347 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5348 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5349 | <Original> |
| 5350 | spec.matches( tcB ) == false |
| 5351 | </Original> |
| 5352 | <Expanded> |
| 5353 | false == false |
| 5354 | </Expanded> |
| 5355 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5356 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5357 | <Original> |
| 5358 | spec.matches( tcC ) == true |
| 5359 | </Original> |
| 5360 | <Expanded> |
| 5361 | true == true |
| 5362 | </Expanded> |
| 5363 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5364 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5365 | <Original> |
| 5366 | spec.matches( tcD ) == true |
| 5367 | </Original> |
| 5368 | <Expanded> |
| 5369 | true == true |
| 5370 | </Expanded> |
| 5371 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5372 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5373 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5374 | <Section name="Just wildcard" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5375 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5376 | <Original> |
| 5377 | spec.hasFilters() == true |
| 5378 | </Original> |
| 5379 | <Expanded> |
| 5380 | true == true |
| 5381 | </Expanded> |
| 5382 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5383 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5384 | <Original> |
| 5385 | spec.matches( tcA ) == true |
| 5386 | </Original> |
| 5387 | <Expanded> |
| 5388 | true == true |
| 5389 | </Expanded> |
| 5390 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5391 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5392 | <Original> |
| 5393 | spec.matches( tcB ) == true |
| 5394 | </Original> |
| 5395 | <Expanded> |
| 5396 | true == true |
| 5397 | </Expanded> |
| 5398 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5399 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5400 | <Original> |
| 5401 | spec.matches( tcC ) == true |
| 5402 | </Original> |
| 5403 | <Expanded> |
| 5404 | true == true |
| 5405 | </Expanded> |
| 5406 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5407 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5408 | <Original> |
| 5409 | spec.matches( tcD ) == true |
| 5410 | </Original> |
| 5411 | <Expanded> |
| 5412 | true == true |
| 5413 | </Expanded> |
| 5414 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5415 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5416 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5417 | <Section name="Single tag" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5418 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5419 | <Original> |
| 5420 | spec.hasFilters() == true |
| 5421 | </Original> |
| 5422 | <Expanded> |
| 5423 | true == true |
| 5424 | </Expanded> |
| 5425 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5426 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5427 | <Original> |
| 5428 | spec.matches( tcA ) == false |
| 5429 | </Original> |
| 5430 | <Expanded> |
| 5431 | false == false |
| 5432 | </Expanded> |
| 5433 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5434 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5435 | <Original> |
| 5436 | spec.matches( tcB ) == true |
| 5437 | </Original> |
| 5438 | <Expanded> |
| 5439 | true == true |
| 5440 | </Expanded> |
| 5441 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5442 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5443 | <Original> |
| 5444 | spec.matches( tcC ) == false |
| 5445 | </Original> |
| 5446 | <Expanded> |
| 5447 | false == false |
| 5448 | </Expanded> |
| 5449 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5450 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5451 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5452 | <Section name="Single tag, two matches" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5453 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5454 | <Original> |
| 5455 | spec.hasFilters() == true |
| 5456 | </Original> |
| 5457 | <Expanded> |
| 5458 | true == true |
| 5459 | </Expanded> |
| 5460 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5461 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5462 | <Original> |
| 5463 | spec.matches( tcA ) == false |
| 5464 | </Original> |
| 5465 | <Expanded> |
| 5466 | false == false |
| 5467 | </Expanded> |
| 5468 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5469 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5470 | <Original> |
| 5471 | spec.matches( tcB ) == true |
| 5472 | </Original> |
| 5473 | <Expanded> |
| 5474 | true == true |
| 5475 | </Expanded> |
| 5476 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5477 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5478 | <Original> |
| 5479 | spec.matches( tcC ) == true |
| 5480 | </Original> |
| 5481 | <Expanded> |
| 5482 | true == true |
| 5483 | </Expanded> |
| 5484 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5485 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5486 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5487 | <Section name="Two tags" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5488 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5489 | <Original> |
| 5490 | spec.hasFilters() == true |
| 5491 | </Original> |
| 5492 | <Expanded> |
| 5493 | true == true |
| 5494 | </Expanded> |
| 5495 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5496 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5497 | <Original> |
| 5498 | spec.matches( tcA ) == false |
| 5499 | </Original> |
| 5500 | <Expanded> |
| 5501 | false == false |
| 5502 | </Expanded> |
| 5503 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5504 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5505 | <Original> |
| 5506 | spec.matches( tcB ) == false |
| 5507 | </Original> |
| 5508 | <Expanded> |
| 5509 | false == false |
| 5510 | </Expanded> |
| 5511 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5512 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5513 | <Original> |
| 5514 | spec.matches( tcC ) == true |
| 5515 | </Original> |
| 5516 | <Expanded> |
| 5517 | true == true |
| 5518 | </Expanded> |
| 5519 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5520 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5521 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5522 | <Section name="Two tags, spare separated" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5523 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5524 | <Original> |
| 5525 | spec.hasFilters() == true |
| 5526 | </Original> |
| 5527 | <Expanded> |
| 5528 | true == true |
| 5529 | </Expanded> |
| 5530 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5531 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5532 | <Original> |
| 5533 | spec.matches( tcA ) == false |
| 5534 | </Original> |
| 5535 | <Expanded> |
| 5536 | false == false |
| 5537 | </Expanded> |
| 5538 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5539 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5540 | <Original> |
| 5541 | spec.matches( tcB ) == false |
| 5542 | </Original> |
| 5543 | <Expanded> |
| 5544 | false == false |
| 5545 | </Expanded> |
| 5546 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5547 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5548 | <Original> |
| 5549 | spec.matches( tcC ) == true |
| 5550 | </Original> |
| 5551 | <Expanded> |
| 5552 | true == true |
| 5553 | </Expanded> |
| 5554 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5555 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5556 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5557 | <Section name="Wildcarded name and tag" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5558 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5559 | <Original> |
| 5560 | spec.hasFilters() == true |
| 5561 | </Original> |
| 5562 | <Expanded> |
| 5563 | true == true |
| 5564 | </Expanded> |
| 5565 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5566 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5567 | <Original> |
| 5568 | spec.matches( tcA ) == false |
| 5569 | </Original> |
| 5570 | <Expanded> |
| 5571 | false == false |
| 5572 | </Expanded> |
| 5573 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5574 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5575 | <Original> |
| 5576 | spec.matches( tcB ) == false |
| 5577 | </Original> |
| 5578 | <Expanded> |
| 5579 | false == false |
| 5580 | </Expanded> |
| 5581 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5582 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5583 | <Original> |
| 5584 | spec.matches( tcC ) == true |
| 5585 | </Original> |
| 5586 | <Expanded> |
| 5587 | true == true |
| 5588 | </Expanded> |
| 5589 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5590 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5591 | <Original> |
| 5592 | spec.matches( tcD ) == false |
| 5593 | </Original> |
| 5594 | <Expanded> |
| 5595 | false == false |
| 5596 | </Expanded> |
| 5597 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5598 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5599 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5600 | <Section name="Single tag exclusion" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5601 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5602 | <Original> |
| 5603 | spec.hasFilters() == true |
| 5604 | </Original> |
| 5605 | <Expanded> |
| 5606 | true == true |
| 5607 | </Expanded> |
| 5608 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5609 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5610 | <Original> |
| 5611 | spec.matches( tcA ) == true |
| 5612 | </Original> |
| 5613 | <Expanded> |
| 5614 | true == true |
| 5615 | </Expanded> |
| 5616 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5617 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5618 | <Original> |
| 5619 | spec.matches( tcB ) == false |
| 5620 | </Original> |
| 5621 | <Expanded> |
| 5622 | false == false |
| 5623 | </Expanded> |
| 5624 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5625 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5626 | <Original> |
| 5627 | spec.matches( tcC ) == true |
| 5628 | </Original> |
| 5629 | <Expanded> |
| 5630 | true == true |
| 5631 | </Expanded> |
| 5632 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5633 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5634 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5635 | <Section name="One tag exclusion and one tag inclusion" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5636 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5637 | <Original> |
| 5638 | spec.hasFilters() == true |
| 5639 | </Original> |
| 5640 | <Expanded> |
| 5641 | true == true |
| 5642 | </Expanded> |
| 5643 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5644 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5645 | <Original> |
| 5646 | spec.matches( tcA ) == false |
| 5647 | </Original> |
| 5648 | <Expanded> |
| 5649 | false == false |
| 5650 | </Expanded> |
| 5651 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5652 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5653 | <Original> |
| 5654 | spec.matches( tcB ) == true |
| 5655 | </Original> |
| 5656 | <Expanded> |
| 5657 | true == true |
| 5658 | </Expanded> |
| 5659 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5660 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5661 | <Original> |
| 5662 | spec.matches( tcC ) == false |
| 5663 | </Original> |
| 5664 | <Expanded> |
| 5665 | false == false |
| 5666 | </Expanded> |
| 5667 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5668 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5669 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5670 | <Section name="One tag exclusion and one wldcarded name inclusion" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5671 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5672 | <Original> |
| 5673 | spec.hasFilters() == true |
| 5674 | </Original> |
| 5675 | <Expanded> |
| 5676 | true == true |
| 5677 | </Expanded> |
| 5678 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5679 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5680 | <Original> |
| 5681 | spec.matches( tcA ) == false |
| 5682 | </Original> |
| 5683 | <Expanded> |
| 5684 | false == false |
| 5685 | </Expanded> |
| 5686 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5687 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5688 | <Original> |
| 5689 | spec.matches( tcB ) == false |
| 5690 | </Original> |
| 5691 | <Expanded> |
| 5692 | false == false |
| 5693 | </Expanded> |
| 5694 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5695 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5696 | <Original> |
| 5697 | spec.matches( tcC ) == false |
| 5698 | </Original> |
| 5699 | <Expanded> |
| 5700 | false == false |
| 5701 | </Expanded> |
| 5702 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5703 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5704 | <Original> |
| 5705 | spec.matches( tcD ) == true |
| 5706 | </Original> |
| 5707 | <Expanded> |
| 5708 | true == true |
| 5709 | </Expanded> |
| 5710 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5711 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5712 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5713 | <Section name="One tag exclusion, using exclude:, and one wldcarded name inclusion" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5714 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5715 | <Original> |
| 5716 | spec.hasFilters() == true |
| 5717 | </Original> |
| 5718 | <Expanded> |
| 5719 | true == true |
| 5720 | </Expanded> |
| 5721 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5722 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5723 | <Original> |
| 5724 | spec.matches( tcA ) == false |
| 5725 | </Original> |
| 5726 | <Expanded> |
| 5727 | false == false |
| 5728 | </Expanded> |
| 5729 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5730 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5731 | <Original> |
| 5732 | spec.matches( tcB ) == false |
| 5733 | </Original> |
| 5734 | <Expanded> |
| 5735 | false == false |
| 5736 | </Expanded> |
| 5737 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5738 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5739 | <Original> |
| 5740 | spec.matches( tcC ) == false |
| 5741 | </Original> |
| 5742 | <Expanded> |
| 5743 | false == false |
| 5744 | </Expanded> |
| 5745 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5746 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5747 | <Original> |
| 5748 | spec.matches( tcD ) == true |
| 5749 | </Original> |
| 5750 | <Expanded> |
| 5751 | true == true |
| 5752 | </Expanded> |
| 5753 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5754 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5755 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5756 | <Section name="name exclusion" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5757 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5758 | <Original> |
| 5759 | spec.hasFilters() == true |
| 5760 | </Original> |
| 5761 | <Expanded> |
| 5762 | true == true |
| 5763 | </Expanded> |
| 5764 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5765 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5766 | <Original> |
| 5767 | spec.matches( tcA ) == true |
| 5768 | </Original> |
| 5769 | <Expanded> |
| 5770 | true == true |
| 5771 | </Expanded> |
| 5772 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5773 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5774 | <Original> |
| 5775 | spec.matches( tcB ) == false |
| 5776 | </Original> |
| 5777 | <Expanded> |
| 5778 | false == false |
| 5779 | </Expanded> |
| 5780 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5781 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5782 | <Original> |
| 5783 | spec.matches( tcC ) == true |
| 5784 | </Original> |
| 5785 | <Expanded> |
| 5786 | true == true |
| 5787 | </Expanded> |
| 5788 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5789 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5790 | <Original> |
| 5791 | spec.matches( tcD ) == true |
| 5792 | </Original> |
| 5793 | <Expanded> |
| 5794 | true == true |
| 5795 | </Expanded> |
| 5796 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5797 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5798 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5799 | <Section name="wildcarded name exclusion" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5800 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5801 | <Original> |
| 5802 | spec.hasFilters() == true |
| 5803 | </Original> |
| 5804 | <Expanded> |
| 5805 | true == true |
| 5806 | </Expanded> |
| 5807 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5808 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5809 | <Original> |
| 5810 | spec.matches( tcA ) == true |
| 5811 | </Original> |
| 5812 | <Expanded> |
| 5813 | true == true |
| 5814 | </Expanded> |
| 5815 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5816 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5817 | <Original> |
| 5818 | spec.matches( tcB ) == true |
| 5819 | </Original> |
| 5820 | <Expanded> |
| 5821 | true == true |
| 5822 | </Expanded> |
| 5823 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5824 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5825 | <Original> |
| 5826 | spec.matches( tcC ) == false |
| 5827 | </Original> |
| 5828 | <Expanded> |
| 5829 | false == false |
| 5830 | </Expanded> |
| 5831 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5832 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5833 | <Original> |
| 5834 | spec.matches( tcD ) == false |
| 5835 | </Original> |
| 5836 | <Expanded> |
| 5837 | false == false |
| 5838 | </Expanded> |
| 5839 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5840 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5841 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5842 | <Section name="wildcarded name exclusion with tag inclusion" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5843 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5844 | <Original> |
| 5845 | spec.hasFilters() == true |
| 5846 | </Original> |
| 5847 | <Expanded> |
| 5848 | true == true |
| 5849 | </Expanded> |
| 5850 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5851 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5852 | <Original> |
| 5853 | spec.matches( tcA ) == true |
| 5854 | </Original> |
| 5855 | <Expanded> |
| 5856 | true == true |
| 5857 | </Expanded> |
| 5858 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5859 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5860 | <Original> |
| 5861 | spec.matches( tcB ) == true |
| 5862 | </Original> |
| 5863 | <Expanded> |
| 5864 | true == true |
| 5865 | </Expanded> |
| 5866 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5867 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5868 | <Original> |
| 5869 | spec.matches( tcC ) == true |
| 5870 | </Original> |
| 5871 | <Expanded> |
| 5872 | true == true |
| 5873 | </Expanded> |
| 5874 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5875 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5876 | <Original> |
| 5877 | spec.matches( tcD ) == false |
| 5878 | </Original> |
| 5879 | <Expanded> |
| 5880 | false == false |
| 5881 | </Expanded> |
| 5882 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5883 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5884 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5885 | <Section name="wildcarded name exclusion, using exclude:, with tag inclusion" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5886 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5887 | <Original> |
| 5888 | spec.hasFilters() == true |
| 5889 | </Original> |
| 5890 | <Expanded> |
| 5891 | true == true |
| 5892 | </Expanded> |
| 5893 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5894 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5895 | <Original> |
| 5896 | spec.matches( tcA ) == true |
| 5897 | </Original> |
| 5898 | <Expanded> |
| 5899 | true == true |
| 5900 | </Expanded> |
| 5901 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5902 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5903 | <Original> |
| 5904 | spec.matches( tcB ) == true |
| 5905 | </Original> |
| 5906 | <Expanded> |
| 5907 | true == true |
| 5908 | </Expanded> |
| 5909 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5910 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5911 | <Original> |
| 5912 | spec.matches( tcC ) == true |
| 5913 | </Original> |
| 5914 | <Expanded> |
| 5915 | true == true |
| 5916 | </Expanded> |
| 5917 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5918 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5919 | <Original> |
| 5920 | spec.matches( tcD ) == false |
| 5921 | </Original> |
| 5922 | <Expanded> |
| 5923 | false == false |
| 5924 | </Expanded> |
| 5925 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5926 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5927 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5928 | <Section name="two wildcarded names" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5929 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5930 | <Original> |
| 5931 | spec.hasFilters() == true |
| 5932 | </Original> |
| 5933 | <Expanded> |
| 5934 | true == true |
| 5935 | </Expanded> |
| 5936 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5937 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5938 | <Original> |
| 5939 | spec.matches( tcA ) == false |
| 5940 | </Original> |
| 5941 | <Expanded> |
| 5942 | false == false |
| 5943 | </Expanded> |
| 5944 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5945 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5946 | <Original> |
| 5947 | spec.matches( tcB ) == false |
| 5948 | </Original> |
| 5949 | <Expanded> |
| 5950 | false == false |
| 5951 | </Expanded> |
| 5952 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5953 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5954 | <Original> |
| 5955 | spec.matches( tcC ) == true |
| 5956 | </Original> |
| 5957 | <Expanded> |
| 5958 | true == true |
| 5959 | </Expanded> |
| 5960 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5961 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5962 | <Original> |
| 5963 | spec.matches( tcD ) == false |
| 5964 | </Original> |
| 5965 | <Expanded> |
| 5966 | false == false |
| 5967 | </Expanded> |
| 5968 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5969 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5970 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 5971 | <Section name="empty tag" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5972 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5973 | <Original> |
| 5974 | spec.hasFilters() == false |
| 5975 | </Original> |
| 5976 | <Expanded> |
| 5977 | false == false |
| 5978 | </Expanded> |
| 5979 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5980 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5981 | <Original> |
| 5982 | spec.matches( tcA ) == false |
| 5983 | </Original> |
| 5984 | <Expanded> |
| 5985 | false == false |
| 5986 | </Expanded> |
| 5987 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5988 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5989 | <Original> |
| 5990 | spec.matches( tcB ) == false |
| 5991 | </Original> |
| 5992 | <Expanded> |
| 5993 | false == false |
| 5994 | </Expanded> |
| 5995 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5996 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5997 | <Original> |
| 5998 | spec.matches( tcC ) == false |
| 5999 | </Original> |
| 6000 | <Expanded> |
| 6001 | false == false |
| 6002 | </Expanded> |
| 6003 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6004 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6005 | <Original> |
| 6006 | spec.matches( tcD ) == false |
| 6007 | </Original> |
| 6008 | <Expanded> |
| 6009 | false == false |
| 6010 | </Expanded> |
| 6011 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6012 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6013 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6014 | <Section name="empty quoted name" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6015 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6016 | <Original> |
| 6017 | spec.hasFilters() == false |
| 6018 | </Original> |
| 6019 | <Expanded> |
| 6020 | false == false |
| 6021 | </Expanded> |
| 6022 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6023 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6024 | <Original> |
| 6025 | spec.matches( tcA ) == false |
| 6026 | </Original> |
| 6027 | <Expanded> |
| 6028 | false == false |
| 6029 | </Expanded> |
| 6030 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6031 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6032 | <Original> |
| 6033 | spec.matches( tcB ) == false |
| 6034 | </Original> |
| 6035 | <Expanded> |
| 6036 | false == false |
| 6037 | </Expanded> |
| 6038 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6039 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6040 | <Original> |
| 6041 | spec.matches( tcC ) == false |
| 6042 | </Original> |
| 6043 | <Expanded> |
| 6044 | false == false |
| 6045 | </Expanded> |
| 6046 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6047 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6048 | <Original> |
| 6049 | spec.matches( tcD ) == false |
| 6050 | </Original> |
| 6051 | <Expanded> |
| 6052 | false == false |
| 6053 | </Expanded> |
| 6054 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6055 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6056 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6057 | <Section name="quoted string followed by tag exclusion" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6058 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6059 | <Original> |
| 6060 | spec.hasFilters() == true |
| 6061 | </Original> |
| 6062 | <Expanded> |
| 6063 | true == true |
| 6064 | </Expanded> |
| 6065 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6066 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6067 | <Original> |
| 6068 | spec.matches( tcA ) == false |
| 6069 | </Original> |
| 6070 | <Expanded> |
| 6071 | false == false |
| 6072 | </Expanded> |
| 6073 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6074 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6075 | <Original> |
| 6076 | spec.matches( tcB ) == false |
| 6077 | </Original> |
| 6078 | <Expanded> |
| 6079 | false == false |
| 6080 | </Expanded> |
| 6081 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6082 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6083 | <Original> |
| 6084 | spec.matches( tcC ) == false |
| 6085 | </Original> |
| 6086 | <Expanded> |
| 6087 | false == false |
| 6088 | </Expanded> |
| 6089 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6090 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6091 | <Original> |
| 6092 | spec.matches( tcD ) == true |
| 6093 | </Original> |
| 6094 | <Expanded> |
| 6095 | true == true |
| 6096 | </Expanded> |
| 6097 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6098 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 6099 | </Section> |
| 6100 | <OverallResult success="true"/> |
| 6101 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6102 | <TestCase name="Parsing a std::pair" tags="[Tricky][std::pair]" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6103 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 6104 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6105 | (std::pair<int, int>( 1, 2 )) == aNicePair |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 6106 | </Original> |
| 6107 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6108 | std::pair( 1, 2 ) == std::pair( 1, 2 ) |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 6109 | </Expanded> |
| 6110 | </Expression> |
| 6111 | <OverallResult success="true"/> |
| 6112 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6113 | <TestCase name="Pointers can be compared to null" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6114 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 6115 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6116 | p == 0 |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 6117 | </Original> |
| 6118 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6119 | NULL == 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6120 | </Expanded> |
| 6121 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6122 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6123 | <Original> |
| 6124 | p == pNULL |
| 6125 | </Original> |
| 6126 | <Expanded> |
| 6127 | NULL == NULL |
| 6128 | </Expanded> |
| 6129 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6130 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6131 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6132 | p != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6133 | </Original> |
| 6134 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6135 | 0x<hex digits> != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6136 | </Expanded> |
| 6137 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6138 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6139 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6140 | cp != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6141 | </Original> |
| 6142 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6143 | 0x<hex digits> != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6144 | </Expanded> |
| 6145 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6146 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6147 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6148 | cpc != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6149 | </Original> |
| 6150 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6151 | 0x<hex digits> != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6152 | </Expanded> |
| 6153 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6154 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6155 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6156 | returnsNull() == 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6157 | </Original> |
| 6158 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6159 | {null string} == 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6160 | </Expanded> |
| 6161 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6162 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6163 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6164 | returnsConstNull() == 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6165 | </Original> |
| 6166 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6167 | {null string} == 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6168 | </Expanded> |
| 6169 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6170 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6171 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6172 | 0 != p |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6173 | </Original> |
| 6174 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 6175 | 0 != 0x<hex digits> |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 6176 | </Expanded> |
| 6177 | </Expression> |
| 6178 | <OverallResult success="true"/> |
| 6179 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6180 | <TestCase name="Pointers can be converted to strings" tags="[.][hide][messages]" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6181 | <Warning> |
| 6182 | actual address of p: 0x<hex digits> |
| 6183 | </Warning> |
| 6184 | <Warning> |
| 6185 | toString(p): 0x<hex digits> |
| 6186 | </Warning> |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 6187 | <OverallResult success="true"/> |
| 6188 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6189 | <TestCase name="Process can be configured on command line" tags="[command-line][config]" filename="projects/<exe-name>/TestMain.cpp" > |
| 6190 | <Section name="default - no arguments" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6191 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6192 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6193 | parseIntoConfig( argv, config ) |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6194 | </Original> |
| 6195 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6196 | parseIntoConfig( argv, config ) |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6197 | </Expanded> |
| 6198 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6199 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6200 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6201 | config.shouldDebugBreak == false |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6202 | </Original> |
| 6203 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6204 | false == false |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6205 | </Expanded> |
| 6206 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6207 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6208 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6209 | config.abortAfter == -1 |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6210 | </Original> |
| 6211 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6212 | -1 == -1 |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6213 | </Expanded> |
| 6214 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6215 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6216 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6217 | config.noThrow == false |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6218 | </Original> |
| 6219 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6220 | false == false |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6221 | </Expanded> |
| 6222 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6223 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6224 | <Original> |
| 6225 | config.reporterNames.empty() |
| 6226 | </Original> |
| 6227 | <Expanded> |
| 6228 | true |
| 6229 | </Expanded> |
| 6230 | </Expression> |
| 6231 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
| 6232 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6233 | <Section name="test lists" filename="projects/<exe-name>/TestMain.cpp" > |
| 6234 | <Section name="1 test" description="Specify one test case using" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6235 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6236 | <Original> |
| 6237 | parseIntoConfig( argv, config ) |
| 6238 | </Original> |
| 6239 | <Expanded> |
| 6240 | parseIntoConfig( argv, config ) |
| 6241 | </Expanded> |
| 6242 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6243 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6244 | <Original> |
| 6245 | cfg.testSpec().matches( fakeTestCase( "notIncluded" ) ) == false |
| 6246 | </Original> |
| 6247 | <Expanded> |
| 6248 | false == false |
| 6249 | </Expanded> |
| 6250 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6251 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6252 | <Original> |
| 6253 | cfg.testSpec().matches( fakeTestCase( "test1" ) ) |
| 6254 | </Original> |
| 6255 | <Expanded> |
| 6256 | true |
| 6257 | </Expanded> |
| 6258 | </Expression> |
| 6259 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 6260 | </Section> |
| 6261 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 6262 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6263 | <Section name="test lists" filename="projects/<exe-name>/TestMain.cpp" > |
| 6264 | <Section name="Specify one test case exclusion using exclude:" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6265 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6266 | <Original> |
| 6267 | parseIntoConfig( argv, config ) |
| 6268 | </Original> |
| 6269 | <Expanded> |
| 6270 | parseIntoConfig( argv, config ) |
| 6271 | </Expanded> |
| 6272 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6273 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6274 | <Original> |
| 6275 | cfg.testSpec().matches( fakeTestCase( "test1" ) ) == false |
| 6276 | </Original> |
| 6277 | <Expanded> |
| 6278 | false == false |
| 6279 | </Expanded> |
| 6280 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6281 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6282 | <Original> |
| 6283 | cfg.testSpec().matches( fakeTestCase( "alwaysIncluded" ) ) |
| 6284 | </Original> |
| 6285 | <Expanded> |
| 6286 | true |
| 6287 | </Expanded> |
| 6288 | </Expression> |
| 6289 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 6290 | </Section> |
| 6291 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 6292 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6293 | <Section name="test lists" filename="projects/<exe-name>/TestMain.cpp" > |
| 6294 | <Section name="Specify one test case exclusion using ~" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6295 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6296 | <Original> |
| 6297 | parseIntoConfig( argv, config ) |
| 6298 | </Original> |
| 6299 | <Expanded> |
| 6300 | parseIntoConfig( argv, config ) |
| 6301 | </Expanded> |
| 6302 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6303 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6304 | <Original> |
| 6305 | cfg.testSpec().matches( fakeTestCase( "test1" ) ) == false |
| 6306 | </Original> |
| 6307 | <Expanded> |
| 6308 | false == false |
| 6309 | </Expanded> |
| 6310 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6311 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6312 | <Original> |
| 6313 | cfg.testSpec().matches( fakeTestCase( "alwaysIncluded" ) ) |
| 6314 | </Original> |
| 6315 | <Expanded> |
| 6316 | true |
| 6317 | </Expanded> |
| 6318 | </Expression> |
| 6319 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 6320 | </Section> |
| 6321 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 6322 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6323 | <Section name="reporter" filename="projects/<exe-name>/TestMain.cpp" > |
| 6324 | <Section name="-r/console" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6325 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6326 | <Original> |
| 6327 | parseIntoConfig( argv, config ) |
| 6328 | </Original> |
| 6329 | <Expanded> |
| 6330 | parseIntoConfig( argv, config ) |
| 6331 | </Expanded> |
| 6332 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6333 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6334 | <Original> |
| 6335 | config.reporterNames[0] == "console" |
| 6336 | </Original> |
| 6337 | <Expanded> |
| 6338 | "console" == "console" |
| 6339 | </Expanded> |
| 6340 | </Expression> |
| 6341 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6342 | </Section> |
| 6343 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6344 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6345 | <Section name="reporter" filename="projects/<exe-name>/TestMain.cpp" > |
| 6346 | <Section name="-r/xml" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6347 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6348 | <Original> |
| 6349 | parseIntoConfig( argv, config ) |
| 6350 | </Original> |
| 6351 | <Expanded> |
| 6352 | parseIntoConfig( argv, config ) |
| 6353 | </Expanded> |
| 6354 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6355 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6356 | <Original> |
| 6357 | config.reporterNames[0] == "xml" |
| 6358 | </Original> |
| 6359 | <Expanded> |
| 6360 | "xml" == "xml" |
| 6361 | </Expanded> |
| 6362 | </Expression> |
| 6363 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6364 | </Section> |
| 6365 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6366 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6367 | <Section name="reporter" filename="projects/<exe-name>/TestMain.cpp" > |
| 6368 | <Section name="-r xml and junit" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6369 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6370 | <Original> |
| 6371 | parseIntoConfig( argv, config ) |
| 6372 | </Original> |
| 6373 | <Expanded> |
| 6374 | parseIntoConfig( argv, config ) |
| 6375 | </Expanded> |
| 6376 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6377 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6378 | <Original> |
| 6379 | config.reporterNames.size() == 2 |
| 6380 | </Original> |
| 6381 | <Expanded> |
| 6382 | 2 == 2 |
| 6383 | </Expanded> |
| 6384 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6385 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6386 | <Original> |
| 6387 | config.reporterNames[0] == "xml" |
| 6388 | </Original> |
| 6389 | <Expanded> |
| 6390 | "xml" == "xml" |
| 6391 | </Expanded> |
| 6392 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6393 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6394 | <Original> |
| 6395 | config.reporterNames[1] == "junit" |
| 6396 | </Original> |
| 6397 | <Expanded> |
| 6398 | "junit" == "junit" |
| 6399 | </Expanded> |
| 6400 | </Expression> |
| 6401 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 6402 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6403 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6404 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6405 | <Section name="reporter" filename="projects/<exe-name>/TestMain.cpp" > |
| 6406 | <Section name="--reporter/junit" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6407 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6408 | <Original> |
| 6409 | parseIntoConfig( argv, config ) |
| 6410 | </Original> |
| 6411 | <Expanded> |
| 6412 | parseIntoConfig( argv, config ) |
| 6413 | </Expanded> |
| 6414 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6415 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6416 | <Original> |
| 6417 | config.reporterNames[0] == "junit" |
| 6418 | </Original> |
| 6419 | <Expanded> |
| 6420 | "junit" == "junit" |
| 6421 | </Expanded> |
| 6422 | </Expression> |
| 6423 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6424 | </Section> |
| 6425 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6426 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6427 | <Section name="debugger" filename="projects/<exe-name>/TestMain.cpp" > |
| 6428 | <Section name="-b" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6429 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6430 | <Original> |
| 6431 | parseIntoConfig( argv, config ) |
| 6432 | </Original> |
| 6433 | <Expanded> |
| 6434 | parseIntoConfig( argv, config ) |
| 6435 | </Expanded> |
| 6436 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6437 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6438 | <Original> |
| 6439 | config.shouldDebugBreak == true |
| 6440 | </Original> |
| 6441 | <Expanded> |
| 6442 | true == true |
| 6443 | </Expanded> |
| 6444 | </Expression> |
| 6445 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6446 | </Section> |
| 6447 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6448 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6449 | <Section name="debugger" filename="projects/<exe-name>/TestMain.cpp" > |
| 6450 | <Section name="--break" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6451 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6452 | <Original> |
| 6453 | parseIntoConfig( argv, config ) |
| 6454 | </Original> |
| 6455 | <Expanded> |
| 6456 | parseIntoConfig( argv, config ) |
| 6457 | </Expanded> |
| 6458 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6459 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6460 | <Original> |
| 6461 | config.shouldDebugBreak |
| 6462 | </Original> |
| 6463 | <Expanded> |
| 6464 | true |
| 6465 | </Expanded> |
| 6466 | </Expression> |
| 6467 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6468 | </Section> |
| 6469 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6470 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6471 | <Section name="abort" filename="projects/<exe-name>/TestMain.cpp" > |
| 6472 | <Section name="-a aborts after first failure" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6473 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6474 | <Original> |
| 6475 | parseIntoConfig( argv, config ) |
| 6476 | </Original> |
| 6477 | <Expanded> |
| 6478 | parseIntoConfig( argv, config ) |
| 6479 | </Expanded> |
| 6480 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6481 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6482 | <Original> |
| 6483 | config.abortAfter == 1 |
| 6484 | </Original> |
| 6485 | <Expanded> |
| 6486 | 1 == 1 |
| 6487 | </Expanded> |
| 6488 | </Expression> |
| 6489 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6490 | </Section> |
| 6491 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6492 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6493 | <Section name="abort" filename="projects/<exe-name>/TestMain.cpp" > |
| 6494 | <Section name="-x 2 aborts after two failures" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6495 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6496 | <Original> |
| 6497 | parseIntoConfig( argv, config ) |
| 6498 | </Original> |
| 6499 | <Expanded> |
| 6500 | parseIntoConfig( argv, config ) |
| 6501 | </Expanded> |
| 6502 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6503 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6504 | <Original> |
| 6505 | config.abortAfter == 2 |
| 6506 | </Original> |
| 6507 | <Expanded> |
| 6508 | 2 == 2 |
| 6509 | </Expanded> |
| 6510 | </Expression> |
| 6511 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6512 | </Section> |
| 6513 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6514 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6515 | <Section name="abort" filename="projects/<exe-name>/TestMain.cpp" > |
| 6516 | <Section name="-x must be greater than zero" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6517 | <Expression success="true" type="REQUIRE_THAT" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6518 | <Original> |
| 6519 | parseIntoConfigAndReturnError( argv, config ), Contains( "greater than zero" ) |
| 6520 | </Original> |
| 6521 | <Expanded> |
| 6522 | "Value after -x or --abortAfter must be greater than zero |
| 6523 | - while parsing: (-x, --abortx <no. failures>)" contains: "greater than zero" |
| 6524 | </Expanded> |
| 6525 | </Expression> |
| 6526 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6527 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6528 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6529 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6530 | <Section name="abort" filename="projects/<exe-name>/TestMain.cpp" > |
| 6531 | <Section name="-x must be numeric" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6532 | <Expression success="true" type="REQUIRE_THAT" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6533 | <Original> |
| 6534 | parseIntoConfigAndReturnError( argv, config ), Contains( "-x" ) |
| 6535 | </Original> |
| 6536 | <Expanded> |
| 6537 | "Unable to convert oops to destination type |
| 6538 | - while parsing: (-x, --abortx <no. failures>)" contains: "-x" |
| 6539 | </Expanded> |
| 6540 | </Expression> |
| 6541 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6542 | </Section> |
| 6543 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6544 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6545 | <Section name="nothrow" filename="projects/<exe-name>/TestMain.cpp" > |
| 6546 | <Section name="-e" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6547 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6548 | <Original> |
| 6549 | parseIntoConfig( argv, config ) |
| 6550 | </Original> |
| 6551 | <Expanded> |
| 6552 | parseIntoConfig( argv, config ) |
| 6553 | </Expanded> |
| 6554 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6555 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6556 | <Original> |
| 6557 | config.noThrow == true |
| 6558 | </Original> |
| 6559 | <Expanded> |
| 6560 | true == true |
| 6561 | </Expanded> |
| 6562 | </Expression> |
| 6563 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6564 | </Section> |
| 6565 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6566 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6567 | <Section name="nothrow" filename="projects/<exe-name>/TestMain.cpp" > |
| 6568 | <Section name="--nothrow" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6569 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6570 | <Original> |
| 6571 | parseIntoConfig( argv, config ) |
| 6572 | </Original> |
| 6573 | <Expanded> |
| 6574 | parseIntoConfig( argv, config ) |
| 6575 | </Expanded> |
| 6576 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6577 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6578 | <Original> |
| 6579 | config.noThrow == true |
| 6580 | </Original> |
| 6581 | <Expanded> |
| 6582 | true == true |
| 6583 | </Expanded> |
| 6584 | </Expression> |
| 6585 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6586 | </Section> |
| 6587 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6588 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6589 | <Section name="output filename" filename="projects/<exe-name>/TestMain.cpp" > |
| 6590 | <Section name="-o filename" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6591 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6592 | <Original> |
| 6593 | parseIntoConfig( argv, config ) |
| 6594 | </Original> |
| 6595 | <Expanded> |
| 6596 | parseIntoConfig( argv, config ) |
| 6597 | </Expanded> |
| 6598 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6599 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6600 | <Original> |
| 6601 | config.outputFilename == "filename.ext" |
| 6602 | </Original> |
| 6603 | <Expanded> |
| 6604 | "filename.ext" == "filename.ext" |
| 6605 | </Expanded> |
| 6606 | </Expression> |
| 6607 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6608 | </Section> |
| 6609 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6610 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6611 | <Section name="output filename" filename="projects/<exe-name>/TestMain.cpp" > |
| 6612 | <Section name="--out" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6613 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6614 | <Original> |
| 6615 | parseIntoConfig( argv, config ) |
| 6616 | </Original> |
| 6617 | <Expanded> |
| 6618 | parseIntoConfig( argv, config ) |
| 6619 | </Expanded> |
| 6620 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6621 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6622 | <Original> |
| 6623 | config.outputFilename == "filename.ext" |
| 6624 | </Original> |
| 6625 | <Expanded> |
| 6626 | "filename.ext" == "filename.ext" |
| 6627 | </Expanded> |
| 6628 | </Expression> |
| 6629 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6630 | </Section> |
| 6631 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6632 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6633 | <Section name="combinations" filename="projects/<exe-name>/TestMain.cpp" > |
| 6634 | <Section name="Single character flags can be combined" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6635 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6636 | <Original> |
| 6637 | parseIntoConfig( argv, config ) |
| 6638 | </Original> |
| 6639 | <Expanded> |
| 6640 | parseIntoConfig( argv, config ) |
| 6641 | </Expanded> |
| 6642 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6643 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6644 | <Original> |
| 6645 | config.abortAfter == 1 |
| 6646 | </Original> |
| 6647 | <Expanded> |
| 6648 | 1 == 1 |
| 6649 | </Expanded> |
| 6650 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6651 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6652 | <Original> |
| 6653 | config.shouldDebugBreak |
| 6654 | </Original> |
| 6655 | <Expanded> |
| 6656 | true |
| 6657 | </Expanded> |
| 6658 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6659 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6660 | <Original> |
| 6661 | config.noThrow == true |
| 6662 | </Original> |
| 6663 | <Expanded> |
| 6664 | true == true |
| 6665 | </Expanded> |
| 6666 | </Expression> |
| 6667 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 6668 | </Section> |
| 6669 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 6670 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6671 | <Section name="use-colour" filename="projects/<exe-name>/TestMain.cpp" > |
| 6672 | <Section name="without option" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6673 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6674 | <Original> |
| 6675 | parseIntoConfig( argv, config ) |
| 6676 | </Original> |
| 6677 | <Expanded> |
| 6678 | parseIntoConfig( argv, config ) |
| 6679 | </Expanded> |
| 6680 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6681 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6682 | <Original> |
| 6683 | config.useColour == UseColour::Auto |
| 6684 | </Original> |
| 6685 | <Expanded> |
| 6686 | 0 == 0 |
| 6687 | </Expanded> |
| 6688 | </Expression> |
| 6689 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6690 | </Section> |
| 6691 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6692 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6693 | <Section name="use-colour" filename="projects/<exe-name>/TestMain.cpp" > |
| 6694 | <Section name="auto" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6695 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6696 | <Original> |
| 6697 | parseIntoConfig( argv, config ) |
| 6698 | </Original> |
| 6699 | <Expanded> |
| 6700 | parseIntoConfig( argv, config ) |
| 6701 | </Expanded> |
| 6702 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6703 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6704 | <Original> |
| 6705 | config.useColour == UseColour::Auto |
| 6706 | </Original> |
| 6707 | <Expanded> |
| 6708 | 0 == 0 |
| 6709 | </Expanded> |
| 6710 | </Expression> |
| 6711 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6712 | </Section> |
| 6713 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6714 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6715 | <Section name="use-colour" filename="projects/<exe-name>/TestMain.cpp" > |
| 6716 | <Section name="yes" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6717 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6718 | <Original> |
| 6719 | parseIntoConfig( argv, config ) |
| 6720 | </Original> |
| 6721 | <Expanded> |
| 6722 | parseIntoConfig( argv, config ) |
| 6723 | </Expanded> |
| 6724 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6725 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6726 | <Original> |
| 6727 | config.useColour == UseColour::Yes |
| 6728 | </Original> |
| 6729 | <Expanded> |
| 6730 | 1 == 1 |
| 6731 | </Expanded> |
| 6732 | </Expression> |
| 6733 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6734 | </Section> |
| 6735 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6736 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6737 | <Section name="use-colour" filename="projects/<exe-name>/TestMain.cpp" > |
| 6738 | <Section name="no" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6739 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6740 | <Original> |
| 6741 | parseIntoConfig( argv, config ) |
| 6742 | </Original> |
| 6743 | <Expanded> |
| 6744 | parseIntoConfig( argv, config ) |
| 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>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6748 | <Original> |
| 6749 | config.useColour == UseColour::No |
| 6750 | </Original> |
| 6751 | <Expanded> |
| 6752 | 2 == 2 |
| 6753 | </Expanded> |
| 6754 | </Expression> |
| 6755 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6756 | </Section> |
| 6757 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6758 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6759 | <Section name="use-colour" filename="projects/<exe-name>/TestMain.cpp" > |
| 6760 | <Section name="error" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6761 | <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] | 6762 | <Original> |
| 6763 | parseIntoConfig( argv, config ), Contains( "colour mode must be one of" ) |
| 6764 | </Original> |
| 6765 | <Expanded> |
| 6766 | parseIntoConfig( argv, config ), Contains( "colour mode must be one of" ) |
| 6767 | </Expanded> |
| 6768 | </Expression> |
| 6769 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6770 | </Section> |
| 6771 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6772 | </Section> |
| 6773 | <OverallResult success="true"/> |
| 6774 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6775 | <TestCase name="SCOPED_INFO is reset for each loop" tags="[.][failing][hide][messages]" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 9bee606 | 2017-03-03 14:12:47 +0000 | [diff] [blame^] | 6776 | <Info> |
| 6777 | current counter 0 |
| 6778 | </Info> |
| 6779 | <Info> |
| 6780 | i := 0 |
| 6781 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6782 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6783 | <Original> |
| 6784 | i < 10 |
| 6785 | </Original> |
| 6786 | <Expanded> |
| 6787 | 0 < 10 |
| 6788 | </Expanded> |
| 6789 | </Expression> |
Phil Nash | 9bee606 | 2017-03-03 14:12:47 +0000 | [diff] [blame^] | 6790 | <Info> |
| 6791 | current counter 1 |
| 6792 | </Info> |
| 6793 | <Info> |
| 6794 | i := 1 |
| 6795 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6796 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6797 | <Original> |
| 6798 | i < 10 |
| 6799 | </Original> |
| 6800 | <Expanded> |
| 6801 | 1 < 10 |
| 6802 | </Expanded> |
| 6803 | </Expression> |
Phil Nash | 9bee606 | 2017-03-03 14:12:47 +0000 | [diff] [blame^] | 6804 | <Info> |
| 6805 | current counter 2 |
| 6806 | </Info> |
| 6807 | <Info> |
| 6808 | i := 2 |
| 6809 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6810 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6811 | <Original> |
| 6812 | i < 10 |
| 6813 | </Original> |
| 6814 | <Expanded> |
| 6815 | 2 < 10 |
| 6816 | </Expanded> |
| 6817 | </Expression> |
Phil Nash | 9bee606 | 2017-03-03 14:12:47 +0000 | [diff] [blame^] | 6818 | <Info> |
| 6819 | current counter 3 |
| 6820 | </Info> |
| 6821 | <Info> |
| 6822 | i := 3 |
| 6823 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6824 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6825 | <Original> |
| 6826 | i < 10 |
| 6827 | </Original> |
| 6828 | <Expanded> |
| 6829 | 3 < 10 |
| 6830 | </Expanded> |
| 6831 | </Expression> |
Phil Nash | 9bee606 | 2017-03-03 14:12:47 +0000 | [diff] [blame^] | 6832 | <Info> |
| 6833 | current counter 4 |
| 6834 | </Info> |
| 6835 | <Info> |
| 6836 | i := 4 |
| 6837 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6838 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6839 | <Original> |
| 6840 | i < 10 |
| 6841 | </Original> |
| 6842 | <Expanded> |
| 6843 | 4 < 10 |
| 6844 | </Expanded> |
| 6845 | </Expression> |
Phil Nash | 9bee606 | 2017-03-03 14:12:47 +0000 | [diff] [blame^] | 6846 | <Info> |
| 6847 | current counter 5 |
| 6848 | </Info> |
| 6849 | <Info> |
| 6850 | i := 5 |
| 6851 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6852 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6853 | <Original> |
| 6854 | i < 10 |
| 6855 | </Original> |
| 6856 | <Expanded> |
| 6857 | 5 < 10 |
| 6858 | </Expanded> |
| 6859 | </Expression> |
Phil Nash | 9bee606 | 2017-03-03 14:12:47 +0000 | [diff] [blame^] | 6860 | <Info> |
| 6861 | current counter 6 |
| 6862 | </Info> |
| 6863 | <Info> |
| 6864 | i := 6 |
| 6865 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6866 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6867 | <Original> |
| 6868 | i < 10 |
| 6869 | </Original> |
| 6870 | <Expanded> |
| 6871 | 6 < 10 |
| 6872 | </Expanded> |
| 6873 | </Expression> |
Phil Nash | 9bee606 | 2017-03-03 14:12:47 +0000 | [diff] [blame^] | 6874 | <Info> |
| 6875 | current counter 7 |
| 6876 | </Info> |
| 6877 | <Info> |
| 6878 | i := 7 |
| 6879 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6880 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6881 | <Original> |
| 6882 | i < 10 |
| 6883 | </Original> |
| 6884 | <Expanded> |
| 6885 | 7 < 10 |
| 6886 | </Expanded> |
| 6887 | </Expression> |
Phil Nash | 9bee606 | 2017-03-03 14:12:47 +0000 | [diff] [blame^] | 6888 | <Info> |
| 6889 | current counter 8 |
| 6890 | </Info> |
| 6891 | <Info> |
| 6892 | i := 8 |
| 6893 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6894 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6895 | <Original> |
| 6896 | i < 10 |
| 6897 | </Original> |
| 6898 | <Expanded> |
| 6899 | 8 < 10 |
| 6900 | </Expanded> |
| 6901 | </Expression> |
Phil Nash | 9bee606 | 2017-03-03 14:12:47 +0000 | [diff] [blame^] | 6902 | <Info> |
| 6903 | current counter 9 |
| 6904 | </Info> |
| 6905 | <Info> |
| 6906 | i := 9 |
| 6907 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6908 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6909 | <Original> |
| 6910 | i < 10 |
| 6911 | </Original> |
| 6912 | <Expanded> |
| 6913 | 9 < 10 |
| 6914 | </Expanded> |
| 6915 | </Expression> |
| 6916 | <Info> |
| 6917 | current counter 10 |
| 6918 | </Info> |
| 6919 | <Info> |
| 6920 | i := 10 |
| 6921 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6922 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6923 | <Original> |
| 6924 | i < 10 |
| 6925 | </Original> |
| 6926 | <Expanded> |
| 6927 | 10 < 10 |
| 6928 | </Expanded> |
| 6929 | </Expression> |
| 6930 | <OverallResult success="false"/> |
| 6931 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6932 | <TestCase name="SUCCEED counts as a test pass" tags="[messages]" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6933 | <OverallResult success="true"/> |
| 6934 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6935 | <TestCase name="SUCCESS does not require an argument" tags="[.][hide][messages]" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6936 | <OverallResult success="true"/> |
| 6937 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6938 | <TestCase name="Scenario: BDD tests requiring Fixtures to provide commonly-accessed data or methods" tags="[bdd][fixtures]" filename="projects/<exe-name>/BDDTests.cpp" > |
| 6939 | <Section name="Given: No operations precede me" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6940 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6941 | <Original> |
| 6942 | before == 0 |
| 6943 | </Original> |
| 6944 | <Expanded> |
| 6945 | 0 == 0 |
| 6946 | </Expanded> |
| 6947 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6948 | <Section name="When: We get the count" filename="projects/<exe-name>/BDDTests.cpp" > |
| 6949 | <Section name="Then: Subsequently values are higher" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6950 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6951 | <Original> |
| 6952 | after > before |
| 6953 | </Original> |
| 6954 | <Expanded> |
| 6955 | 1 > 0 |
| 6956 | </Expanded> |
| 6957 | </Expression> |
| 6958 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6959 | </Section> |
| 6960 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6961 | </Section> |
| 6962 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6963 | </Section> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6964 | <OverallResult success="true"/> |
| 6965 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6966 | <TestCase name="Scenario: Do that thing with the thing" tags="[Tags]" filename="projects/<exe-name>/BDDTests.cpp" > |
| 6967 | <Section name="Given: This stuff exists" filename="projects/<exe-name>/BDDTests.cpp" > |
| 6968 | <Section name="When: I do this" filename="projects/<exe-name>/BDDTests.cpp" > |
| 6969 | <Section name="Then: it should do this" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6970 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6971 | <Original> |
| 6972 | itDoesThis() |
| 6973 | </Original> |
| 6974 | <Expanded> |
| 6975 | true |
| 6976 | </Expanded> |
| 6977 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6978 | <Section name="And: do that" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6979 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6980 | <Original> |
| 6981 | itDoesThat() |
| 6982 | </Original> |
| 6983 | <Expanded> |
| 6984 | true |
| 6985 | </Expanded> |
| 6986 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6987 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6988 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6989 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6990 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6991 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6992 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6993 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6994 | </Section> |
| 6995 | <OverallResult success="true"/> |
| 6996 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 6997 | <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]" filename="projects/<exe-name>/BDDTests.cpp" > |
| 6998 | <Section name="Given: A section name that is so long that it cannot fit in a single console width" filename="projects/<exe-name>/BDDTests.cpp" > |
| 6999 | <Section name="When: The test headers are printed as part of the normal running of the scenario" filename="projects/<exe-name>/BDDTests.cpp" > |
| 7000 | <Section name="Then: The, deliberately very long and overly verbose (you see what I did there?) section names must wrap, along with an indent" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7001 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 7002 | </Section> |
| 7003 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 7004 | </Section> |
| 7005 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 7006 | </Section> |
| 7007 | <OverallResult success="true"/> |
| 7008 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7009 | <TestCase name="Scenario: Vector resizing affects size and capacity" tags="[bdd][capacity][size][vector]" filename="projects/<exe-name>/BDDTests.cpp" > |
| 7010 | <Section name="Given: an empty vector" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7011 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7012 | <Original> |
| 7013 | v.size() == 0 |
| 7014 | </Original> |
| 7015 | <Expanded> |
| 7016 | 0 == 0 |
| 7017 | </Expanded> |
| 7018 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7019 | <Section name="When: it is made larger" filename="projects/<exe-name>/BDDTests.cpp" > |
| 7020 | <Section name="Then: the size and capacity go up" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7021 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7022 | <Original> |
| 7023 | v.size() == 10 |
| 7024 | </Original> |
| 7025 | <Expanded> |
| 7026 | 10 == 10 |
| 7027 | </Expanded> |
| 7028 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7029 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7030 | <Original> |
| 7031 | v.capacity() >= 10 |
| 7032 | </Original> |
| 7033 | <Expanded> |
| 7034 | 10 >= 10 |
| 7035 | </Expanded> |
| 7036 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7037 | <Section name="And when: it is made smaller again" filename="projects/<exe-name>/BDDTests.cpp" > |
| 7038 | <Section name="Then: the size goes down but the capacity stays the same" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7039 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7040 | <Original> |
| 7041 | v.size() == 5 |
| 7042 | </Original> |
| 7043 | <Expanded> |
| 7044 | 5 == 5 |
| 7045 | </Expanded> |
| 7046 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7047 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7048 | <Original> |
| 7049 | v.capacity() >= 10 |
| 7050 | </Original> |
| 7051 | <Expanded> |
| 7052 | 10 >= 10 |
| 7053 | </Expanded> |
| 7054 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7055 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7056 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7057 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7058 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7059 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7060 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7061 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7062 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7063 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7064 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7065 | <Section name="Given: an empty vector" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7066 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7067 | <Original> |
| 7068 | v.size() == 0 |
| 7069 | </Original> |
| 7070 | <Expanded> |
| 7071 | 0 == 0 |
| 7072 | </Expanded> |
| 7073 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7074 | <Section name="When: we reserve more space" filename="projects/<exe-name>/BDDTests.cpp" > |
| 7075 | <Section name="Then: The capacity is increased but the size remains the same" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7076 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7077 | <Original> |
| 7078 | v.capacity() >= 10 |
| 7079 | </Original> |
| 7080 | <Expanded> |
| 7081 | 10 >= 10 |
| 7082 | </Expanded> |
| 7083 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7084 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7085 | <Original> |
| 7086 | v.size() == 0 |
| 7087 | </Original> |
| 7088 | <Expanded> |
| 7089 | 0 == 0 |
| 7090 | </Expanded> |
| 7091 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7092 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7093 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7094 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7095 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 7096 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7097 | </Section> |
| 7098 | <OverallResult success="true"/> |
| 7099 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7100 | <TestCase name="Sends stuff to stdout and stderr" tags="[.][hide]" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 23eb4cc | 2017-02-06 16:14:06 +0000 | [diff] [blame] | 7101 | <OverallResult success="true"> |
| 7102 | <StdOut> |
| 7103 | A string sent directly to stdout |
| 7104 | </StdOut> |
| 7105 | <StdErr> |
| 7106 | A string sent directly to stderr |
| 7107 | </StdErr> |
| 7108 | </OverallResult> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7109 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7110 | <TestCase name="Some simple comparisons between doubles" tags="[Approx]" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7111 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7112 | <Original> |
| 7113 | d == Approx( 1.23 ) |
| 7114 | </Original> |
| 7115 | <Expanded> |
| 7116 | 1.23 == Approx( 1.23 ) |
| 7117 | </Expanded> |
| 7118 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7119 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7120 | <Original> |
| 7121 | d != Approx( 1.22 ) |
| 7122 | </Original> |
| 7123 | <Expanded> |
| 7124 | 1.23 != Approx( 1.22 ) |
| 7125 | </Expanded> |
| 7126 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7127 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7128 | <Original> |
| 7129 | d != Approx( 1.24 ) |
| 7130 | </Original> |
| 7131 | <Expanded> |
| 7132 | 1.23 != Approx( 1.24 ) |
| 7133 | </Expanded> |
| 7134 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7135 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7136 | <Original> |
| 7137 | Approx( d ) == 1.23 |
| 7138 | </Original> |
| 7139 | <Expanded> |
| 7140 | Approx( 1.23 ) == 1.23 |
| 7141 | </Expanded> |
| 7142 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7143 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7144 | <Original> |
| 7145 | Approx( d ) != 1.22 |
| 7146 | </Original> |
| 7147 | <Expanded> |
| 7148 | Approx( 1.23 ) != 1.22 |
| 7149 | </Expanded> |
| 7150 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7151 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7152 | <Original> |
| 7153 | Approx( d ) != 1.24 |
| 7154 | </Original> |
| 7155 | <Expanded> |
| 7156 | Approx( 1.23 ) != 1.24 |
| 7157 | </Expanded> |
| 7158 | </Expression> |
| 7159 | <OverallResult success="true"/> |
| 7160 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7161 | <TestCase name="Standard output from all sections is reported" tags="[.][hide][messages]" filename="projects/<exe-name>/MessageTests.cpp" > |
| 7162 | <Section name="one" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7163 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 7164 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7165 | <Section name="two" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7166 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 7167 | </Section> |
Phil Nash | 23eb4cc | 2017-02-06 16:14:06 +0000 | [diff] [blame] | 7168 | <OverallResult success="false"> |
| 7169 | <StdOut> |
| 7170 | Message from section one |
| 7171 | Message from section two |
| 7172 | </StdOut> |
| 7173 | </OverallResult> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7174 | </TestCase> |
Phil Nash | 4e6938d | 2017-02-21 14:19:09 +0000 | [diff] [blame] | 7175 | <TestCase name="StartsWith string matcher" tags="[.][failing][hide][matchers]" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 7176 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7177 | <Original> |
| 7178 | testStringForMatching(), StartsWith( "string" ) |
| 7179 | </Original> |
| 7180 | <Expanded> |
| 7181 | "this string contains 'abc' as a substring" starts with: "string" |
| 7182 | </Expanded> |
| 7183 | </Expression> |
| 7184 | <OverallResult success="false"/> |
| 7185 | </TestCase> |
Phil Nash | 4e6938d | 2017-02-21 14:19:09 +0000 | [diff] [blame] | 7186 | <TestCase name="String matchers" tags="[matchers]" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 7187 | <Expression success="true" type="REQUIRE_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7188 | <Original> |
| 7189 | testStringForMatching(), Contains( "string" ) |
| 7190 | </Original> |
| 7191 | <Expanded> |
| 7192 | "this string contains 'abc' as a substring" contains: "string" |
| 7193 | </Expanded> |
| 7194 | </Expression> |
Phil Nash | 4e6938d | 2017-02-21 14:19:09 +0000 | [diff] [blame] | 7195 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7196 | <Original> |
| 7197 | testStringForMatching(), Contains( "abc" ) |
| 7198 | </Original> |
| 7199 | <Expanded> |
| 7200 | "this string contains 'abc' as a substring" contains: "abc" |
| 7201 | </Expanded> |
| 7202 | </Expression> |
Phil Nash | 4e6938d | 2017-02-21 14:19:09 +0000 | [diff] [blame] | 7203 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7204 | <Original> |
| 7205 | testStringForMatching(), StartsWith( "this" ) |
| 7206 | </Original> |
| 7207 | <Expanded> |
| 7208 | "this string contains 'abc' as a substring" starts with: "this" |
| 7209 | </Expanded> |
| 7210 | </Expression> |
Phil Nash | 4e6938d | 2017-02-21 14:19:09 +0000 | [diff] [blame] | 7211 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7212 | <Original> |
| 7213 | testStringForMatching(), EndsWith( "substring" ) |
| 7214 | </Original> |
| 7215 | <Expanded> |
| 7216 | "this string contains 'abc' as a substring" ends with: "substring" |
| 7217 | </Expanded> |
| 7218 | </Expression> |
| 7219 | <OverallResult success="true"/> |
| 7220 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7221 | <TestCase name="Strings can be rendered with colour" tags="[.][.colour][hide]" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 23eb4cc | 2017-02-06 16:14:06 +0000 | [diff] [blame] | 7222 | <OverallResult success="true"> |
| 7223 | <StdOut> |
| 7224 | hello |
| 7225 | hello |
| 7226 | </StdOut> |
| 7227 | </OverallResult> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7228 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7229 | <TestCase name="Tabs and newlines show in output" tags="[.][failing][hide][whitespace]" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7230 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7231 | <Original> |
| 7232 | s1 == s2 |
| 7233 | </Original> |
| 7234 | <Expanded> |
| 7235 | "if ($b == 10) { |
| 7236 | $a = 20; |
| 7237 | }" |
| 7238 | == |
| 7239 | "if ($b == 10) { |
| 7240 | $a = 20; |
| 7241 | } |
| 7242 | " |
| 7243 | </Expanded> |
| 7244 | </Expression> |
| 7245 | <OverallResult success="false"/> |
| 7246 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7247 | <TestCase name="Tag alias can be registered against tag patterns" filename="projects/<exe-name>/TagAliasTests.cpp" > |
| 7248 | <Section name="The same tag alias can only be registered once" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7249 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7250 | <Original> |
| 7251 | what, Contains( "[@zzz]" ) |
| 7252 | </Original> |
| 7253 | <Expanded> |
| 7254 | "error: tag alias, "[@zzz]" already registered. |
| 7255 | First seen at file:2 |
| 7256 | Redefined at file:10" contains: "[@zzz]" |
| 7257 | </Expanded> |
| 7258 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7259 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7260 | <Original> |
| 7261 | what, Contains( "file" ) |
| 7262 | </Original> |
| 7263 | <Expanded> |
| 7264 | "error: tag alias, "[@zzz]" already registered. |
| 7265 | First seen at file:2 |
| 7266 | Redefined at file:10" contains: "file" |
| 7267 | </Expanded> |
| 7268 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7269 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7270 | <Original> |
| 7271 | what, Contains( "2" ) |
| 7272 | </Original> |
| 7273 | <Expanded> |
| 7274 | "error: tag alias, "[@zzz]" already registered. |
| 7275 | First seen at file:2 |
| 7276 | Redefined at file:10" contains: "2" |
| 7277 | </Expanded> |
| 7278 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7279 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7280 | <Original> |
| 7281 | what, Contains( "10" ) |
| 7282 | </Original> |
| 7283 | <Expanded> |
| 7284 | "error: tag alias, "[@zzz]" already registered. |
| 7285 | First seen at file:2 |
| 7286 | Redefined at file:10" contains: "10" |
| 7287 | </Expanded> |
| 7288 | </Expression> |
| 7289 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 7290 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7291 | <Section name="Tag aliases must be of the form [@name]" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7292 | <Expression success="true" type="CHECK_THROWS" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7293 | <Original> |
| 7294 | registry.add( "[no ampersat]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7295 | </Original> |
| 7296 | <Expanded> |
| 7297 | registry.add( "[no ampersat]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7298 | </Expanded> |
| 7299 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7300 | <Expression success="true" type="CHECK_THROWS" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7301 | <Original> |
| 7302 | registry.add( "[the @ is not at the start]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7303 | </Original> |
| 7304 | <Expanded> |
| 7305 | registry.add( "[the @ is not at the start]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7306 | </Expanded> |
| 7307 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7308 | <Expression success="true" type="CHECK_THROWS" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7309 | <Original> |
| 7310 | registry.add( "@no square bracket at start]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7311 | </Original> |
| 7312 | <Expanded> |
| 7313 | registry.add( "@no square bracket at start]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7314 | </Expanded> |
| 7315 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7316 | <Expression success="true" type="CHECK_THROWS" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7317 | <Original> |
| 7318 | registry.add( "[@no square bracket at end", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7319 | </Original> |
| 7320 | <Expanded> |
| 7321 | registry.add( "[@no square bracket at end", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7322 | </Expanded> |
| 7323 | </Expression> |
| 7324 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7325 | </Section> |
| 7326 | <OverallResult success="true"/> |
| 7327 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7328 | <TestCase name="Test case with one argument" filename="projects/<exe-name>/VariadicMacrosTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7329 | <OverallResult success="true"/> |
| 7330 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7331 | <TestCase name="Test enum bit values" tags="[Tricky]" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7332 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7333 | <Original> |
| 7334 | 0x<hex digits> == bit30and31 |
| 7335 | </Original> |
| 7336 | <Expanded> |
| 7337 | 3221225472 (0x<hex digits>) == 3221225472 |
| 7338 | </Expanded> |
| 7339 | </Expression> |
| 7340 | <OverallResult success="true"/> |
| 7341 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7342 | <TestCase name="Text can be formatted using the Text class" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7343 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7344 | <Original> |
| 7345 | Text( "hi there" ).toString() == "hi there" |
| 7346 | </Original> |
| 7347 | <Expanded> |
| 7348 | "hi there" == "hi there" |
| 7349 | </Expanded> |
| 7350 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7351 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7352 | <Original> |
| 7353 | Text( "hi there", narrow ).toString() == "hi\nthere" |
| 7354 | </Original> |
| 7355 | <Expanded> |
| 7356 | "hi |
| 7357 | there" |
| 7358 | == |
| 7359 | "hi |
| 7360 | there" |
| 7361 | </Expanded> |
| 7362 | </Expression> |
| 7363 | <OverallResult success="true"/> |
| 7364 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7365 | <TestCase name="The NO_FAIL macro reports a failure but does not fail the test" tags="[messages]" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7366 | <Expression success="false" type="CHECK_NOFAIL" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7367 | <Original> |
| 7368 | 1 == 2 |
| 7369 | </Original> |
| 7370 | <Expanded> |
| 7371 | 1 == 2 |
| 7372 | </Expanded> |
| 7373 | </Expression> |
| 7374 | <OverallResult success="true"/> |
| 7375 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7376 | <TestCase name="This test 'should' fail but doesn't" tags="[!shouldfail][.][failing][hide]" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7377 | <OverallResult success="false"/> |
| 7378 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7379 | <TestCase name="Tracker" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7380 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7381 | <Original> |
| 7382 | testCase.isOpen() |
| 7383 | </Original> |
| 7384 | <Expanded> |
| 7385 | true |
| 7386 | </Expanded> |
| 7387 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7388 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7389 | <Original> |
| 7390 | s1.isOpen() |
| 7391 | </Original> |
| 7392 | <Expanded> |
| 7393 | true |
| 7394 | </Expanded> |
| 7395 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7396 | <Section name="successfully close one section" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7397 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 7398 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7399 | s1.isSuccessfullyCompleted() |
| 7400 | </Original> |
| 7401 | <Expanded> |
| 7402 | true |
| 7403 | </Expanded> |
| 7404 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7405 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7406 | <Original> |
| 7407 | testCase.isComplete() == false |
| 7408 | </Original> |
| 7409 | <Expanded> |
| 7410 | false == false |
| 7411 | </Expanded> |
| 7412 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7413 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7414 | <Original> |
| 7415 | ctx.completedCycle() |
| 7416 | </Original> |
| 7417 | <Expanded> |
| 7418 | true |
| 7419 | </Expanded> |
| 7420 | </Expression> |
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 | testCase.isSuccessfullyCompleted() |
| 7424 | </Original> |
| 7425 | <Expanded> |
| 7426 | true |
| 7427 | </Expanded> |
| 7428 | </Expression> |
| 7429 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 7430 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7431 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7432 | <Original> |
| 7433 | testCase.isOpen() |
| 7434 | </Original> |
| 7435 | <Expanded> |
| 7436 | true |
| 7437 | </Expanded> |
| 7438 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7439 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7440 | <Original> |
| 7441 | s1.isOpen() |
| 7442 | </Original> |
| 7443 | <Expanded> |
| 7444 | true |
| 7445 | </Expanded> |
| 7446 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7447 | <Section name="fail one section" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7448 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7449 | <Original> |
| 7450 | s1.isComplete() |
| 7451 | </Original> |
| 7452 | <Expanded> |
| 7453 | true |
| 7454 | </Expanded> |
| 7455 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7456 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7457 | <Original> |
| 7458 | s1.isSuccessfullyCompleted() == false |
| 7459 | </Original> |
| 7460 | <Expanded> |
| 7461 | false == false |
| 7462 | </Expanded> |
| 7463 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7464 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7465 | <Original> |
| 7466 | testCase.isComplete() == false |
| 7467 | </Original> |
| 7468 | <Expanded> |
| 7469 | false == false |
| 7470 | </Expanded> |
| 7471 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7472 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7473 | <Original> |
| 7474 | ctx.completedCycle() |
| 7475 | </Original> |
| 7476 | <Expanded> |
| 7477 | true |
| 7478 | </Expanded> |
| 7479 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7480 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7481 | <Original> |
| 7482 | testCase.isSuccessfullyCompleted() == false |
| 7483 | </Original> |
| 7484 | <Expanded> |
| 7485 | false == false |
| 7486 | </Expanded> |
| 7487 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7488 | <Section name="re-enter after failed section" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7489 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7490 | <Original> |
| 7491 | testCase2.isOpen() |
| 7492 | </Original> |
| 7493 | <Expanded> |
| 7494 | true |
| 7495 | </Expanded> |
| 7496 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7497 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7498 | <Original> |
| 7499 | s1b.isOpen() == false |
| 7500 | </Original> |
| 7501 | <Expanded> |
| 7502 | false == false |
| 7503 | </Expanded> |
| 7504 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7505 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7506 | <Original> |
| 7507 | ctx.completedCycle() |
| 7508 | </Original> |
| 7509 | <Expanded> |
| 7510 | true |
| 7511 | </Expanded> |
| 7512 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7513 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7514 | <Original> |
| 7515 | testCase.isComplete() |
| 7516 | </Original> |
| 7517 | <Expanded> |
| 7518 | true |
| 7519 | </Expanded> |
| 7520 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7521 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7522 | <Original> |
| 7523 | testCase.isSuccessfullyCompleted() |
| 7524 | </Original> |
| 7525 | <Expanded> |
| 7526 | true |
| 7527 | </Expanded> |
| 7528 | </Expression> |
| 7529 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
| 7530 | </Section> |
| 7531 | <OverallResults successes="10" failures="0" expectedFailures="0"/> |
| 7532 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7533 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7534 | <Original> |
| 7535 | testCase.isOpen() |
| 7536 | </Original> |
| 7537 | <Expanded> |
| 7538 | true |
| 7539 | </Expanded> |
| 7540 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7541 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7542 | <Original> |
| 7543 | s1.isOpen() |
| 7544 | </Original> |
| 7545 | <Expanded> |
| 7546 | true |
| 7547 | </Expanded> |
| 7548 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7549 | <Section name="fail one section" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7550 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7551 | <Original> |
| 7552 | s1.isComplete() |
| 7553 | </Original> |
| 7554 | <Expanded> |
| 7555 | true |
| 7556 | </Expanded> |
| 7557 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7558 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7559 | <Original> |
| 7560 | s1.isSuccessfullyCompleted() == false |
| 7561 | </Original> |
| 7562 | <Expanded> |
| 7563 | false == false |
| 7564 | </Expanded> |
| 7565 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7566 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7567 | <Original> |
| 7568 | testCase.isComplete() == false |
| 7569 | </Original> |
| 7570 | <Expanded> |
| 7571 | false == false |
| 7572 | </Expanded> |
| 7573 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7574 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7575 | <Original> |
| 7576 | ctx.completedCycle() |
| 7577 | </Original> |
| 7578 | <Expanded> |
| 7579 | true |
| 7580 | </Expanded> |
| 7581 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7582 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7583 | <Original> |
| 7584 | testCase.isSuccessfullyCompleted() == false |
| 7585 | </Original> |
| 7586 | <Expanded> |
| 7587 | false == false |
| 7588 | </Expanded> |
| 7589 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7590 | <Section name="re-enter after failed section and find next section" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7591 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7592 | <Original> |
| 7593 | testCase2.isOpen() |
| 7594 | </Original> |
| 7595 | <Expanded> |
| 7596 | true |
| 7597 | </Expanded> |
| 7598 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7599 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7600 | <Original> |
| 7601 | s1b.isOpen() == false |
| 7602 | </Original> |
| 7603 | <Expanded> |
| 7604 | false == false |
| 7605 | </Expanded> |
| 7606 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7607 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7608 | <Original> |
| 7609 | s2.isOpen() |
| 7610 | </Original> |
| 7611 | <Expanded> |
| 7612 | true |
| 7613 | </Expanded> |
| 7614 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7615 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7616 | <Original> |
| 7617 | ctx.completedCycle() |
| 7618 | </Original> |
| 7619 | <Expanded> |
| 7620 | true |
| 7621 | </Expanded> |
| 7622 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7623 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7624 | <Original> |
| 7625 | testCase.isComplete() |
| 7626 | </Original> |
| 7627 | <Expanded> |
| 7628 | true |
| 7629 | </Expanded> |
| 7630 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7631 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7632 | <Original> |
| 7633 | testCase.isSuccessfullyCompleted() |
| 7634 | </Original> |
| 7635 | <Expanded> |
| 7636 | true |
| 7637 | </Expanded> |
| 7638 | </Expression> |
| 7639 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
| 7640 | </Section> |
| 7641 | <OverallResults successes="11" failures="0" expectedFailures="0"/> |
| 7642 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7643 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7644 | <Original> |
| 7645 | testCase.isOpen() |
| 7646 | </Original> |
| 7647 | <Expanded> |
| 7648 | true |
| 7649 | </Expanded> |
| 7650 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7651 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7652 | <Original> |
| 7653 | s1.isOpen() |
| 7654 | </Original> |
| 7655 | <Expanded> |
| 7656 | true |
| 7657 | </Expanded> |
| 7658 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7659 | <Section name="successfully close one section, then find another" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7660 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7661 | <Original> |
| 7662 | s2.isOpen() == false |
| 7663 | </Original> |
| 7664 | <Expanded> |
| 7665 | false == false |
| 7666 | </Expanded> |
| 7667 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7668 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7669 | <Original> |
| 7670 | testCase.isComplete() == false |
| 7671 | </Original> |
| 7672 | <Expanded> |
| 7673 | false == false |
| 7674 | </Expanded> |
| 7675 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7676 | <Section name="Re-enter - skips S1 and enters S2" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
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 | testCase2.isOpen() |
| 7680 | </Original> |
| 7681 | <Expanded> |
| 7682 | true |
| 7683 | </Expanded> |
| 7684 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7685 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7686 | <Original> |
| 7687 | s1b.isOpen() == false |
| 7688 | </Original> |
| 7689 | <Expanded> |
| 7690 | false == false |
| 7691 | </Expanded> |
| 7692 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7693 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7694 | <Original> |
| 7695 | s2b.isOpen() |
| 7696 | </Original> |
| 7697 | <Expanded> |
| 7698 | true |
| 7699 | </Expanded> |
| 7700 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7701 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7702 | <Original> |
| 7703 | ctx.completedCycle() == false |
| 7704 | </Original> |
| 7705 | <Expanded> |
| 7706 | false == false |
| 7707 | </Expanded> |
| 7708 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7709 | <Section name="Successfully close S2" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
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 | ctx.completedCycle() |
| 7713 | </Original> |
| 7714 | <Expanded> |
| 7715 | true |
| 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 | s2b.isSuccessfullyCompleted() |
| 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 | testCase2.isComplete() == 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 | testCase2.isSuccessfullyCompleted() |
| 7737 | </Original> |
| 7738 | <Expanded> |
| 7739 | true |
| 7740 | </Expanded> |
| 7741 | </Expression> |
| 7742 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 7743 | </Section> |
| 7744 | <OverallResults successes="8" failures="0" expectedFailures="0"/> |
| 7745 | </Section> |
| 7746 | <OverallResults successes="10" failures="0" expectedFailures="0"/> |
| 7747 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7748 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7749 | <Original> |
| 7750 | testCase.isOpen() |
| 7751 | </Original> |
| 7752 | <Expanded> |
| 7753 | true |
| 7754 | </Expanded> |
| 7755 | </Expression> |
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 | s1.isOpen() |
| 7759 | </Original> |
| 7760 | <Expanded> |
| 7761 | true |
| 7762 | </Expanded> |
| 7763 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7764 | <Section name="successfully close one section, then find another" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7765 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7766 | <Original> |
| 7767 | s2.isOpen() == false |
| 7768 | </Original> |
| 7769 | <Expanded> |
| 7770 | false == false |
| 7771 | </Expanded> |
| 7772 | </Expression> |
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 | testCase.isComplete() == false |
| 7776 | </Original> |
| 7777 | <Expanded> |
| 7778 | false == false |
| 7779 | </Expanded> |
| 7780 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7781 | <Section name="Re-enter - skips S1 and enters S2" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7782 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7783 | <Original> |
| 7784 | testCase2.isOpen() |
| 7785 | </Original> |
| 7786 | <Expanded> |
| 7787 | true |
| 7788 | </Expanded> |
| 7789 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7790 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7791 | <Original> |
| 7792 | s1b.isOpen() == false |
| 7793 | </Original> |
| 7794 | <Expanded> |
| 7795 | false == false |
| 7796 | </Expanded> |
| 7797 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7798 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7799 | <Original> |
| 7800 | s2b.isOpen() |
| 7801 | </Original> |
| 7802 | <Expanded> |
| 7803 | true |
| 7804 | </Expanded> |
| 7805 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7806 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7807 | <Original> |
| 7808 | ctx.completedCycle() == false |
| 7809 | </Original> |
| 7810 | <Expanded> |
| 7811 | false == false |
| 7812 | </Expanded> |
| 7813 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7814 | <Section name="fail S2" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7815 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7816 | <Original> |
| 7817 | ctx.completedCycle() |
| 7818 | </Original> |
| 7819 | <Expanded> |
| 7820 | true |
| 7821 | </Expanded> |
| 7822 | </Expression> |
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 | s2b.isComplete() |
| 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 | s2b.isSuccessfullyCompleted() == false |
| 7834 | </Original> |
| 7835 | <Expanded> |
| 7836 | false == false |
| 7837 | </Expanded> |
| 7838 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7839 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7840 | <Original> |
| 7841 | testCase2.isSuccessfullyCompleted() == false |
| 7842 | </Original> |
| 7843 | <Expanded> |
| 7844 | false == false |
| 7845 | </Expanded> |
| 7846 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7847 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7848 | <Original> |
| 7849 | testCase3.isOpen() |
| 7850 | </Original> |
| 7851 | <Expanded> |
| 7852 | true |
| 7853 | </Expanded> |
| 7854 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7855 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7856 | <Original> |
| 7857 | s1c.isOpen() == false |
| 7858 | </Original> |
| 7859 | <Expanded> |
| 7860 | false == false |
| 7861 | </Expanded> |
| 7862 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7863 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7864 | <Original> |
| 7865 | s2c.isOpen() == false |
| 7866 | </Original> |
| 7867 | <Expanded> |
| 7868 | false == false |
| 7869 | </Expanded> |
| 7870 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7871 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7872 | <Original> |
| 7873 | testCase3.isSuccessfullyCompleted() |
| 7874 | </Original> |
| 7875 | <Expanded> |
| 7876 | true |
| 7877 | </Expanded> |
| 7878 | </Expression> |
| 7879 | <OverallResults successes="8" failures="0" expectedFailures="0"/> |
| 7880 | </Section> |
| 7881 | <OverallResults successes="12" failures="0" expectedFailures="0"/> |
| 7882 | </Section> |
| 7883 | <OverallResults successes="14" failures="0" expectedFailures="0"/> |
| 7884 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7885 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7886 | <Original> |
| 7887 | testCase.isOpen() |
| 7888 | </Original> |
| 7889 | <Expanded> |
| 7890 | true |
| 7891 | </Expanded> |
| 7892 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7893 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7894 | <Original> |
| 7895 | s1.isOpen() |
| 7896 | </Original> |
| 7897 | <Expanded> |
| 7898 | true |
| 7899 | </Expanded> |
| 7900 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7901 | <Section name="open a nested section" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7902 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7903 | <Original> |
| 7904 | s2.isOpen() |
| 7905 | </Original> |
| 7906 | <Expanded> |
| 7907 | true |
| 7908 | </Expanded> |
| 7909 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7910 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7911 | <Original> |
| 7912 | s2.isComplete() |
| 7913 | </Original> |
| 7914 | <Expanded> |
| 7915 | true |
| 7916 | </Expanded> |
| 7917 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7918 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7919 | <Original> |
| 7920 | s1.isComplete() == false |
| 7921 | </Original> |
| 7922 | <Expanded> |
| 7923 | false == false |
| 7924 | </Expanded> |
| 7925 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7926 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7927 | <Original> |
| 7928 | s1.isComplete() |
| 7929 | </Original> |
| 7930 | <Expanded> |
| 7931 | true |
| 7932 | </Expanded> |
| 7933 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7934 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7935 | <Original> |
| 7936 | testCase.isComplete() == false |
| 7937 | </Original> |
| 7938 | <Expanded> |
| 7939 | false == false |
| 7940 | </Expanded> |
| 7941 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7942 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7943 | <Original> |
| 7944 | testCase.isComplete() |
| 7945 | </Original> |
| 7946 | <Expanded> |
| 7947 | true |
| 7948 | </Expanded> |
| 7949 | </Expression> |
| 7950 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
| 7951 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7952 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7953 | <Original> |
| 7954 | testCase.isOpen() |
| 7955 | </Original> |
| 7956 | <Expanded> |
| 7957 | true |
| 7958 | </Expanded> |
| 7959 | </Expression> |
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 | s1.isOpen() |
| 7963 | </Original> |
| 7964 | <Expanded> |
| 7965 | true |
| 7966 | </Expanded> |
| 7967 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 7968 | <Section name="start a generator" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7969 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7970 | <Original> |
| 7971 | g1.isOpen() |
| 7972 | </Original> |
| 7973 | <Expanded> |
| 7974 | true |
| 7975 | </Expanded> |
| 7976 | </Expression> |
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.index() == 0 |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 7980 | </Original> |
| 7981 | <Expanded> |
| 7982 | 0 == 0 |
| 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.isComplete() == false |
| 7988 | </Original> |
| 7989 | <Expanded> |
| 7990 | false == false |
| 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 | s1.isComplete() == false |
| 7996 | </Original> |
| 7997 | <Expanded> |
| 7998 | false == false |
| 7999 | </Expanded> |
| 8000 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8001 | <Section name="close outer section" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8002 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8003 | <Original> |
| 8004 | s1.isComplete() == false |
| 8005 | </Original> |
| 8006 | <Expanded> |
| 8007 | false == false |
| 8008 | </Expanded> |
| 8009 | </Expression> |
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 | testCase.isSuccessfullyCompleted() == false |
| 8013 | </Original> |
| 8014 | <Expanded> |
| 8015 | false == false |
| 8016 | </Expanded> |
| 8017 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8018 | <Section name="Re-enter for second generation" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8019 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 8020 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8021 | testCase2.isOpen() |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 8022 | </Original> |
| 8023 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8024 | true |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 8025 | </Expanded> |
| 8026 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8027 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8028 | <Original> |
| 8029 | s1b.isOpen() |
| 8030 | </Original> |
| 8031 | <Expanded> |
| 8032 | true |
| 8033 | </Expanded> |
| 8034 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8035 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8036 | <Original> |
| 8037 | g1b.isOpen() |
| 8038 | </Original> |
| 8039 | <Expanded> |
| 8040 | true |
| 8041 | </Expanded> |
| 8042 | </Expression> |
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 | g1b.index() == 1 |
| 8046 | </Original> |
| 8047 | <Expanded> |
| 8048 | 1 == 1 |
| 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 | s1.isComplete() == false |
| 8054 | </Original> |
| 8055 | <Expanded> |
| 8056 | false == false |
| 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 | s1b.isComplete() |
| 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.isComplete() |
| 8070 | </Original> |
| 8071 | <Expanded> |
| 8072 | true |
| 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 | testCase2.isComplete() |
| 8078 | </Original> |
| 8079 | <Expanded> |
| 8080 | true |
| 8081 | </Expanded> |
| 8082 | </Expression> |
| 8083 | <OverallResults successes="8" failures="0" expectedFailures="0"/> |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 8084 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8085 | <OverallResults successes="10" failures="0" expectedFailures="0"/> |
| 8086 | </Section> |
| 8087 | <OverallResults successes="14" failures="0" expectedFailures="0"/> |
| 8088 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8089 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8090 | <Original> |
| 8091 | testCase.isOpen() |
| 8092 | </Original> |
| 8093 | <Expanded> |
| 8094 | true |
| 8095 | </Expanded> |
| 8096 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8097 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8098 | <Original> |
| 8099 | s1.isOpen() |
| 8100 | </Original> |
| 8101 | <Expanded> |
| 8102 | true |
| 8103 | </Expanded> |
| 8104 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8105 | <Section name="start a generator" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8106 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8107 | <Original> |
| 8108 | g1.isOpen() |
| 8109 | </Original> |
| 8110 | <Expanded> |
| 8111 | true |
| 8112 | </Expanded> |
| 8113 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8114 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8115 | <Original> |
| 8116 | g1.index() == 0 |
| 8117 | </Original> |
| 8118 | <Expanded> |
| 8119 | 0 == 0 |
| 8120 | </Expanded> |
| 8121 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8122 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8123 | <Original> |
| 8124 | g1.isComplete() == false |
| 8125 | </Original> |
| 8126 | <Expanded> |
| 8127 | false == false |
| 8128 | </Expanded> |
| 8129 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8130 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8131 | <Original> |
| 8132 | s1.isComplete() == false |
| 8133 | </Original> |
| 8134 | <Expanded> |
| 8135 | false == false |
| 8136 | </Expanded> |
| 8137 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8138 | <Section name="Start a new inner section" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8139 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8140 | <Original> |
| 8141 | s2.isOpen() |
| 8142 | </Original> |
| 8143 | <Expanded> |
| 8144 | true |
| 8145 | </Expanded> |
| 8146 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8147 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8148 | <Original> |
| 8149 | s2.isComplete() |
| 8150 | </Original> |
| 8151 | <Expanded> |
| 8152 | true |
| 8153 | </Expanded> |
| 8154 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8155 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8156 | <Original> |
| 8157 | s1.isComplete() == false |
| 8158 | </Original> |
| 8159 | <Expanded> |
| 8160 | false == false |
| 8161 | </Expanded> |
| 8162 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8163 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8164 | <Original> |
| 8165 | testCase.isComplete() == false |
| 8166 | </Original> |
| 8167 | <Expanded> |
| 8168 | false == false |
| 8169 | </Expanded> |
| 8170 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8171 | <Section name="Re-enter for second generation" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8172 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8173 | <Original> |
| 8174 | testCase2.isOpen() |
| 8175 | </Original> |
| 8176 | <Expanded> |
| 8177 | true |
| 8178 | </Expanded> |
| 8179 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8180 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8181 | <Original> |
| 8182 | s1b.isOpen() |
| 8183 | </Original> |
| 8184 | <Expanded> |
| 8185 | true |
| 8186 | </Expanded> |
| 8187 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8188 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8189 | <Original> |
| 8190 | g1b.isOpen() |
| 8191 | </Original> |
| 8192 | <Expanded> |
| 8193 | true |
| 8194 | </Expanded> |
| 8195 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8196 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8197 | <Original> |
| 8198 | g1b.index() == 1 |
| 8199 | </Original> |
| 8200 | <Expanded> |
| 8201 | 1 == 1 |
| 8202 | </Expanded> |
| 8203 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8204 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8205 | <Original> |
| 8206 | s2b.isOpen() |
| 8207 | </Original> |
| 8208 | <Expanded> |
| 8209 | true |
| 8210 | </Expanded> |
| 8211 | </Expression> |
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 | s2b.isComplete() |
| 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 | g1b.isComplete() |
| 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 | s1b.isComplete() |
| 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 | testCase2.isComplete() |
| 8239 | </Original> |
| 8240 | <Expanded> |
| 8241 | true |
| 8242 | </Expanded> |
| 8243 | </Expression> |
| 8244 | <OverallResults successes="9" failures="0" expectedFailures="0"/> |
| 8245 | </Section> |
| 8246 | <OverallResults successes="13" failures="0" expectedFailures="0"/> |
| 8247 | </Section> |
| 8248 | <OverallResults successes="17" failures="0" expectedFailures="0"/> |
| 8249 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8250 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8251 | <Original> |
| 8252 | testCase.isOpen() |
| 8253 | </Original> |
| 8254 | <Expanded> |
| 8255 | true |
| 8256 | </Expanded> |
| 8257 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8258 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8259 | <Original> |
| 8260 | s1.isOpen() |
| 8261 | </Original> |
| 8262 | <Expanded> |
| 8263 | true |
| 8264 | </Expanded> |
| 8265 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8266 | <Section name="start a generator" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8267 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8268 | <Original> |
| 8269 | g1.isOpen() |
| 8270 | </Original> |
| 8271 | <Expanded> |
| 8272 | true |
| 8273 | </Expanded> |
| 8274 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8275 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8276 | <Original> |
| 8277 | g1.index() == 0 |
| 8278 | </Original> |
| 8279 | <Expanded> |
| 8280 | 0 == 0 |
| 8281 | </Expanded> |
| 8282 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8283 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8284 | <Original> |
| 8285 | g1.isComplete() == false |
| 8286 | </Original> |
| 8287 | <Expanded> |
| 8288 | false == false |
| 8289 | </Expanded> |
| 8290 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8291 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8292 | <Original> |
| 8293 | s1.isComplete() == false |
| 8294 | </Original> |
| 8295 | <Expanded> |
| 8296 | false == false |
| 8297 | </Expanded> |
| 8298 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8299 | <Section name="Fail an inner section" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
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 | s2.isOpen() |
| 8303 | </Original> |
| 8304 | <Expanded> |
| 8305 | true |
| 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 | s2.isComplete() |
| 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 | s2.isSuccessfullyCompleted() == false |
| 8319 | </Original> |
| 8320 | <Expanded> |
| 8321 | false == false |
| 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 | s1.isComplete() == false |
| 8327 | </Original> |
| 8328 | <Expanded> |
| 8329 | false == false |
| 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 | testCase.isComplete() == false |
| 8335 | </Original> |
| 8336 | <Expanded> |
| 8337 | false == false |
| 8338 | </Expanded> |
| 8339 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8340 | <Section name="Re-enter for second generation" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8341 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8342 | <Original> |
| 8343 | testCase2.isOpen() |
| 8344 | </Original> |
| 8345 | <Expanded> |
| 8346 | true |
| 8347 | </Expanded> |
| 8348 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8349 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8350 | <Original> |
| 8351 | s1b.isOpen() |
| 8352 | </Original> |
| 8353 | <Expanded> |
| 8354 | true |
| 8355 | </Expanded> |
| 8356 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8357 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8358 | <Original> |
| 8359 | g1b.isOpen() |
| 8360 | </Original> |
| 8361 | <Expanded> |
| 8362 | true |
| 8363 | </Expanded> |
| 8364 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8365 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8366 | <Original> |
| 8367 | g1b.index() == 0 |
| 8368 | </Original> |
| 8369 | <Expanded> |
| 8370 | 0 == 0 |
| 8371 | </Expanded> |
| 8372 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8373 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8374 | <Original> |
| 8375 | s2b.isOpen() == false |
| 8376 | </Original> |
| 8377 | <Expanded> |
| 8378 | false == false |
| 8379 | </Expanded> |
| 8380 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8381 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8382 | <Original> |
| 8383 | g1b.isComplete() == false |
| 8384 | </Original> |
| 8385 | <Expanded> |
| 8386 | false == false |
| 8387 | </Expanded> |
| 8388 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8389 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8390 | <Original> |
| 8391 | s1b.isComplete() == false |
| 8392 | </Original> |
| 8393 | <Expanded> |
| 8394 | false == false |
| 8395 | </Expanded> |
| 8396 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8397 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8398 | <Original> |
| 8399 | testCase2.isComplete() == false |
| 8400 | </Original> |
| 8401 | <Expanded> |
| 8402 | false == false |
| 8403 | </Expanded> |
| 8404 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8405 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8406 | <Original> |
| 8407 | testCase3.isOpen() |
| 8408 | </Original> |
| 8409 | <Expanded> |
| 8410 | true |
| 8411 | </Expanded> |
| 8412 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8413 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8414 | <Original> |
| 8415 | s1c.isOpen() |
| 8416 | </Original> |
| 8417 | <Expanded> |
| 8418 | true |
| 8419 | </Expanded> |
| 8420 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8421 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8422 | <Original> |
| 8423 | g1c.isOpen() |
| 8424 | </Original> |
| 8425 | <Expanded> |
| 8426 | true |
| 8427 | </Expanded> |
| 8428 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8429 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8430 | <Original> |
| 8431 | g1c.index() == 1 |
| 8432 | </Original> |
| 8433 | <Expanded> |
| 8434 | 1 == 1 |
| 8435 | </Expanded> |
| 8436 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8437 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8438 | <Original> |
| 8439 | s2c.isOpen() |
| 8440 | </Original> |
| 8441 | <Expanded> |
| 8442 | true |
| 8443 | </Expanded> |
| 8444 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8445 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8446 | <Original> |
| 8447 | s2c.isComplete() |
| 8448 | </Original> |
| 8449 | <Expanded> |
| 8450 | true |
| 8451 | </Expanded> |
| 8452 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8453 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8454 | <Original> |
| 8455 | g1c.isComplete() |
| 8456 | </Original> |
| 8457 | <Expanded> |
| 8458 | true |
| 8459 | </Expanded> |
| 8460 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8461 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8462 | <Original> |
| 8463 | s1c.isComplete() |
| 8464 | </Original> |
| 8465 | <Expanded> |
| 8466 | true |
| 8467 | </Expanded> |
| 8468 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8469 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8470 | <Original> |
| 8471 | testCase3.isComplete() |
| 8472 | </Original> |
| 8473 | <Expanded> |
| 8474 | true |
| 8475 | </Expanded> |
| 8476 | </Expression> |
| 8477 | <OverallResults successes="17" failures="0" expectedFailures="0"/> |
| 8478 | </Section> |
| 8479 | <OverallResults successes="22" failures="0" expectedFailures="0"/> |
| 8480 | </Section> |
| 8481 | <OverallResults successes="26" failures="0" expectedFailures="0"/> |
| 8482 | </Section> |
| 8483 | <OverallResult success="true"/> |
| 8484 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8485 | <TestCase name="Unexpected exceptions can be translated" tags="[!throws][.][failing][hide]" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8486 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8487 | 3.14 |
| 8488 | </Exception> |
| 8489 | <OverallResult success="false"/> |
| 8490 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8491 | <TestCase name="Use a custom approx" tags="[Approx][custom]" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8492 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8493 | <Original> |
| 8494 | d == approx( 1.23 ) |
| 8495 | </Original> |
| 8496 | <Expanded> |
| 8497 | 1.23 == Approx( 1.23 ) |
| 8498 | </Expanded> |
| 8499 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8500 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8501 | <Original> |
| 8502 | d == approx( 1.22 ) |
| 8503 | </Original> |
| 8504 | <Expanded> |
| 8505 | 1.23 == Approx( 1.22 ) |
| 8506 | </Expanded> |
| 8507 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8508 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8509 | <Original> |
| 8510 | d == approx( 1.24 ) |
| 8511 | </Original> |
| 8512 | <Expanded> |
| 8513 | 1.23 == Approx( 1.24 ) |
| 8514 | </Expanded> |
| 8515 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8516 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8517 | <Original> |
| 8518 | d != approx( 1.25 ) |
| 8519 | </Original> |
| 8520 | <Expanded> |
| 8521 | 1.23 != Approx( 1.25 ) |
| 8522 | </Expanded> |
| 8523 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8524 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8525 | <Original> |
| 8526 | approx( d ) == 1.23 |
| 8527 | </Original> |
| 8528 | <Expanded> |
| 8529 | Approx( 1.23 ) == 1.23 |
| 8530 | </Expanded> |
| 8531 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8532 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8533 | <Original> |
| 8534 | approx( d ) == 1.22 |
| 8535 | </Original> |
| 8536 | <Expanded> |
| 8537 | Approx( 1.23 ) == 1.22 |
| 8538 | </Expanded> |
| 8539 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8540 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8541 | <Original> |
| 8542 | approx( d ) == 1.24 |
| 8543 | </Original> |
| 8544 | <Expanded> |
| 8545 | Approx( 1.23 ) == 1.24 |
| 8546 | </Expanded> |
| 8547 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8548 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8549 | <Original> |
| 8550 | approx( d ) != 1.25 |
| 8551 | </Original> |
| 8552 | <Expanded> |
| 8553 | Approx( 1.23 ) != 1.25 |
| 8554 | </Expanded> |
| 8555 | </Expression> |
| 8556 | <OverallResult success="true"/> |
| 8557 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8558 | <TestCase name="Variadic macros" tags="[sections][variadic]" filename="projects/<exe-name>/VariadicMacrosTests.cpp" > |
| 8559 | <Section name="Section with one argument" filename="projects/<exe-name>/VariadicMacrosTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8560 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8561 | </Section> |
| 8562 | <OverallResult success="true"/> |
| 8563 | </TestCase> |
Phil Nash | 10dfca3 | 2017-02-21 16:05:04 +0000 | [diff] [blame] | 8564 | <TestCase name="Vector matchers" tags="[matchers][vector]" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8565 | <Section name="Contains (element)" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8566 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8567 | <Original> |
| 8568 | v, VectorContains( 1 ) |
| 8569 | </Original> |
| 8570 | <Expanded> |
| 8571 | { 1, 2, 3 } Contains: 1 |
| 8572 | </Expanded> |
| 8573 | </Expression> |
| 8574 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8575 | <Original> |
| 8576 | v, VectorContains( 2 ) |
| 8577 | </Original> |
| 8578 | <Expanded> |
| 8579 | { 1, 2, 3 } Contains: 2 |
| 8580 | </Expanded> |
| 8581 | </Expression> |
| 8582 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 8583 | </Section> |
| 8584 | <Section name="Contains (vector)" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8585 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8586 | <Original> |
| 8587 | v, Contains( v2 ) |
| 8588 | </Original> |
| 8589 | <Expanded> |
| 8590 | { 1, 2, 3 } Contains: { 1, 2 } |
| 8591 | </Expanded> |
| 8592 | </Expression> |
| 8593 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8594 | <Original> |
| 8595 | v, Contains( v2 ) |
| 8596 | </Original> |
| 8597 | <Expanded> |
| 8598 | { 1, 2, 3 } Contains: { 1, 2, 3 } |
| 8599 | </Expanded> |
| 8600 | </Expression> |
| 8601 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8602 | <Original> |
| 8603 | v, Contains( empty) |
| 8604 | </Original> |
| 8605 | <Expanded> |
| 8606 | { 1, 2, 3 } Contains: { } |
| 8607 | </Expanded> |
| 8608 | </Expression> |
| 8609 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8610 | <Original> |
| 8611 | empty, Contains( empty) |
| 8612 | </Original> |
| 8613 | <Expanded> |
| 8614 | { } Contains: { } |
| 8615 | </Expanded> |
| 8616 | </Expression> |
| 8617 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 8618 | </Section> |
| 8619 | <Section name="Equals" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8620 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8621 | <Original> |
| 8622 | v, Equals( v ) |
| 8623 | </Original> |
| 8624 | <Expanded> |
| 8625 | { 1, 2, 3 } Equals: { 1, 2, 3 } |
| 8626 | </Expanded> |
| 8627 | </Expression> |
| 8628 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8629 | <Original> |
| 8630 | empty, Equals( empty ) |
| 8631 | </Original> |
| 8632 | <Expanded> |
| 8633 | { } Equals: { } |
| 8634 | </Expanded> |
| 8635 | </Expression> |
| 8636 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8637 | <Original> |
| 8638 | v, Equals( v2 ) |
| 8639 | </Original> |
| 8640 | <Expanded> |
| 8641 | { 1, 2, 3 } Equals: { 1, 2, 3 } |
| 8642 | </Expanded> |
| 8643 | </Expression> |
| 8644 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 8645 | </Section> |
| 8646 | <OverallResult success="true"/> |
| 8647 | </TestCase> |
| 8648 | <TestCase name="Vector matchers that fail" tags="[.][failing][hide][matchers][vector]" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8649 | <Section name="Contains (element)" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8650 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8651 | <Original> |
| 8652 | v, VectorContains( -1 ) |
| 8653 | </Original> |
| 8654 | <Expanded> |
| 8655 | { 1, 2, 3 } Contains: -1 |
| 8656 | </Expanded> |
| 8657 | </Expression> |
| 8658 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8659 | <Original> |
| 8660 | empty, VectorContains( 1 ) |
| 8661 | </Original> |
| 8662 | <Expanded> |
| 8663 | { } Contains: 1 |
| 8664 | </Expanded> |
| 8665 | </Expression> |
| 8666 | <OverallResults successes="0" failures="2" expectedFailures="0"/> |
| 8667 | </Section> |
| 8668 | <Section name="Contains (vector)" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8669 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8670 | <Original> |
| 8671 | empty, Contains( v) |
| 8672 | </Original> |
| 8673 | <Expanded> |
| 8674 | { } Contains: { 1, 2, 3 } |
| 8675 | </Expanded> |
| 8676 | </Expression> |
| 8677 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8678 | <Original> |
| 8679 | v, Contains( v2 ) |
| 8680 | </Original> |
| 8681 | <Expanded> |
| 8682 | { 1, 2, 3 } Contains: { 1, 2, 4 } |
| 8683 | </Expanded> |
| 8684 | </Expression> |
| 8685 | <OverallResults successes="0" failures="2" expectedFailures="0"/> |
| 8686 | </Section> |
| 8687 | <Section name="Equals" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8688 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8689 | <Original> |
| 8690 | v, Equals( v2 ) |
| 8691 | </Original> |
| 8692 | <Expanded> |
| 8693 | { 1, 2, 3 } Equals: { 1, 2 } |
| 8694 | </Expanded> |
| 8695 | </Expression> |
| 8696 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8697 | <Original> |
| 8698 | v2, Equals( v ) |
| 8699 | </Original> |
| 8700 | <Expanded> |
| 8701 | { 1, 2 } Equals: { 1, 2, 3 } |
| 8702 | </Expanded> |
| 8703 | </Expression> |
| 8704 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8705 | <Original> |
| 8706 | empty, Equals( v ) |
| 8707 | </Original> |
| 8708 | <Expanded> |
| 8709 | { } Equals: { 1, 2, 3 } |
| 8710 | </Expanded> |
| 8711 | </Expression> |
| 8712 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" > |
| 8713 | <Original> |
| 8714 | v, Equals( empty ) |
| 8715 | </Original> |
| 8716 | <Expanded> |
| 8717 | { 1, 2, 3 } Equals: { } |
| 8718 | </Expanded> |
| 8719 | </Expression> |
| 8720 | <OverallResults successes="0" failures="4" expectedFailures="0"/> |
| 8721 | </Section> |
| 8722 | <OverallResult success="false"/> |
| 8723 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8724 | <TestCase name="When checked exceptions are thrown they can be expected or unexpected" tags="[!throws]" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8725 | <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] | 8726 | <Original> |
Martin Hořeňovský | 9952dda | 2017-02-09 12:41:16 +0100 | [diff] [blame] | 8727 | thisThrows(), std::domain_error |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8728 | </Original> |
| 8729 | <Expanded> |
Martin Hořeňovský | 9952dda | 2017-02-09 12:41:16 +0100 | [diff] [blame] | 8730 | thisThrows(), std::domain_error |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8731 | </Expanded> |
| 8732 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8733 | <Expression success="true" type="REQUIRE_NOTHROW" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8734 | <Original> |
| 8735 | thisDoesntThrow() |
| 8736 | </Original> |
| 8737 | <Expanded> |
| 8738 | thisDoesntThrow() |
| 8739 | </Expanded> |
| 8740 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8741 | <Expression success="true" type="REQUIRE_THROWS" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8742 | <Original> |
| 8743 | thisThrows() |
| 8744 | </Original> |
| 8745 | <Expanded> |
| 8746 | thisThrows() |
| 8747 | </Expanded> |
| 8748 | </Expression> |
| 8749 | <OverallResult success="true"/> |
| 8750 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8751 | <TestCase name="When unchecked exceptions are thrown directly they are always failures" tags="[!throws][.][failing][hide]" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8752 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8753 | unexpected exception |
| 8754 | </Exception> |
| 8755 | <OverallResult success="false"/> |
| 8756 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8757 | <TestCase name="When unchecked exceptions are thrown during a CHECK the test should continue" tags="[!throws][.][failing][hide]" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8758 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8759 | <Original> |
| 8760 | thisThrows() == 0 |
| 8761 | </Original> |
| 8762 | <Expanded> |
| 8763 | thisThrows() == 0 |
| 8764 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8765 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8766 | expected exception |
| 8767 | </Exception> |
| 8768 | </Expression> |
| 8769 | <OverallResult success="false"/> |
| 8770 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8771 | <TestCase name="When unchecked exceptions are thrown during a REQUIRE the test should abort fail" tags="[!throws][.][failing][hide]" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8772 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8773 | <Original> |
| 8774 | thisThrows() == 0 |
| 8775 | </Original> |
| 8776 | <Expanded> |
| 8777 | thisThrows() == 0 |
| 8778 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8779 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8780 | expected exception |
| 8781 | </Exception> |
| 8782 | </Expression> |
| 8783 | <OverallResult success="false"/> |
| 8784 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8785 | <TestCase name="When unchecked exceptions are thrown from functions they are always failures" tags="[!throws][.][failing][hide]" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8786 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8787 | <Original> |
| 8788 | thisThrows() == 0 |
| 8789 | </Original> |
| 8790 | <Expanded> |
| 8791 | thisThrows() == 0 |
| 8792 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8793 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8794 | expected exception |
| 8795 | </Exception> |
| 8796 | </Expression> |
| 8797 | <OverallResult success="false"/> |
| 8798 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8799 | <TestCase name="When unchecked exceptions are thrown from sections they are always failures" tags="[!throws][.][failing][hide]" filename="projects/<exe-name>/ExceptionTests.cpp" > |
| 8800 | <Section name="section name" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8801 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8802 | unexpected exception |
| 8803 | </Exception> |
| 8804 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 8805 | </Section> |
| 8806 | <OverallResult success="false"/> |
| 8807 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8808 | <TestCase name="When unchecked exceptions are thrown, but caught, they do not affect the test" tags="[!throws]" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8809 | <OverallResult success="true"/> |
| 8810 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8811 | <TestCase name="Where the LHS is not a simple value" tags="[.][Tricky][failing][hide]" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8812 | <Warning> |
| 8813 | Uncomment the code in this test to check that it gives a sensible compiler error |
| 8814 | </Warning> |
| 8815 | <OverallResult success="true"/> |
| 8816 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8817 | <TestCase name="Where there is more to the expression after the RHS" tags="[.][Tricky][failing][hide]" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8818 | <Warning> |
| 8819 | Uncomment the code in this test to check that it gives a sensible compiler error |
| 8820 | </Warning> |
| 8821 | <OverallResult success="true"/> |
| 8822 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8823 | <TestCase name="X/level/0/a" tags="[Tricky]" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8824 | <OverallResult success="true"/> |
| 8825 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8826 | <TestCase name="X/level/0/b" tags="[Tricky][fizz]" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8827 | <OverallResult success="true"/> |
| 8828 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8829 | <TestCase name="X/level/1/a" tags="[Tricky]" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8830 | <OverallResult success="true"/> |
| 8831 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8832 | <TestCase name="X/level/1/b" tags="[Tricky]" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8833 | <OverallResult success="true"/> |
| 8834 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8835 | <TestCase name="XmlEncode" filename="projects/<exe-name>/MiscTests.cpp" > |
| 8836 | <Section name="normal string" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8837 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8838 | <Original> |
| 8839 | encode( "normal string" ) == "normal string" |
| 8840 | </Original> |
| 8841 | <Expanded> |
| 8842 | "normal string" == "normal string" |
| 8843 | </Expanded> |
| 8844 | </Expression> |
| 8845 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8846 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8847 | <Section name="empty string" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8848 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8849 | <Original> |
| 8850 | encode( "" ) == "" |
| 8851 | </Original> |
| 8852 | <Expanded> |
| 8853 | "" == "" |
| 8854 | </Expanded> |
| 8855 | </Expression> |
| 8856 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8857 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8858 | <Section name="string with ampersand" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8859 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8860 | <Original> |
| 8861 | encode( "smith & jones" ) == "smith &amp; jones" |
| 8862 | </Original> |
| 8863 | <Expanded> |
| 8864 | "smith &amp; jones" == "smith &amp; jones" |
| 8865 | </Expanded> |
| 8866 | </Expression> |
| 8867 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8868 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8869 | <Section name="string with less-than" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8870 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8871 | <Original> |
| 8872 | encode( "smith < jones" ) == "smith &lt; jones" |
| 8873 | </Original> |
| 8874 | <Expanded> |
| 8875 | "smith &lt; jones" == "smith &lt; jones" |
| 8876 | </Expanded> |
| 8877 | </Expression> |
| 8878 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8879 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8880 | <Section name="string with greater-than" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8881 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8882 | <Original> |
| 8883 | encode( "smith > jones" ) == "smith > jones" |
| 8884 | </Original> |
| 8885 | <Expanded> |
| 8886 | "smith > jones" == "smith > jones" |
| 8887 | </Expanded> |
| 8888 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8889 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8890 | <Original> |
| 8891 | encode( "smith ]]> jones" ) == "smith ]]&gt; jones" |
| 8892 | </Original> |
| 8893 | <Expanded> |
| 8894 | "smith ]]&gt; jones" |
| 8895 | == |
| 8896 | "smith ]]&gt; jones" |
| 8897 | </Expanded> |
| 8898 | </Expression> |
| 8899 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 8900 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8901 | <Section name="string with quotes" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8902 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8903 | <Original> |
| 8904 | encode( stringWithQuotes ) == stringWithQuotes |
| 8905 | </Original> |
| 8906 | <Expanded> |
| 8907 | "don't "quote" me on that" |
| 8908 | == |
| 8909 | "don't "quote" me on that" |
| 8910 | </Expanded> |
| 8911 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8912 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8913 | <Original> |
| 8914 | encode( stringWithQuotes, Catch::XmlEncode::ForAttributes ) == "don't &quot;quote&quot; me on that" |
| 8915 | </Original> |
| 8916 | <Expanded> |
| 8917 | "don't &quot;quote&quot; me on that" |
| 8918 | == |
| 8919 | "don't &quot;quote&quot; me on that" |
| 8920 | </Expanded> |
| 8921 | </Expression> |
| 8922 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 8923 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8924 | <Section name="string with control char (1)" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8925 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8926 | <Original> |
Phil Nash | 1f271c9 | 2017-02-06 16:00:05 +0000 | [diff] [blame] | 8927 | encode( "[\x01]" ) == "[\\x01]" |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8928 | </Original> |
| 8929 | <Expanded> |
Phil Nash | 1f271c9 | 2017-02-06 16:00:05 +0000 | [diff] [blame] | 8930 | "[\x01]" == "[\x01]" |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8931 | </Expanded> |
| 8932 | </Expression> |
| 8933 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8934 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8935 | <Section name="string with control char (x7F)" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8936 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8937 | <Original> |
Phil Nash | 1f271c9 | 2017-02-06 16:00:05 +0000 | [diff] [blame] | 8938 | encode( "[\x7F]" ) == "[\\x7F]" |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8939 | </Original> |
| 8940 | <Expanded> |
Phil Nash | 1f271c9 | 2017-02-06 16:00:05 +0000 | [diff] [blame] | 8941 | "[\x7F]" == "[\x7F]" |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8942 | </Expanded> |
| 8943 | </Expression> |
| 8944 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8945 | </Section> |
| 8946 | <OverallResult success="true"/> |
| 8947 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8948 | <TestCase name="atomic if" tags="[0][failing]" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8949 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8950 | <Original> |
| 8951 | x == 0 |
| 8952 | </Original> |
| 8953 | <Expanded> |
| 8954 | 0 == 0 |
| 8955 | </Expanded> |
| 8956 | </Expression> |
| 8957 | <OverallResult success="true"/> |
| 8958 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8959 | <TestCase name="boolean member" tags="[Tricky]" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8960 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8961 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 8962 | obj.prop != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8963 | </Original> |
| 8964 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 8965 | 0x<hex digits> != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8966 | </Expanded> |
| 8967 | </Expression> |
| 8968 | <OverallResult success="true"/> |
| 8969 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8970 | <TestCase name="checkedElse" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8971 | <Expression success="true" type="CHECKED_ELSE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8972 | <Original> |
| 8973 | flag |
| 8974 | </Original> |
| 8975 | <Expanded> |
| 8976 | true |
| 8977 | </Expanded> |
| 8978 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8979 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8980 | <Original> |
| 8981 | testCheckedElse( true ) |
| 8982 | </Original> |
| 8983 | <Expanded> |
| 8984 | true |
| 8985 | </Expanded> |
| 8986 | </Expression> |
| 8987 | <OverallResult success="true"/> |
| 8988 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 8989 | <TestCase name="checkedElse, failing" tags="[.][failing][hide]" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8990 | <Expression success="false" type="CHECKED_ELSE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8991 | <Original> |
| 8992 | flag |
| 8993 | </Original> |
| 8994 | <Expanded> |
| 8995 | false |
| 8996 | </Expanded> |
| 8997 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8998 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8999 | <Original> |
| 9000 | testCheckedElse( false ) |
| 9001 | </Original> |
| 9002 | <Expanded> |
| 9003 | false |
| 9004 | </Expanded> |
| 9005 | </Expression> |
| 9006 | <OverallResult success="false"/> |
| 9007 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9008 | <TestCase name="checkedIf" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9009 | <Expression success="true" type="CHECKED_IF" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9010 | <Original> |
| 9011 | flag |
| 9012 | </Original> |
| 9013 | <Expanded> |
| 9014 | true |
| 9015 | </Expanded> |
| 9016 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9017 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9018 | <Original> |
| 9019 | testCheckedIf( true ) |
| 9020 | </Original> |
| 9021 | <Expanded> |
| 9022 | true |
| 9023 | </Expanded> |
| 9024 | </Expression> |
| 9025 | <OverallResult success="true"/> |
| 9026 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9027 | <TestCase name="checkedIf, failing" tags="[.][failing][hide]" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9028 | <Expression success="false" type="CHECKED_IF" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9029 | <Original> |
| 9030 | flag |
| 9031 | </Original> |
| 9032 | <Expanded> |
| 9033 | false |
| 9034 | </Expanded> |
| 9035 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9036 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9037 | <Original> |
| 9038 | testCheckedIf( false ) |
| 9039 | </Original> |
| 9040 | <Expanded> |
| 9041 | false |
| 9042 | </Expanded> |
| 9043 | </Expression> |
| 9044 | <OverallResult success="false"/> |
| 9045 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9046 | <TestCase name="comparisons between const int variables" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9047 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9048 | <Original> |
| 9049 | unsigned_char_var == 1 |
| 9050 | </Original> |
| 9051 | <Expanded> |
| 9052 | 1 == 1 |
| 9053 | </Expanded> |
| 9054 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9055 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9056 | <Original> |
| 9057 | unsigned_short_var == 1 |
| 9058 | </Original> |
| 9059 | <Expanded> |
| 9060 | 1 == 1 |
| 9061 | </Expanded> |
| 9062 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9063 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9064 | <Original> |
| 9065 | unsigned_int_var == 1 |
| 9066 | </Original> |
| 9067 | <Expanded> |
| 9068 | 1 == 1 |
| 9069 | </Expanded> |
| 9070 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9071 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9072 | <Original> |
| 9073 | unsigned_long_var == 1 |
| 9074 | </Original> |
| 9075 | <Expanded> |
| 9076 | 1 == 1 |
| 9077 | </Expanded> |
| 9078 | </Expression> |
| 9079 | <OverallResult success="true"/> |
| 9080 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9081 | <TestCase name="comparisons between int variables" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9082 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9083 | <Original> |
| 9084 | long_var == unsigned_char_var |
| 9085 | </Original> |
| 9086 | <Expanded> |
| 9087 | 1 == 1 |
| 9088 | </Expanded> |
| 9089 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9090 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9091 | <Original> |
| 9092 | long_var == unsigned_short_var |
| 9093 | </Original> |
| 9094 | <Expanded> |
| 9095 | 1 == 1 |
| 9096 | </Expanded> |
| 9097 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9098 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9099 | <Original> |
| 9100 | long_var == unsigned_int_var |
| 9101 | </Original> |
| 9102 | <Expanded> |
| 9103 | 1 == 1 |
| 9104 | </Expanded> |
| 9105 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9106 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9107 | <Original> |
| 9108 | long_var == unsigned_long_var |
| 9109 | </Original> |
| 9110 | <Expanded> |
| 9111 | 1 == 1 |
| 9112 | </Expanded> |
| 9113 | </Expression> |
| 9114 | <OverallResult success="true"/> |
| 9115 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9116 | <TestCase name="even more nested SECTION tests" tags="[sections]" filename="projects/<exe-name>/MiscTests.cpp" > |
| 9117 | <Section name="c" filename="projects/<exe-name>/MiscTests.cpp" > |
| 9118 | <Section name="d (leaf)" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 9119 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9120 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9121 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9122 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9123 | <Section name="c" filename="projects/<exe-name>/MiscTests.cpp" > |
| 9124 | <Section name="e (leaf)" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9125 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9126 | </Section> |
| 9127 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9128 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9129 | <Section name="f (leaf)" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9130 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9131 | </Section> |
| 9132 | <OverallResult success="true"/> |
| 9133 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9134 | <TestCase name="first tag" tags="[tag1]" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9135 | <OverallResult success="true"/> |
| 9136 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9137 | <TestCase name="has printf" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 873ef27 | 2017-02-13 15:56:25 +0000 | [diff] [blame] | 9138 | spanner <OverallResult success="true"/> |
| 9139 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9140 | <TestCase name="just failure" tags="[.][fail][hide][isolated info][messages]" filename="projects/<exe-name>/MessageTests.cpp" > |
| 9141 | <Failure filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9142 | Previous info should not be seen |
| 9143 | </Failure> |
| 9144 | <OverallResult success="false"/> |
| 9145 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9146 | <TestCase name="just info" tags="[info][isolated info][messages]" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9147 | <OverallResult success="true"/> |
| 9148 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9149 | <TestCase name="looped SECTION tests" tags="[.][failing][hide][sections]" filename="projects/<exe-name>/MiscTests.cpp" > |
| 9150 | <Section name="s1" description="b is currently: 0" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9151 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9152 | <Original> |
| 9153 | b > a |
| 9154 | </Original> |
| 9155 | <Expanded> |
| 9156 | 0 > 1 |
| 9157 | </Expanded> |
| 9158 | </Expression> |
| 9159 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 9160 | </Section> |
| 9161 | <OverallResult success="false"/> |
| 9162 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9163 | <TestCase name="looped tests" tags="[.][failing][hide]" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9164 | <Info> |
| 9165 | Testing if fib[0] (1) is even |
| 9166 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9167 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9168 | <Original> |
| 9169 | ( fib[i] % 2 ) == 0 |
| 9170 | </Original> |
| 9171 | <Expanded> |
| 9172 | 1 == 0 |
| 9173 | </Expanded> |
| 9174 | </Expression> |
| 9175 | <Info> |
| 9176 | Testing if fib[1] (1) is even |
| 9177 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9178 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9179 | <Original> |
| 9180 | ( fib[i] % 2 ) == 0 |
| 9181 | </Original> |
| 9182 | <Expanded> |
| 9183 | 1 == 0 |
| 9184 | </Expanded> |
| 9185 | </Expression> |
Phil Nash | 9bee606 | 2017-03-03 14:12:47 +0000 | [diff] [blame^] | 9186 | <Info> |
| 9187 | Testing if fib[2] (2) is even |
| 9188 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9189 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9190 | <Original> |
| 9191 | ( fib[i] % 2 ) == 0 |
| 9192 | </Original> |
| 9193 | <Expanded> |
| 9194 | 0 == 0 |
| 9195 | </Expanded> |
| 9196 | </Expression> |
| 9197 | <Info> |
| 9198 | Testing if fib[3] (3) is even |
| 9199 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9200 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9201 | <Original> |
| 9202 | ( fib[i] % 2 ) == 0 |
| 9203 | </Original> |
| 9204 | <Expanded> |
| 9205 | 1 == 0 |
| 9206 | </Expanded> |
| 9207 | </Expression> |
| 9208 | <Info> |
| 9209 | Testing if fib[4] (5) is even |
| 9210 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9211 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9212 | <Original> |
| 9213 | ( fib[i] % 2 ) == 0 |
| 9214 | </Original> |
| 9215 | <Expanded> |
| 9216 | 1 == 0 |
| 9217 | </Expanded> |
| 9218 | </Expression> |
Phil Nash | 9bee606 | 2017-03-03 14:12:47 +0000 | [diff] [blame^] | 9219 | <Info> |
| 9220 | Testing if fib[5] (8) is even |
| 9221 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9222 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9223 | <Original> |
| 9224 | ( fib[i] % 2 ) == 0 |
| 9225 | </Original> |
| 9226 | <Expanded> |
| 9227 | 0 == 0 |
| 9228 | </Expanded> |
| 9229 | </Expression> |
| 9230 | <Info> |
| 9231 | Testing if fib[6] (13) is even |
| 9232 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9233 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9234 | <Original> |
| 9235 | ( fib[i] % 2 ) == 0 |
| 9236 | </Original> |
| 9237 | <Expanded> |
| 9238 | 1 == 0 |
| 9239 | </Expanded> |
| 9240 | </Expression> |
| 9241 | <Info> |
| 9242 | Testing if fib[7] (21) is even |
| 9243 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9244 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9245 | <Original> |
| 9246 | ( fib[i] % 2 ) == 0 |
| 9247 | </Original> |
| 9248 | <Expanded> |
| 9249 | 1 == 0 |
| 9250 | </Expanded> |
| 9251 | </Expression> |
| 9252 | <OverallResult success="false"/> |
| 9253 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9254 | <TestCase name="more nested SECTION tests" tags="[.][failing][hide][sections]" filename="projects/<exe-name>/MiscTests.cpp" > |
| 9255 | <Section name="s1" description="doesn't equal" filename="projects/<exe-name>/MiscTests.cpp" > |
| 9256 | <Section name="s2" description="equal" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9257 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9258 | <Original> |
| 9259 | a == b |
| 9260 | </Original> |
| 9261 | <Expanded> |
| 9262 | 1 == 2 |
| 9263 | </Expanded> |
| 9264 | </Expression> |
| 9265 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 9266 | </Section> |
| 9267 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 9268 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9269 | <Section name="s1" description="doesn't equal" filename="projects/<exe-name>/MiscTests.cpp" > |
| 9270 | <Section name="s3" description="not equal" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9271 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9272 | <Original> |
| 9273 | a != b |
| 9274 | </Original> |
| 9275 | <Expanded> |
| 9276 | 1 != 2 |
| 9277 | </Expanded> |
| 9278 | </Expression> |
| 9279 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9280 | </Section> |
| 9281 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9282 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9283 | <Section name="s1" description="doesn't equal" filename="projects/<exe-name>/MiscTests.cpp" > |
| 9284 | <Section name="s4" description="less than" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9285 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9286 | <Original> |
| 9287 | a < b |
| 9288 | </Original> |
| 9289 | <Expanded> |
| 9290 | 1 < 2 |
| 9291 | </Expanded> |
| 9292 | </Expression> |
| 9293 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9294 | </Section> |
| 9295 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9296 | </Section> |
| 9297 | <OverallResult success="false"/> |
| 9298 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9299 | <TestCase name="nested SECTION tests" tags="[.][failing][hide][sections]" filename="projects/<exe-name>/MiscTests.cpp" > |
| 9300 | <Section name="s1" description="doesn't equal" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9301 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9302 | <Original> |
| 9303 | a != b |
| 9304 | </Original> |
| 9305 | <Expanded> |
| 9306 | 1 != 2 |
| 9307 | </Expanded> |
| 9308 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9309 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9310 | <Original> |
| 9311 | b != a |
| 9312 | </Original> |
| 9313 | <Expanded> |
| 9314 | 2 != 1 |
| 9315 | </Expanded> |
| 9316 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9317 | <Section name="s2" description="not equal" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9318 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9319 | <Original> |
| 9320 | a != b |
| 9321 | </Original> |
| 9322 | <Expanded> |
| 9323 | 1 != 2 |
| 9324 | </Expanded> |
| 9325 | </Expression> |
| 9326 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9327 | </Section> |
| 9328 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 9329 | </Section> |
| 9330 | <OverallResult success="true"/> |
| 9331 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9332 | <TestCase name="non streamable - with conv. op" tags="[Tricky]" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9333 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9334 | <Original> |
| 9335 | s == "7" |
| 9336 | </Original> |
| 9337 | <Expanded> |
| 9338 | "7" == "7" |
| 9339 | </Expanded> |
| 9340 | </Expression> |
| 9341 | <OverallResult success="true"/> |
| 9342 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9343 | <TestCase name="not allowed" tags="[!throws]" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9344 | <OverallResult success="true"/> |
| 9345 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9346 | <TestCase name="null strings" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9347 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9348 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 9349 | makeString( false ) != static_cast<char*>(0) |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9350 | </Original> |
| 9351 | <Expanded> |
| 9352 | "valid string" != {null string} |
| 9353 | </Expanded> |
| 9354 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9355 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9356 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 9357 | makeString( true ) == static_cast<char*>(0) |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9358 | </Original> |
| 9359 | <Expanded> |
| 9360 | {null string} == {null string} |
| 9361 | </Expanded> |
| 9362 | </Expression> |
| 9363 | <OverallResult success="true"/> |
| 9364 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9365 | <TestCase name="pair<pair<int,const char *,pair<std::string,int> > -> toString" tags="[pair][toString]" filename="projects/<exe-name>/ToStringPair.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9366 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringPair.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9367 | <Original> |
| 9368 | Catch::toString( pair ) == "{ { 42, \"Arthur\" }, { \"Ford\", 24 } }" |
| 9369 | </Original> |
| 9370 | <Expanded> |
| 9371 | "{ { 42, "Arthur" }, { "Ford", 24 } }" |
| 9372 | == |
| 9373 | "{ { 42, "Arthur" }, { "Ford", 24 } }" |
| 9374 | </Expanded> |
| 9375 | </Expression> |
| 9376 | <OverallResult success="true"/> |
| 9377 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9378 | <TestCase name="pointer to class" tags="[Tricky]" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9379 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9380 | <Original> |
| 9381 | p == 0 |
| 9382 | </Original> |
| 9383 | <Expanded> |
| 9384 | NULL == 0 |
| 9385 | </Expanded> |
| 9386 | </Expression> |
| 9387 | <OverallResult success="true"/> |
| 9388 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9389 | <TestCase name="random SECTION tests" tags="[.][failing][hide][sections]" filename="projects/<exe-name>/MiscTests.cpp" > |
| 9390 | <Section name="s1" description="doesn't equal" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9391 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9392 | <Original> |
| 9393 | a != b |
| 9394 | </Original> |
| 9395 | <Expanded> |
| 9396 | 1 != 2 |
| 9397 | </Expanded> |
| 9398 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9399 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9400 | <Original> |
| 9401 | b != a |
| 9402 | </Original> |
| 9403 | <Expanded> |
| 9404 | 2 != 1 |
| 9405 | </Expanded> |
| 9406 | </Expression> |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 9407 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9408 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9409 | <Section name="s2" description="not equal" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9410 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9411 | <Original> |
| 9412 | a != b |
| 9413 | </Original> |
| 9414 | <Expanded> |
| 9415 | 1 != 2 |
| 9416 | </Expanded> |
| 9417 | </Expression> |
| 9418 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9419 | </Section> |
| 9420 | <OverallResult success="true"/> |
| 9421 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9422 | <TestCase name="replaceInPlace" filename="projects/<exe-name>/TestMain.cpp" > |
| 9423 | <Section name="replace single char" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9424 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9425 | <Original> |
| 9426 | replaceInPlace( letters, "b", "z" ) |
| 9427 | </Original> |
| 9428 | <Expanded> |
| 9429 | true |
| 9430 | </Expanded> |
| 9431 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9432 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9433 | <Original> |
| 9434 | letters == "azcdefcg" |
| 9435 | </Original> |
| 9436 | <Expanded> |
| 9437 | "azcdefcg" == "azcdefcg" |
| 9438 | </Expanded> |
| 9439 | </Expression> |
| 9440 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9441 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9442 | <Section name="replace two chars" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9443 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9444 | <Original> |
| 9445 | replaceInPlace( letters, "c", "z" ) |
| 9446 | </Original> |
| 9447 | <Expanded> |
| 9448 | true |
| 9449 | </Expanded> |
| 9450 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9451 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9452 | <Original> |
| 9453 | letters == "abzdefzg" |
| 9454 | </Original> |
| 9455 | <Expanded> |
| 9456 | "abzdefzg" == "abzdefzg" |
| 9457 | </Expanded> |
| 9458 | </Expression> |
| 9459 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9460 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9461 | <Section name="replace first char" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9462 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9463 | <Original> |
| 9464 | replaceInPlace( letters, "a", "z" ) |
| 9465 | </Original> |
| 9466 | <Expanded> |
| 9467 | true |
| 9468 | </Expanded> |
| 9469 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9470 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9471 | <Original> |
| 9472 | letters == "zbcdefcg" |
| 9473 | </Original> |
| 9474 | <Expanded> |
| 9475 | "zbcdefcg" == "zbcdefcg" |
| 9476 | </Expanded> |
| 9477 | </Expression> |
| 9478 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9479 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9480 | <Section name="replace last char" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9481 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9482 | <Original> |
| 9483 | replaceInPlace( letters, "g", "z" ) |
| 9484 | </Original> |
| 9485 | <Expanded> |
| 9486 | true |
| 9487 | </Expanded> |
| 9488 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9489 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9490 | <Original> |
| 9491 | letters == "abcdefcz" |
| 9492 | </Original> |
| 9493 | <Expanded> |
| 9494 | "abcdefcz" == "abcdefcz" |
| 9495 | </Expanded> |
| 9496 | </Expression> |
| 9497 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9498 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9499 | <Section name="replace all chars" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9500 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9501 | <Original> |
| 9502 | replaceInPlace( letters, letters, "replaced" ) |
| 9503 | </Original> |
| 9504 | <Expanded> |
| 9505 | true |
| 9506 | </Expanded> |
| 9507 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9508 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9509 | <Original> |
| 9510 | letters == "replaced" |
| 9511 | </Original> |
| 9512 | <Expanded> |
| 9513 | "replaced" == "replaced" |
| 9514 | </Expanded> |
| 9515 | </Expression> |
| 9516 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9517 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9518 | <Section name="replace no chars" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9519 | <Expression success="true" type="CHECK_FALSE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9520 | <Original> |
| 9521 | !replaceInPlace( letters, "x", "z" ) |
| 9522 | </Original> |
| 9523 | <Expanded> |
| 9524 | !false |
| 9525 | </Expanded> |
| 9526 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9527 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9528 | <Original> |
| 9529 | letters == letters |
| 9530 | </Original> |
| 9531 | <Expanded> |
| 9532 | "abcdefcg" == "abcdefcg" |
| 9533 | </Expanded> |
| 9534 | </Expression> |
| 9535 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9536 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9537 | <Section name="escape '" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9538 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9539 | <Original> |
| 9540 | replaceInPlace( s, "'", "|'" ) |
| 9541 | </Original> |
| 9542 | <Expanded> |
| 9543 | true |
| 9544 | </Expanded> |
| 9545 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9546 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9547 | <Original> |
| 9548 | s == "didn|'t" |
| 9549 | </Original> |
| 9550 | <Expanded> |
| 9551 | "didn|'t" == "didn|'t" |
| 9552 | </Expanded> |
| 9553 | </Expression> |
| 9554 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9555 | </Section> |
| 9556 | <OverallResult success="true"/> |
| 9557 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9558 | <TestCase name="second tag" tags="[tag2]" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9559 | <OverallResult success="true"/> |
| 9560 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9561 | <TestCase name="send a single char to INFO" tags="[.][failing][hide]" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9562 | <Info> |
| 9563 | 3 |
| 9564 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9565 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9566 | <Original> |
| 9567 | false |
| 9568 | </Original> |
| 9569 | <Expanded> |
| 9570 | false |
| 9571 | </Expanded> |
| 9572 | </Expression> |
| 9573 | <OverallResult success="false"/> |
| 9574 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9575 | <TestCase name="sends information to INFO" tags="[.][failing][hide]" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9576 | <Info> |
| 9577 | hi |
| 9578 | </Info> |
| 9579 | <Info> |
| 9580 | i := 7 |
| 9581 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9582 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9583 | <Original> |
| 9584 | false |
| 9585 | </Original> |
| 9586 | <Expanded> |
| 9587 | false |
| 9588 | </Expanded> |
| 9589 | </Expression> |
| 9590 | <OverallResult success="false"/> |
| 9591 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9592 | <TestCase name="std::pair<int,const std::string> -> toString" tags="[pair][toString]" filename="projects/<exe-name>/ToStringPair.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9593 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringPair.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9594 | <Original> |
| 9595 | Catch::toString(value) == "{ 34, \"xyzzy\" }" |
| 9596 | </Original> |
| 9597 | <Expanded> |
| 9598 | "{ 34, "xyzzy" }" == "{ 34, "xyzzy" }" |
| 9599 | </Expanded> |
| 9600 | </Expression> |
| 9601 | <OverallResult success="true"/> |
| 9602 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9603 | <TestCase name="std::pair<int,std::string> -> toString" tags="[pair][toString]" filename="projects/<exe-name>/ToStringPair.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9604 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringPair.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9605 | <Original> |
| 9606 | Catch::toString( value ) == "{ 34, \"xyzzy\" }" |
| 9607 | </Original> |
| 9608 | <Expanded> |
| 9609 | "{ 34, "xyzzy" }" == "{ 34, "xyzzy" }" |
| 9610 | </Expanded> |
| 9611 | </Expression> |
| 9612 | <OverallResult success="true"/> |
| 9613 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9614 | <TestCase name="std::vector<std::pair<std::string,int> > -> toString" tags="[pair][toString]" filename="projects/<exe-name>/ToStringPair.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9615 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringPair.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9616 | <Original> |
| 9617 | Catch::toString( pr ) == "{ { \"green\", 55 } }" |
| 9618 | </Original> |
| 9619 | <Expanded> |
| 9620 | "{ { "green", 55 } }" |
| 9621 | == |
| 9622 | "{ { "green", 55 } }" |
| 9623 | </Expanded> |
| 9624 | </Expression> |
| 9625 | <OverallResult success="true"/> |
| 9626 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9627 | <TestCase name="string literals of different sizes can be compared" tags="[.][Tricky][failing][hide]" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9628 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9629 | <Original> |
| 9630 | std::string( "first" ) == "second" |
| 9631 | </Original> |
| 9632 | <Expanded> |
| 9633 | "first" == "second" |
| 9634 | </Expanded> |
| 9635 | </Expression> |
| 9636 | <OverallResult success="false"/> |
| 9637 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9638 | <TestCase name="toString on const wchar_t const pointer returns the string contents" tags="[toString]" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9639 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9640 | <Original> |
| 9641 | result == "\"wide load\"" |
| 9642 | </Original> |
| 9643 | <Expanded> |
| 9644 | ""wide load"" == ""wide load"" |
| 9645 | </Expanded> |
| 9646 | </Expression> |
| 9647 | <OverallResult success="true"/> |
| 9648 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9649 | <TestCase name="toString on const wchar_t pointer returns the string contents" tags="[toString]" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9650 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9651 | <Original> |
| 9652 | result == "\"wide load\"" |
| 9653 | </Original> |
| 9654 | <Expanded> |
| 9655 | ""wide load"" == ""wide load"" |
| 9656 | </Expanded> |
| 9657 | </Expression> |
| 9658 | <OverallResult success="true"/> |
| 9659 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9660 | <TestCase name="toString on wchar_t const pointer returns the string contents" tags="[toString]" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9661 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9662 | <Original> |
| 9663 | result == "\"wide load\"" |
| 9664 | </Original> |
| 9665 | <Expanded> |
| 9666 | ""wide load"" == ""wide load"" |
| 9667 | </Expanded> |
| 9668 | </Expression> |
| 9669 | <OverallResult success="true"/> |
| 9670 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9671 | <TestCase name="toString on wchar_t returns the string contents" tags="[toString]" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9672 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9673 | <Original> |
| 9674 | result == "\"wide load\"" |
| 9675 | </Original> |
| 9676 | <Expanded> |
| 9677 | ""wide load"" == ""wide load"" |
| 9678 | </Expanded> |
| 9679 | </Expression> |
| 9680 | <OverallResult success="true"/> |
| 9681 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9682 | <TestCase name="toString( has_maker )" description="toString]" filename="projects/<exe-name>/ToStringWhich.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9683 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringWhich.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9684 | <Original> |
| 9685 | Catch::toString( item ) == "StringMaker<has_maker>" |
| 9686 | </Original> |
| 9687 | <Expanded> |
| 9688 | "StringMaker<has_maker>" |
| 9689 | == |
| 9690 | "StringMaker<has_maker>" |
| 9691 | </Expanded> |
| 9692 | </Expression> |
| 9693 | <OverallResult success="true"/> |
| 9694 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9695 | <TestCase name="toString( has_maker_and_toString )" tags="[.][hide][toString]" filename="projects/<exe-name>/ToStringWhich.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9696 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringWhich.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9697 | <Original> |
| 9698 | Catch::toString( item ) == "toString( has_maker_and_toString )" |
| 9699 | </Original> |
| 9700 | <Expanded> |
| 9701 | "toString( has_maker_and_toString )" |
| 9702 | == |
| 9703 | "toString( has_maker_and_toString )" |
| 9704 | </Expanded> |
| 9705 | </Expression> |
| 9706 | <OverallResult success="true"/> |
| 9707 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9708 | <TestCase name="toString( has_toString )" tags="[toString]" filename="projects/<exe-name>/ToStringWhich.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9709 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringWhich.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9710 | <Original> |
| 9711 | Catch::toString( item ) == "toString( has_toString )" |
| 9712 | </Original> |
| 9713 | <Expanded> |
| 9714 | "toString( has_toString )" |
| 9715 | == |
| 9716 | "toString( has_toString )" |
| 9717 | </Expanded> |
| 9718 | </Expression> |
| 9719 | <OverallResult success="true"/> |
| 9720 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9721 | <TestCase name="toString( vectors<has_maker )" tags="[toString]" filename="projects/<exe-name>/ToStringWhich.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9722 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringWhich.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9723 | <Original> |
| 9724 | Catch::toString( v ) == "{ StringMaker<has_maker> }" |
| 9725 | </Original> |
| 9726 | <Expanded> |
| 9727 | "{ StringMaker<has_maker> }" |
| 9728 | == |
| 9729 | "{ StringMaker<has_maker> }" |
| 9730 | </Expanded> |
| 9731 | </Expression> |
| 9732 | <OverallResult success="true"/> |
| 9733 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9734 | <TestCase name="toString(enum w/operator<<)" tags="[enum][toString]" filename="projects/<exe-name>/EnumToString.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9735 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/EnumToString.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9736 | <Original> |
| 9737 | Catch::toString(e0) == "E2{0}" |
| 9738 | </Original> |
| 9739 | <Expanded> |
| 9740 | "E2{0}" == "E2{0}" |
| 9741 | </Expanded> |
| 9742 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9743 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/EnumToString.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9744 | <Original> |
| 9745 | Catch::toString(e1) == "E2{1}" |
| 9746 | </Original> |
| 9747 | <Expanded> |
| 9748 | "E2{1}" == "E2{1}" |
| 9749 | </Expanded> |
| 9750 | </Expression> |
| 9751 | <OverallResult success="true"/> |
| 9752 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9753 | <TestCase name="toString(enum)" tags="[enum][toString]" filename="projects/<exe-name>/EnumToString.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9754 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/EnumToString.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9755 | <Original> |
| 9756 | Catch::toString(e0) == "0" |
| 9757 | </Original> |
| 9758 | <Expanded> |
| 9759 | "0" == "0" |
| 9760 | </Expanded> |
| 9761 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9762 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/EnumToString.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9763 | <Original> |
| 9764 | Catch::toString(e1) == "1" |
| 9765 | </Original> |
| 9766 | <Expanded> |
| 9767 | "1" == "1" |
| 9768 | </Expanded> |
| 9769 | </Expression> |
| 9770 | <OverallResult success="true"/> |
| 9771 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9772 | <TestCase name="vector<int> -> toString" tags="[toString][vector]" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9773 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9774 | <Original> |
| 9775 | Catch::toString(vv) == "{ }" |
| 9776 | </Original> |
| 9777 | <Expanded> |
| 9778 | "{ }" == "{ }" |
| 9779 | </Expanded> |
| 9780 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9781 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9782 | <Original> |
| 9783 | Catch::toString(vv) == "{ 42 }" |
| 9784 | </Original> |
| 9785 | <Expanded> |
| 9786 | "{ 42 }" == "{ 42 }" |
| 9787 | </Expanded> |
| 9788 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9789 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9790 | <Original> |
| 9791 | Catch::toString(vv) == "{ 42, 250 }" |
| 9792 | </Original> |
| 9793 | <Expanded> |
| 9794 | "{ 42, 250 }" == "{ 42, 250 }" |
| 9795 | </Expanded> |
| 9796 | </Expression> |
| 9797 | <OverallResult success="true"/> |
| 9798 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9799 | <TestCase name="vector<string> -> toString" tags="[toString][vector]" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9800 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9801 | <Original> |
| 9802 | Catch::toString(vv) == "{ }" |
| 9803 | </Original> |
| 9804 | <Expanded> |
| 9805 | "{ }" == "{ }" |
| 9806 | </Expanded> |
| 9807 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9808 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9809 | <Original> |
| 9810 | Catch::toString(vv) == "{ \"hello\" }" |
| 9811 | </Original> |
| 9812 | <Expanded> |
| 9813 | "{ "hello" }" == "{ "hello" }" |
| 9814 | </Expanded> |
| 9815 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9816 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9817 | <Original> |
| 9818 | Catch::toString(vv) == "{ \"hello\", \"world\" }" |
| 9819 | </Original> |
| 9820 | <Expanded> |
| 9821 | "{ "hello", "world" }" |
| 9822 | == |
| 9823 | "{ "hello", "world" }" |
| 9824 | </Expanded> |
| 9825 | </Expression> |
| 9826 | <OverallResult success="true"/> |
| 9827 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9828 | <TestCase name="vectors can be sized and resized" tags="[vector]" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9829 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9830 | <Original> |
| 9831 | v.size() == 5 |
| 9832 | </Original> |
| 9833 | <Expanded> |
| 9834 | 5 == 5 |
| 9835 | </Expanded> |
| 9836 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9837 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9838 | <Original> |
| 9839 | v.capacity() >= 5 |
| 9840 | </Original> |
| 9841 | <Expanded> |
| 9842 | 5 >= 5 |
| 9843 | </Expanded> |
| 9844 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9845 | <Section name="resizing bigger changes size and capacity" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9846 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9847 | <Original> |
| 9848 | v.size() == 10 |
| 9849 | </Original> |
| 9850 | <Expanded> |
| 9851 | 10 == 10 |
| 9852 | </Expanded> |
| 9853 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9854 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9855 | <Original> |
| 9856 | v.capacity() >= 10 |
| 9857 | </Original> |
| 9858 | <Expanded> |
| 9859 | 10 >= 10 |
| 9860 | </Expanded> |
| 9861 | </Expression> |
| 9862 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9863 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9864 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9865 | <Original> |
| 9866 | v.size() == 5 |
| 9867 | </Original> |
| 9868 | <Expanded> |
| 9869 | 5 == 5 |
| 9870 | </Expanded> |
| 9871 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9872 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9873 | <Original> |
| 9874 | v.capacity() >= 5 |
| 9875 | </Original> |
| 9876 | <Expanded> |
| 9877 | 5 >= 5 |
| 9878 | </Expanded> |
| 9879 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9880 | <Section name="resizing smaller changes size but not capacity" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9881 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9882 | <Original> |
| 9883 | v.size() == 0 |
| 9884 | </Original> |
| 9885 | <Expanded> |
| 9886 | 0 == 0 |
| 9887 | </Expanded> |
| 9888 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9889 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9890 | <Original> |
| 9891 | v.capacity() >= 5 |
| 9892 | </Original> |
| 9893 | <Expanded> |
| 9894 | 5 >= 5 |
| 9895 | </Expanded> |
| 9896 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9897 | <Section name="We can use the 'swap trick' to reset the capacity" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9898 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9899 | <Original> |
| 9900 | v.capacity() == 0 |
| 9901 | </Original> |
| 9902 | <Expanded> |
| 9903 | 0 == 0 |
| 9904 | </Expanded> |
| 9905 | </Expression> |
| 9906 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9907 | </Section> |
| 9908 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 9909 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9910 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9911 | <Original> |
| 9912 | v.size() == 5 |
| 9913 | </Original> |
| 9914 | <Expanded> |
| 9915 | 5 == 5 |
| 9916 | </Expanded> |
| 9917 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9918 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9919 | <Original> |
| 9920 | v.capacity() >= 5 |
| 9921 | </Original> |
| 9922 | <Expanded> |
| 9923 | 5 >= 5 |
| 9924 | </Expanded> |
| 9925 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9926 | <Section name="reserving bigger changes capacity but not size" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9927 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9928 | <Original> |
| 9929 | v.size() == 5 |
| 9930 | </Original> |
| 9931 | <Expanded> |
| 9932 | 5 == 5 |
| 9933 | </Expanded> |
| 9934 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9935 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9936 | <Original> |
| 9937 | v.capacity() >= 10 |
| 9938 | </Original> |
| 9939 | <Expanded> |
| 9940 | 10 >= 10 |
| 9941 | </Expanded> |
| 9942 | </Expression> |
| 9943 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9944 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9945 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9946 | <Original> |
| 9947 | v.size() == 5 |
| 9948 | </Original> |
| 9949 | <Expanded> |
| 9950 | 5 == 5 |
| 9951 | </Expanded> |
| 9952 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9953 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9954 | <Original> |
| 9955 | v.capacity() >= 5 |
| 9956 | </Original> |
| 9957 | <Expanded> |
| 9958 | 5 >= 5 |
| 9959 | </Expanded> |
| 9960 | </Expression> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9961 | <Section name="reserving smaller does not change size or capacity" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9962 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9963 | <Original> |
| 9964 | v.size() == 5 |
| 9965 | </Original> |
| 9966 | <Expanded> |
| 9967 | 5 == 5 |
| 9968 | </Expanded> |
| 9969 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9970 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9971 | <Original> |
| 9972 | v.capacity() >= 5 |
| 9973 | </Original> |
| 9974 | <Expanded> |
| 9975 | 5 >= 5 |
| 9976 | </Expanded> |
| 9977 | </Expression> |
| 9978 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9979 | </Section> |
| 9980 | <OverallResult success="true"/> |
| 9981 | </TestCase> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9982 | <TestCase name="xmlentitycheck" filename="projects/<exe-name>/MiscTests.cpp" > |
| 9983 | <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>" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9984 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9985 | </Section> |
Phil Nash | 90b3946 | 2017-02-17 10:26:17 +0000 | [diff] [blame] | 9986 | <Section name="encoded chars" description="these should all be encoded: &&&"""<<<&"<<&"" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9987 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9988 | </Section> |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 9989 | <OverallResult success="true"/> |
| 9990 | </TestCase> |
Martin Hořeňovský | be4f6ab | 2017-03-03 14:34:50 +0100 | [diff] [blame] | 9991 | <OverallResults successes="851" failures="89" expectedFailures="18"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 9992 | </Group> |
Martin Hořeňovský | be4f6ab | 2017-03-03 14:34:50 +0100 | [diff] [blame] | 9993 | <OverallResults successes="851" failures="88" expectedFailures="18"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 9994 | </Catch> |