Phil Nash | 31861bb | 2016-09-27 10:28:11 +0100 | [diff] [blame] | 1 | <?xml version="1.1" encoding="UTF-8"?> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2 | <Catch name="<exe-name>"> |
| 3 | <Group name="<exe-name>"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4 | <TestCase name="# A test name that starts with a #"> |
| 5 | <OverallResult success="true"/> |
| 6 | </TestCase> |
| 7 | <TestCase name="'Not' checks that should fail"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 9 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 10 | false != false |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 11 | </Original> |
| 12 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 13 | false != false |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 14 | </Expanded> |
| 15 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 16 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 17 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 18 | true != true |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 19 | </Original> |
| 20 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 21 | true != true |
| 22 | </Expanded> |
| 23 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 24 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 25 | <Original> |
| 26 | !true |
| 27 | </Original> |
| 28 | <Expanded> |
| 29 | false |
| 30 | </Expanded> |
| 31 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 32 | <Expression success="false" type="CHECK_FALSE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 33 | <Original> |
| 34 | !true |
| 35 | </Original> |
| 36 | <Expanded> |
| 37 | !true |
| 38 | </Expanded> |
| 39 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 40 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 41 | <Original> |
| 42 | !trueValue |
| 43 | </Original> |
| 44 | <Expanded> |
| 45 | false |
| 46 | </Expanded> |
| 47 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 48 | <Expression success="false" type="CHECK_FALSE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 49 | <Original> |
| 50 | !trueValue |
| 51 | </Original> |
| 52 | <Expanded> |
| 53 | !true |
| 54 | </Expanded> |
| 55 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 56 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 57 | <Original> |
| 58 | !(1 == 1) |
| 59 | </Original> |
| 60 | <Expanded> |
| 61 | false |
| 62 | </Expanded> |
| 63 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 64 | <Expression success="false" type="CHECK_FALSE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 65 | <Original> |
| 66 | !1 == 1 |
| 67 | </Original> |
| 68 | <Expanded> |
| 69 | !(1 == 1) |
| 70 | </Expanded> |
| 71 | </Expression> |
| 72 | <OverallResult success="false"/> |
| 73 | </TestCase> |
| 74 | <TestCase name="'Not' checks that should succeed"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 75 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 76 | <Original> |
| 77 | false == false |
| 78 | </Original> |
| 79 | <Expanded> |
| 80 | false == false |
| 81 | </Expanded> |
| 82 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 83 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 84 | <Original> |
| 85 | true == true |
| 86 | </Original> |
| 87 | <Expanded> |
| 88 | true == true |
| 89 | </Expanded> |
| 90 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 91 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 92 | <Original> |
| 93 | !false |
| 94 | </Original> |
| 95 | <Expanded> |
| 96 | true |
| 97 | </Expanded> |
| 98 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 99 | <Expression success="true" type="REQUIRE_FALSE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 100 | <Original> |
| 101 | !false |
| 102 | </Original> |
| 103 | <Expanded> |
| 104 | !false |
| 105 | </Expanded> |
| 106 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 107 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 108 | <Original> |
| 109 | !falseValue |
| 110 | </Original> |
| 111 | <Expanded> |
| 112 | true |
| 113 | </Expanded> |
| 114 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 115 | <Expression success="true" type="REQUIRE_FALSE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 116 | <Original> |
| 117 | !falseValue |
| 118 | </Original> |
| 119 | <Expanded> |
| 120 | !false |
| 121 | </Expanded> |
| 122 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 123 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 124 | <Original> |
| 125 | !(1 == 2) |
| 126 | </Original> |
| 127 | <Expanded> |
| 128 | true |
| 129 | </Expanded> |
| 130 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 131 | <Expression success="true" type="REQUIRE_FALSE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 132 | <Original> |
| 133 | !1 == 2 |
| 134 | </Original> |
| 135 | <Expanded> |
| 136 | !(1 == 2) |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 137 | </Expanded> |
| 138 | </Expression> |
| 139 | <OverallResult success="true"/> |
| 140 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 141 | <TestCase name="(unimplemented) static bools can be evaluated"> |
| 142 | <Section name="compare to true"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 143 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 144 | <Original> |
| 145 | is_true<true>::value == true |
| 146 | </Original> |
| 147 | <Expanded> |
| 148 | true == true |
| 149 | </Expanded> |
| 150 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 151 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 152 | <Original> |
| 153 | true == is_true<true>::value |
| 154 | </Original> |
| 155 | <Expanded> |
| 156 | true == true |
| 157 | </Expanded> |
| 158 | </Expression> |
| 159 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 160 | </Section> |
| 161 | <Section name="compare to false"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 162 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 163 | <Original> |
| 164 | is_true<false>::value == false |
| 165 | </Original> |
| 166 | <Expanded> |
| 167 | false == false |
| 168 | </Expanded> |
| 169 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 170 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 171 | <Original> |
| 172 | false == is_true<false>::value |
| 173 | </Original> |
| 174 | <Expanded> |
| 175 | false == false |
| 176 | </Expanded> |
| 177 | </Expression> |
| 178 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 179 | </Section> |
| 180 | <Section name="negation"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 181 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 182 | <Original> |
| 183 | !is_true<false>::value |
| 184 | </Original> |
| 185 | <Expanded> |
| 186 | true |
| 187 | </Expanded> |
| 188 | </Expression> |
| 189 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 190 | </Section> |
| 191 | <Section name="double negation"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 192 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 193 | <Original> |
| 194 | !!is_true<true>::value |
| 195 | </Original> |
| 196 | <Expanded> |
| 197 | true |
| 198 | </Expanded> |
| 199 | </Expression> |
| 200 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 201 | </Section> |
| 202 | <Section name="direct"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 203 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 204 | <Original> |
| 205 | is_true<true>::value |
| 206 | </Original> |
| 207 | <Expanded> |
| 208 | true |
| 209 | </Expanded> |
| 210 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 211 | <Expression success="true" type="REQUIRE_FALSE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 212 | <Original> |
| 213 | !is_true<false>::value |
| 214 | </Original> |
| 215 | <Expanded> |
| 216 | !false |
| 217 | </Expanded> |
| 218 | </Expression> |
| 219 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 220 | </Section> |
| 221 | <OverallResult success="true"/> |
| 222 | </TestCase> |
| 223 | <TestCase name="A METHOD_AS_TEST_CASE based test run that fails"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 224 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/ClassTests.cpp" > |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 225 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 226 | s == "world" |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 227 | </Original> |
| 228 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 229 | "hello" == "world" |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 230 | </Expanded> |
| 231 | </Expression> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 232 | <OverallResult success="false"/> |
| 233 | </TestCase> |
| 234 | <TestCase name="A METHOD_AS_TEST_CASE based test run that succeeds"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 235 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ClassTests.cpp" > |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 236 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 237 | s == "hello" |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 238 | </Original> |
| 239 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 240 | "hello" == "hello" |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 241 | </Expanded> |
| 242 | </Expression> |
| 243 | <OverallResult success="true"/> |
| 244 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 245 | <TestCase name="A TEST_CASE_METHOD based test run that fails"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 246 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/ClassTests.cpp" > |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 247 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 248 | m_a == 2 |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 249 | </Original> |
| 250 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 251 | 1 == 2 |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 252 | </Expanded> |
| 253 | </Expression> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 254 | <OverallResult success="false"/> |
| 255 | </TestCase> |
| 256 | <TestCase name="A TEST_CASE_METHOD based test run that succeeds"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 257 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ClassTests.cpp" > |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 258 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 259 | m_a == 1 |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 260 | </Original> |
| 261 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 262 | 1 == 1 |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 263 | </Expanded> |
| 264 | </Expression> |
| 265 | <OverallResult success="true"/> |
| 266 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 267 | <TestCase name="A couple of nested sections followed by a failure"> |
| 268 | <Section name="Outer"> |
| 269 | <Section name="Inner"> |
| 270 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 271 | </Section> |
| 272 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 273 | </Section> |
| 274 | <Failure> |
| 275 | to infinity and beyond |
| 276 | </Failure> |
| 277 | <OverallResult success="false"/> |
| 278 | </TestCase> |
| 279 | <TestCase name="A failing expression with a non streamable type is still captured"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 280 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 281 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 282 | &o1 == &o2 |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 283 | </Original> |
| 284 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 285 | 0x<hex digits> == 0x<hex digits> |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 286 | </Expanded> |
| 287 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 288 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 289 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 290 | o1 == o2 |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 291 | </Original> |
| 292 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 293 | {?} == {?} |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 294 | </Expanded> |
| 295 | </Expression> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 296 | <OverallResult success="false"/> |
| 297 | </TestCase> |
| 298 | <TestCase name="AllOf matcher"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 299 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 886ef16 | 2014-09-04 07:27:09 +0100 | [diff] [blame] | 300 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 301 | testStringForMatching(), AllOf( Catch::Contains( "string" ), Catch::Contains( "abc" ) ) |
Phil Nash | 886ef16 | 2014-09-04 07:27:09 +0100 | [diff] [blame] | 302 | </Original> |
| 303 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 304 | "this string contains 'abc' as a substring" ( contains: "string" and contains: "abc" ) |
Phil Nash | 886ef16 | 2014-09-04 07:27:09 +0100 | [diff] [blame] | 305 | </Expanded> |
| 306 | </Expression> |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 307 | <OverallResult success="true"/> |
| 308 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 309 | <TestCase name="An empty test with no assertions"> |
| 310 | <OverallResult success="true"/> |
| 311 | </TestCase> |
| 312 | <TestCase name="An expression with side-effects should only be evaluated once"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 313 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 314 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 315 | i++ == 7 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 316 | </Original> |
| 317 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 318 | 7 == 7 |
| 319 | </Expanded> |
| 320 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 321 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 322 | <Original> |
| 323 | i++ == 8 |
| 324 | </Original> |
| 325 | <Expanded> |
| 326 | 8 == 8 |
| 327 | </Expanded> |
| 328 | </Expression> |
| 329 | <OverallResult success="true"/> |
| 330 | </TestCase> |
| 331 | <TestCase name="An unchecked exception reports the line of the last assertion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 332 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 333 | <Original> |
| 334 | 1 == 1 |
| 335 | </Original> |
| 336 | <Expanded> |
| 337 | 1 == 1 |
| 338 | </Expanded> |
| 339 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 340 | <Expression success="false" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 341 | <Original> |
| 342 | {Unknown expression after the reported line} |
| 343 | </Original> |
| 344 | <Expanded> |
| 345 | {Unknown expression after the reported line} |
| 346 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 347 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 348 | unexpected exception |
| 349 | </Exception> |
| 350 | </Expression> |
| 351 | <OverallResult success="false"/> |
| 352 | </TestCase> |
| 353 | <TestCase name="Anonymous test case 1"> |
| 354 | <OverallResult success="true"/> |
| 355 | </TestCase> |
| 356 | <TestCase name="AnyOf matcher"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 357 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 358 | <Original> |
| 359 | testStringForMatching(), AnyOf( Catch::Contains( "string" ), Catch::Contains( "not there" ) ) |
| 360 | </Original> |
| 361 | <Expanded> |
| 362 | "this string contains 'abc' as a substring" ( contains: "string" or contains: "not there" ) |
| 363 | </Expanded> |
| 364 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 365 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 366 | <Original> |
| 367 | testStringForMatching(), AnyOf( Catch::Contains( "not there" ), Catch::Contains( "string" ) ) |
| 368 | </Original> |
| 369 | <Expanded> |
| 370 | "this string contains 'abc' as a substring" ( contains: "not there" or contains: "string" ) |
| 371 | </Expanded> |
| 372 | </Expression> |
| 373 | <OverallResult success="true"/> |
| 374 | </TestCase> |
| 375 | <TestCase name="Approximate PI"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 376 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 377 | <Original> |
| 378 | divide( 22, 7 ) == Approx( 3.141 ).epsilon( 0.001 ) |
| 379 | </Original> |
| 380 | <Expanded> |
| 381 | 3.1428571429 == Approx( 3.141 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 382 | </Expanded> |
| 383 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 384 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 385 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 386 | divide( 22, 7 ) != Approx( 3.141 ).epsilon( 0.0001 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 387 | </Original> |
| 388 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 389 | 3.1428571429 != Approx( 3.141 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 390 | </Expanded> |
| 391 | </Expression> |
| 392 | <OverallResult success="true"/> |
| 393 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 394 | <TestCase name="Approximate comparisons with different epsilons"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 395 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 396 | <Original> |
| 397 | d != Approx( 1.231 ) |
| 398 | </Original> |
| 399 | <Expanded> |
| 400 | 1.23 != Approx( 1.231 ) |
| 401 | </Expanded> |
| 402 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 403 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 404 | <Original> |
| 405 | d == Approx( 1.231 ).epsilon( 0.1 ) |
| 406 | </Original> |
| 407 | <Expanded> |
| 408 | 1.23 == Approx( 1.231 ) |
| 409 | </Expanded> |
| 410 | </Expression> |
| 411 | <OverallResult success="true"/> |
| 412 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 413 | <TestCase name="Approximate comparisons with floats"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 414 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 415 | <Original> |
| 416 | 1.23f == Approx( 1.23f ) |
| 417 | </Original> |
| 418 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame] | 419 | 1.23f == Approx( 1.2300000191 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 420 | </Expanded> |
| 421 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 422 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 423 | <Original> |
| 424 | 0.0f == Approx( 0.0f ) |
| 425 | </Original> |
| 426 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame] | 427 | 0.0f == Approx( 0.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 428 | </Expanded> |
| 429 | </Expression> |
| 430 | <OverallResult success="true"/> |
| 431 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 432 | <TestCase name="Approximate comparisons with ints"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 433 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 434 | <Original> |
| 435 | 1 == Approx( 1 ) |
| 436 | </Original> |
| 437 | <Expanded> |
Phil Nash | 1aa60fa | 2013-12-19 18:41:55 +0000 | [diff] [blame] | 438 | 1 == Approx( 1.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 439 | </Expanded> |
| 440 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 441 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 442 | <Original> |
| 443 | 0 == Approx( 0 ) |
| 444 | </Original> |
| 445 | <Expanded> |
Phil Nash | 1aa60fa | 2013-12-19 18:41:55 +0000 | [diff] [blame] | 446 | 0 == Approx( 0.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 447 | </Expanded> |
| 448 | </Expression> |
| 449 | <OverallResult success="true"/> |
| 450 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 451 | <TestCase name="Approximate comparisons with mixed numeric types"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 452 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 453 | <Original> |
| 454 | 1.0f == Approx( 1 ) |
| 455 | </Original> |
| 456 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame] | 457 | 1.0f == Approx( 1.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 458 | </Expanded> |
| 459 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 460 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 461 | <Original> |
| 462 | 0 == Approx( dZero) |
| 463 | </Original> |
| 464 | <Expanded> |
Phil Nash | 1aa60fa | 2013-12-19 18:41:55 +0000 | [diff] [blame] | 465 | 0 == Approx( 0.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 466 | </Expanded> |
| 467 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 468 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 469 | <Original> |
| 470 | 0 == Approx( dSmall ).epsilon( 0.001 ) |
| 471 | </Original> |
| 472 | <Expanded> |
Phil Nash | 1aa60fa | 2013-12-19 18:41:55 +0000 | [diff] [blame] | 473 | 0 == Approx( 0.00001 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 474 | </Expanded> |
| 475 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 476 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 477 | <Original> |
| 478 | 1.234f == Approx( dMedium ) |
| 479 | </Original> |
| 480 | <Expanded> |
Phil Nash | d89e74f | 2014-07-09 18:16:40 +0100 | [diff] [blame] | 481 | 1.234f == Approx( 1.234 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 482 | </Expanded> |
| 483 | </Expression> |
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 | dMedium == Approx( 1.234f ) |
| 487 | </Original> |
| 488 | <Expanded> |
Phil Nash | 1aa60fa | 2013-12-19 18:41:55 +0000 | [diff] [blame] | 489 | 1.234 == Approx( 1.2339999676 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 490 | </Expanded> |
| 491 | </Expression> |
| 492 | <OverallResult success="true"/> |
| 493 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 494 | <TestCase name="Assertions then sections"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 495 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 496 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 497 | Catch::alwaysTrue() |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 498 | </Original> |
| 499 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 500 | true |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 501 | </Expanded> |
| 502 | </Expression> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 503 | <Section name="A section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 504 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 505 | <Original> |
| 506 | Catch::alwaysTrue() |
| 507 | </Original> |
| 508 | <Expanded> |
| 509 | true |
| 510 | </Expanded> |
| 511 | </Expression> |
| 512 | <Section name="Another section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 513 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 514 | <Original> |
| 515 | Catch::alwaysTrue() |
| 516 | </Original> |
| 517 | <Expanded> |
| 518 | true |
| 519 | </Expanded> |
| 520 | </Expression> |
| 521 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 522 | </Section> |
| 523 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 524 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 525 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 526 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 527 | Catch::alwaysTrue() |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 528 | </Original> |
| 529 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 530 | true |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 531 | </Expanded> |
| 532 | </Expression> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 533 | <Section name="A section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 534 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 535 | <Original> |
| 536 | Catch::alwaysTrue() |
| 537 | </Original> |
| 538 | <Expanded> |
| 539 | true |
| 540 | </Expanded> |
| 541 | </Expression> |
| 542 | <Section name="Another other section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 543 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 544 | <Original> |
| 545 | Catch::alwaysTrue() |
| 546 | </Original> |
| 547 | <Expanded> |
| 548 | true |
| 549 | </Expanded> |
| 550 | </Expression> |
| 551 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 552 | </Section> |
| 553 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 554 | </Section> |
| 555 | <OverallResult success="true"/> |
| 556 | </TestCase> |
| 557 | <TestCase name="Comparing function pointers"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 558 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 559 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 560 | a |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 561 | </Original> |
| 562 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 563 | true |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 564 | </Expanded> |
| 565 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 566 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 567 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 568 | a == &foo |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 569 | </Original> |
| 570 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 571 | 0x<hex digits> == 0x<hex digits> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 572 | </Expanded> |
| 573 | </Expression> |
| 574 | <OverallResult success="true"/> |
| 575 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 576 | <TestCase name="Comparing member function pointers"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 577 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 578 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 579 | m == &S::f |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 580 | </Original> |
| 581 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 582 | 0x<hex digits> |
| 583 | == |
| 584 | 0x<hex digits> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 585 | </Expanded> |
| 586 | </Expression> |
| 587 | <OverallResult success="true"/> |
| 588 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 589 | <TestCase name="Comparisons between ints where one side is computed"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 590 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 591 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 592 | 54 == 6*9 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 593 | </Original> |
| 594 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 595 | 54 == 54 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 596 | </Expanded> |
| 597 | </Expression> |
| 598 | <OverallResult success="true"/> |
| 599 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 600 | <TestCase name="Comparisons between unsigned ints and negative signed ints match c++ standard behaviour"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 601 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 602 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 603 | ( -1 > 2u ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 604 | </Original> |
| 605 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 606 | true |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 607 | </Expanded> |
| 608 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 609 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 610 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 611 | -1 > 2u |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 612 | </Original> |
| 613 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 614 | -1 > 2 |
| 615 | </Expanded> |
| 616 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 617 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 618 | <Original> |
| 619 | ( 2u < -1 ) |
| 620 | </Original> |
| 621 | <Expanded> |
| 622 | true |
| 623 | </Expanded> |
| 624 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 625 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 626 | <Original> |
| 627 | 2u < -1 |
| 628 | </Original> |
| 629 | <Expanded> |
| 630 | 2 < -1 |
| 631 | </Expanded> |
| 632 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 633 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 634 | <Original> |
| 635 | ( minInt > 2u ) |
| 636 | </Original> |
| 637 | <Expanded> |
| 638 | true |
| 639 | </Expanded> |
| 640 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 641 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 642 | <Original> |
| 643 | minInt > 2u |
| 644 | </Original> |
| 645 | <Expanded> |
| 646 | -2147483648 > 2 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 647 | </Expanded> |
| 648 | </Expression> |
| 649 | <OverallResult success="true"/> |
| 650 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 651 | <TestCase name="Comparisons with int literals don't warn when mixing signed/ unsigned"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 652 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 653 | <Original> |
| 654 | i == 1 |
| 655 | </Original> |
| 656 | <Expanded> |
| 657 | 1 == 1 |
| 658 | </Expanded> |
| 659 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 660 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 661 | <Original> |
| 662 | ui == 2 |
| 663 | </Original> |
| 664 | <Expanded> |
| 665 | 2 == 2 |
| 666 | </Expanded> |
| 667 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 668 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 669 | <Original> |
| 670 | l == 3 |
| 671 | </Original> |
| 672 | <Expanded> |
| 673 | 3 == 3 |
| 674 | </Expanded> |
| 675 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 676 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 677 | <Original> |
| 678 | ul == 4 |
| 679 | </Original> |
| 680 | <Expanded> |
| 681 | 4 == 4 |
| 682 | </Expanded> |
| 683 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 684 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 685 | <Original> |
| 686 | c == 5 |
| 687 | </Original> |
| 688 | <Expanded> |
| 689 | 5 == 5 |
| 690 | </Expanded> |
| 691 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 692 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 693 | <Original> |
| 694 | uc == 6 |
| 695 | </Original> |
| 696 | <Expanded> |
| 697 | 6 == 6 |
| 698 | </Expanded> |
| 699 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 700 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 701 | <Original> |
| 702 | 1 == i |
| 703 | </Original> |
| 704 | <Expanded> |
| 705 | 1 == 1 |
| 706 | </Expanded> |
| 707 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 708 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 709 | <Original> |
| 710 | 2 == ui |
| 711 | </Original> |
| 712 | <Expanded> |
| 713 | 2 == 2 |
| 714 | </Expanded> |
| 715 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 716 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 717 | <Original> |
| 718 | 3 == l |
| 719 | </Original> |
| 720 | <Expanded> |
| 721 | 3 == 3 |
| 722 | </Expanded> |
| 723 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 724 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 725 | <Original> |
| 726 | 4 == ul |
| 727 | </Original> |
| 728 | <Expanded> |
| 729 | 4 == 4 |
| 730 | </Expanded> |
| 731 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 732 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 733 | <Original> |
| 734 | 5 == c |
| 735 | </Original> |
| 736 | <Expanded> |
| 737 | 5 == 5 |
| 738 | </Expanded> |
| 739 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 740 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 741 | <Original> |
| 742 | 6 == uc |
| 743 | </Original> |
| 744 | <Expanded> |
| 745 | 6 == 6 |
| 746 | </Expanded> |
| 747 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 748 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 749 | <Original> |
| 750 | (std::numeric_limits<unsigned long>::max)() > ul |
| 751 | </Original> |
| 752 | <Expanded> |
Phil Nash | 0edebf4 | 2015-07-28 18:24:20 +0100 | [diff] [blame] | 753 | 18446744073709551615 (0x<hex digits>) |
| 754 | > |
| 755 | 4 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 756 | </Expanded> |
| 757 | </Expression> |
| 758 | <OverallResult success="true"/> |
| 759 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 760 | <TestCase name="Contains string matcher"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 761 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 762 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 763 | testStringForMatching(), Contains( "not there" ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 764 | </Original> |
| 765 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 766 | "this string contains 'abc' as a substring" contains: "not there" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 767 | </Expanded> |
| 768 | </Expression> |
Phil Nash | a49f088 | 2015-11-18 08:39:21 +0000 | [diff] [blame] | 769 | <OverallResult success="false"/> |
| 770 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 771 | <TestCase name="Custom exceptions can be translated when testing for nothrow"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 772 | <Expression success="false" type="REQUIRE_NOTHROW" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 773 | <Original> |
| 774 | throwCustom() |
| 775 | </Original> |
| 776 | <Expanded> |
| 777 | throwCustom() |
| 778 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 779 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 780 | custom exception - not std |
| 781 | </Exception> |
| 782 | </Expression> |
| 783 | <OverallResult success="false"/> |
| 784 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 785 | <TestCase name="Custom exceptions can be translated when testing for throwing as something else"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 786 | <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] | 787 | <Original> |
| 788 | throwCustom() |
| 789 | </Original> |
| 790 | <Expanded> |
| 791 | throwCustom() |
| 792 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 793 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 794 | custom exception - not std |
| 795 | </Exception> |
| 796 | </Expression> |
| 797 | <OverallResult success="false"/> |
| 798 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 799 | <TestCase name="Custom std-exceptions can be custom translated"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 800 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 801 | custom std exception |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 802 | </Exception> |
| 803 | <OverallResult success="false"/> |
| 804 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 805 | <TestCase name="Demonstrate that a non-const == is not used"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 806 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 807 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 808 | t == 1u |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 809 | </Original> |
| 810 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 811 | {?} == 1 |
| 812 | </Expanded> |
| 813 | </Expression> |
| 814 | <OverallResult success="true"/> |
| 815 | </TestCase> |
| 816 | <TestCase name="EndsWith string matcher"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 817 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 818 | <Original> |
| 819 | testStringForMatching(), EndsWith( "this" ) |
| 820 | </Original> |
| 821 | <Expanded> |
| 822 | "this string contains 'abc' as a substring" ends with: "this" |
| 823 | </Expanded> |
| 824 | </Expression> |
| 825 | <OverallResult success="false"/> |
| 826 | </TestCase> |
| 827 | <TestCase name="Equality checks that should fail"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 828 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 829 | <Original> |
| 830 | data.int_seven == 6 |
| 831 | </Original> |
| 832 | <Expanded> |
| 833 | 7 == 6 |
| 834 | </Expanded> |
| 835 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 836 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 837 | <Original> |
| 838 | data.int_seven == 8 |
| 839 | </Original> |
| 840 | <Expanded> |
| 841 | 7 == 8 |
| 842 | </Expanded> |
| 843 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 844 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 845 | <Original> |
| 846 | data.int_seven == 0 |
| 847 | </Original> |
| 848 | <Expanded> |
| 849 | 7 == 0 |
| 850 | </Expanded> |
| 851 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 852 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 853 | <Original> |
| 854 | data.float_nine_point_one == Approx( 9.11f ) |
| 855 | </Original> |
| 856 | <Expanded> |
| 857 | 9.1f == Approx( 9.1099996567 ) |
| 858 | </Expanded> |
| 859 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 860 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 861 | <Original> |
| 862 | data.float_nine_point_one == Approx( 9.0f ) |
| 863 | </Original> |
| 864 | <Expanded> |
| 865 | 9.1f == Approx( 9.0 ) |
| 866 | </Expanded> |
| 867 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 868 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 869 | <Original> |
| 870 | data.float_nine_point_one == Approx( 1 ) |
| 871 | </Original> |
| 872 | <Expanded> |
| 873 | 9.1f == Approx( 1.0 ) |
| 874 | </Expanded> |
| 875 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 876 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 877 | <Original> |
| 878 | data.float_nine_point_one == Approx( 0 ) |
| 879 | </Original> |
| 880 | <Expanded> |
| 881 | 9.1f == Approx( 0.0 ) |
| 882 | </Expanded> |
| 883 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 884 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 885 | <Original> |
| 886 | data.double_pi == Approx( 3.1415 ) |
| 887 | </Original> |
| 888 | <Expanded> |
| 889 | 3.1415926535 == Approx( 3.1415 ) |
| 890 | </Expanded> |
| 891 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 892 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 893 | <Original> |
| 894 | data.str_hello == "goodbye" |
| 895 | </Original> |
| 896 | <Expanded> |
| 897 | "hello" == "goodbye" |
| 898 | </Expanded> |
| 899 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 900 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 901 | <Original> |
| 902 | data.str_hello == "hell" |
| 903 | </Original> |
| 904 | <Expanded> |
| 905 | "hello" == "hell" |
| 906 | </Expanded> |
| 907 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 908 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 909 | <Original> |
| 910 | data.str_hello == "hello1" |
| 911 | </Original> |
| 912 | <Expanded> |
| 913 | "hello" == "hello1" |
| 914 | </Expanded> |
| 915 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 916 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 917 | <Original> |
| 918 | data.str_hello.size() == 6 |
| 919 | </Original> |
| 920 | <Expanded> |
| 921 | 5 == 6 |
| 922 | </Expanded> |
| 923 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 924 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 925 | <Original> |
| 926 | x == Approx( 1.301 ) |
| 927 | </Original> |
| 928 | <Expanded> |
| 929 | 1.3 == Approx( 1.301 ) |
| 930 | </Expanded> |
| 931 | </Expression> |
| 932 | <OverallResult success="true"/> |
| 933 | </TestCase> |
| 934 | <TestCase name="Equality checks that should succeed"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 935 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 936 | <Original> |
| 937 | data.int_seven == 7 |
| 938 | </Original> |
| 939 | <Expanded> |
| 940 | 7 == 7 |
| 941 | </Expanded> |
| 942 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 943 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 944 | <Original> |
| 945 | data.float_nine_point_one == Approx( 9.1f ) |
| 946 | </Original> |
| 947 | <Expanded> |
| 948 | 9.1f == Approx( 9.1000003815 ) |
| 949 | </Expanded> |
| 950 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 951 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 952 | <Original> |
| 953 | data.double_pi == Approx( 3.1415926535 ) |
| 954 | </Original> |
| 955 | <Expanded> |
| 956 | 3.1415926535 == Approx( 3.1415926535 ) |
| 957 | </Expanded> |
| 958 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 959 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 960 | <Original> |
| 961 | data.str_hello == "hello" |
| 962 | </Original> |
| 963 | <Expanded> |
| 964 | "hello" == "hello" |
| 965 | </Expanded> |
| 966 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 967 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 968 | <Original> |
| 969 | "hello" == data.str_hello |
| 970 | </Original> |
| 971 | <Expanded> |
| 972 | "hello" == "hello" |
| 973 | </Expanded> |
| 974 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 975 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 976 | <Original> |
| 977 | data.str_hello.size() == 5 |
| 978 | </Original> |
| 979 | <Expanded> |
| 980 | 5 == 5 |
| 981 | </Expanded> |
| 982 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 983 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 984 | <Original> |
| 985 | x == Approx( 1.3 ) |
| 986 | </Original> |
| 987 | <Expanded> |
| 988 | 1.3 == Approx( 1.3 ) |
| 989 | </Expanded> |
| 990 | </Expression> |
| 991 | <OverallResult success="true"/> |
| 992 | </TestCase> |
| 993 | <TestCase name="Equals"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 994 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 995 | <Original> |
| 996 | testStringForMatching(), Equals( "this string contains 'abc' as a substring" ) |
| 997 | </Original> |
| 998 | <Expanded> |
| 999 | "this string contains 'abc' as a substring" equals: "this string contains 'abc' as a substring" |
| 1000 | </Expanded> |
| 1001 | </Expression> |
| 1002 | <OverallResult success="true"/> |
| 1003 | </TestCase> |
| 1004 | <TestCase name="Equals string matcher"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1005 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1006 | <Original> |
| 1007 | testStringForMatching(), Equals( "something else" ) |
| 1008 | </Original> |
| 1009 | <Expanded> |
| 1010 | "this string contains 'abc' as a substring" equals: "something else" |
| 1011 | </Expanded> |
| 1012 | </Expression> |
| 1013 | <OverallResult success="false"/> |
| 1014 | </TestCase> |
| 1015 | <TestCase name="Equals string matcher, with NULL"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1016 | <Expression success="true" type="REQUIRE_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1017 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 1018 | "", Equals(0) |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1019 | </Original> |
| 1020 | <Expanded> |
| 1021 | "" equals: "" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1022 | </Expanded> |
| 1023 | </Expression> |
| 1024 | <OverallResult success="true"/> |
| 1025 | </TestCase> |
Phil Nash | 85de743 | 2015-07-13 06:34:41 +0100 | [diff] [blame] | 1026 | <TestCase name="Exception messages can be tested for"> |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1027 | <Section name="exact match"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1028 | <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] | 1029 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1030 | thisThrows(), "expected exception" |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1031 | </Original> |
| 1032 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1033 | thisThrows(), "expected exception" |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1034 | </Expanded> |
| 1035 | </Expression> |
| 1036 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 1037 | </Section> |
| 1038 | <Section name="different case"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1039 | <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] | 1040 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1041 | thisThrows(), Equals( "expecteD Exception", Catch::CaseSensitive::No ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1042 | </Original> |
| 1043 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1044 | thisThrows(), Equals( "expecteD Exception", Catch::CaseSensitive::No ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1045 | </Expanded> |
| 1046 | </Expression> |
| 1047 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 1048 | </Section> |
| 1049 | <Section name="wildcarded"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1050 | <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] | 1051 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1052 | thisThrows(), StartsWith( "expected" ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1053 | </Original> |
| 1054 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1055 | thisThrows(), StartsWith( "expected" ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1056 | </Expanded> |
| 1057 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1058 | <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] | 1059 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1060 | thisThrows(), EndsWith( "exception" ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1061 | </Original> |
| 1062 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1063 | thisThrows(), EndsWith( "exception" ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1064 | </Expanded> |
| 1065 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1066 | <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] | 1067 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1068 | thisThrows(), Contains( "except" ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1069 | </Original> |
| 1070 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1071 | thisThrows(), Contains( "except" ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1072 | </Expanded> |
| 1073 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1074 | <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] | 1075 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1076 | thisThrows(), Contains( "exCept", Catch::CaseSensitive::No ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1077 | </Original> |
| 1078 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 1079 | thisThrows(), Contains( "exCept", Catch::CaseSensitive::No ) |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1080 | </Expanded> |
| 1081 | </Expression> |
| 1082 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 1083 | </Section> |
| 1084 | <OverallResult success="true"/> |
| 1085 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1086 | <TestCase name="Expected exceptions that don't throw or unexpected exceptions fail the test"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1087 | <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] | 1088 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1089 | thisThrows() |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1090 | </Original> |
| 1091 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1092 | thisThrows() |
| 1093 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1094 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1095 | expected exception |
| 1096 | </Exception> |
| 1097 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1098 | <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] | 1099 | <Original> |
| 1100 | thisDoesntThrow() |
| 1101 | </Original> |
| 1102 | <Expanded> |
| 1103 | thisDoesntThrow() |
Phil Nash | 2104ca2 | 2015-07-13 15:03:04 +0100 | [diff] [blame] | 1104 | </Expanded> |
| 1105 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1106 | <Expression success="false" type="CHECK_NOTHROW" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 85de743 | 2015-07-13 06:34:41 +0100 | [diff] [blame] | 1107 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1108 | thisThrows() |
Phil Nash | 85de743 | 2015-07-13 06:34:41 +0100 | [diff] [blame] | 1109 | </Original> |
| 1110 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1111 | thisThrows() |
Phil Nash | 85de743 | 2015-07-13 06:34:41 +0100 | [diff] [blame] | 1112 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1113 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1114 | expected exception |
| 1115 | </Exception> |
Phil Nash | 85de743 | 2015-07-13 06:34:41 +0100 | [diff] [blame] | 1116 | </Expression> |
| 1117 | <OverallResult success="false"/> |
| 1118 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1119 | <TestCase name="FAIL aborts the test"> |
| 1120 | <Failure> |
| 1121 | This is a failure |
| 1122 | </Failure> |
| 1123 | <OverallResult success="false"/> |
| 1124 | </TestCase> |
| 1125 | <TestCase name="FAIL does not require an argument"> |
| 1126 | <Failure/> |
| 1127 | <OverallResult success="false"/> |
| 1128 | </TestCase> |
| 1129 | <TestCase name="Factorials are computed"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1130 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1131 | <Original> |
| 1132 | Factorial(0) == 1 |
| 1133 | </Original> |
| 1134 | <Expanded> |
| 1135 | 1 == 1 |
| 1136 | </Expanded> |
| 1137 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1138 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1139 | <Original> |
| 1140 | Factorial(1) == 1 |
| 1141 | </Original> |
| 1142 | <Expanded> |
| 1143 | 1 == 1 |
| 1144 | </Expanded> |
| 1145 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1146 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1147 | <Original> |
| 1148 | Factorial(2) == 2 |
| 1149 | </Original> |
| 1150 | <Expanded> |
| 1151 | 2 == 2 |
| 1152 | </Expanded> |
| 1153 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1154 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1155 | <Original> |
| 1156 | Factorial(3) == 6 |
| 1157 | </Original> |
| 1158 | <Expanded> |
| 1159 | 6 == 6 |
| 1160 | </Expanded> |
| 1161 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1162 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1163 | <Original> |
| 1164 | Factorial(10) == 3628800 |
| 1165 | </Original> |
| 1166 | <Expanded> |
| 1167 | 3628800 (0x<hex digits>) == 3628800 (0x<hex digits>) |
| 1168 | </Expanded> |
| 1169 | </Expression> |
| 1170 | <OverallResult success="true"/> |
| 1171 | </TestCase> |
| 1172 | <TestCase name="Generator over a range of pairs"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1173 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1174 | <Original> |
| 1175 | i->first == i->second-1 |
| 1176 | </Original> |
| 1177 | <Expanded> |
| 1178 | 0 == 0 |
| 1179 | </Expanded> |
| 1180 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1181 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 1182 | <Original> |
| 1183 | i->first == i->second-1 |
| 1184 | </Original> |
| 1185 | <Expanded> |
| 1186 | 2 == 2 |
| 1187 | </Expanded> |
| 1188 | </Expression> |
| 1189 | <OverallResult success="true"/> |
| 1190 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 1191 | <TestCase name="Generators over two ranges"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1192 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1193 | <Original> |
| 1194 | multiply( i, 2 ) == i*2 |
| 1195 | </Original> |
| 1196 | <Expanded> |
| 1197 | 2 == 2 |
| 1198 | </Expanded> |
| 1199 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1200 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1201 | <Original> |
| 1202 | multiply( j, 2 ) == j*2 |
| 1203 | </Original> |
| 1204 | <Expanded> |
| 1205 | 200 == 200 |
| 1206 | </Expanded> |
| 1207 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1208 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1209 | <Original> |
| 1210 | multiply( i, 2 ) == i*2 |
| 1211 | </Original> |
| 1212 | <Expanded> |
| 1213 | 4 == 4 |
| 1214 | </Expanded> |
| 1215 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1216 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1217 | <Original> |
| 1218 | multiply( j, 2 ) == j*2 |
| 1219 | </Original> |
| 1220 | <Expanded> |
| 1221 | 200 == 200 |
| 1222 | </Expanded> |
| 1223 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1224 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1225 | <Original> |
| 1226 | multiply( i, 2 ) == i*2 |
| 1227 | </Original> |
| 1228 | <Expanded> |
| 1229 | 6 == 6 |
| 1230 | </Expanded> |
| 1231 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1232 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1233 | <Original> |
| 1234 | multiply( j, 2 ) == j*2 |
| 1235 | </Original> |
| 1236 | <Expanded> |
| 1237 | 200 == 200 |
| 1238 | </Expanded> |
| 1239 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1240 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1241 | <Original> |
| 1242 | multiply( i, 2 ) == i*2 |
| 1243 | </Original> |
| 1244 | <Expanded> |
| 1245 | 8 == 8 |
| 1246 | </Expanded> |
| 1247 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1248 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1249 | <Original> |
| 1250 | multiply( j, 2 ) == j*2 |
| 1251 | </Original> |
| 1252 | <Expanded> |
| 1253 | 200 == 200 |
| 1254 | </Expanded> |
| 1255 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1256 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1257 | <Original> |
| 1258 | multiply( i, 2 ) == i*2 |
| 1259 | </Original> |
| 1260 | <Expanded> |
| 1261 | 10 == 10 |
| 1262 | </Expanded> |
| 1263 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1264 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1265 | <Original> |
| 1266 | multiply( j, 2 ) == j*2 |
| 1267 | </Original> |
| 1268 | <Expanded> |
| 1269 | 200 == 200 |
| 1270 | </Expanded> |
| 1271 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1272 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1273 | <Original> |
| 1274 | multiply( i, 2 ) == i*2 |
| 1275 | </Original> |
| 1276 | <Expanded> |
| 1277 | 30 == 30 |
| 1278 | </Expanded> |
| 1279 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1280 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1281 | <Original> |
| 1282 | multiply( j, 2 ) == j*2 |
| 1283 | </Original> |
| 1284 | <Expanded> |
| 1285 | 200 == 200 |
| 1286 | </Expanded> |
| 1287 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1288 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1289 | <Original> |
| 1290 | multiply( i, 2 ) == i*2 |
| 1291 | </Original> |
| 1292 | <Expanded> |
| 1293 | 40 == 40 |
| 1294 | </Expanded> |
| 1295 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1296 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1297 | <Original> |
| 1298 | multiply( j, 2 ) == j*2 |
| 1299 | </Original> |
| 1300 | <Expanded> |
| 1301 | 200 == 200 |
| 1302 | </Expanded> |
| 1303 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1304 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1305 | <Original> |
| 1306 | multiply( i, 2 ) == i*2 |
| 1307 | </Original> |
| 1308 | <Expanded> |
| 1309 | 42 == 42 |
| 1310 | </Expanded> |
| 1311 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1312 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1313 | <Original> |
| 1314 | multiply( j, 2 ) == j*2 |
| 1315 | </Original> |
| 1316 | <Expanded> |
| 1317 | 200 == 200 |
| 1318 | </Expanded> |
| 1319 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1320 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1321 | <Original> |
| 1322 | multiply( i, 2 ) == i*2 |
| 1323 | </Original> |
| 1324 | <Expanded> |
| 1325 | 72 == 72 |
| 1326 | </Expanded> |
| 1327 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1328 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1329 | <Original> |
| 1330 | multiply( j, 2 ) == j*2 |
| 1331 | </Original> |
| 1332 | <Expanded> |
| 1333 | 200 == 200 |
| 1334 | </Expanded> |
| 1335 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1336 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1337 | <Original> |
| 1338 | multiply( i, 2 ) == i*2 |
| 1339 | </Original> |
| 1340 | <Expanded> |
| 1341 | 2 == 2 |
| 1342 | </Expanded> |
| 1343 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1344 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1345 | <Original> |
| 1346 | multiply( j, 2 ) == j*2 |
| 1347 | </Original> |
| 1348 | <Expanded> |
| 1349 | 202 == 202 |
| 1350 | </Expanded> |
| 1351 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1352 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1353 | <Original> |
| 1354 | multiply( i, 2 ) == i*2 |
| 1355 | </Original> |
| 1356 | <Expanded> |
| 1357 | 4 == 4 |
| 1358 | </Expanded> |
| 1359 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1360 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1361 | <Original> |
| 1362 | multiply( j, 2 ) == j*2 |
| 1363 | </Original> |
| 1364 | <Expanded> |
| 1365 | 202 == 202 |
| 1366 | </Expanded> |
| 1367 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1368 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1369 | <Original> |
| 1370 | multiply( i, 2 ) == i*2 |
| 1371 | </Original> |
| 1372 | <Expanded> |
| 1373 | 6 == 6 |
| 1374 | </Expanded> |
| 1375 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1376 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1377 | <Original> |
| 1378 | multiply( j, 2 ) == j*2 |
| 1379 | </Original> |
| 1380 | <Expanded> |
| 1381 | 202 == 202 |
| 1382 | </Expanded> |
| 1383 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1384 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1385 | <Original> |
| 1386 | multiply( i, 2 ) == i*2 |
| 1387 | </Original> |
| 1388 | <Expanded> |
| 1389 | 8 == 8 |
| 1390 | </Expanded> |
| 1391 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1392 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1393 | <Original> |
| 1394 | multiply( j, 2 ) == j*2 |
| 1395 | </Original> |
| 1396 | <Expanded> |
| 1397 | 202 == 202 |
| 1398 | </Expanded> |
| 1399 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1400 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1401 | <Original> |
| 1402 | multiply( i, 2 ) == i*2 |
| 1403 | </Original> |
| 1404 | <Expanded> |
| 1405 | 10 == 10 |
| 1406 | </Expanded> |
| 1407 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1408 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1409 | <Original> |
| 1410 | multiply( j, 2 ) == j*2 |
| 1411 | </Original> |
| 1412 | <Expanded> |
| 1413 | 202 == 202 |
| 1414 | </Expanded> |
| 1415 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1416 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1417 | <Original> |
| 1418 | multiply( i, 2 ) == i*2 |
| 1419 | </Original> |
| 1420 | <Expanded> |
| 1421 | 30 == 30 |
| 1422 | </Expanded> |
| 1423 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1424 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1425 | <Original> |
| 1426 | multiply( j, 2 ) == j*2 |
| 1427 | </Original> |
| 1428 | <Expanded> |
| 1429 | 202 == 202 |
| 1430 | </Expanded> |
| 1431 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1432 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1433 | <Original> |
| 1434 | multiply( i, 2 ) == i*2 |
| 1435 | </Original> |
| 1436 | <Expanded> |
| 1437 | 40 == 40 |
| 1438 | </Expanded> |
| 1439 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1440 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1441 | <Original> |
| 1442 | multiply( j, 2 ) == j*2 |
| 1443 | </Original> |
| 1444 | <Expanded> |
| 1445 | 202 == 202 |
| 1446 | </Expanded> |
| 1447 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1448 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1449 | <Original> |
| 1450 | multiply( i, 2 ) == i*2 |
| 1451 | </Original> |
| 1452 | <Expanded> |
| 1453 | 42 == 42 |
| 1454 | </Expanded> |
| 1455 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1456 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1457 | <Original> |
| 1458 | multiply( j, 2 ) == j*2 |
| 1459 | </Original> |
| 1460 | <Expanded> |
| 1461 | 202 == 202 |
| 1462 | </Expanded> |
| 1463 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1464 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1465 | <Original> |
| 1466 | multiply( i, 2 ) == i*2 |
| 1467 | </Original> |
| 1468 | <Expanded> |
| 1469 | 72 == 72 |
| 1470 | </Expanded> |
| 1471 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1472 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1473 | <Original> |
| 1474 | multiply( j, 2 ) == j*2 |
| 1475 | </Original> |
| 1476 | <Expanded> |
| 1477 | 202 == 202 |
| 1478 | </Expanded> |
| 1479 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1480 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1481 | <Original> |
| 1482 | multiply( i, 2 ) == i*2 |
| 1483 | </Original> |
| 1484 | <Expanded> |
| 1485 | 2 == 2 |
| 1486 | </Expanded> |
| 1487 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1488 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1489 | <Original> |
| 1490 | multiply( j, 2 ) == j*2 |
| 1491 | </Original> |
| 1492 | <Expanded> |
| 1493 | 204 == 204 |
| 1494 | </Expanded> |
| 1495 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1496 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1497 | <Original> |
| 1498 | multiply( i, 2 ) == i*2 |
| 1499 | </Original> |
| 1500 | <Expanded> |
| 1501 | 4 == 4 |
| 1502 | </Expanded> |
| 1503 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1504 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1505 | <Original> |
| 1506 | multiply( j, 2 ) == j*2 |
| 1507 | </Original> |
| 1508 | <Expanded> |
| 1509 | 204 == 204 |
| 1510 | </Expanded> |
| 1511 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1512 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1513 | <Original> |
| 1514 | multiply( i, 2 ) == i*2 |
| 1515 | </Original> |
| 1516 | <Expanded> |
| 1517 | 6 == 6 |
| 1518 | </Expanded> |
| 1519 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1520 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1521 | <Original> |
| 1522 | multiply( j, 2 ) == j*2 |
| 1523 | </Original> |
| 1524 | <Expanded> |
| 1525 | 204 == 204 |
| 1526 | </Expanded> |
| 1527 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1528 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1529 | <Original> |
| 1530 | multiply( i, 2 ) == i*2 |
| 1531 | </Original> |
| 1532 | <Expanded> |
| 1533 | 8 == 8 |
| 1534 | </Expanded> |
| 1535 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1536 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1537 | <Original> |
| 1538 | multiply( j, 2 ) == j*2 |
| 1539 | </Original> |
| 1540 | <Expanded> |
| 1541 | 204 == 204 |
| 1542 | </Expanded> |
| 1543 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1544 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1545 | <Original> |
| 1546 | multiply( i, 2 ) == i*2 |
| 1547 | </Original> |
| 1548 | <Expanded> |
| 1549 | 10 == 10 |
| 1550 | </Expanded> |
| 1551 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1552 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1553 | <Original> |
| 1554 | multiply( j, 2 ) == j*2 |
| 1555 | </Original> |
| 1556 | <Expanded> |
| 1557 | 204 == 204 |
| 1558 | </Expanded> |
| 1559 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1560 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1561 | <Original> |
| 1562 | multiply( i, 2 ) == i*2 |
| 1563 | </Original> |
| 1564 | <Expanded> |
| 1565 | 30 == 30 |
| 1566 | </Expanded> |
| 1567 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1568 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1569 | <Original> |
| 1570 | multiply( j, 2 ) == j*2 |
| 1571 | </Original> |
| 1572 | <Expanded> |
| 1573 | 204 == 204 |
| 1574 | </Expanded> |
| 1575 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1576 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1577 | <Original> |
| 1578 | multiply( i, 2 ) == i*2 |
| 1579 | </Original> |
| 1580 | <Expanded> |
| 1581 | 40 == 40 |
| 1582 | </Expanded> |
| 1583 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1584 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1585 | <Original> |
| 1586 | multiply( j, 2 ) == j*2 |
| 1587 | </Original> |
| 1588 | <Expanded> |
| 1589 | 204 == 204 |
| 1590 | </Expanded> |
| 1591 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1592 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1593 | <Original> |
| 1594 | multiply( i, 2 ) == i*2 |
| 1595 | </Original> |
| 1596 | <Expanded> |
| 1597 | 42 == 42 |
| 1598 | </Expanded> |
| 1599 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1600 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1601 | <Original> |
| 1602 | multiply( j, 2 ) == j*2 |
| 1603 | </Original> |
| 1604 | <Expanded> |
| 1605 | 204 == 204 |
| 1606 | </Expanded> |
| 1607 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1608 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1609 | <Original> |
| 1610 | multiply( i, 2 ) == i*2 |
| 1611 | </Original> |
| 1612 | <Expanded> |
| 1613 | 72 == 72 |
| 1614 | </Expanded> |
| 1615 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1616 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1617 | <Original> |
| 1618 | multiply( j, 2 ) == j*2 |
| 1619 | </Original> |
| 1620 | <Expanded> |
| 1621 | 204 == 204 |
| 1622 | </Expanded> |
| 1623 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1624 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1625 | <Original> |
| 1626 | multiply( i, 2 ) == i*2 |
| 1627 | </Original> |
| 1628 | <Expanded> |
| 1629 | 2 == 2 |
| 1630 | </Expanded> |
| 1631 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1632 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1633 | <Original> |
| 1634 | multiply( j, 2 ) == j*2 |
| 1635 | </Original> |
| 1636 | <Expanded> |
| 1637 | 206 == 206 |
| 1638 | </Expanded> |
| 1639 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1640 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1641 | <Original> |
| 1642 | multiply( i, 2 ) == i*2 |
| 1643 | </Original> |
| 1644 | <Expanded> |
| 1645 | 4 == 4 |
| 1646 | </Expanded> |
| 1647 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1648 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1649 | <Original> |
| 1650 | multiply( j, 2 ) == j*2 |
| 1651 | </Original> |
| 1652 | <Expanded> |
| 1653 | 206 == 206 |
| 1654 | </Expanded> |
| 1655 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1656 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1657 | <Original> |
| 1658 | multiply( i, 2 ) == i*2 |
| 1659 | </Original> |
| 1660 | <Expanded> |
| 1661 | 6 == 6 |
| 1662 | </Expanded> |
| 1663 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1664 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1665 | <Original> |
| 1666 | multiply( j, 2 ) == j*2 |
| 1667 | </Original> |
| 1668 | <Expanded> |
| 1669 | 206 == 206 |
| 1670 | </Expanded> |
| 1671 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1672 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1673 | <Original> |
| 1674 | multiply( i, 2 ) == i*2 |
| 1675 | </Original> |
| 1676 | <Expanded> |
| 1677 | 8 == 8 |
| 1678 | </Expanded> |
| 1679 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1680 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1681 | <Original> |
| 1682 | multiply( j, 2 ) == j*2 |
| 1683 | </Original> |
| 1684 | <Expanded> |
| 1685 | 206 == 206 |
| 1686 | </Expanded> |
| 1687 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1688 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1689 | <Original> |
| 1690 | multiply( i, 2 ) == i*2 |
| 1691 | </Original> |
| 1692 | <Expanded> |
| 1693 | 10 == 10 |
| 1694 | </Expanded> |
| 1695 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1696 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1697 | <Original> |
| 1698 | multiply( j, 2 ) == j*2 |
| 1699 | </Original> |
| 1700 | <Expanded> |
| 1701 | 206 == 206 |
| 1702 | </Expanded> |
| 1703 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1704 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1705 | <Original> |
| 1706 | multiply( i, 2 ) == i*2 |
| 1707 | </Original> |
| 1708 | <Expanded> |
| 1709 | 30 == 30 |
| 1710 | </Expanded> |
| 1711 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1712 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1713 | <Original> |
| 1714 | multiply( j, 2 ) == j*2 |
| 1715 | </Original> |
| 1716 | <Expanded> |
| 1717 | 206 == 206 |
| 1718 | </Expanded> |
| 1719 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1720 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1721 | <Original> |
| 1722 | multiply( i, 2 ) == i*2 |
| 1723 | </Original> |
| 1724 | <Expanded> |
| 1725 | 40 == 40 |
| 1726 | </Expanded> |
| 1727 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1728 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1729 | <Original> |
| 1730 | multiply( j, 2 ) == j*2 |
| 1731 | </Original> |
| 1732 | <Expanded> |
| 1733 | 206 == 206 |
| 1734 | </Expanded> |
| 1735 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1736 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1737 | <Original> |
| 1738 | multiply( i, 2 ) == i*2 |
| 1739 | </Original> |
| 1740 | <Expanded> |
| 1741 | 42 == 42 |
| 1742 | </Expanded> |
| 1743 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1744 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1745 | <Original> |
| 1746 | multiply( j, 2 ) == j*2 |
| 1747 | </Original> |
| 1748 | <Expanded> |
| 1749 | 206 == 206 |
| 1750 | </Expanded> |
| 1751 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1752 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1753 | <Original> |
| 1754 | multiply( i, 2 ) == i*2 |
| 1755 | </Original> |
| 1756 | <Expanded> |
| 1757 | 72 == 72 |
| 1758 | </Expanded> |
| 1759 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1760 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1761 | <Original> |
| 1762 | multiply( j, 2 ) == j*2 |
| 1763 | </Original> |
| 1764 | <Expanded> |
| 1765 | 206 == 206 |
| 1766 | </Expanded> |
| 1767 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1768 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1769 | <Original> |
| 1770 | multiply( i, 2 ) == i*2 |
| 1771 | </Original> |
| 1772 | <Expanded> |
| 1773 | 2 == 2 |
| 1774 | </Expanded> |
| 1775 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1776 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1777 | <Original> |
| 1778 | multiply( j, 2 ) == j*2 |
| 1779 | </Original> |
| 1780 | <Expanded> |
| 1781 | 208 == 208 |
| 1782 | </Expanded> |
| 1783 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1784 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1785 | <Original> |
| 1786 | multiply( i, 2 ) == i*2 |
| 1787 | </Original> |
| 1788 | <Expanded> |
| 1789 | 4 == 4 |
| 1790 | </Expanded> |
| 1791 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1792 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1793 | <Original> |
| 1794 | multiply( j, 2 ) == j*2 |
| 1795 | </Original> |
| 1796 | <Expanded> |
| 1797 | 208 == 208 |
| 1798 | </Expanded> |
| 1799 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1800 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1801 | <Original> |
| 1802 | multiply( i, 2 ) == i*2 |
| 1803 | </Original> |
| 1804 | <Expanded> |
| 1805 | 6 == 6 |
| 1806 | </Expanded> |
| 1807 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1808 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1809 | <Original> |
| 1810 | multiply( j, 2 ) == j*2 |
| 1811 | </Original> |
| 1812 | <Expanded> |
| 1813 | 208 == 208 |
| 1814 | </Expanded> |
| 1815 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1816 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1817 | <Original> |
| 1818 | multiply( i, 2 ) == i*2 |
| 1819 | </Original> |
| 1820 | <Expanded> |
| 1821 | 8 == 8 |
| 1822 | </Expanded> |
| 1823 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1824 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1825 | <Original> |
| 1826 | multiply( j, 2 ) == j*2 |
| 1827 | </Original> |
| 1828 | <Expanded> |
| 1829 | 208 == 208 |
| 1830 | </Expanded> |
| 1831 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1832 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1833 | <Original> |
| 1834 | multiply( i, 2 ) == i*2 |
| 1835 | </Original> |
| 1836 | <Expanded> |
| 1837 | 10 == 10 |
| 1838 | </Expanded> |
| 1839 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1840 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1841 | <Original> |
| 1842 | multiply( j, 2 ) == j*2 |
| 1843 | </Original> |
| 1844 | <Expanded> |
| 1845 | 208 == 208 |
| 1846 | </Expanded> |
| 1847 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1848 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1849 | <Original> |
| 1850 | multiply( i, 2 ) == i*2 |
| 1851 | </Original> |
| 1852 | <Expanded> |
| 1853 | 30 == 30 |
| 1854 | </Expanded> |
| 1855 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1856 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1857 | <Original> |
| 1858 | multiply( j, 2 ) == j*2 |
| 1859 | </Original> |
| 1860 | <Expanded> |
| 1861 | 208 == 208 |
| 1862 | </Expanded> |
| 1863 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1864 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1865 | <Original> |
| 1866 | multiply( i, 2 ) == i*2 |
| 1867 | </Original> |
| 1868 | <Expanded> |
| 1869 | 40 == 40 |
| 1870 | </Expanded> |
| 1871 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1872 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1873 | <Original> |
| 1874 | multiply( j, 2 ) == j*2 |
| 1875 | </Original> |
| 1876 | <Expanded> |
| 1877 | 208 == 208 |
| 1878 | </Expanded> |
| 1879 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1880 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1881 | <Original> |
| 1882 | multiply( i, 2 ) == i*2 |
| 1883 | </Original> |
| 1884 | <Expanded> |
| 1885 | 42 == 42 |
| 1886 | </Expanded> |
| 1887 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1888 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1889 | <Original> |
| 1890 | multiply( j, 2 ) == j*2 |
| 1891 | </Original> |
| 1892 | <Expanded> |
| 1893 | 208 == 208 |
| 1894 | </Expanded> |
| 1895 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1896 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1897 | <Original> |
| 1898 | multiply( i, 2 ) == i*2 |
| 1899 | </Original> |
| 1900 | <Expanded> |
| 1901 | 72 == 72 |
| 1902 | </Expanded> |
| 1903 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1904 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1905 | <Original> |
| 1906 | multiply( j, 2 ) == j*2 |
| 1907 | </Original> |
| 1908 | <Expanded> |
| 1909 | 208 == 208 |
| 1910 | </Expanded> |
| 1911 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1912 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1913 | <Original> |
| 1914 | multiply( i, 2 ) == i*2 |
| 1915 | </Original> |
| 1916 | <Expanded> |
| 1917 | 2 == 2 |
| 1918 | </Expanded> |
| 1919 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1920 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1921 | <Original> |
| 1922 | multiply( j, 2 ) == j*2 |
| 1923 | </Original> |
| 1924 | <Expanded> |
| 1925 | 210 == 210 |
| 1926 | </Expanded> |
| 1927 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1928 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1929 | <Original> |
| 1930 | multiply( i, 2 ) == i*2 |
| 1931 | </Original> |
| 1932 | <Expanded> |
| 1933 | 4 == 4 |
| 1934 | </Expanded> |
| 1935 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1936 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1937 | <Original> |
| 1938 | multiply( j, 2 ) == j*2 |
| 1939 | </Original> |
| 1940 | <Expanded> |
| 1941 | 210 == 210 |
| 1942 | </Expanded> |
| 1943 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1944 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1945 | <Original> |
| 1946 | multiply( i, 2 ) == i*2 |
| 1947 | </Original> |
| 1948 | <Expanded> |
| 1949 | 6 == 6 |
| 1950 | </Expanded> |
| 1951 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1952 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1953 | <Original> |
| 1954 | multiply( j, 2 ) == j*2 |
| 1955 | </Original> |
| 1956 | <Expanded> |
| 1957 | 210 == 210 |
| 1958 | </Expanded> |
| 1959 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1960 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1961 | <Original> |
| 1962 | multiply( i, 2 ) == i*2 |
| 1963 | </Original> |
| 1964 | <Expanded> |
| 1965 | 8 == 8 |
| 1966 | </Expanded> |
| 1967 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1968 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1969 | <Original> |
| 1970 | multiply( j, 2 ) == j*2 |
| 1971 | </Original> |
| 1972 | <Expanded> |
| 1973 | 210 == 210 |
| 1974 | </Expanded> |
| 1975 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1976 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1977 | <Original> |
| 1978 | multiply( i, 2 ) == i*2 |
| 1979 | </Original> |
| 1980 | <Expanded> |
| 1981 | 10 == 10 |
| 1982 | </Expanded> |
| 1983 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1984 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1985 | <Original> |
| 1986 | multiply( j, 2 ) == j*2 |
| 1987 | </Original> |
| 1988 | <Expanded> |
| 1989 | 210 == 210 |
| 1990 | </Expanded> |
| 1991 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 1992 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 1993 | <Original> |
| 1994 | multiply( i, 2 ) == i*2 |
| 1995 | </Original> |
| 1996 | <Expanded> |
| 1997 | 30 == 30 |
| 1998 | </Expanded> |
| 1999 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2000 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2001 | <Original> |
| 2002 | multiply( j, 2 ) == j*2 |
| 2003 | </Original> |
| 2004 | <Expanded> |
| 2005 | 210 == 210 |
| 2006 | </Expanded> |
| 2007 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2008 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2009 | <Original> |
| 2010 | multiply( i, 2 ) == i*2 |
| 2011 | </Original> |
| 2012 | <Expanded> |
| 2013 | 40 == 40 |
| 2014 | </Expanded> |
| 2015 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2016 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2017 | <Original> |
| 2018 | multiply( j, 2 ) == j*2 |
| 2019 | </Original> |
| 2020 | <Expanded> |
| 2021 | 210 == 210 |
| 2022 | </Expanded> |
| 2023 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2024 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2025 | <Original> |
| 2026 | multiply( i, 2 ) == i*2 |
| 2027 | </Original> |
| 2028 | <Expanded> |
| 2029 | 42 == 42 |
| 2030 | </Expanded> |
| 2031 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2032 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2033 | <Original> |
| 2034 | multiply( j, 2 ) == j*2 |
| 2035 | </Original> |
| 2036 | <Expanded> |
| 2037 | 210 == 210 |
| 2038 | </Expanded> |
| 2039 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2040 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2041 | <Original> |
| 2042 | multiply( i, 2 ) == i*2 |
| 2043 | </Original> |
| 2044 | <Expanded> |
| 2045 | 72 == 72 |
| 2046 | </Expanded> |
| 2047 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2048 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2049 | <Original> |
| 2050 | multiply( j, 2 ) == j*2 |
| 2051 | </Original> |
| 2052 | <Expanded> |
| 2053 | 210 == 210 |
| 2054 | </Expanded> |
| 2055 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2056 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2057 | <Original> |
| 2058 | multiply( i, 2 ) == i*2 |
| 2059 | </Original> |
| 2060 | <Expanded> |
| 2061 | 2 == 2 |
| 2062 | </Expanded> |
| 2063 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2064 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2065 | <Original> |
| 2066 | multiply( j, 2 ) == j*2 |
| 2067 | </Original> |
| 2068 | <Expanded> |
| 2069 | 212 == 212 |
| 2070 | </Expanded> |
| 2071 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2072 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2073 | <Original> |
| 2074 | multiply( i, 2 ) == i*2 |
| 2075 | </Original> |
| 2076 | <Expanded> |
| 2077 | 4 == 4 |
| 2078 | </Expanded> |
| 2079 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2080 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2081 | <Original> |
| 2082 | multiply( j, 2 ) == j*2 |
| 2083 | </Original> |
| 2084 | <Expanded> |
| 2085 | 212 == 212 |
| 2086 | </Expanded> |
| 2087 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2088 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2089 | <Original> |
| 2090 | multiply( i, 2 ) == i*2 |
| 2091 | </Original> |
| 2092 | <Expanded> |
| 2093 | 6 == 6 |
| 2094 | </Expanded> |
| 2095 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2096 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2097 | <Original> |
| 2098 | multiply( j, 2 ) == j*2 |
| 2099 | </Original> |
| 2100 | <Expanded> |
| 2101 | 212 == 212 |
| 2102 | </Expanded> |
| 2103 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2104 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2105 | <Original> |
| 2106 | multiply( i, 2 ) == i*2 |
| 2107 | </Original> |
| 2108 | <Expanded> |
| 2109 | 8 == 8 |
| 2110 | </Expanded> |
| 2111 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2112 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2113 | <Original> |
| 2114 | multiply( j, 2 ) == j*2 |
| 2115 | </Original> |
| 2116 | <Expanded> |
| 2117 | 212 == 212 |
| 2118 | </Expanded> |
| 2119 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2120 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2121 | <Original> |
| 2122 | multiply( i, 2 ) == i*2 |
| 2123 | </Original> |
| 2124 | <Expanded> |
| 2125 | 10 == 10 |
| 2126 | </Expanded> |
| 2127 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2128 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2129 | <Original> |
| 2130 | multiply( j, 2 ) == j*2 |
| 2131 | </Original> |
| 2132 | <Expanded> |
| 2133 | 212 == 212 |
| 2134 | </Expanded> |
| 2135 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2136 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2137 | <Original> |
| 2138 | multiply( i, 2 ) == i*2 |
| 2139 | </Original> |
| 2140 | <Expanded> |
| 2141 | 30 == 30 |
| 2142 | </Expanded> |
| 2143 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2144 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2145 | <Original> |
| 2146 | multiply( j, 2 ) == j*2 |
| 2147 | </Original> |
| 2148 | <Expanded> |
| 2149 | 212 == 212 |
| 2150 | </Expanded> |
| 2151 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2152 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2153 | <Original> |
| 2154 | multiply( i, 2 ) == i*2 |
| 2155 | </Original> |
| 2156 | <Expanded> |
| 2157 | 40 == 40 |
| 2158 | </Expanded> |
| 2159 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2160 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2161 | <Original> |
| 2162 | multiply( j, 2 ) == j*2 |
| 2163 | </Original> |
| 2164 | <Expanded> |
| 2165 | 212 == 212 |
| 2166 | </Expanded> |
| 2167 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2168 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2169 | <Original> |
| 2170 | multiply( i, 2 ) == i*2 |
| 2171 | </Original> |
| 2172 | <Expanded> |
| 2173 | 42 == 42 |
| 2174 | </Expanded> |
| 2175 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2176 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2177 | <Original> |
| 2178 | multiply( j, 2 ) == j*2 |
| 2179 | </Original> |
| 2180 | <Expanded> |
| 2181 | 212 == 212 |
| 2182 | </Expanded> |
| 2183 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2184 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2185 | <Original> |
| 2186 | multiply( i, 2 ) == i*2 |
| 2187 | </Original> |
| 2188 | <Expanded> |
| 2189 | 72 == 72 |
| 2190 | </Expanded> |
| 2191 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2192 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2193 | <Original> |
| 2194 | multiply( j, 2 ) == j*2 |
| 2195 | </Original> |
| 2196 | <Expanded> |
| 2197 | 212 == 212 |
| 2198 | </Expanded> |
| 2199 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2200 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2201 | <Original> |
| 2202 | multiply( i, 2 ) == i*2 |
| 2203 | </Original> |
| 2204 | <Expanded> |
| 2205 | 2 == 2 |
| 2206 | </Expanded> |
| 2207 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2208 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2209 | <Original> |
| 2210 | multiply( j, 2 ) == j*2 |
| 2211 | </Original> |
| 2212 | <Expanded> |
| 2213 | 214 == 214 |
| 2214 | </Expanded> |
| 2215 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2216 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2217 | <Original> |
| 2218 | multiply( i, 2 ) == i*2 |
| 2219 | </Original> |
| 2220 | <Expanded> |
| 2221 | 4 == 4 |
| 2222 | </Expanded> |
| 2223 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2224 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2225 | <Original> |
| 2226 | multiply( j, 2 ) == j*2 |
| 2227 | </Original> |
| 2228 | <Expanded> |
| 2229 | 214 == 214 |
| 2230 | </Expanded> |
| 2231 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2232 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2233 | <Original> |
| 2234 | multiply( i, 2 ) == i*2 |
| 2235 | </Original> |
| 2236 | <Expanded> |
| 2237 | 6 == 6 |
| 2238 | </Expanded> |
| 2239 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2240 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2241 | <Original> |
| 2242 | multiply( j, 2 ) == j*2 |
| 2243 | </Original> |
| 2244 | <Expanded> |
| 2245 | 214 == 214 |
| 2246 | </Expanded> |
| 2247 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2248 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2249 | <Original> |
| 2250 | multiply( i, 2 ) == i*2 |
| 2251 | </Original> |
| 2252 | <Expanded> |
| 2253 | 8 == 8 |
| 2254 | </Expanded> |
| 2255 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2256 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2257 | <Original> |
| 2258 | multiply( j, 2 ) == j*2 |
| 2259 | </Original> |
| 2260 | <Expanded> |
| 2261 | 214 == 214 |
| 2262 | </Expanded> |
| 2263 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2264 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2265 | <Original> |
| 2266 | multiply( i, 2 ) == i*2 |
| 2267 | </Original> |
| 2268 | <Expanded> |
| 2269 | 10 == 10 |
| 2270 | </Expanded> |
| 2271 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2272 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2273 | <Original> |
| 2274 | multiply( j, 2 ) == j*2 |
| 2275 | </Original> |
| 2276 | <Expanded> |
| 2277 | 214 == 214 |
| 2278 | </Expanded> |
| 2279 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2280 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2281 | <Original> |
| 2282 | multiply( i, 2 ) == i*2 |
| 2283 | </Original> |
| 2284 | <Expanded> |
| 2285 | 30 == 30 |
| 2286 | </Expanded> |
| 2287 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2288 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2289 | <Original> |
| 2290 | multiply( j, 2 ) == j*2 |
| 2291 | </Original> |
| 2292 | <Expanded> |
| 2293 | 214 == 214 |
| 2294 | </Expanded> |
| 2295 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2296 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2297 | <Original> |
| 2298 | multiply( i, 2 ) == i*2 |
| 2299 | </Original> |
| 2300 | <Expanded> |
| 2301 | 40 == 40 |
| 2302 | </Expanded> |
| 2303 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2304 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2305 | <Original> |
| 2306 | multiply( j, 2 ) == j*2 |
| 2307 | </Original> |
| 2308 | <Expanded> |
| 2309 | 214 == 214 |
| 2310 | </Expanded> |
| 2311 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2312 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2313 | <Original> |
| 2314 | multiply( i, 2 ) == i*2 |
| 2315 | </Original> |
| 2316 | <Expanded> |
| 2317 | 42 == 42 |
| 2318 | </Expanded> |
| 2319 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2320 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2321 | <Original> |
| 2322 | multiply( j, 2 ) == j*2 |
| 2323 | </Original> |
| 2324 | <Expanded> |
| 2325 | 214 == 214 |
| 2326 | </Expanded> |
| 2327 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2328 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2329 | <Original> |
| 2330 | multiply( i, 2 ) == i*2 |
| 2331 | </Original> |
| 2332 | <Expanded> |
| 2333 | 72 == 72 |
| 2334 | </Expanded> |
| 2335 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2336 | <Expression success="true" type="CATCH_REQUIRE" filename="projects/<exe-name>/GeneratorTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2337 | <Original> |
| 2338 | multiply( j, 2 ) == j*2 |
| 2339 | </Original> |
| 2340 | <Expanded> |
| 2341 | 214 == 214 |
| 2342 | </Expanded> |
| 2343 | </Expression> |
| 2344 | <OverallResult success="true"/> |
| 2345 | </TestCase> |
Phil Nash | 0cde0e9 | 2017-01-09 14:40:09 +0000 | [diff] [blame^] | 2346 | <TestCase name="Greater-than inequalities with different epsilons"> |
| 2347 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2348 | <Original> |
| 2349 | d >= Approx( 1.22 ) |
| 2350 | </Original> |
| 2351 | <Expanded> |
| 2352 | 1.23 >= Approx( 1.22 ) |
| 2353 | </Expanded> |
| 2354 | </Expression> |
| 2355 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2356 | <Original> |
| 2357 | d >= Approx( 1.23 ) |
| 2358 | </Original> |
| 2359 | <Expanded> |
| 2360 | 1.23 >= Approx( 1.23 ) |
| 2361 | </Expanded> |
| 2362 | </Expression> |
| 2363 | <Expression success="true" type="REQUIRE_FALSE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2364 | <Original> |
| 2365 | !d >= Approx( 1.24 ) |
| 2366 | </Original> |
| 2367 | <Expanded> |
| 2368 | !(1.23 >= Approx( 1.24 )) |
| 2369 | </Expanded> |
| 2370 | </Expression> |
| 2371 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2372 | <Original> |
| 2373 | d >= Approx( 1.24 ).epsilon(0.1) |
| 2374 | </Original> |
| 2375 | <Expanded> |
| 2376 | 1.23 >= Approx( 1.24 ) |
| 2377 | </Expanded> |
| 2378 | </Expression> |
| 2379 | <OverallResult success="true"/> |
| 2380 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2381 | <TestCase name="INFO and WARN do not abort tests"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2382 | <Info> |
| 2383 | this is a message |
| 2384 | </Info> |
| 2385 | <Warning> |
| 2386 | this is a warning |
| 2387 | </Warning> |
Phil Nash | 471bd25 | 2015-11-03 07:33:43 +0000 | [diff] [blame] | 2388 | <OverallResult success="true"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2389 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2390 | <TestCase name="INFO gets logged on failure"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2391 | <Info> |
| 2392 | this message should be logged |
| 2393 | </Info> |
| 2394 | <Info> |
| 2395 | so should this |
| 2396 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2397 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2398 | <Original> |
| 2399 | a == 1 |
| 2400 | </Original> |
| 2401 | <Expanded> |
| 2402 | 2 == 1 |
| 2403 | </Expanded> |
| 2404 | </Expression> |
| 2405 | <OverallResult success="false"/> |
| 2406 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2407 | <TestCase name="INFO gets logged on failure, even if captured before successful assertions"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2408 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2409 | <Original> |
| 2410 | a == 2 |
| 2411 | </Original> |
| 2412 | <Expanded> |
| 2413 | 2 == 2 |
| 2414 | </Expanded> |
| 2415 | </Expression> |
| 2416 | <Info> |
| 2417 | this message should be logged |
| 2418 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2419 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2420 | <Original> |
| 2421 | a == 1 |
| 2422 | </Original> |
| 2423 | <Expanded> |
| 2424 | 2 == 1 |
| 2425 | </Expanded> |
| 2426 | </Expression> |
| 2427 | <Info> |
| 2428 | and this, but later |
| 2429 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2430 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2431 | <Original> |
| 2432 | a == 0 |
| 2433 | </Original> |
| 2434 | <Expanded> |
| 2435 | 2 == 0 |
| 2436 | </Expanded> |
| 2437 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2438 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2439 | <Original> |
| 2440 | a == 2 |
| 2441 | </Original> |
| 2442 | <Expanded> |
| 2443 | 2 == 2 |
| 2444 | </Expanded> |
| 2445 | </Expression> |
| 2446 | <OverallResult success="false"/> |
| 2447 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2448 | <TestCase name="Inequality checks that should fail"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2449 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2450 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2451 | data.int_seven != 7 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2452 | </Original> |
| 2453 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2454 | 7 != 7 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2455 | </Expanded> |
| 2456 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2457 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2458 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2459 | data.float_nine_point_one != Approx( 9.1f ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2460 | </Original> |
| 2461 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2462 | 9.1f != Approx( 9.1000003815 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2463 | </Expanded> |
| 2464 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2465 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2466 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2467 | data.double_pi != Approx( 3.1415926535 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2468 | </Original> |
| 2469 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2470 | 3.1415926535 != Approx( 3.1415926535 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2471 | </Expanded> |
| 2472 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2473 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2474 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2475 | data.str_hello != "hello" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2476 | </Original> |
| 2477 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2478 | "hello" != "hello" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2479 | </Expanded> |
| 2480 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2481 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2482 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2483 | data.str_hello.size() != 5 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2484 | </Original> |
| 2485 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2486 | 5 != 5 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2487 | </Expanded> |
| 2488 | </Expression> |
Phil Nash | 471bd25 | 2015-11-03 07:33:43 +0000 | [diff] [blame] | 2489 | <OverallResult success="true"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2490 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2491 | <TestCase name="Inequality checks that should succeed"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2492 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2493 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2494 | data.int_seven != 6 |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2495 | </Original> |
| 2496 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2497 | 7 != 6 |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 2498 | </Expanded> |
| 2499 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2500 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2501 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2502 | data.int_seven != 8 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2503 | </Original> |
| 2504 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2505 | 7 != 8 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2506 | </Expanded> |
| 2507 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2508 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2509 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2510 | data.float_nine_point_one != Approx( 9.11f ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2511 | </Original> |
| 2512 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2513 | 9.1f != Approx( 9.1099996567 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2514 | </Expanded> |
| 2515 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2516 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2517 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2518 | data.float_nine_point_one != Approx( 9.0f ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2519 | </Original> |
| 2520 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2521 | 9.1f != Approx( 9.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2522 | </Expanded> |
| 2523 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2524 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2525 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2526 | data.float_nine_point_one != Approx( 1 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2527 | </Original> |
| 2528 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2529 | 9.1f != Approx( 1.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2530 | </Expanded> |
| 2531 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2532 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2533 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2534 | data.float_nine_point_one != Approx( 0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2535 | </Original> |
| 2536 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2537 | 9.1f != Approx( 0.0 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2538 | </Expanded> |
| 2539 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2540 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2541 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2542 | data.double_pi != Approx( 3.1415 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2543 | </Original> |
| 2544 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2545 | 3.1415926535 != Approx( 3.1415 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2546 | </Expanded> |
| 2547 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2548 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2549 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2550 | data.str_hello != "goodbye" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2551 | </Original> |
| 2552 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2553 | "hello" != "goodbye" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2554 | </Expanded> |
| 2555 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2556 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2557 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2558 | data.str_hello != "hell" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2559 | </Original> |
| 2560 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2561 | "hello" != "hell" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2562 | </Expanded> |
| 2563 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2564 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2565 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2566 | data.str_hello != "hello1" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2567 | </Original> |
| 2568 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2569 | "hello" != "hello1" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2570 | </Expanded> |
| 2571 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2572 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2573 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2574 | data.str_hello.size() != 6 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2575 | </Original> |
| 2576 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 2577 | 5 != 6 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2578 | </Expanded> |
| 2579 | </Expression> |
| 2580 | <OverallResult success="true"/> |
| 2581 | </TestCase> |
Phil Nash | 0cde0e9 | 2017-01-09 14:40:09 +0000 | [diff] [blame^] | 2582 | <TestCase name="Less-than inequalities with different epsilons"> |
| 2583 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2584 | <Original> |
| 2585 | d <= Approx( 1.24 ) |
| 2586 | </Original> |
| 2587 | <Expanded> |
| 2588 | 1.23 <= Approx( 1.24 ) |
| 2589 | </Expanded> |
| 2590 | </Expression> |
| 2591 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2592 | <Original> |
| 2593 | d <= Approx( 1.23 ) |
| 2594 | </Original> |
| 2595 | <Expanded> |
| 2596 | 1.23 <= Approx( 1.23 ) |
| 2597 | </Expanded> |
| 2598 | </Expression> |
| 2599 | <Expression success="true" type="REQUIRE_FALSE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2600 | <Original> |
| 2601 | !d <= Approx( 1.22 ) |
| 2602 | </Original> |
| 2603 | <Expanded> |
| 2604 | !(1.23 <= Approx( 1.22 )) |
| 2605 | </Expanded> |
| 2606 | </Expression> |
| 2607 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
| 2608 | <Original> |
| 2609 | d <= Approx( 1.22 ).epsilon(0.1) |
| 2610 | </Original> |
| 2611 | <Expanded> |
| 2612 | 1.23 <= Approx( 1.22 ) |
| 2613 | </Expanded> |
| 2614 | </Expression> |
| 2615 | <OverallResult success="true"/> |
| 2616 | </TestCase> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2617 | <TestCase name="Long strings can be wrapped"> |
| 2618 | <Section name="plain string"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2619 | <Section name="No wrapping"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2620 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2621 | <Original> |
| 2622 | Text( testString, TextAttributes().setWidth( 80 ) ).toString() == testString |
| 2623 | </Original> |
| 2624 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2625 | "one two three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2626 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2627 | "one two three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2628 | </Expanded> |
| 2629 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2630 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2631 | <Original> |
| 2632 | Text( testString, TextAttributes().setWidth( 18 ) ).toString() == testString |
| 2633 | </Original> |
| 2634 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2635 | "one two three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2636 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2637 | "one two three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2638 | </Expanded> |
| 2639 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2640 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2641 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2642 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2643 | </Section> |
| 2644 | <Section name="plain string"> |
| 2645 | <Section name="Wrapped once"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2646 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2647 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2648 | Text( testString, TextAttributes().setWidth( 17 ) ).toString() == "one two three\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2649 | </Original> |
| 2650 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2651 | "one two three |
| 2652 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2653 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2654 | "one two three |
| 2655 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2656 | </Expanded> |
| 2657 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2658 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2659 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2660 | Text( testString, TextAttributes().setWidth( 16 ) ).toString() == "one two three\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2661 | </Original> |
| 2662 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2663 | "one two three |
| 2664 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2665 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2666 | "one two three |
| 2667 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2668 | </Expanded> |
| 2669 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2670 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2671 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2672 | Text( testString, TextAttributes().setWidth( 14 ) ).toString() == "one two three\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2673 | </Original> |
| 2674 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2675 | "one two three |
| 2676 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2677 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2678 | "one two three |
| 2679 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2680 | </Expanded> |
| 2681 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2682 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2683 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2684 | Text( testString, TextAttributes().setWidth( 13 ) ).toString() == "one two three\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2685 | </Original> |
| 2686 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2687 | "one two three |
| 2688 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2689 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2690 | "one two three |
| 2691 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2692 | </Expanded> |
| 2693 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2694 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2695 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2696 | Text( testString, TextAttributes().setWidth( 12 ) ).toString() == "one two\nthree four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2697 | </Original> |
| 2698 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2699 | "one two |
| 2700 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2701 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2702 | "one two |
| 2703 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2704 | </Expanded> |
| 2705 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2706 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2707 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2708 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2709 | </Section> |
| 2710 | <Section name="plain string"> |
| 2711 | <Section name="Wrapped twice"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2712 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2713 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2714 | Text( testString, TextAttributes().setWidth( 9 ) ).toString() == "one two\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2715 | </Original> |
| 2716 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2717 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2718 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2719 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2720 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2721 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2722 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2723 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2724 | </Expanded> |
| 2725 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2726 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2727 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2728 | Text( testString, TextAttributes().setWidth( 8 ) ).toString() == "one two\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2729 | </Original> |
| 2730 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2731 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2732 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2733 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2734 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2735 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2736 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2737 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2738 | </Expanded> |
| 2739 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2740 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2741 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2742 | Text( testString, TextAttributes().setWidth( 7 ) ).toString() == "one two\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2743 | </Original> |
| 2744 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2745 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2746 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2747 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2748 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2749 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2750 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2751 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2752 | </Expanded> |
| 2753 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2754 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2755 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2756 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2757 | </Section> |
| 2758 | <Section name="plain string"> |
| 2759 | <Section name="Wrapped three times"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2760 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2761 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2762 | Text( testString, TextAttributes().setWidth( 6 ) ).toString() == "one\ntwo\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2763 | </Original> |
| 2764 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2765 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2766 | two |
| 2767 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2768 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2769 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2770 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2771 | two |
| 2772 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2773 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2774 | </Expanded> |
| 2775 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2776 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2777 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2778 | Text( testString, TextAttributes().setWidth( 5 ) ).toString() == "one\ntwo\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2779 | </Original> |
| 2780 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2781 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2782 | two |
| 2783 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2784 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2785 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2786 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2787 | two |
| 2788 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2789 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2790 | </Expanded> |
| 2791 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2792 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2793 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2794 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2795 | </Section> |
| 2796 | <Section name="plain string"> |
| 2797 | <Section name="Short wrap"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2798 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2799 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2800 | Text( "abcdef", TextAttributes().setWidth( 4 ) ).toString() == "abc-\ndef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2801 | </Original> |
| 2802 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2803 | "abc- |
| 2804 | def" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2805 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2806 | "abc- |
| 2807 | def" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2808 | </Expanded> |
| 2809 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2810 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2811 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2812 | Text( "abcdefg", TextAttributes().setWidth( 4 ) ).toString() == "abc-\ndefg" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2813 | </Original> |
| 2814 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2815 | "abc- |
| 2816 | defg" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2817 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2818 | "abc- |
| 2819 | defg" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2820 | </Expanded> |
| 2821 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2822 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2823 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2824 | Text( "abcdefgh", TextAttributes().setWidth( 4 ) ).toString() == "abc-\ndef-\ngh" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2825 | </Original> |
| 2826 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2827 | "abc- |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2828 | def- |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2829 | gh" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2830 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2831 | "abc- |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2832 | def- |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2833 | gh" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2834 | </Expanded> |
| 2835 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2836 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2837 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2838 | Text( testString, TextAttributes().setWidth( 4 ) ).toString() == "one\ntwo\nthr-\nee\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2839 | </Original> |
| 2840 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2841 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2842 | two |
| 2843 | thr- |
| 2844 | ee |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2845 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2846 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2847 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2848 | two |
| 2849 | thr- |
| 2850 | ee |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2851 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2852 | </Expanded> |
| 2853 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2854 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2855 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2856 | Text( testString, TextAttributes().setWidth( 3 ) ).toString() == "one\ntwo\nth-\nree\nfo-\nur" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2857 | </Original> |
| 2858 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2859 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2860 | two |
| 2861 | th- |
| 2862 | ree |
| 2863 | fo- |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2864 | ur" |
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 |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2867 | two |
| 2868 | th- |
| 2869 | ree |
| 2870 | fo- |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2871 | ur" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2872 | </Expanded> |
| 2873 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2874 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2875 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2876 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2877 | </Section> |
| 2878 | <Section name="plain string"> |
| 2879 | <Section name="As container"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2880 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2881 | <Original> |
| 2882 | text.size() == 4 |
| 2883 | </Original> |
| 2884 | <Expanded> |
| 2885 | 4 == 4 |
| 2886 | </Expanded> |
| 2887 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2888 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2889 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2890 | text[0] == "one" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2891 | </Original> |
| 2892 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2893 | "one" == "one" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2894 | </Expanded> |
| 2895 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2896 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2897 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2898 | text[1] == "two" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2899 | </Original> |
| 2900 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2901 | "two" == "two" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2902 | </Expanded> |
| 2903 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2904 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2905 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2906 | text[2] == "three" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2907 | </Original> |
| 2908 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2909 | "three" == "three" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2910 | </Expanded> |
| 2911 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2912 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2913 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2914 | text[3] == "four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2915 | </Original> |
| 2916 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2917 | "four" == "four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2918 | </Expanded> |
| 2919 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2920 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2921 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2922 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2923 | </Section> |
| 2924 | <Section name="plain string"> |
| 2925 | <Section name="Indent first line differently"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2926 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2927 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2928 | text.toString() == " one two\n three\n four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2929 | </Original> |
| 2930 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2931 | " one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2932 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2933 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2934 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2935 | " one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2936 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2937 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2938 | </Expanded> |
| 2939 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2940 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2941 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2942 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2943 | </Section> |
| 2944 | <Section name="With newlines"> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2945 | <Section name="No wrapping"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2946 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2947 | <Original> |
| 2948 | Text( testString, TextAttributes().setWidth( 80 ) ).toString() == testString |
| 2949 | </Original> |
| 2950 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2951 | "one two |
| 2952 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2953 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2954 | "one two |
| 2955 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2956 | </Expanded> |
| 2957 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2958 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2959 | <Original> |
| 2960 | Text( testString, TextAttributes().setWidth( 18 ) ).toString() == testString |
| 2961 | </Original> |
| 2962 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2963 | "one two |
| 2964 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2965 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2966 | "one two |
| 2967 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2968 | </Expanded> |
| 2969 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2970 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2971 | <Original> |
| 2972 | Text( testString, TextAttributes().setWidth( 10 ) ).toString() == testString |
| 2973 | </Original> |
| 2974 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2975 | "one two |
| 2976 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2977 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2978 | "one two |
| 2979 | three four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2980 | </Expanded> |
| 2981 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2982 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2983 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 2984 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2985 | </Section> |
| 2986 | <Section name="With newlines"> |
| 2987 | <Section name="Trailing newline"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2988 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2989 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2990 | Text( "abcdef\n", TextAttributes().setWidth( 10 ) ).toString() == "abcdef\n" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2991 | </Original> |
| 2992 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2993 | "abcdef |
| 2994 | " |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2995 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2996 | "abcdef |
| 2997 | " |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2998 | </Expanded> |
| 2999 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3000 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3001 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3002 | Text( "abcdef", TextAttributes().setWidth( 6 ) ).toString() == "abcdef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3003 | </Original> |
| 3004 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3005 | "abcdef" == "abcdef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3006 | </Expanded> |
| 3007 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3008 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3009 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3010 | Text( "abcdef\n", TextAttributes().setWidth( 6 ) ).toString() == "abcdef\n" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3011 | </Original> |
| 3012 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3013 | "abcdef |
| 3014 | " |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3015 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3016 | "abcdef |
| 3017 | " |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3018 | </Expanded> |
| 3019 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3020 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3021 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3022 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3023 | </Section> |
| 3024 | <Section name="With newlines"> |
| 3025 | <Section name="Wrapped once"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3026 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3027 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3028 | Text( testString, TextAttributes().setWidth( 9 ) ).toString() == "one two\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3029 | </Original> |
| 3030 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3031 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3032 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3033 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3034 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3035 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3036 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3037 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3038 | </Expanded> |
| 3039 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3040 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3041 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3042 | Text( testString, TextAttributes().setWidth( 8 ) ).toString() == "one two\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3043 | </Original> |
| 3044 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3045 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3046 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3047 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3048 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3049 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3050 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3051 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3052 | </Expanded> |
| 3053 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3054 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3055 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3056 | Text( testString, TextAttributes().setWidth( 7 ) ).toString() == "one two\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3057 | </Original> |
| 3058 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3059 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3060 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3061 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3062 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3063 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3064 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3065 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3066 | </Expanded> |
| 3067 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3068 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3069 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3070 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3071 | </Section> |
| 3072 | <Section name="With newlines"> |
| 3073 | <Section name="Wrapped twice"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3074 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3075 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3076 | Text( testString, TextAttributes().setWidth( 6 ) ).toString() == "one\ntwo\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3077 | </Original> |
| 3078 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3079 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3080 | two |
| 3081 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3082 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3083 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3084 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3085 | two |
| 3086 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3087 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3088 | </Expanded> |
| 3089 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3090 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3091 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3092 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3093 | </Section> |
| 3094 | <Section name="With tabs"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3095 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3096 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3097 | Text( testString, TextAttributes().setWidth( 15 ) ).toString() == "one two three\n four\n five\n six" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3098 | </Original> |
| 3099 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3100 | "one two three |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3101 | four |
| 3102 | five |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3103 | six" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3104 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3105 | "one two three |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3106 | four |
| 3107 | five |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3108 | six" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3109 | </Expanded> |
| 3110 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3111 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3112 | </Section> |
| 3113 | <OverallResult success="true"/> |
| 3114 | </TestCase> |
Phil Nash | 93a945c | 2013-10-23 15:35:07 +0100 | [diff] [blame] | 3115 | <TestCase name="Long text is truncted"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3116 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 93a945c | 2013-10-23 15:35:07 +0100 | [diff] [blame] | 3117 | <Original> |
Phil Nash | 5262e61 | 2015-12-10 18:43:29 +0000 | [diff] [blame] | 3118 | t.toString(), EndsWith( "... message truncated due to excessive size" ) |
Phil Nash | 93a945c | 2013-10-23 15:35:07 +0100 | [diff] [blame] | 3119 | </Original> |
| 3120 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3121 | "******************************************************************************- |
Phil Nash | 93a945c | 2013-10-23 15:35:07 +0100 | [diff] [blame] | 3122 | ******************************************************************************- |
| 3123 | ************************ |
| 3124 | ******************************************************************************- |
| 3125 | ******************************************************************************- |
| 3126 | ************************ |
| 3127 | ******************************************************************************- |
| 3128 | ******************************************************************************- |
| 3129 | ************************ |
| 3130 | ******************************************************************************- |
| 3131 | ******************************************************************************- |
| 3132 | ************************ |
| 3133 | ******************************************************************************- |
| 3134 | ******************************************************************************- |
| 3135 | ************************ |
| 3136 | ******************************************************************************- |
| 3137 | ******************************************************************************- |
| 3138 | ************************ |
| 3139 | ******************************************************************************- |
| 3140 | ******************************************************************************- |
| 3141 | ************************ |
| 3142 | ******************************************************************************- |
| 3143 | ******************************************************************************- |
| 3144 | ************************ |
| 3145 | ******************************************************************************- |
| 3146 | ******************************************************************************- |
| 3147 | ************************ |
| 3148 | ******************************************************************************- |
| 3149 | ******************************************************************************- |
| 3150 | ************************ |
| 3151 | ******************************************************************************- |
| 3152 | ******************************************************************************- |
| 3153 | ************************ |
| 3154 | ******************************************************************************- |
| 3155 | ******************************************************************************- |
| 3156 | ************************ |
| 3157 | ******************************************************************************- |
| 3158 | ******************************************************************************- |
| 3159 | ************************ |
| 3160 | ******************************************************************************- |
| 3161 | ******************************************************************************- |
| 3162 | ************************ |
| 3163 | ******************************************************************************- |
| 3164 | ******************************************************************************- |
| 3165 | ************************ |
| 3166 | ******************************************************************************- |
| 3167 | ******************************************************************************- |
| 3168 | ************************ |
| 3169 | ******************************************************************************- |
| 3170 | ******************************************************************************- |
| 3171 | ************************ |
| 3172 | ******************************************************************************- |
| 3173 | ******************************************************************************- |
| 3174 | ************************ |
| 3175 | ******************************************************************************- |
| 3176 | ******************************************************************************- |
| 3177 | ************************ |
| 3178 | ******************************************************************************- |
| 3179 | ******************************************************************************- |
| 3180 | ************************ |
| 3181 | ******************************************************************************- |
| 3182 | ******************************************************************************- |
| 3183 | ************************ |
| 3184 | ******************************************************************************- |
| 3185 | ******************************************************************************- |
| 3186 | ************************ |
| 3187 | ******************************************************************************- |
| 3188 | ******************************************************************************- |
| 3189 | ************************ |
| 3190 | ******************************************************************************- |
| 3191 | ******************************************************************************- |
| 3192 | ************************ |
| 3193 | ******************************************************************************- |
| 3194 | ******************************************************************************- |
| 3195 | ************************ |
| 3196 | ******************************************************************************- |
| 3197 | ******************************************************************************- |
| 3198 | ************************ |
| 3199 | ******************************************************************************- |
| 3200 | ******************************************************************************- |
| 3201 | ************************ |
| 3202 | ******************************************************************************- |
| 3203 | ******************************************************************************- |
| 3204 | ************************ |
| 3205 | ******************************************************************************- |
| 3206 | ******************************************************************************- |
| 3207 | ************************ |
| 3208 | ******************************************************************************- |
| 3209 | ******************************************************************************- |
| 3210 | ************************ |
| 3211 | ******************************************************************************- |
| 3212 | ******************************************************************************- |
| 3213 | ************************ |
| 3214 | ******************************************************************************- |
| 3215 | ******************************************************************************- |
| 3216 | ************************ |
| 3217 | ******************************************************************************- |
| 3218 | ******************************************************************************- |
| 3219 | ************************ |
| 3220 | ******************************************************************************- |
| 3221 | ******************************************************************************- |
| 3222 | ************************ |
| 3223 | ******************************************************************************- |
| 3224 | ******************************************************************************- |
| 3225 | ************************ |
| 3226 | ******************************************************************************- |
| 3227 | ******************************************************************************- |
| 3228 | ************************ |
| 3229 | ******************************************************************************- |
| 3230 | ******************************************************************************- |
| 3231 | ************************ |
| 3232 | ******************************************************************************- |
| 3233 | ******************************************************************************- |
| 3234 | ************************ |
| 3235 | ******************************************************************************- |
| 3236 | ******************************************************************************- |
| 3237 | ************************ |
| 3238 | ******************************************************************************- |
| 3239 | ******************************************************************************- |
| 3240 | ************************ |
| 3241 | ******************************************************************************- |
| 3242 | ******************************************************************************- |
| 3243 | ************************ |
| 3244 | ******************************************************************************- |
| 3245 | ******************************************************************************- |
| 3246 | ************************ |
| 3247 | ******************************************************************************- |
| 3248 | ******************************************************************************- |
| 3249 | ************************ |
| 3250 | ******************************************************************************- |
| 3251 | ******************************************************************************- |
| 3252 | ************************ |
| 3253 | ******************************************************************************- |
| 3254 | ******************************************************************************- |
| 3255 | ************************ |
| 3256 | ******************************************************************************- |
| 3257 | ******************************************************************************- |
| 3258 | ************************ |
| 3259 | ******************************************************************************- |
| 3260 | ******************************************************************************- |
| 3261 | ************************ |
| 3262 | ******************************************************************************- |
| 3263 | ******************************************************************************- |
| 3264 | ************************ |
| 3265 | ******************************************************************************- |
| 3266 | ******************************************************************************- |
| 3267 | ************************ |
| 3268 | ******************************************************************************- |
| 3269 | ******************************************************************************- |
| 3270 | ************************ |
| 3271 | ******************************************************************************- |
| 3272 | ******************************************************************************- |
| 3273 | ************************ |
| 3274 | ******************************************************************************- |
| 3275 | ******************************************************************************- |
| 3276 | ************************ |
| 3277 | ******************************************************************************- |
| 3278 | ******************************************************************************- |
| 3279 | ************************ |
| 3280 | ******************************************************************************- |
| 3281 | ******************************************************************************- |
| 3282 | ************************ |
| 3283 | ******************************************************************************- |
| 3284 | ******************************************************************************- |
| 3285 | ************************ |
| 3286 | ******************************************************************************- |
| 3287 | ******************************************************************************- |
| 3288 | ************************ |
| 3289 | ******************************************************************************- |
| 3290 | ******************************************************************************- |
| 3291 | ************************ |
| 3292 | ******************************************************************************- |
| 3293 | ******************************************************************************- |
| 3294 | ************************ |
| 3295 | ******************************************************************************- |
| 3296 | ******************************************************************************- |
| 3297 | ************************ |
| 3298 | ******************************************************************************- |
| 3299 | ******************************************************************************- |
| 3300 | ************************ |
| 3301 | ******************************************************************************- |
| 3302 | ******************************************************************************- |
| 3303 | ************************ |
| 3304 | ******************************************************************************- |
| 3305 | ******************************************************************************- |
| 3306 | ************************ |
| 3307 | ******************************************************************************- |
| 3308 | ******************************************************************************- |
| 3309 | ************************ |
| 3310 | ******************************************************************************- |
| 3311 | ******************************************************************************- |
| 3312 | ************************ |
| 3313 | ******************************************************************************- |
| 3314 | ******************************************************************************- |
| 3315 | ************************ |
| 3316 | ******************************************************************************- |
| 3317 | ******************************************************************************- |
| 3318 | ************************ |
| 3319 | ******************************************************************************- |
| 3320 | ******************************************************************************- |
| 3321 | ************************ |
| 3322 | ******************************************************************************- |
| 3323 | ******************************************************************************- |
| 3324 | ************************ |
| 3325 | ******************************************************************************- |
| 3326 | ******************************************************************************- |
| 3327 | ************************ |
| 3328 | ******************************************************************************- |
| 3329 | ******************************************************************************- |
| 3330 | ************************ |
| 3331 | ******************************************************************************- |
| 3332 | ******************************************************************************- |
| 3333 | ************************ |
| 3334 | ******************************************************************************- |
| 3335 | ******************************************************************************- |
| 3336 | ************************ |
| 3337 | ******************************************************************************- |
| 3338 | ******************************************************************************- |
| 3339 | ************************ |
| 3340 | ******************************************************************************- |
| 3341 | ******************************************************************************- |
| 3342 | ************************ |
| 3343 | ******************************************************************************- |
| 3344 | ******************************************************************************- |
| 3345 | ************************ |
| 3346 | ******************************************************************************- |
| 3347 | ******************************************************************************- |
| 3348 | ************************ |
| 3349 | ******************************************************************************- |
| 3350 | ******************************************************************************- |
| 3351 | ************************ |
| 3352 | ******************************************************************************- |
| 3353 | ******************************************************************************- |
| 3354 | ************************ |
| 3355 | ******************************************************************************- |
| 3356 | ******************************************************************************- |
| 3357 | ************************ |
| 3358 | ******************************************************************************- |
| 3359 | ******************************************************************************- |
| 3360 | ************************ |
| 3361 | ******************************************************************************- |
| 3362 | ******************************************************************************- |
| 3363 | ************************ |
| 3364 | ******************************************************************************- |
| 3365 | ******************************************************************************- |
| 3366 | ************************ |
| 3367 | ******************************************************************************- |
| 3368 | ******************************************************************************- |
| 3369 | ************************ |
| 3370 | ******************************************************************************- |
| 3371 | ******************************************************************************- |
| 3372 | ************************ |
| 3373 | ******************************************************************************- |
| 3374 | ******************************************************************************- |
| 3375 | ************************ |
| 3376 | ******************************************************************************- |
| 3377 | ******************************************************************************- |
| 3378 | ************************ |
| 3379 | ******************************************************************************- |
| 3380 | ******************************************************************************- |
| 3381 | ************************ |
| 3382 | ******************************************************************************- |
| 3383 | ******************************************************************************- |
| 3384 | ************************ |
| 3385 | ******************************************************************************- |
| 3386 | ******************************************************************************- |
| 3387 | ************************ |
| 3388 | ******************************************************************************- |
| 3389 | ******************************************************************************- |
| 3390 | ************************ |
| 3391 | ******************************************************************************- |
| 3392 | ******************************************************************************- |
| 3393 | ************************ |
| 3394 | ******************************************************************************- |
| 3395 | ******************************************************************************- |
| 3396 | ************************ |
| 3397 | ******************************************************************************- |
| 3398 | ******************************************************************************- |
| 3399 | ************************ |
| 3400 | ******************************************************************************- |
| 3401 | ******************************************************************************- |
| 3402 | ************************ |
| 3403 | ******************************************************************************- |
| 3404 | ******************************************************************************- |
| 3405 | ************************ |
| 3406 | ******************************************************************************- |
| 3407 | ******************************************************************************- |
| 3408 | ************************ |
| 3409 | ******************************************************************************- |
| 3410 | ******************************************************************************- |
| 3411 | ************************ |
| 3412 | ******************************************************************************- |
| 3413 | ******************************************************************************- |
| 3414 | ************************ |
| 3415 | ******************************************************************************- |
| 3416 | ******************************************************************************- |
| 3417 | ************************ |
| 3418 | ******************************************************************************- |
| 3419 | ******************************************************************************- |
| 3420 | ************************ |
| 3421 | ******************************************************************************- |
| 3422 | ******************************************************************************- |
| 3423 | ************************ |
| 3424 | ******************************************************************************- |
| 3425 | ******************************************************************************- |
| 3426 | ************************ |
| 3427 | ******************************************************************************- |
| 3428 | ******************************************************************************- |
| 3429 | ************************ |
| 3430 | ******************************************************************************- |
| 3431 | ******************************************************************************- |
| 3432 | ************************ |
| 3433 | ******************************************************************************- |
| 3434 | ******************************************************************************- |
| 3435 | ************************ |
| 3436 | ******************************************************************************- |
| 3437 | ******************************************************************************- |
| 3438 | ************************ |
| 3439 | ******************************************************************************- |
| 3440 | ******************************************************************************- |
| 3441 | ************************ |
| 3442 | ******************************************************************************- |
| 3443 | ******************************************************************************- |
| 3444 | ************************ |
| 3445 | ******************************************************************************- |
| 3446 | ******************************************************************************- |
| 3447 | ************************ |
| 3448 | ******************************************************************************- |
| 3449 | ******************************************************************************- |
| 3450 | ************************ |
| 3451 | ******************************************************************************- |
| 3452 | ******************************************************************************- |
| 3453 | ************************ |
| 3454 | ******************************************************************************- |
| 3455 | ******************************************************************************- |
| 3456 | ************************ |
| 3457 | ******************************************************************************- |
| 3458 | ******************************************************************************- |
| 3459 | ************************ |
| 3460 | ******************************************************************************- |
| 3461 | ******************************************************************************- |
| 3462 | ************************ |
| 3463 | ******************************************************************************- |
| 3464 | ******************************************************************************- |
| 3465 | ************************ |
| 3466 | ******************************************************************************- |
| 3467 | ******************************************************************************- |
| 3468 | ************************ |
| 3469 | ******************************************************************************- |
| 3470 | ******************************************************************************- |
| 3471 | ************************ |
| 3472 | ******************************************************************************- |
| 3473 | ******************************************************************************- |
| 3474 | ************************ |
| 3475 | ******************************************************************************- |
| 3476 | ******************************************************************************- |
| 3477 | ************************ |
| 3478 | ******************************************************************************- |
| 3479 | ******************************************************************************- |
| 3480 | ************************ |
| 3481 | ******************************************************************************- |
| 3482 | ******************************************************************************- |
| 3483 | ************************ |
| 3484 | ******************************************************************************- |
| 3485 | ******************************************************************************- |
| 3486 | ************************ |
| 3487 | ******************************************************************************- |
| 3488 | ******************************************************************************- |
| 3489 | ************************ |
| 3490 | ******************************************************************************- |
| 3491 | ******************************************************************************- |
| 3492 | ************************ |
| 3493 | ******************************************************************************- |
| 3494 | ******************************************************************************- |
| 3495 | ************************ |
| 3496 | ******************************************************************************- |
| 3497 | ******************************************************************************- |
| 3498 | ************************ |
| 3499 | ******************************************************************************- |
| 3500 | ******************************************************************************- |
| 3501 | ************************ |
| 3502 | ******************************************************************************- |
| 3503 | ******************************************************************************- |
| 3504 | ************************ |
| 3505 | ******************************************************************************- |
| 3506 | ******************************************************************************- |
| 3507 | ************************ |
| 3508 | ******************************************************************************- |
| 3509 | ******************************************************************************- |
| 3510 | ************************ |
| 3511 | ******************************************************************************- |
| 3512 | ******************************************************************************- |
| 3513 | ************************ |
| 3514 | ******************************************************************************- |
| 3515 | ******************************************************************************- |
| 3516 | ************************ |
| 3517 | ******************************************************************************- |
| 3518 | ******************************************************************************- |
| 3519 | ************************ |
| 3520 | ******************************************************************************- |
| 3521 | ******************************************************************************- |
| 3522 | ************************ |
| 3523 | ******************************************************************************- |
| 3524 | ******************************************************************************- |
| 3525 | ************************ |
| 3526 | ******************************************************************************- |
| 3527 | ******************************************************************************- |
| 3528 | ************************ |
| 3529 | ******************************************************************************- |
| 3530 | ******************************************************************************- |
| 3531 | ************************ |
| 3532 | ******************************************************************************- |
| 3533 | ******************************************************************************- |
| 3534 | ************************ |
| 3535 | ******************************************************************************- |
| 3536 | ******************************************************************************- |
| 3537 | ************************ |
| 3538 | ******************************************************************************- |
| 3539 | ******************************************************************************- |
| 3540 | ************************ |
| 3541 | ******************************************************************************- |
| 3542 | ******************************************************************************- |
| 3543 | ************************ |
| 3544 | ******************************************************************************- |
| 3545 | ******************************************************************************- |
| 3546 | ************************ |
| 3547 | ******************************************************************************- |
| 3548 | ******************************************************************************- |
| 3549 | ************************ |
| 3550 | ******************************************************************************- |
| 3551 | ******************************************************************************- |
| 3552 | ************************ |
| 3553 | ******************************************************************************- |
| 3554 | ******************************************************************************- |
| 3555 | ************************ |
| 3556 | ******************************************************************************- |
| 3557 | ******************************************************************************- |
| 3558 | ************************ |
| 3559 | ******************************************************************************- |
| 3560 | ******************************************************************************- |
| 3561 | ************************ |
| 3562 | ******************************************************************************- |
| 3563 | ******************************************************************************- |
| 3564 | ************************ |
| 3565 | ******************************************************************************- |
| 3566 | ******************************************************************************- |
| 3567 | ************************ |
| 3568 | ******************************************************************************- |
| 3569 | ******************************************************************************- |
| 3570 | ************************ |
| 3571 | ******************************************************************************- |
| 3572 | ******************************************************************************- |
| 3573 | ************************ |
| 3574 | ******************************************************************************- |
| 3575 | ******************************************************************************- |
| 3576 | ************************ |
| 3577 | ******************************************************************************- |
| 3578 | ******************************************************************************- |
| 3579 | ************************ |
| 3580 | ******************************************************************************- |
| 3581 | ******************************************************************************- |
| 3582 | ************************ |
| 3583 | ******************************************************************************- |
| 3584 | ******************************************************************************- |
| 3585 | ************************ |
| 3586 | ******************************************************************************- |
| 3587 | ******************************************************************************- |
| 3588 | ************************ |
| 3589 | ******************************************************************************- |
| 3590 | ******************************************************************************- |
| 3591 | ************************ |
| 3592 | ******************************************************************************- |
| 3593 | ******************************************************************************- |
| 3594 | ************************ |
| 3595 | ******************************************************************************- |
| 3596 | ******************************************************************************- |
| 3597 | ************************ |
| 3598 | ******************************************************************************- |
| 3599 | ******************************************************************************- |
| 3600 | ************************ |
| 3601 | ******************************************************************************- |
| 3602 | ******************************************************************************- |
| 3603 | ************************ |
| 3604 | ******************************************************************************- |
| 3605 | ******************************************************************************- |
| 3606 | ************************ |
| 3607 | ******************************************************************************- |
| 3608 | ******************************************************************************- |
| 3609 | ************************ |
| 3610 | ******************************************************************************- |
| 3611 | ******************************************************************************- |
| 3612 | ************************ |
| 3613 | ******************************************************************************- |
| 3614 | ******************************************************************************- |
| 3615 | ************************ |
| 3616 | ******************************************************************************- |
| 3617 | ******************************************************************************- |
| 3618 | ************************ |
| 3619 | ******************************************************************************- |
| 3620 | ******************************************************************************- |
| 3621 | ************************ |
| 3622 | ******************************************************************************- |
| 3623 | ******************************************************************************- |
| 3624 | ************************ |
| 3625 | ******************************************************************************- |
| 3626 | ******************************************************************************- |
| 3627 | ************************ |
| 3628 | ******************************************************************************- |
| 3629 | ******************************************************************************- |
| 3630 | ************************ |
| 3631 | ******************************************************************************- |
| 3632 | ******************************************************************************- |
| 3633 | ************************ |
| 3634 | ******************************************************************************- |
| 3635 | ******************************************************************************- |
| 3636 | ************************ |
| 3637 | ******************************************************************************- |
| 3638 | ******************************************************************************- |
| 3639 | ************************ |
| 3640 | ******************************************************************************- |
| 3641 | ******************************************************************************- |
| 3642 | ************************ |
| 3643 | ******************************************************************************- |
| 3644 | ******************************************************************************- |
| 3645 | ************************ |
| 3646 | ******************************************************************************- |
| 3647 | ******************************************************************************- |
| 3648 | ************************ |
| 3649 | ******************************************************************************- |
| 3650 | ******************************************************************************- |
| 3651 | ************************ |
| 3652 | ******************************************************************************- |
| 3653 | ******************************************************************************- |
| 3654 | ************************ |
| 3655 | ******************************************************************************- |
| 3656 | ******************************************************************************- |
| 3657 | ************************ |
| 3658 | ******************************************************************************- |
| 3659 | ******************************************************************************- |
| 3660 | ************************ |
| 3661 | ******************************************************************************- |
| 3662 | ******************************************************************************- |
| 3663 | ************************ |
| 3664 | ******************************************************************************- |
| 3665 | ******************************************************************************- |
| 3666 | ************************ |
| 3667 | ******************************************************************************- |
| 3668 | ******************************************************************************- |
| 3669 | ************************ |
| 3670 | ******************************************************************************- |
| 3671 | ******************************************************************************- |
| 3672 | ************************ |
| 3673 | ******************************************************************************- |
| 3674 | ******************************************************************************- |
| 3675 | ************************ |
| 3676 | ******************************************************************************- |
| 3677 | ******************************************************************************- |
| 3678 | ************************ |
| 3679 | ******************************************************************************- |
| 3680 | ******************************************************************************- |
| 3681 | ************************ |
| 3682 | ******************************************************************************- |
| 3683 | ******************************************************************************- |
| 3684 | ************************ |
| 3685 | ******************************************************************************- |
| 3686 | ******************************************************************************- |
| 3687 | ************************ |
| 3688 | ******************************************************************************- |
| 3689 | ******************************************************************************- |
| 3690 | ************************ |
| 3691 | ******************************************************************************- |
| 3692 | ******************************************************************************- |
| 3693 | ************************ |
| 3694 | ******************************************************************************- |
| 3695 | ******************************************************************************- |
| 3696 | ************************ |
| 3697 | ******************************************************************************- |
| 3698 | ******************************************************************************- |
| 3699 | ************************ |
| 3700 | ******************************************************************************- |
| 3701 | ******************************************************************************- |
| 3702 | ************************ |
| 3703 | ******************************************************************************- |
| 3704 | ******************************************************************************- |
| 3705 | ************************ |
| 3706 | ******************************************************************************- |
| 3707 | ******************************************************************************- |
| 3708 | ************************ |
| 3709 | ******************************************************************************- |
| 3710 | ******************************************************************************- |
| 3711 | ************************ |
| 3712 | ******************************************************************************- |
| 3713 | ******************************************************************************- |
| 3714 | ************************ |
| 3715 | ******************************************************************************- |
| 3716 | ******************************************************************************- |
| 3717 | ************************ |
| 3718 | ******************************************************************************- |
| 3719 | ******************************************************************************- |
| 3720 | ************************ |
| 3721 | ******************************************************************************- |
| 3722 | ******************************************************************************- |
| 3723 | ************************ |
| 3724 | ******************************************************************************- |
| 3725 | ******************************************************************************- |
| 3726 | ************************ |
| 3727 | ******************************************************************************- |
| 3728 | ******************************************************************************- |
| 3729 | ************************ |
| 3730 | ******************************************************************************- |
| 3731 | ******************************************************************************- |
| 3732 | ************************ |
| 3733 | ******************************************************************************- |
| 3734 | ******************************************************************************- |
| 3735 | ************************ |
| 3736 | ******************************************************************************- |
| 3737 | ******************************************************************************- |
| 3738 | ************************ |
| 3739 | ******************************************************************************- |
| 3740 | ******************************************************************************- |
| 3741 | ************************ |
| 3742 | ******************************************************************************- |
| 3743 | ******************************************************************************- |
| 3744 | ************************ |
| 3745 | ******************************************************************************- |
| 3746 | ******************************************************************************- |
| 3747 | ************************ |
| 3748 | ******************************************************************************- |
| 3749 | ******************************************************************************- |
| 3750 | ************************ |
| 3751 | ******************************************************************************- |
| 3752 | ******************************************************************************- |
| 3753 | ************************ |
| 3754 | ******************************************************************************- |
| 3755 | ******************************************************************************- |
| 3756 | ************************ |
| 3757 | ******************************************************************************- |
| 3758 | ******************************************************************************- |
| 3759 | ************************ |
| 3760 | ******************************************************************************- |
| 3761 | ******************************************************************************- |
| 3762 | ************************ |
| 3763 | ******************************************************************************- |
| 3764 | ******************************************************************************- |
| 3765 | ************************ |
| 3766 | ******************************************************************************- |
| 3767 | ******************************************************************************- |
| 3768 | ************************ |
| 3769 | ******************************************************************************- |
| 3770 | ******************************************************************************- |
| 3771 | ************************ |
| 3772 | ******************************************************************************- |
| 3773 | ******************************************************************************- |
| 3774 | ************************ |
| 3775 | ******************************************************************************- |
| 3776 | ******************************************************************************- |
| 3777 | ************************ |
| 3778 | ******************************************************************************- |
| 3779 | ******************************************************************************- |
| 3780 | ************************ |
| 3781 | ******************************************************************************- |
| 3782 | ******************************************************************************- |
| 3783 | ************************ |
| 3784 | ******************************************************************************- |
| 3785 | ******************************************************************************- |
| 3786 | ************************ |
| 3787 | ******************************************************************************- |
| 3788 | ******************************************************************************- |
| 3789 | ************************ |
| 3790 | ******************************************************************************- |
| 3791 | ******************************************************************************- |
| 3792 | ************************ |
| 3793 | ******************************************************************************- |
| 3794 | ******************************************************************************- |
| 3795 | ************************ |
| 3796 | ******************************************************************************- |
| 3797 | ******************************************************************************- |
| 3798 | ************************ |
| 3799 | ******************************************************************************- |
| 3800 | ******************************************************************************- |
| 3801 | ************************ |
| 3802 | ******************************************************************************- |
| 3803 | ******************************************************************************- |
| 3804 | ************************ |
| 3805 | ******************************************************************************- |
| 3806 | ******************************************************************************- |
| 3807 | ************************ |
| 3808 | ******************************************************************************- |
| 3809 | ******************************************************************************- |
| 3810 | ************************ |
| 3811 | ******************************************************************************- |
| 3812 | ******************************************************************************- |
| 3813 | ************************ |
| 3814 | ******************************************************************************- |
| 3815 | ******************************************************************************- |
| 3816 | ************************ |
| 3817 | ******************************************************************************- |
| 3818 | ******************************************************************************- |
| 3819 | ************************ |
| 3820 | ******************************************************************************- |
| 3821 | ******************************************************************************- |
| 3822 | ************************ |
| 3823 | ******************************************************************************- |
| 3824 | ******************************************************************************- |
| 3825 | ************************ |
| 3826 | ******************************************************************************- |
| 3827 | ******************************************************************************- |
| 3828 | ************************ |
| 3829 | ******************************************************************************- |
| 3830 | ******************************************************************************- |
| 3831 | ************************ |
| 3832 | ******************************************************************************- |
| 3833 | ******************************************************************************- |
| 3834 | ************************ |
| 3835 | ******************************************************************************- |
| 3836 | ******************************************************************************- |
| 3837 | ************************ |
| 3838 | ******************************************************************************- |
| 3839 | ******************************************************************************- |
| 3840 | ************************ |
| 3841 | ******************************************************************************- |
| 3842 | ******************************************************************************- |
| 3843 | ************************ |
| 3844 | ******************************************************************************- |
| 3845 | ******************************************************************************- |
| 3846 | ************************ |
| 3847 | ******************************************************************************- |
| 3848 | ******************************************************************************- |
| 3849 | ************************ |
| 3850 | ******************************************************************************- |
| 3851 | ******************************************************************************- |
| 3852 | ************************ |
| 3853 | ******************************************************************************- |
| 3854 | ******************************************************************************- |
| 3855 | ************************ |
| 3856 | ******************************************************************************- |
| 3857 | ******************************************************************************- |
| 3858 | ************************ |
| 3859 | ******************************************************************************- |
| 3860 | ******************************************************************************- |
| 3861 | ************************ |
| 3862 | ******************************************************************************- |
| 3863 | ******************************************************************************- |
| 3864 | ************************ |
| 3865 | ******************************************************************************- |
| 3866 | ******************************************************************************- |
| 3867 | ************************ |
| 3868 | ******************************************************************************- |
| 3869 | ******************************************************************************- |
| 3870 | ************************ |
| 3871 | ******************************************************************************- |
| 3872 | ******************************************************************************- |
| 3873 | ************************ |
| 3874 | ******************************************************************************- |
| 3875 | ******************************************************************************- |
| 3876 | ************************ |
| 3877 | ******************************************************************************- |
| 3878 | ******************************************************************************- |
| 3879 | ************************ |
| 3880 | ******************************************************************************- |
| 3881 | ******************************************************************************- |
| 3882 | ************************ |
| 3883 | ******************************************************************************- |
| 3884 | ******************************************************************************- |
| 3885 | ************************ |
| 3886 | ******************************************************************************- |
| 3887 | ******************************************************************************- |
| 3888 | ************************ |
| 3889 | ******************************************************************************- |
| 3890 | ******************************************************************************- |
| 3891 | ************************ |
| 3892 | ******************************************************************************- |
| 3893 | ******************************************************************************- |
| 3894 | ************************ |
| 3895 | ******************************************************************************- |
| 3896 | ******************************************************************************- |
| 3897 | ************************ |
| 3898 | ******************************************************************************- |
| 3899 | ******************************************************************************- |
| 3900 | ************************ |
| 3901 | ******************************************************************************- |
| 3902 | ******************************************************************************- |
| 3903 | ************************ |
| 3904 | ******************************************************************************- |
| 3905 | ******************************************************************************- |
| 3906 | ************************ |
| 3907 | ******************************************************************************- |
| 3908 | ******************************************************************************- |
| 3909 | ************************ |
| 3910 | ******************************************************************************- |
| 3911 | ******************************************************************************- |
| 3912 | ************************ |
| 3913 | ******************************************************************************- |
| 3914 | ******************************************************************************- |
| 3915 | ************************ |
| 3916 | ******************************************************************************- |
| 3917 | ******************************************************************************- |
| 3918 | ************************ |
| 3919 | ******************************************************************************- |
| 3920 | ******************************************************************************- |
| 3921 | ************************ |
| 3922 | ******************************************************************************- |
| 3923 | ******************************************************************************- |
| 3924 | ************************ |
| 3925 | ******************************************************************************- |
| 3926 | ******************************************************************************- |
| 3927 | ************************ |
| 3928 | ******************************************************************************- |
| 3929 | ******************************************************************************- |
| 3930 | ************************ |
| 3931 | ******************************************************************************- |
| 3932 | ******************************************************************************- |
| 3933 | ************************ |
| 3934 | ******************************************************************************- |
| 3935 | ******************************************************************************- |
| 3936 | ************************ |
| 3937 | ******************************************************************************- |
| 3938 | ******************************************************************************- |
| 3939 | ************************ |
| 3940 | ******************************************************************************- |
| 3941 | ******************************************************************************- |
| 3942 | ************************ |
| 3943 | ******************************************************************************- |
| 3944 | ******************************************************************************- |
| 3945 | ************************ |
| 3946 | ******************************************************************************- |
| 3947 | ******************************************************************************- |
| 3948 | ************************ |
| 3949 | ******************************************************************************- |
| 3950 | ******************************************************************************- |
| 3951 | ************************ |
| 3952 | ******************************************************************************- |
| 3953 | ******************************************************************************- |
| 3954 | ************************ |
| 3955 | ******************************************************************************- |
| 3956 | ******************************************************************************- |
| 3957 | ************************ |
| 3958 | ******************************************************************************- |
| 3959 | ******************************************************************************- |
| 3960 | ************************ |
| 3961 | ******************************************************************************- |
| 3962 | ******************************************************************************- |
| 3963 | ************************ |
| 3964 | ******************************************************************************- |
| 3965 | ******************************************************************************- |
| 3966 | ************************ |
| 3967 | ******************************************************************************- |
| 3968 | ******************************************************************************- |
| 3969 | ************************ |
| 3970 | ******************************************************************************- |
| 3971 | ******************************************************************************- |
| 3972 | ************************ |
| 3973 | ******************************************************************************- |
| 3974 | ******************************************************************************- |
| 3975 | ************************ |
| 3976 | ******************************************************************************- |
| 3977 | ******************************************************************************- |
| 3978 | ************************ |
| 3979 | ******************************************************************************- |
| 3980 | ******************************************************************************- |
| 3981 | ************************ |
| 3982 | ******************************************************************************- |
| 3983 | ******************************************************************************- |
| 3984 | ************************ |
| 3985 | ******************************************************************************- |
| 3986 | ******************************************************************************- |
| 3987 | ************************ |
| 3988 | ******************************************************************************- |
| 3989 | ******************************************************************************- |
| 3990 | ************************ |
| 3991 | ******************************************************************************- |
| 3992 | ******************************************************************************- |
| 3993 | ************************ |
| 3994 | ******************************************************************************- |
| 3995 | ******************************************************************************- |
| 3996 | ************************ |
| 3997 | ******************************************************************************- |
| 3998 | ******************************************************************************- |
| 3999 | ************************ |
| 4000 | ******************************************************************************- |
| 4001 | ******************************************************************************- |
| 4002 | ************************ |
| 4003 | ******************************************************************************- |
| 4004 | ******************************************************************************- |
| 4005 | ************************ |
| 4006 | ******************************************************************************- |
| 4007 | ******************************************************************************- |
| 4008 | ************************ |
| 4009 | ******************************************************************************- |
| 4010 | ******************************************************************************- |
| 4011 | ************************ |
| 4012 | ******************************************************************************- |
| 4013 | ******************************************************************************- |
| 4014 | ************************ |
| 4015 | ******************************************************************************- |
| 4016 | ******************************************************************************- |
| 4017 | ************************ |
| 4018 | ******************************************************************************- |
| 4019 | ******************************************************************************- |
| 4020 | ************************ |
| 4021 | ******************************************************************************- |
| 4022 | ******************************************************************************- |
| 4023 | ************************ |
| 4024 | ******************************************************************************- |
| 4025 | ******************************************************************************- |
| 4026 | ************************ |
| 4027 | ******************************************************************************- |
| 4028 | ******************************************************************************- |
| 4029 | ************************ |
| 4030 | ******************************************************************************- |
| 4031 | ******************************************************************************- |
| 4032 | ************************ |
| 4033 | ******************************************************************************- |
| 4034 | ******************************************************************************- |
| 4035 | ************************ |
| 4036 | ******************************************************************************- |
| 4037 | ******************************************************************************- |
| 4038 | ************************ |
| 4039 | ******************************************************************************- |
| 4040 | ******************************************************************************- |
| 4041 | ************************ |
| 4042 | ******************************************************************************- |
| 4043 | ******************************************************************************- |
| 4044 | ************************ |
| 4045 | ******************************************************************************- |
| 4046 | ******************************************************************************- |
| 4047 | ************************ |
| 4048 | ******************************************************************************- |
| 4049 | ******************************************************************************- |
| 4050 | ************************ |
| 4051 | ******************************************************************************- |
| 4052 | ******************************************************************************- |
| 4053 | ************************ |
| 4054 | ******************************************************************************- |
| 4055 | ******************************************************************************- |
| 4056 | ************************ |
| 4057 | ******************************************************************************- |
| 4058 | ******************************************************************************- |
| 4059 | ************************ |
| 4060 | ******************************************************************************- |
| 4061 | ******************************************************************************- |
| 4062 | ************************ |
| 4063 | ******************************************************************************- |
| 4064 | ******************************************************************************- |
| 4065 | ************************ |
| 4066 | ******************************************************************************- |
| 4067 | ******************************************************************************- |
| 4068 | ************************ |
| 4069 | ******************************************************************************- |
| 4070 | ******************************************************************************- |
| 4071 | ************************ |
| 4072 | ******************************************************************************- |
| 4073 | ******************************************************************************- |
| 4074 | ************************ |
| 4075 | ******************************************************************************- |
| 4076 | ******************************************************************************- |
| 4077 | ************************ |
| 4078 | ******************************************************************************- |
| 4079 | ******************************************************************************- |
| 4080 | ************************ |
| 4081 | ******************************************************************************- |
| 4082 | ******************************************************************************- |
| 4083 | ************************ |
| 4084 | ******************************************************************************- |
| 4085 | ******************************************************************************- |
| 4086 | ************************ |
| 4087 | ******************************************************************************- |
| 4088 | ******************************************************************************- |
| 4089 | ************************ |
| 4090 | ******************************************************************************- |
| 4091 | ******************************************************************************- |
| 4092 | ************************ |
| 4093 | ******************************************************************************- |
| 4094 | ******************************************************************************- |
| 4095 | ************************ |
| 4096 | ******************************************************************************- |
| 4097 | ******************************************************************************- |
| 4098 | ************************ |
| 4099 | ******************************************************************************- |
| 4100 | ******************************************************************************- |
| 4101 | ************************ |
| 4102 | ******************************************************************************- |
| 4103 | ******************************************************************************- |
| 4104 | ************************ |
| 4105 | ******************************************************************************- |
| 4106 | ******************************************************************************- |
| 4107 | ************************ |
| 4108 | ******************************************************************************- |
| 4109 | ******************************************************************************- |
| 4110 | ************************ |
| 4111 | ******************************************************************************- |
| 4112 | ******************************************************************************- |
| 4113 | ************************ |
| 4114 | ******************************************************************************- |
| 4115 | ******************************************************************************- |
| 4116 | ************************ |
| 4117 | ******************************************************************************- |
| 4118 | ******************************************************************************- |
| 4119 | ************************ |
| 4120 | ******************************************************************************- |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 4121 | ... 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] | 4122 | </Expanded> |
| 4123 | </Expression> |
| 4124 | <OverallResult success="true"/> |
| 4125 | </TestCase> |
Phil Nash | 0e64973 | 2015-11-20 16:54:07 +0000 | [diff] [blame] | 4126 | <TestCase name="ManuallyRegistered"> |
| 4127 | <OverallResult success="true"/> |
| 4128 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4129 | <TestCase name="Matchers can be (AllOf) composed with the && operator"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4130 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4131 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4132 | testStringForMatching(), Contains( "string" ) && Contains( "abc" ) && Contains( "substring" ) && Contains( "contains" ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4133 | </Original> |
| 4134 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4135 | "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] | 4136 | </Expanded> |
| 4137 | </Expression> |
| 4138 | <OverallResult success="true"/> |
| 4139 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4140 | <TestCase name="Matchers can be (AnyOf) composed with the || operator"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4141 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4142 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4143 | testStringForMatching(), Contains( "string" ) || Contains( "different" ) || Contains( "random" ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4144 | </Original> |
| 4145 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4146 | "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] | 4147 | </Expanded> |
| 4148 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4149 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4150 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4151 | testStringForMatching2(), Contains( "string" ) || Contains( "different" ) || Contains( "random" ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4152 | </Original> |
| 4153 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4154 | "some completely different text that contains one common word" ( contains: "string" or contains: "different" or contains: "random" ) |
| 4155 | </Expanded> |
| 4156 | </Expression> |
| 4157 | <OverallResult success="true"/> |
| 4158 | </TestCase> |
| 4159 | <TestCase name="Matchers can be composed with both && and ||"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4160 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4161 | <Original> |
| 4162 | testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "substring" ) |
| 4163 | </Original> |
| 4164 | <Expanded> |
| 4165 | "this string contains 'abc' as a substring" ( ( contains: "string" or contains: "different" ) and contains: "substring" ) |
| 4166 | </Expanded> |
| 4167 | </Expression> |
| 4168 | <OverallResult success="true"/> |
| 4169 | </TestCase> |
| 4170 | <TestCase name="Matchers can be composed with both && and || - failing"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4171 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4172 | <Original> |
| 4173 | testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "random" ) |
| 4174 | </Original> |
| 4175 | <Expanded> |
| 4176 | "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] | 4177 | </Expanded> |
| 4178 | </Expression> |
| 4179 | <OverallResult success="false"/> |
| 4180 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4181 | <TestCase name="Matchers can be negated (Not) with the ! operator"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4182 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4183 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4184 | testStringForMatching(), !Contains( "different" ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4185 | </Original> |
| 4186 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4187 | "this string contains 'abc' as a substring" not contains: "different" |
| 4188 | </Expanded> |
| 4189 | </Expression> |
| 4190 | <OverallResult success="true"/> |
| 4191 | </TestCase> |
| 4192 | <TestCase name="Matchers can be negated (Not) with the ! operator - failing"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4193 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4194 | <Original> |
| 4195 | testStringForMatching(), !Contains( "substring" ) |
| 4196 | </Original> |
| 4197 | <Expanded> |
| 4198 | "this string contains 'abc' as a substring" not contains: "substring" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4199 | </Expanded> |
| 4200 | </Expression> |
| 4201 | <OverallResult success="false"/> |
| 4202 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4203 | <TestCase name="Mismatching exception messages failing the test"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4204 | <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] | 4205 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4206 | thisThrows(), "expected exception" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4207 | </Original> |
| 4208 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4209 | thisThrows(), "expected exception" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4210 | </Expanded> |
| 4211 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4212 | <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] | 4213 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4214 | thisThrows(), "should fail" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4215 | </Original> |
| 4216 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4217 | expected exception |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4218 | </Expanded> |
| 4219 | </Expression> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4220 | <OverallResult success="false"/> |
| 4221 | </TestCase> |
| 4222 | <TestCase name="Nice descriptive name"> |
| 4223 | <Warning> |
| 4224 | This one ran |
| 4225 | </Warning> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4226 | <OverallResult success="true"/> |
| 4227 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4228 | <TestCase name="Non-std exceptions can be translated"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4229 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4230 | custom exception |
| 4231 | </Exception> |
| 4232 | <OverallResult success="false"/> |
| 4233 | </TestCase> |
| 4234 | <TestCase name="NotImplemented exception"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4235 | <Expression success="true" type="REQUIRE_THROWS" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4236 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4237 | thisFunctionNotImplemented( 7 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4238 | </Original> |
| 4239 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4240 | thisFunctionNotImplemented( 7 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4241 | </Expanded> |
| 4242 | </Expression> |
| 4243 | <OverallResult success="true"/> |
| 4244 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 4245 | <TestCase name="Objects that evaluated in boolean contexts can be checked"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4246 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4247 | <Original> |
| 4248 | True |
| 4249 | </Original> |
| 4250 | <Expanded> |
| 4251 | true |
| 4252 | </Expanded> |
| 4253 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4254 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4255 | <Original> |
| 4256 | !False |
| 4257 | </Original> |
| 4258 | <Expanded> |
| 4259 | true |
| 4260 | </Expanded> |
| 4261 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4262 | <Expression success="true" type="CHECK_FALSE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4263 | <Original> |
| 4264 | !False |
| 4265 | </Original> |
| 4266 | <Expanded> |
| 4267 | !false |
| 4268 | </Expanded> |
| 4269 | </Expression> |
| 4270 | <OverallResult success="true"/> |
| 4271 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4272 | <TestCase name="Operators at different namespace levels not hijacked by Koenig lookup"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4273 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4274 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4275 | 0x<hex digits> == o |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4276 | </Original> |
| 4277 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4278 | 3221225472 (0x<hex digits>) == {?} |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4279 | </Expanded> |
| 4280 | </Expression> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4281 | <OverallResult success="true"/> |
| 4282 | </TestCase> |
| 4283 | <TestCase name="Ordering comparison checks that should fail"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4284 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4285 | <Original> |
| 4286 | data.int_seven > 7 |
| 4287 | </Original> |
| 4288 | <Expanded> |
| 4289 | 7 > 7 |
| 4290 | </Expanded> |
| 4291 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4292 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4293 | <Original> |
| 4294 | data.int_seven < 7 |
| 4295 | </Original> |
| 4296 | <Expanded> |
| 4297 | 7 < 7 |
| 4298 | </Expanded> |
| 4299 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4300 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4301 | <Original> |
| 4302 | data.int_seven > 8 |
| 4303 | </Original> |
| 4304 | <Expanded> |
| 4305 | 7 > 8 |
| 4306 | </Expanded> |
| 4307 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4308 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4309 | <Original> |
| 4310 | data.int_seven < 6 |
| 4311 | </Original> |
| 4312 | <Expanded> |
| 4313 | 7 < 6 |
| 4314 | </Expanded> |
| 4315 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4316 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4317 | <Original> |
| 4318 | data.int_seven < 0 |
| 4319 | </Original> |
| 4320 | <Expanded> |
| 4321 | 7 < 0 |
| 4322 | </Expanded> |
| 4323 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4324 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4325 | <Original> |
| 4326 | data.int_seven < -1 |
| 4327 | </Original> |
| 4328 | <Expanded> |
| 4329 | 7 < -1 |
| 4330 | </Expanded> |
| 4331 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4332 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4333 | <Original> |
| 4334 | data.int_seven >= 8 |
| 4335 | </Original> |
| 4336 | <Expanded> |
| 4337 | 7 >= 8 |
| 4338 | </Expanded> |
| 4339 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4340 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4341 | <Original> |
| 4342 | data.int_seven <= 6 |
| 4343 | </Original> |
| 4344 | <Expanded> |
| 4345 | 7 <= 6 |
| 4346 | </Expanded> |
| 4347 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4348 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4349 | <Original> |
| 4350 | data.float_nine_point_one < 9 |
| 4351 | </Original> |
| 4352 | <Expanded> |
| 4353 | 9.1f < 9 |
| 4354 | </Expanded> |
| 4355 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4356 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4357 | <Original> |
| 4358 | data.float_nine_point_one > 10 |
| 4359 | </Original> |
| 4360 | <Expanded> |
| 4361 | 9.1f > 10 |
| 4362 | </Expanded> |
| 4363 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4364 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4365 | <Original> |
| 4366 | data.float_nine_point_one > 9.2 |
| 4367 | </Original> |
| 4368 | <Expanded> |
| 4369 | 9.1f > 9.2 |
| 4370 | </Expanded> |
| 4371 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4372 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4373 | <Original> |
| 4374 | data.str_hello > "hello" |
| 4375 | </Original> |
| 4376 | <Expanded> |
| 4377 | "hello" > "hello" |
| 4378 | </Expanded> |
| 4379 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4380 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4381 | <Original> |
| 4382 | data.str_hello < "hello" |
| 4383 | </Original> |
| 4384 | <Expanded> |
| 4385 | "hello" < "hello" |
| 4386 | </Expanded> |
| 4387 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4388 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4389 | <Original> |
| 4390 | data.str_hello > "hellp" |
| 4391 | </Original> |
| 4392 | <Expanded> |
| 4393 | "hello" > "hellp" |
| 4394 | </Expanded> |
| 4395 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4396 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4397 | <Original> |
| 4398 | data.str_hello > "z" |
| 4399 | </Original> |
| 4400 | <Expanded> |
| 4401 | "hello" > "z" |
| 4402 | </Expanded> |
| 4403 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4404 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4405 | <Original> |
| 4406 | data.str_hello < "hellm" |
| 4407 | </Original> |
| 4408 | <Expanded> |
| 4409 | "hello" < "hellm" |
| 4410 | </Expanded> |
| 4411 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4412 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4413 | <Original> |
| 4414 | data.str_hello < "a" |
| 4415 | </Original> |
| 4416 | <Expanded> |
| 4417 | "hello" < "a" |
| 4418 | </Expanded> |
| 4419 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4420 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4421 | <Original> |
| 4422 | data.str_hello >= "z" |
| 4423 | </Original> |
| 4424 | <Expanded> |
| 4425 | "hello" >= "z" |
| 4426 | </Expanded> |
| 4427 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4428 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4429 | <Original> |
| 4430 | data.str_hello <= "a" |
| 4431 | </Original> |
| 4432 | <Expanded> |
| 4433 | "hello" <= "a" |
| 4434 | </Expanded> |
| 4435 | </Expression> |
| 4436 | <OverallResult success="false"/> |
| 4437 | </TestCase> |
| 4438 | <TestCase name="Ordering comparison checks that should succeed"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4439 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4440 | <Original> |
| 4441 | data.int_seven < 8 |
| 4442 | </Original> |
| 4443 | <Expanded> |
| 4444 | 7 < 8 |
| 4445 | </Expanded> |
| 4446 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4447 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4448 | <Original> |
| 4449 | data.int_seven > 6 |
| 4450 | </Original> |
| 4451 | <Expanded> |
| 4452 | 7 > 6 |
| 4453 | </Expanded> |
| 4454 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4455 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4456 | <Original> |
| 4457 | data.int_seven > 0 |
| 4458 | </Original> |
| 4459 | <Expanded> |
| 4460 | 7 > 0 |
| 4461 | </Expanded> |
| 4462 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4463 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4464 | <Original> |
| 4465 | data.int_seven > -1 |
| 4466 | </Original> |
| 4467 | <Expanded> |
| 4468 | 7 > -1 |
| 4469 | </Expanded> |
| 4470 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4471 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4472 | <Original> |
| 4473 | data.int_seven >= 7 |
| 4474 | </Original> |
| 4475 | <Expanded> |
| 4476 | 7 >= 7 |
| 4477 | </Expanded> |
| 4478 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4479 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4480 | <Original> |
| 4481 | data.int_seven >= 6 |
| 4482 | </Original> |
| 4483 | <Expanded> |
| 4484 | 7 >= 6 |
| 4485 | </Expanded> |
| 4486 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4487 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4488 | <Original> |
| 4489 | data.int_seven <= 7 |
| 4490 | </Original> |
| 4491 | <Expanded> |
| 4492 | 7 <= 7 |
| 4493 | </Expanded> |
| 4494 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4495 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4496 | <Original> |
| 4497 | data.int_seven <= 8 |
| 4498 | </Original> |
| 4499 | <Expanded> |
| 4500 | 7 <= 8 |
| 4501 | </Expanded> |
| 4502 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4503 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4504 | <Original> |
| 4505 | data.float_nine_point_one > 9 |
| 4506 | </Original> |
| 4507 | <Expanded> |
| 4508 | 9.1f > 9 |
| 4509 | </Expanded> |
| 4510 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4511 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4512 | <Original> |
| 4513 | data.float_nine_point_one < 10 |
| 4514 | </Original> |
| 4515 | <Expanded> |
| 4516 | 9.1f < 10 |
| 4517 | </Expanded> |
| 4518 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4519 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4520 | <Original> |
| 4521 | data.float_nine_point_one < 9.2 |
| 4522 | </Original> |
| 4523 | <Expanded> |
| 4524 | 9.1f < 9.2 |
| 4525 | </Expanded> |
| 4526 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4527 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4528 | <Original> |
| 4529 | data.str_hello <= "hello" |
| 4530 | </Original> |
| 4531 | <Expanded> |
| 4532 | "hello" <= "hello" |
| 4533 | </Expanded> |
| 4534 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4535 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4536 | <Original> |
| 4537 | data.str_hello >= "hello" |
| 4538 | </Original> |
| 4539 | <Expanded> |
| 4540 | "hello" >= "hello" |
| 4541 | </Expanded> |
| 4542 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4543 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4544 | <Original> |
| 4545 | data.str_hello < "hellp" |
| 4546 | </Original> |
| 4547 | <Expanded> |
| 4548 | "hello" < "hellp" |
| 4549 | </Expanded> |
| 4550 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4551 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4552 | <Original> |
| 4553 | data.str_hello < "zebra" |
| 4554 | </Original> |
| 4555 | <Expanded> |
| 4556 | "hello" < "zebra" |
| 4557 | </Expanded> |
| 4558 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4559 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4560 | <Original> |
| 4561 | data.str_hello > "hellm" |
| 4562 | </Original> |
| 4563 | <Expanded> |
| 4564 | "hello" > "hellm" |
| 4565 | </Expanded> |
| 4566 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4567 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4568 | <Original> |
| 4569 | data.str_hello > "a" |
| 4570 | </Original> |
| 4571 | <Expanded> |
| 4572 | "hello" > "a" |
| 4573 | </Expanded> |
| 4574 | </Expression> |
| 4575 | <OverallResult success="true"/> |
| 4576 | </TestCase> |
| 4577 | <TestCase name="Output from all sections is reported"> |
| 4578 | <Section name="one"> |
| 4579 | <Failure> |
| 4580 | Message from section one |
| 4581 | </Failure> |
| 4582 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4583 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4584 | <Section name="two"> |
| 4585 | <Failure> |
| 4586 | Message from section two |
| 4587 | </Failure> |
| 4588 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4589 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4590 | <OverallResult success="false"/> |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 4591 | </TestCase> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4592 | <TestCase name="Parse test names and tags"> |
| 4593 | <Section name="Empty test spec should have no filters"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4594 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4595 | <Original> |
| 4596 | spec.hasFilters() == false |
| 4597 | </Original> |
| 4598 | <Expanded> |
| 4599 | false == false |
| 4600 | </Expanded> |
| 4601 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4602 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4603 | <Original> |
| 4604 | spec.matches( tcA ) == false |
| 4605 | </Original> |
| 4606 | <Expanded> |
| 4607 | false == false |
| 4608 | </Expanded> |
| 4609 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4610 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4611 | <Original> |
| 4612 | spec.matches( tcB ) == false |
| 4613 | </Original> |
| 4614 | <Expanded> |
| 4615 | false == false |
| 4616 | </Expanded> |
| 4617 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4618 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4619 | </Section> |
| 4620 | <Section name="Test spec from empty string should have no filters"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4621 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4622 | <Original> |
| 4623 | spec.hasFilters() == false |
| 4624 | </Original> |
| 4625 | <Expanded> |
| 4626 | false == false |
| 4627 | </Expanded> |
| 4628 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4629 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4630 | <Original> |
| 4631 | spec.matches(tcA ) == false |
| 4632 | </Original> |
| 4633 | <Expanded> |
| 4634 | false == false |
| 4635 | </Expanded> |
| 4636 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4637 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4638 | <Original> |
| 4639 | spec.matches( tcB ) == false |
| 4640 | </Original> |
| 4641 | <Expanded> |
| 4642 | false == false |
| 4643 | </Expanded> |
| 4644 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4645 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4646 | </Section> |
| 4647 | <Section name="Test spec from just a comma should have no filters"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4648 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4649 | <Original> |
| 4650 | spec.hasFilters() == false |
| 4651 | </Original> |
| 4652 | <Expanded> |
| 4653 | false == false |
| 4654 | </Expanded> |
| 4655 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4656 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4657 | <Original> |
| 4658 | spec.matches( tcA ) == false |
| 4659 | </Original> |
| 4660 | <Expanded> |
| 4661 | false == false |
| 4662 | </Expanded> |
| 4663 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4664 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4665 | <Original> |
| 4666 | spec.matches( tcB ) == false |
| 4667 | </Original> |
| 4668 | <Expanded> |
| 4669 | false == false |
| 4670 | </Expanded> |
| 4671 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4672 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4673 | </Section> |
| 4674 | <Section name="Test spec from name should have one filter"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4675 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4676 | <Original> |
| 4677 | spec.hasFilters() == true |
| 4678 | </Original> |
| 4679 | <Expanded> |
| 4680 | true == true |
| 4681 | </Expanded> |
| 4682 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4683 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4684 | <Original> |
| 4685 | spec.matches( tcA ) == false |
| 4686 | </Original> |
| 4687 | <Expanded> |
| 4688 | false == false |
| 4689 | </Expanded> |
| 4690 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4691 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4692 | <Original> |
| 4693 | spec.matches( tcB ) == true |
| 4694 | </Original> |
| 4695 | <Expanded> |
| 4696 | true == true |
| 4697 | </Expanded> |
| 4698 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4699 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4700 | </Section> |
| 4701 | <Section name="Test spec from quoted name should have one filter"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4702 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4703 | <Original> |
| 4704 | spec.hasFilters() == true |
| 4705 | </Original> |
| 4706 | <Expanded> |
| 4707 | true == true |
| 4708 | </Expanded> |
| 4709 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4710 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4711 | <Original> |
| 4712 | spec.matches( tcA ) == false |
| 4713 | </Original> |
| 4714 | <Expanded> |
| 4715 | false == false |
| 4716 | </Expanded> |
| 4717 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4718 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4719 | <Original> |
| 4720 | spec.matches( tcB ) == true |
| 4721 | </Original> |
| 4722 | <Expanded> |
| 4723 | true == true |
| 4724 | </Expanded> |
| 4725 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4726 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4727 | </Section> |
| 4728 | <Section name="Test spec from name should have one filter"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4729 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4730 | <Original> |
| 4731 | spec.hasFilters() == true |
| 4732 | </Original> |
| 4733 | <Expanded> |
| 4734 | true == true |
| 4735 | </Expanded> |
| 4736 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4737 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4738 | <Original> |
| 4739 | spec.matches( tcA ) == false |
| 4740 | </Original> |
| 4741 | <Expanded> |
| 4742 | false == false |
| 4743 | </Expanded> |
| 4744 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4745 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4746 | <Original> |
| 4747 | spec.matches( tcB ) == true |
| 4748 | </Original> |
| 4749 | <Expanded> |
| 4750 | true == true |
| 4751 | </Expanded> |
| 4752 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4753 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4754 | <Original> |
| 4755 | spec.matches( tcC ) == false |
| 4756 | </Original> |
| 4757 | <Expanded> |
| 4758 | false == false |
| 4759 | </Expanded> |
| 4760 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4761 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4762 | </Section> |
| 4763 | <Section name="Wildcard at the start"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4764 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4765 | <Original> |
| 4766 | spec.hasFilters() == true |
| 4767 | </Original> |
| 4768 | <Expanded> |
| 4769 | true == true |
| 4770 | </Expanded> |
| 4771 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4772 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4773 | <Original> |
| 4774 | spec.matches( tcA ) == false |
| 4775 | </Original> |
| 4776 | <Expanded> |
| 4777 | false == false |
| 4778 | </Expanded> |
| 4779 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4780 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4781 | <Original> |
| 4782 | spec.matches( tcB ) == false |
| 4783 | </Original> |
| 4784 | <Expanded> |
| 4785 | false == false |
| 4786 | </Expanded> |
| 4787 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4788 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4789 | <Original> |
| 4790 | spec.matches( tcC ) == true |
| 4791 | </Original> |
| 4792 | <Expanded> |
| 4793 | true == true |
| 4794 | </Expanded> |
| 4795 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4796 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4797 | <Original> |
| 4798 | spec.matches( tcD ) == false |
| 4799 | </Original> |
| 4800 | <Expanded> |
| 4801 | false == false |
| 4802 | </Expanded> |
| 4803 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4804 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4805 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 4806 | parseTestSpec( "*a" ).matches( tcA ) == true |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4807 | </Original> |
| 4808 | <Expanded> |
| 4809 | true == true |
| 4810 | </Expanded> |
| 4811 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4812 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4813 | </Section> |
| 4814 | <Section name="Wildcard at the end"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4815 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4816 | <Original> |
| 4817 | spec.hasFilters() == true |
| 4818 | </Original> |
| 4819 | <Expanded> |
| 4820 | true == true |
| 4821 | </Expanded> |
| 4822 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4823 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4824 | <Original> |
| 4825 | spec.matches( tcA ) == false |
| 4826 | </Original> |
| 4827 | <Expanded> |
| 4828 | false == false |
| 4829 | </Expanded> |
| 4830 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4831 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4832 | <Original> |
| 4833 | spec.matches( tcB ) == false |
| 4834 | </Original> |
| 4835 | <Expanded> |
| 4836 | false == false |
| 4837 | </Expanded> |
| 4838 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4839 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4840 | <Original> |
| 4841 | spec.matches( tcC ) == true |
| 4842 | </Original> |
| 4843 | <Expanded> |
| 4844 | true == true |
| 4845 | </Expanded> |
| 4846 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4847 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4848 | <Original> |
| 4849 | spec.matches( tcD ) == false |
| 4850 | </Original> |
| 4851 | <Expanded> |
| 4852 | false == false |
| 4853 | </Expanded> |
| 4854 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4855 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4856 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 4857 | parseTestSpec( "a*" ).matches( tcA ) == true |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4858 | </Original> |
| 4859 | <Expanded> |
| 4860 | true == true |
| 4861 | </Expanded> |
| 4862 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4863 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4864 | </Section> |
| 4865 | <Section name="Wildcard at both ends"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4866 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4867 | <Original> |
| 4868 | spec.hasFilters() == true |
| 4869 | </Original> |
| 4870 | <Expanded> |
| 4871 | true == true |
| 4872 | </Expanded> |
| 4873 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4874 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4875 | <Original> |
| 4876 | spec.matches( tcA ) == false |
| 4877 | </Original> |
| 4878 | <Expanded> |
| 4879 | false == false |
| 4880 | </Expanded> |
| 4881 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4882 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4883 | <Original> |
| 4884 | spec.matches( tcB ) == false |
| 4885 | </Original> |
| 4886 | <Expanded> |
| 4887 | false == false |
| 4888 | </Expanded> |
| 4889 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4890 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4891 | <Original> |
| 4892 | spec.matches( tcC ) == true |
| 4893 | </Original> |
| 4894 | <Expanded> |
| 4895 | true == true |
| 4896 | </Expanded> |
| 4897 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4898 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4899 | <Original> |
| 4900 | spec.matches( tcD ) == true |
| 4901 | </Original> |
| 4902 | <Expanded> |
| 4903 | true == true |
| 4904 | </Expanded> |
| 4905 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4906 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4907 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 4908 | parseTestSpec( "*a*" ).matches( tcA ) == true |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4909 | </Original> |
| 4910 | <Expanded> |
| 4911 | true == true |
| 4912 | </Expanded> |
| 4913 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4914 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4915 | </Section> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 4916 | <Section name="Redundant wildcard at the start"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4917 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 4918 | <Original> |
| 4919 | spec.hasFilters() == true |
| 4920 | </Original> |
| 4921 | <Expanded> |
| 4922 | true == true |
| 4923 | </Expanded> |
| 4924 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4925 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 4926 | <Original> |
| 4927 | spec.matches( tcA ) == true |
| 4928 | </Original> |
| 4929 | <Expanded> |
| 4930 | true == true |
| 4931 | </Expanded> |
| 4932 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4933 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 4934 | <Original> |
| 4935 | spec.matches( tcB ) == false |
| 4936 | </Original> |
| 4937 | <Expanded> |
| 4938 | false == false |
| 4939 | </Expanded> |
| 4940 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4941 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 4942 | </Section> |
| 4943 | <Section name="Redundant wildcard at the end"> |
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 | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 4945 | <Original> |
| 4946 | spec.hasFilters() == true |
| 4947 | </Original> |
| 4948 | <Expanded> |
| 4949 | true == true |
| 4950 | </Expanded> |
| 4951 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4952 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 4953 | <Original> |
| 4954 | spec.matches( tcA ) == true |
| 4955 | </Original> |
| 4956 | <Expanded> |
| 4957 | true == true |
| 4958 | </Expanded> |
| 4959 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4960 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 4961 | <Original> |
| 4962 | spec.matches( tcB ) == false |
| 4963 | </Original> |
| 4964 | <Expanded> |
| 4965 | false == false |
| 4966 | </Expanded> |
| 4967 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4968 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 4969 | </Section> |
| 4970 | <Section name="Redundant wildcard at both ends"> |
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 | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 4972 | <Original> |
| 4973 | spec.hasFilters() == true |
| 4974 | </Original> |
| 4975 | <Expanded> |
| 4976 | true == true |
| 4977 | </Expanded> |
| 4978 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4979 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 4980 | <Original> |
| 4981 | spec.matches( tcA ) == true |
| 4982 | </Original> |
| 4983 | <Expanded> |
| 4984 | true == true |
| 4985 | </Expanded> |
| 4986 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4987 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 4988 | <Original> |
| 4989 | spec.matches( tcB ) == false |
| 4990 | </Original> |
| 4991 | <Expanded> |
| 4992 | false == false |
| 4993 | </Expanded> |
| 4994 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4995 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 4996 | </Section> |
| 4997 | <Section name="Wildcard at both ends, redundant at start"> |
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 | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 4999 | <Original> |
| 5000 | spec.hasFilters() == true |
| 5001 | </Original> |
| 5002 | <Expanded> |
| 5003 | true == true |
| 5004 | </Expanded> |
| 5005 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5006 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5007 | <Original> |
| 5008 | spec.matches( tcA ) == false |
| 5009 | </Original> |
| 5010 | <Expanded> |
| 5011 | false == false |
| 5012 | </Expanded> |
| 5013 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5014 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5015 | <Original> |
| 5016 | spec.matches( tcB ) == false |
| 5017 | </Original> |
| 5018 | <Expanded> |
| 5019 | false == false |
| 5020 | </Expanded> |
| 5021 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5022 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5023 | <Original> |
| 5024 | spec.matches( tcC ) == true |
| 5025 | </Original> |
| 5026 | <Expanded> |
| 5027 | true == true |
| 5028 | </Expanded> |
| 5029 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5030 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5031 | <Original> |
| 5032 | spec.matches( tcD ) == true |
| 5033 | </Original> |
| 5034 | <Expanded> |
| 5035 | true == true |
| 5036 | </Expanded> |
| 5037 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5038 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5039 | </Section> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5040 | <Section name="Just wildcard"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5041 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5042 | <Original> |
| 5043 | spec.hasFilters() == true |
| 5044 | </Original> |
| 5045 | <Expanded> |
| 5046 | true == true |
| 5047 | </Expanded> |
| 5048 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5049 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5050 | <Original> |
| 5051 | spec.matches( tcA ) == true |
| 5052 | </Original> |
| 5053 | <Expanded> |
| 5054 | true == true |
| 5055 | </Expanded> |
| 5056 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5057 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5058 | <Original> |
| 5059 | spec.matches( tcB ) == true |
| 5060 | </Original> |
| 5061 | <Expanded> |
| 5062 | true == true |
| 5063 | </Expanded> |
| 5064 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5065 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5066 | <Original> |
| 5067 | spec.matches( tcC ) == true |
| 5068 | </Original> |
| 5069 | <Expanded> |
| 5070 | true == true |
| 5071 | </Expanded> |
| 5072 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5073 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5074 | <Original> |
| 5075 | spec.matches( tcD ) == true |
| 5076 | </Original> |
| 5077 | <Expanded> |
| 5078 | true == true |
| 5079 | </Expanded> |
| 5080 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5081 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5082 | </Section> |
| 5083 | <Section name="Single tag"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5084 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5085 | <Original> |
| 5086 | spec.hasFilters() == true |
| 5087 | </Original> |
| 5088 | <Expanded> |
| 5089 | true == true |
| 5090 | </Expanded> |
| 5091 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5092 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5093 | <Original> |
| 5094 | spec.matches( tcA ) == false |
| 5095 | </Original> |
| 5096 | <Expanded> |
| 5097 | false == false |
| 5098 | </Expanded> |
| 5099 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5100 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5101 | <Original> |
| 5102 | spec.matches( tcB ) == true |
| 5103 | </Original> |
| 5104 | <Expanded> |
| 5105 | true == true |
| 5106 | </Expanded> |
| 5107 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5108 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5109 | <Original> |
| 5110 | spec.matches( tcC ) == false |
| 5111 | </Original> |
| 5112 | <Expanded> |
| 5113 | false == false |
| 5114 | </Expanded> |
| 5115 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5116 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5117 | </Section> |
| 5118 | <Section name="Single tag, two matches"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5119 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5120 | <Original> |
| 5121 | spec.hasFilters() == true |
| 5122 | </Original> |
| 5123 | <Expanded> |
| 5124 | true == true |
| 5125 | </Expanded> |
| 5126 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5127 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5128 | <Original> |
| 5129 | spec.matches( tcA ) == false |
| 5130 | </Original> |
| 5131 | <Expanded> |
| 5132 | false == false |
| 5133 | </Expanded> |
| 5134 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5135 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5136 | <Original> |
| 5137 | spec.matches( tcB ) == true |
| 5138 | </Original> |
| 5139 | <Expanded> |
| 5140 | true == true |
| 5141 | </Expanded> |
| 5142 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5143 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5144 | <Original> |
| 5145 | spec.matches( tcC ) == true |
| 5146 | </Original> |
| 5147 | <Expanded> |
| 5148 | true == true |
| 5149 | </Expanded> |
| 5150 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5151 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5152 | </Section> |
| 5153 | <Section name="Two tags"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5154 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5155 | <Original> |
| 5156 | spec.hasFilters() == true |
| 5157 | </Original> |
| 5158 | <Expanded> |
| 5159 | true == true |
| 5160 | </Expanded> |
| 5161 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5162 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5163 | <Original> |
| 5164 | spec.matches( tcA ) == false |
| 5165 | </Original> |
| 5166 | <Expanded> |
| 5167 | false == false |
| 5168 | </Expanded> |
| 5169 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5170 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5171 | <Original> |
| 5172 | spec.matches( tcB ) == false |
| 5173 | </Original> |
| 5174 | <Expanded> |
| 5175 | false == false |
| 5176 | </Expanded> |
| 5177 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5178 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5179 | <Original> |
| 5180 | spec.matches( tcC ) == true |
| 5181 | </Original> |
| 5182 | <Expanded> |
| 5183 | true == true |
| 5184 | </Expanded> |
| 5185 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5186 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5187 | </Section> |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5188 | <Section name="Two tags, spare separated"> |
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 | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5190 | <Original> |
| 5191 | spec.hasFilters() == true |
| 5192 | </Original> |
| 5193 | <Expanded> |
| 5194 | true == true |
| 5195 | </Expanded> |
| 5196 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5197 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5198 | <Original> |
| 5199 | spec.matches( tcA ) == false |
| 5200 | </Original> |
| 5201 | <Expanded> |
| 5202 | false == false |
| 5203 | </Expanded> |
| 5204 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5205 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5206 | <Original> |
| 5207 | spec.matches( tcB ) == false |
| 5208 | </Original> |
| 5209 | <Expanded> |
| 5210 | false == false |
| 5211 | </Expanded> |
| 5212 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5213 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5214 | <Original> |
| 5215 | spec.matches( tcC ) == true |
| 5216 | </Original> |
| 5217 | <Expanded> |
| 5218 | true == true |
| 5219 | </Expanded> |
| 5220 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5221 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5222 | </Section> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5223 | <Section name="Wildcarded name and tag"> |
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.hasFilters() == 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( tcA ) == false |
| 5235 | </Original> |
| 5236 | <Expanded> |
| 5237 | false == false |
| 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> |
| 5242 | spec.matches( tcB ) == false |
| 5243 | </Original> |
| 5244 | <Expanded> |
| 5245 | false == false |
| 5246 | </Expanded> |
| 5247 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5248 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5249 | <Original> |
| 5250 | spec.matches( tcC ) == true |
| 5251 | </Original> |
| 5252 | <Expanded> |
| 5253 | true == true |
| 5254 | </Expanded> |
| 5255 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5256 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5257 | <Original> |
| 5258 | spec.matches( tcD ) == false |
| 5259 | </Original> |
| 5260 | <Expanded> |
| 5261 | false == false |
| 5262 | </Expanded> |
| 5263 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5264 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5265 | </Section> |
| 5266 | <Section name="Single tag exclusion"> |
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 | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5268 | <Original> |
| 5269 | spec.hasFilters() == true |
| 5270 | </Original> |
| 5271 | <Expanded> |
| 5272 | true == true |
| 5273 | </Expanded> |
| 5274 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5275 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5276 | <Original> |
| 5277 | spec.matches( tcA ) == true |
| 5278 | </Original> |
| 5279 | <Expanded> |
| 5280 | true == true |
| 5281 | </Expanded> |
| 5282 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5283 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5284 | <Original> |
| 5285 | spec.matches( tcB ) == false |
| 5286 | </Original> |
| 5287 | <Expanded> |
| 5288 | false == false |
| 5289 | </Expanded> |
| 5290 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5291 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5292 | <Original> |
| 5293 | spec.matches( tcC ) == true |
| 5294 | </Original> |
| 5295 | <Expanded> |
| 5296 | true == true |
| 5297 | </Expanded> |
| 5298 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5299 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5300 | </Section> |
| 5301 | <Section name="One tag exclusion and one tag inclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5302 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5303 | <Original> |
| 5304 | spec.hasFilters() == true |
| 5305 | </Original> |
| 5306 | <Expanded> |
| 5307 | true == true |
| 5308 | </Expanded> |
| 5309 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5310 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5311 | <Original> |
| 5312 | spec.matches( tcA ) == false |
| 5313 | </Original> |
| 5314 | <Expanded> |
| 5315 | false == false |
| 5316 | </Expanded> |
| 5317 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5318 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5319 | <Original> |
| 5320 | spec.matches( tcB ) == true |
| 5321 | </Original> |
| 5322 | <Expanded> |
| 5323 | true == true |
| 5324 | </Expanded> |
| 5325 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5326 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5327 | <Original> |
| 5328 | spec.matches( tcC ) == false |
| 5329 | </Original> |
| 5330 | <Expanded> |
| 5331 | false == false |
| 5332 | </Expanded> |
| 5333 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5334 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5335 | </Section> |
| 5336 | <Section name="One tag exclusion and one wldcarded name inclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5337 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5338 | <Original> |
| 5339 | spec.hasFilters() == true |
| 5340 | </Original> |
| 5341 | <Expanded> |
| 5342 | true == true |
| 5343 | </Expanded> |
| 5344 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5345 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5346 | <Original> |
| 5347 | spec.matches( tcA ) == false |
| 5348 | </Original> |
| 5349 | <Expanded> |
| 5350 | false == false |
| 5351 | </Expanded> |
| 5352 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5353 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5354 | <Original> |
| 5355 | spec.matches( tcB ) == false |
| 5356 | </Original> |
| 5357 | <Expanded> |
| 5358 | false == false |
| 5359 | </Expanded> |
| 5360 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5361 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5362 | <Original> |
| 5363 | spec.matches( tcC ) == false |
| 5364 | </Original> |
| 5365 | <Expanded> |
| 5366 | false == false |
| 5367 | </Expanded> |
| 5368 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5369 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5370 | <Original> |
| 5371 | spec.matches( tcD ) == true |
| 5372 | </Original> |
| 5373 | <Expanded> |
| 5374 | true == true |
| 5375 | </Expanded> |
| 5376 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5377 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5378 | </Section> |
| 5379 | <Section name="One tag exclusion, using exclude:, and one wldcarded name inclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5380 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5381 | <Original> |
| 5382 | spec.hasFilters() == true |
| 5383 | </Original> |
| 5384 | <Expanded> |
| 5385 | true == true |
| 5386 | </Expanded> |
| 5387 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5388 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5389 | <Original> |
| 5390 | spec.matches( tcA ) == false |
| 5391 | </Original> |
| 5392 | <Expanded> |
| 5393 | false == false |
| 5394 | </Expanded> |
| 5395 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5396 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5397 | <Original> |
| 5398 | spec.matches( tcB ) == false |
| 5399 | </Original> |
| 5400 | <Expanded> |
| 5401 | false == false |
| 5402 | </Expanded> |
| 5403 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5404 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5405 | <Original> |
| 5406 | spec.matches( tcC ) == false |
| 5407 | </Original> |
| 5408 | <Expanded> |
| 5409 | false == false |
| 5410 | </Expanded> |
| 5411 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5412 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5413 | <Original> |
| 5414 | spec.matches( tcD ) == true |
| 5415 | </Original> |
| 5416 | <Expanded> |
| 5417 | true == true |
| 5418 | </Expanded> |
| 5419 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5420 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5421 | </Section> |
| 5422 | <Section name="name exclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5423 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5424 | <Original> |
| 5425 | spec.hasFilters() == true |
| 5426 | </Original> |
| 5427 | <Expanded> |
| 5428 | true == true |
| 5429 | </Expanded> |
| 5430 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5431 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5432 | <Original> |
| 5433 | spec.matches( tcA ) == true |
| 5434 | </Original> |
| 5435 | <Expanded> |
| 5436 | true == true |
| 5437 | </Expanded> |
| 5438 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5439 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5440 | <Original> |
| 5441 | spec.matches( tcB ) == false |
| 5442 | </Original> |
| 5443 | <Expanded> |
| 5444 | false == false |
| 5445 | </Expanded> |
| 5446 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5447 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5448 | <Original> |
| 5449 | spec.matches( tcC ) == true |
| 5450 | </Original> |
| 5451 | <Expanded> |
| 5452 | true == true |
| 5453 | </Expanded> |
| 5454 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5455 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5456 | <Original> |
| 5457 | spec.matches( tcD ) == true |
| 5458 | </Original> |
| 5459 | <Expanded> |
| 5460 | true == true |
| 5461 | </Expanded> |
| 5462 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5463 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5464 | </Section> |
| 5465 | <Section name="wildcarded name exclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5466 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5467 | <Original> |
| 5468 | spec.hasFilters() == true |
| 5469 | </Original> |
| 5470 | <Expanded> |
| 5471 | true == true |
| 5472 | </Expanded> |
| 5473 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5474 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5475 | <Original> |
| 5476 | spec.matches( tcA ) == true |
| 5477 | </Original> |
| 5478 | <Expanded> |
| 5479 | true == true |
| 5480 | </Expanded> |
| 5481 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5482 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5483 | <Original> |
| 5484 | spec.matches( tcB ) == true |
| 5485 | </Original> |
| 5486 | <Expanded> |
| 5487 | true == true |
| 5488 | </Expanded> |
| 5489 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5490 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5491 | <Original> |
| 5492 | spec.matches( tcC ) == false |
| 5493 | </Original> |
| 5494 | <Expanded> |
| 5495 | false == false |
| 5496 | </Expanded> |
| 5497 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5498 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5499 | <Original> |
| 5500 | spec.matches( tcD ) == false |
| 5501 | </Original> |
| 5502 | <Expanded> |
| 5503 | false == false |
| 5504 | </Expanded> |
| 5505 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5506 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5507 | </Section> |
| 5508 | <Section name="wildcarded name exclusion with tag inclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5509 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5510 | <Original> |
| 5511 | spec.hasFilters() == true |
| 5512 | </Original> |
| 5513 | <Expanded> |
| 5514 | true == true |
| 5515 | </Expanded> |
| 5516 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5517 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5518 | <Original> |
| 5519 | spec.matches( tcA ) == true |
| 5520 | </Original> |
| 5521 | <Expanded> |
| 5522 | true == true |
| 5523 | </Expanded> |
| 5524 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5525 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5526 | <Original> |
| 5527 | spec.matches( tcB ) == true |
| 5528 | </Original> |
| 5529 | <Expanded> |
| 5530 | true == true |
| 5531 | </Expanded> |
| 5532 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5533 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5534 | <Original> |
| 5535 | spec.matches( tcC ) == true |
| 5536 | </Original> |
| 5537 | <Expanded> |
| 5538 | true == true |
| 5539 | </Expanded> |
| 5540 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5541 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5542 | <Original> |
| 5543 | spec.matches( tcD ) == false |
| 5544 | </Original> |
| 5545 | <Expanded> |
| 5546 | false == false |
| 5547 | </Expanded> |
| 5548 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5549 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5550 | </Section> |
| 5551 | <Section name="wildcarded name exclusion, using exclude:, with tag inclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5552 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5553 | <Original> |
| 5554 | spec.hasFilters() == true |
| 5555 | </Original> |
| 5556 | <Expanded> |
| 5557 | true == true |
| 5558 | </Expanded> |
| 5559 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5560 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5561 | <Original> |
| 5562 | spec.matches( tcA ) == true |
| 5563 | </Original> |
| 5564 | <Expanded> |
| 5565 | true == true |
| 5566 | </Expanded> |
| 5567 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5568 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5569 | <Original> |
| 5570 | spec.matches( tcB ) == true |
| 5571 | </Original> |
| 5572 | <Expanded> |
| 5573 | true == true |
| 5574 | </Expanded> |
| 5575 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5576 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5577 | <Original> |
| 5578 | spec.matches( tcC ) == true |
| 5579 | </Original> |
| 5580 | <Expanded> |
| 5581 | true == true |
| 5582 | </Expanded> |
| 5583 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5584 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5585 | <Original> |
| 5586 | spec.matches( tcD ) == false |
| 5587 | </Original> |
| 5588 | <Expanded> |
| 5589 | false == false |
| 5590 | </Expanded> |
| 5591 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5592 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5593 | </Section> |
| 5594 | <Section name="two wildcarded names"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5595 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5596 | <Original> |
| 5597 | spec.hasFilters() == true |
| 5598 | </Original> |
| 5599 | <Expanded> |
| 5600 | true == true |
| 5601 | </Expanded> |
| 5602 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5603 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5604 | <Original> |
| 5605 | spec.matches( tcA ) == false |
| 5606 | </Original> |
| 5607 | <Expanded> |
| 5608 | false == false |
| 5609 | </Expanded> |
| 5610 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5611 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5612 | <Original> |
| 5613 | spec.matches( tcB ) == false |
| 5614 | </Original> |
| 5615 | <Expanded> |
| 5616 | false == false |
| 5617 | </Expanded> |
| 5618 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5619 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5620 | <Original> |
| 5621 | spec.matches( tcC ) == true |
| 5622 | </Original> |
| 5623 | <Expanded> |
| 5624 | true == true |
| 5625 | </Expanded> |
| 5626 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5627 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5628 | <Original> |
| 5629 | spec.matches( tcD ) == false |
| 5630 | </Original> |
| 5631 | <Expanded> |
| 5632 | false == false |
| 5633 | </Expanded> |
| 5634 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5635 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5636 | </Section> |
| 5637 | <Section name="empty tag"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5638 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5639 | <Original> |
| 5640 | spec.hasFilters() == false |
| 5641 | </Original> |
| 5642 | <Expanded> |
| 5643 | false == false |
| 5644 | </Expanded> |
| 5645 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5646 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5647 | <Original> |
| 5648 | spec.matches( tcA ) == false |
| 5649 | </Original> |
| 5650 | <Expanded> |
| 5651 | false == false |
| 5652 | </Expanded> |
| 5653 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5654 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5655 | <Original> |
| 5656 | spec.matches( tcB ) == false |
| 5657 | </Original> |
| 5658 | <Expanded> |
| 5659 | false == false |
| 5660 | </Expanded> |
| 5661 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5662 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5663 | <Original> |
| 5664 | spec.matches( tcC ) == false |
| 5665 | </Original> |
| 5666 | <Expanded> |
| 5667 | false == false |
| 5668 | </Expanded> |
| 5669 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5670 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5671 | <Original> |
| 5672 | spec.matches( tcD ) == false |
| 5673 | </Original> |
| 5674 | <Expanded> |
| 5675 | false == false |
| 5676 | </Expanded> |
| 5677 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5678 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5679 | </Section> |
| 5680 | <Section name="empty quoted name"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5681 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5682 | <Original> |
| 5683 | spec.hasFilters() == false |
| 5684 | </Original> |
| 5685 | <Expanded> |
| 5686 | false == false |
| 5687 | </Expanded> |
| 5688 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5689 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5690 | <Original> |
| 5691 | spec.matches( tcA ) == false |
| 5692 | </Original> |
| 5693 | <Expanded> |
| 5694 | false == false |
| 5695 | </Expanded> |
| 5696 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5697 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5698 | <Original> |
| 5699 | spec.matches( tcB ) == false |
| 5700 | </Original> |
| 5701 | <Expanded> |
| 5702 | false == false |
| 5703 | </Expanded> |
| 5704 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5705 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5706 | <Original> |
| 5707 | spec.matches( tcC ) == false |
| 5708 | </Original> |
| 5709 | <Expanded> |
| 5710 | false == false |
| 5711 | </Expanded> |
| 5712 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5713 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5714 | <Original> |
| 5715 | spec.matches( tcD ) == false |
| 5716 | </Original> |
| 5717 | <Expanded> |
| 5718 | false == false |
| 5719 | </Expanded> |
| 5720 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5721 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5722 | </Section> |
| 5723 | <Section name="quoted string followed by tag exclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5724 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5725 | <Original> |
| 5726 | spec.hasFilters() == true |
| 5727 | </Original> |
| 5728 | <Expanded> |
| 5729 | true == true |
| 5730 | </Expanded> |
| 5731 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5732 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5733 | <Original> |
| 5734 | spec.matches( tcA ) == false |
| 5735 | </Original> |
| 5736 | <Expanded> |
| 5737 | false == false |
| 5738 | </Expanded> |
| 5739 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5740 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5741 | <Original> |
| 5742 | spec.matches( tcB ) == false |
| 5743 | </Original> |
| 5744 | <Expanded> |
| 5745 | false == false |
| 5746 | </Expanded> |
| 5747 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5748 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5749 | <Original> |
| 5750 | spec.matches( tcC ) == false |
| 5751 | </Original> |
| 5752 | <Expanded> |
| 5753 | false == false |
| 5754 | </Expanded> |
| 5755 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5756 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5757 | <Original> |
| 5758 | spec.matches( tcD ) == true |
| 5759 | </Original> |
| 5760 | <Expanded> |
| 5761 | true == true |
| 5762 | </Expanded> |
| 5763 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5764 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5765 | </Section> |
| 5766 | <OverallResult success="true"/> |
| 5767 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5768 | <TestCase name="Parsing a std::pair"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5769 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 5770 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5771 | (std::pair<int, int>( 1, 2 )) == aNicePair |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 5772 | </Original> |
| 5773 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5774 | std::pair( 1, 2 ) == std::pair( 1, 2 ) |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 5775 | </Expanded> |
| 5776 | </Expression> |
| 5777 | <OverallResult success="true"/> |
| 5778 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5779 | <TestCase name="Pointers can be compared to null"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5780 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 5781 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5782 | p == 0 |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 5783 | </Original> |
| 5784 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5785 | NULL == 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5786 | </Expanded> |
| 5787 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5788 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5789 | <Original> |
| 5790 | p == pNULL |
| 5791 | </Original> |
| 5792 | <Expanded> |
| 5793 | NULL == NULL |
| 5794 | </Expanded> |
| 5795 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5796 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5797 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5798 | p != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5799 | </Original> |
| 5800 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5801 | 0x<hex digits> != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5802 | </Expanded> |
| 5803 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5804 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5805 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5806 | cp != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5807 | </Original> |
| 5808 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5809 | 0x<hex digits> != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5810 | </Expanded> |
| 5811 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5812 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5813 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5814 | cpc != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5815 | </Original> |
| 5816 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5817 | 0x<hex digits> != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5818 | </Expanded> |
| 5819 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5820 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5821 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5822 | returnsNull() == 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5823 | </Original> |
| 5824 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5825 | {null string} == 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5826 | </Expanded> |
| 5827 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5828 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5829 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5830 | returnsConstNull() == 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5831 | </Original> |
| 5832 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5833 | {null string} == 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5834 | </Expanded> |
| 5835 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5836 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5837 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5838 | 0 != p |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5839 | </Original> |
| 5840 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5841 | 0 != 0x<hex digits> |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 5842 | </Expanded> |
| 5843 | </Expression> |
| 5844 | <OverallResult success="true"/> |
| 5845 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5846 | <TestCase name="Pointers can be converted to strings"> |
| 5847 | <Warning> |
| 5848 | actual address of p: 0x<hex digits> |
| 5849 | </Warning> |
| 5850 | <Warning> |
| 5851 | toString(p): 0x<hex digits> |
| 5852 | </Warning> |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 5853 | <OverallResult success="true"/> |
| 5854 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5855 | <TestCase name="Process can be configured on command line"> |
| 5856 | <Section name="default - no arguments"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5857 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5858 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5859 | parseIntoConfig( argv, config ) |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5860 | </Original> |
| 5861 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5862 | parseIntoConfig( argv, config ) |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5863 | </Expanded> |
| 5864 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5865 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5866 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5867 | config.shouldDebugBreak == false |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5868 | </Original> |
| 5869 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5870 | false == false |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5871 | </Expanded> |
| 5872 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5873 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5874 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5875 | config.abortAfter == -1 |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5876 | </Original> |
| 5877 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5878 | -1 == -1 |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5879 | </Expanded> |
| 5880 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5881 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5882 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5883 | config.noThrow == false |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5884 | </Original> |
| 5885 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5886 | false == false |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5887 | </Expanded> |
| 5888 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5889 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5890 | <Original> |
| 5891 | config.reporterNames.empty() |
| 5892 | </Original> |
| 5893 | <Expanded> |
| 5894 | true |
| 5895 | </Expanded> |
| 5896 | </Expression> |
| 5897 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
| 5898 | </Section> |
| 5899 | <Section name="test lists"> |
| 5900 | <Section name="1 test" description="Specify one test case using"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5901 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5902 | <Original> |
| 5903 | parseIntoConfig( argv, config ) |
| 5904 | </Original> |
| 5905 | <Expanded> |
| 5906 | parseIntoConfig( argv, config ) |
| 5907 | </Expanded> |
| 5908 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5909 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5910 | <Original> |
| 5911 | cfg.testSpec().matches( fakeTestCase( "notIncluded" ) ) == false |
| 5912 | </Original> |
| 5913 | <Expanded> |
| 5914 | false == false |
| 5915 | </Expanded> |
| 5916 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5917 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5918 | <Original> |
| 5919 | cfg.testSpec().matches( fakeTestCase( "test1" ) ) |
| 5920 | </Original> |
| 5921 | <Expanded> |
| 5922 | true |
| 5923 | </Expanded> |
| 5924 | </Expression> |
| 5925 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 5926 | </Section> |
| 5927 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 5928 | </Section> |
| 5929 | <Section name="test lists"> |
| 5930 | <Section name="Specify one test case exclusion using exclude:"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5931 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5932 | <Original> |
| 5933 | parseIntoConfig( argv, config ) |
| 5934 | </Original> |
| 5935 | <Expanded> |
| 5936 | parseIntoConfig( argv, config ) |
| 5937 | </Expanded> |
| 5938 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5939 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5940 | <Original> |
| 5941 | cfg.testSpec().matches( fakeTestCase( "test1" ) ) == false |
| 5942 | </Original> |
| 5943 | <Expanded> |
| 5944 | false == false |
| 5945 | </Expanded> |
| 5946 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5947 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5948 | <Original> |
| 5949 | cfg.testSpec().matches( fakeTestCase( "alwaysIncluded" ) ) |
| 5950 | </Original> |
| 5951 | <Expanded> |
| 5952 | true |
| 5953 | </Expanded> |
| 5954 | </Expression> |
| 5955 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 5956 | </Section> |
| 5957 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 5958 | </Section> |
| 5959 | <Section name="test lists"> |
| 5960 | <Section name="Specify one test case exclusion using ~"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5961 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5962 | <Original> |
| 5963 | parseIntoConfig( argv, config ) |
| 5964 | </Original> |
| 5965 | <Expanded> |
| 5966 | parseIntoConfig( argv, config ) |
| 5967 | </Expanded> |
| 5968 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5969 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5970 | <Original> |
| 5971 | cfg.testSpec().matches( fakeTestCase( "test1" ) ) == false |
| 5972 | </Original> |
| 5973 | <Expanded> |
| 5974 | false == false |
| 5975 | </Expanded> |
| 5976 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5977 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5978 | <Original> |
| 5979 | cfg.testSpec().matches( fakeTestCase( "alwaysIncluded" ) ) |
| 5980 | </Original> |
| 5981 | <Expanded> |
| 5982 | true |
| 5983 | </Expanded> |
| 5984 | </Expression> |
| 5985 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 5986 | </Section> |
| 5987 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 5988 | </Section> |
| 5989 | <Section name="reporter"> |
| 5990 | <Section name="-r/console"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5991 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5992 | <Original> |
| 5993 | parseIntoConfig( argv, config ) |
| 5994 | </Original> |
| 5995 | <Expanded> |
| 5996 | parseIntoConfig( argv, config ) |
| 5997 | </Expanded> |
| 5998 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5999 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6000 | <Original> |
| 6001 | config.reporterNames[0] == "console" |
| 6002 | </Original> |
| 6003 | <Expanded> |
| 6004 | "console" == "console" |
| 6005 | </Expanded> |
| 6006 | </Expression> |
| 6007 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6008 | </Section> |
| 6009 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6010 | </Section> |
| 6011 | <Section name="reporter"> |
| 6012 | <Section name="-r/xml"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6013 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6014 | <Original> |
| 6015 | parseIntoConfig( argv, config ) |
| 6016 | </Original> |
| 6017 | <Expanded> |
| 6018 | parseIntoConfig( argv, config ) |
| 6019 | </Expanded> |
| 6020 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6021 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6022 | <Original> |
| 6023 | config.reporterNames[0] == "xml" |
| 6024 | </Original> |
| 6025 | <Expanded> |
| 6026 | "xml" == "xml" |
| 6027 | </Expanded> |
| 6028 | </Expression> |
| 6029 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6030 | </Section> |
| 6031 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6032 | </Section> |
| 6033 | <Section name="reporter"> |
| 6034 | <Section name="-r xml and junit"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6035 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6036 | <Original> |
| 6037 | parseIntoConfig( argv, config ) |
| 6038 | </Original> |
| 6039 | <Expanded> |
| 6040 | parseIntoConfig( argv, config ) |
| 6041 | </Expanded> |
| 6042 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6043 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6044 | <Original> |
| 6045 | config.reporterNames.size() == 2 |
| 6046 | </Original> |
| 6047 | <Expanded> |
| 6048 | 2 == 2 |
| 6049 | </Expanded> |
| 6050 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6051 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6052 | <Original> |
| 6053 | config.reporterNames[0] == "xml" |
| 6054 | </Original> |
| 6055 | <Expanded> |
| 6056 | "xml" == "xml" |
| 6057 | </Expanded> |
| 6058 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6059 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6060 | <Original> |
| 6061 | config.reporterNames[1] == "junit" |
| 6062 | </Original> |
| 6063 | <Expanded> |
| 6064 | "junit" == "junit" |
| 6065 | </Expanded> |
| 6066 | </Expression> |
| 6067 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 6068 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6069 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6070 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6071 | <Section name="reporter"> |
| 6072 | <Section name="--reporter/junit"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6073 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6074 | <Original> |
| 6075 | parseIntoConfig( argv, config ) |
| 6076 | </Original> |
| 6077 | <Expanded> |
| 6078 | parseIntoConfig( argv, config ) |
| 6079 | </Expanded> |
| 6080 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6081 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6082 | <Original> |
| 6083 | config.reporterNames[0] == "junit" |
| 6084 | </Original> |
| 6085 | <Expanded> |
| 6086 | "junit" == "junit" |
| 6087 | </Expanded> |
| 6088 | </Expression> |
| 6089 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6090 | </Section> |
| 6091 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6092 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6093 | <Section name="debugger"> |
| 6094 | <Section name="-b"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6095 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6096 | <Original> |
| 6097 | parseIntoConfig( argv, config ) |
| 6098 | </Original> |
| 6099 | <Expanded> |
| 6100 | parseIntoConfig( argv, config ) |
| 6101 | </Expanded> |
| 6102 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6103 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6104 | <Original> |
| 6105 | config.shouldDebugBreak == true |
| 6106 | </Original> |
| 6107 | <Expanded> |
| 6108 | true == true |
| 6109 | </Expanded> |
| 6110 | </Expression> |
| 6111 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6112 | </Section> |
| 6113 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6114 | </Section> |
| 6115 | <Section name="debugger"> |
| 6116 | <Section name="--break"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6117 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6118 | <Original> |
| 6119 | parseIntoConfig( argv, config ) |
| 6120 | </Original> |
| 6121 | <Expanded> |
| 6122 | parseIntoConfig( argv, config ) |
| 6123 | </Expanded> |
| 6124 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6125 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6126 | <Original> |
| 6127 | config.shouldDebugBreak |
| 6128 | </Original> |
| 6129 | <Expanded> |
| 6130 | true |
| 6131 | </Expanded> |
| 6132 | </Expression> |
| 6133 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6134 | </Section> |
| 6135 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6136 | </Section> |
| 6137 | <Section name="abort"> |
| 6138 | <Section name="-a aborts after first failure"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6139 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6140 | <Original> |
| 6141 | parseIntoConfig( argv, config ) |
| 6142 | </Original> |
| 6143 | <Expanded> |
| 6144 | parseIntoConfig( argv, config ) |
| 6145 | </Expanded> |
| 6146 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6147 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6148 | <Original> |
| 6149 | config.abortAfter == 1 |
| 6150 | </Original> |
| 6151 | <Expanded> |
| 6152 | 1 == 1 |
| 6153 | </Expanded> |
| 6154 | </Expression> |
| 6155 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6156 | </Section> |
| 6157 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6158 | </Section> |
| 6159 | <Section name="abort"> |
| 6160 | <Section name="-x 2 aborts after two failures"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6161 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6162 | <Original> |
| 6163 | parseIntoConfig( argv, config ) |
| 6164 | </Original> |
| 6165 | <Expanded> |
| 6166 | parseIntoConfig( argv, config ) |
| 6167 | </Expanded> |
| 6168 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6169 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6170 | <Original> |
| 6171 | config.abortAfter == 2 |
| 6172 | </Original> |
| 6173 | <Expanded> |
| 6174 | 2 == 2 |
| 6175 | </Expanded> |
| 6176 | </Expression> |
| 6177 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6178 | </Section> |
| 6179 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6180 | </Section> |
| 6181 | <Section name="abort"> |
| 6182 | <Section name="-x must be greater than zero"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6183 | <Expression success="true" type="REQUIRE_THAT" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6184 | <Original> |
| 6185 | parseIntoConfigAndReturnError( argv, config ), Contains( "greater than zero" ) |
| 6186 | </Original> |
| 6187 | <Expanded> |
| 6188 | "Value after -x or --abortAfter must be greater than zero |
| 6189 | - while parsing: (-x, --abortx <no. failures>)" contains: "greater than zero" |
| 6190 | </Expanded> |
| 6191 | </Expression> |
| 6192 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6193 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6194 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6195 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6196 | <Section name="abort"> |
| 6197 | <Section name="-x must be numeric"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6198 | <Expression success="true" type="REQUIRE_THAT" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6199 | <Original> |
| 6200 | parseIntoConfigAndReturnError( argv, config ), Contains( "-x" ) |
| 6201 | </Original> |
| 6202 | <Expanded> |
| 6203 | "Unable to convert oops to destination type |
| 6204 | - while parsing: (-x, --abortx <no. failures>)" contains: "-x" |
| 6205 | </Expanded> |
| 6206 | </Expression> |
| 6207 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6208 | </Section> |
| 6209 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6210 | </Section> |
| 6211 | <Section name="nothrow"> |
| 6212 | <Section name="-e"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6213 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6214 | <Original> |
| 6215 | parseIntoConfig( argv, config ) |
| 6216 | </Original> |
| 6217 | <Expanded> |
| 6218 | parseIntoConfig( argv, config ) |
| 6219 | </Expanded> |
| 6220 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6221 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6222 | <Original> |
| 6223 | config.noThrow == true |
| 6224 | </Original> |
| 6225 | <Expanded> |
| 6226 | true == true |
| 6227 | </Expanded> |
| 6228 | </Expression> |
| 6229 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6230 | </Section> |
| 6231 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6232 | </Section> |
| 6233 | <Section name="nothrow"> |
| 6234 | <Section name="--nothrow"> |
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 | config.noThrow == true |
| 6246 | </Original> |
| 6247 | <Expanded> |
| 6248 | true == true |
| 6249 | </Expanded> |
| 6250 | </Expression> |
| 6251 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6252 | </Section> |
| 6253 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6254 | </Section> |
| 6255 | <Section name="output filename"> |
| 6256 | <Section name="-o filename"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6257 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6258 | <Original> |
| 6259 | parseIntoConfig( argv, config ) |
| 6260 | </Original> |
| 6261 | <Expanded> |
| 6262 | parseIntoConfig( argv, config ) |
| 6263 | </Expanded> |
| 6264 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6265 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6266 | <Original> |
| 6267 | config.outputFilename == "filename.ext" |
| 6268 | </Original> |
| 6269 | <Expanded> |
| 6270 | "filename.ext" == "filename.ext" |
| 6271 | </Expanded> |
| 6272 | </Expression> |
| 6273 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6274 | </Section> |
| 6275 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6276 | </Section> |
| 6277 | <Section name="output filename"> |
| 6278 | <Section name="--out"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6279 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6280 | <Original> |
| 6281 | parseIntoConfig( argv, config ) |
| 6282 | </Original> |
| 6283 | <Expanded> |
| 6284 | parseIntoConfig( argv, config ) |
| 6285 | </Expanded> |
| 6286 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6287 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6288 | <Original> |
| 6289 | config.outputFilename == "filename.ext" |
| 6290 | </Original> |
| 6291 | <Expanded> |
| 6292 | "filename.ext" == "filename.ext" |
| 6293 | </Expanded> |
| 6294 | </Expression> |
| 6295 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6296 | </Section> |
| 6297 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6298 | </Section> |
| 6299 | <Section name="combinations"> |
| 6300 | <Section name="Single character flags can be combined"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6301 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6302 | <Original> |
| 6303 | parseIntoConfig( argv, config ) |
| 6304 | </Original> |
| 6305 | <Expanded> |
| 6306 | parseIntoConfig( argv, config ) |
| 6307 | </Expanded> |
| 6308 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6309 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6310 | <Original> |
| 6311 | config.abortAfter == 1 |
| 6312 | </Original> |
| 6313 | <Expanded> |
| 6314 | 1 == 1 |
| 6315 | </Expanded> |
| 6316 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6317 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6318 | <Original> |
| 6319 | config.shouldDebugBreak |
| 6320 | </Original> |
| 6321 | <Expanded> |
| 6322 | true |
| 6323 | </Expanded> |
| 6324 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6325 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6326 | <Original> |
| 6327 | config.noThrow == true |
| 6328 | </Original> |
| 6329 | <Expanded> |
| 6330 | true == true |
| 6331 | </Expanded> |
| 6332 | </Expression> |
| 6333 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 6334 | </Section> |
| 6335 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 6336 | </Section> |
| 6337 | <Section name="use-colour"> |
| 6338 | <Section name="without option"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6339 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6340 | <Original> |
| 6341 | parseIntoConfig( argv, config ) |
| 6342 | </Original> |
| 6343 | <Expanded> |
| 6344 | parseIntoConfig( argv, config ) |
| 6345 | </Expanded> |
| 6346 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6347 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6348 | <Original> |
| 6349 | config.useColour == UseColour::Auto |
| 6350 | </Original> |
| 6351 | <Expanded> |
| 6352 | 0 == 0 |
| 6353 | </Expanded> |
| 6354 | </Expression> |
| 6355 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6356 | </Section> |
| 6357 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6358 | </Section> |
| 6359 | <Section name="use-colour"> |
| 6360 | <Section name="auto"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6361 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6362 | <Original> |
| 6363 | parseIntoConfig( argv, config ) |
| 6364 | </Original> |
| 6365 | <Expanded> |
| 6366 | parseIntoConfig( argv, config ) |
| 6367 | </Expanded> |
| 6368 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6369 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6370 | <Original> |
| 6371 | config.useColour == UseColour::Auto |
| 6372 | </Original> |
| 6373 | <Expanded> |
| 6374 | 0 == 0 |
| 6375 | </Expanded> |
| 6376 | </Expression> |
| 6377 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6378 | </Section> |
| 6379 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6380 | </Section> |
| 6381 | <Section name="use-colour"> |
| 6382 | <Section name="yes"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6383 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6384 | <Original> |
| 6385 | parseIntoConfig( argv, config ) |
| 6386 | </Original> |
| 6387 | <Expanded> |
| 6388 | parseIntoConfig( argv, config ) |
| 6389 | </Expanded> |
| 6390 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6391 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6392 | <Original> |
| 6393 | config.useColour == UseColour::Yes |
| 6394 | </Original> |
| 6395 | <Expanded> |
| 6396 | 1 == 1 |
| 6397 | </Expanded> |
| 6398 | </Expression> |
| 6399 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6400 | </Section> |
| 6401 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6402 | </Section> |
| 6403 | <Section name="use-colour"> |
| 6404 | <Section name="no"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6405 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6406 | <Original> |
| 6407 | parseIntoConfig( argv, config ) |
| 6408 | </Original> |
| 6409 | <Expanded> |
| 6410 | parseIntoConfig( argv, config ) |
| 6411 | </Expanded> |
| 6412 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6413 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6414 | <Original> |
| 6415 | config.useColour == UseColour::No |
| 6416 | </Original> |
| 6417 | <Expanded> |
| 6418 | 2 == 2 |
| 6419 | </Expanded> |
| 6420 | </Expression> |
| 6421 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6422 | </Section> |
| 6423 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6424 | </Section> |
| 6425 | <Section name="use-colour"> |
| 6426 | <Section name="error"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6427 | <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] | 6428 | <Original> |
| 6429 | parseIntoConfig( argv, config ), Contains( "colour mode must be one of" ) |
| 6430 | </Original> |
| 6431 | <Expanded> |
| 6432 | parseIntoConfig( argv, config ), Contains( "colour mode must be one of" ) |
| 6433 | </Expanded> |
| 6434 | </Expression> |
| 6435 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6436 | </Section> |
| 6437 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6438 | </Section> |
| 6439 | <OverallResult success="true"/> |
| 6440 | </TestCase> |
| 6441 | <TestCase name="SCOPED_INFO is reset for each loop"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6442 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6443 | <Original> |
| 6444 | i < 10 |
| 6445 | </Original> |
| 6446 | <Expanded> |
| 6447 | 0 < 10 |
| 6448 | </Expanded> |
| 6449 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6450 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6451 | <Original> |
| 6452 | i < 10 |
| 6453 | </Original> |
| 6454 | <Expanded> |
| 6455 | 1 < 10 |
| 6456 | </Expanded> |
| 6457 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6458 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6459 | <Original> |
| 6460 | i < 10 |
| 6461 | </Original> |
| 6462 | <Expanded> |
| 6463 | 2 < 10 |
| 6464 | </Expanded> |
| 6465 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6466 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6467 | <Original> |
| 6468 | i < 10 |
| 6469 | </Original> |
| 6470 | <Expanded> |
| 6471 | 3 < 10 |
| 6472 | </Expanded> |
| 6473 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6474 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6475 | <Original> |
| 6476 | i < 10 |
| 6477 | </Original> |
| 6478 | <Expanded> |
| 6479 | 4 < 10 |
| 6480 | </Expanded> |
| 6481 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6482 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6483 | <Original> |
| 6484 | i < 10 |
| 6485 | </Original> |
| 6486 | <Expanded> |
| 6487 | 5 < 10 |
| 6488 | </Expanded> |
| 6489 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6490 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6491 | <Original> |
| 6492 | i < 10 |
| 6493 | </Original> |
| 6494 | <Expanded> |
| 6495 | 6 < 10 |
| 6496 | </Expanded> |
| 6497 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6498 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6499 | <Original> |
| 6500 | i < 10 |
| 6501 | </Original> |
| 6502 | <Expanded> |
| 6503 | 7 < 10 |
| 6504 | </Expanded> |
| 6505 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6506 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6507 | <Original> |
| 6508 | i < 10 |
| 6509 | </Original> |
| 6510 | <Expanded> |
| 6511 | 8 < 10 |
| 6512 | </Expanded> |
| 6513 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6514 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6515 | <Original> |
| 6516 | i < 10 |
| 6517 | </Original> |
| 6518 | <Expanded> |
| 6519 | 9 < 10 |
| 6520 | </Expanded> |
| 6521 | </Expression> |
| 6522 | <Info> |
| 6523 | current counter 10 |
| 6524 | </Info> |
| 6525 | <Info> |
| 6526 | i := 10 |
| 6527 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6528 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6529 | <Original> |
| 6530 | i < 10 |
| 6531 | </Original> |
| 6532 | <Expanded> |
| 6533 | 10 < 10 |
| 6534 | </Expanded> |
| 6535 | </Expression> |
| 6536 | <OverallResult success="false"/> |
| 6537 | </TestCase> |
| 6538 | <TestCase name="SUCCEED counts as a test pass"> |
| 6539 | <OverallResult success="true"/> |
| 6540 | </TestCase> |
| 6541 | <TestCase name="SUCCESS does not require an argument"> |
| 6542 | <OverallResult success="true"/> |
| 6543 | </TestCase> |
| 6544 | <TestCase name="Scenario: BDD tests requiring Fixtures to provide commonly-accessed data or methods"> |
| 6545 | <Section name="Given: No operations precede me"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6546 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6547 | <Original> |
| 6548 | before == 0 |
| 6549 | </Original> |
| 6550 | <Expanded> |
| 6551 | 0 == 0 |
| 6552 | </Expanded> |
| 6553 | </Expression> |
| 6554 | <Section name="When: We get the count"> |
| 6555 | <Section name="Then: Subsequently values are higher"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6556 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6557 | <Original> |
| 6558 | after > before |
| 6559 | </Original> |
| 6560 | <Expanded> |
| 6561 | 1 > 0 |
| 6562 | </Expanded> |
| 6563 | </Expression> |
| 6564 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6565 | </Section> |
| 6566 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6567 | </Section> |
| 6568 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6569 | </Section> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6570 | <OverallResult success="true"/> |
| 6571 | </TestCase> |
| 6572 | <TestCase name="Scenario: Do that thing with the thing"> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6573 | <Section name="Given: This stuff exists"> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6574 | <Section name="When: I do this"> |
| 6575 | <Section name="Then: it should do this"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6576 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6577 | <Original> |
| 6578 | itDoesThis() |
| 6579 | </Original> |
| 6580 | <Expanded> |
| 6581 | true |
| 6582 | </Expanded> |
| 6583 | </Expression> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6584 | <Section name="And: do that"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6585 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6586 | <Original> |
| 6587 | itDoesThat() |
| 6588 | </Original> |
| 6589 | <Expanded> |
| 6590 | true |
| 6591 | </Expanded> |
| 6592 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6593 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6594 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6595 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6596 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6597 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6598 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6599 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6600 | </Section> |
| 6601 | <OverallResult success="true"/> |
| 6602 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6603 | <TestCase name="Scenario: This is a really long scenario name to see how the list command deals with wrapping"> |
| 6604 | <Section name="Given: A section name that is so long that it cannot fit in a single console width"> |
| 6605 | <Section name="When: The test headers are printed as part of the normal running of the scenario"> |
| 6606 | <Section name="Then: The, deliberately very long and overly verbose (you see what I did there?) section names must wrap, along with an indent"> |
| 6607 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6608 | </Section> |
| 6609 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6610 | </Section> |
| 6611 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6612 | </Section> |
| 6613 | <OverallResult success="true"/> |
| 6614 | </TestCase> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6615 | <TestCase name="Scenario: Vector resizing affects size and capacity"> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6616 | <Section name="Given: an empty vector"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6617 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6618 | <Original> |
| 6619 | v.size() == 0 |
| 6620 | </Original> |
| 6621 | <Expanded> |
| 6622 | 0 == 0 |
| 6623 | </Expanded> |
| 6624 | </Expression> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6625 | <Section name="When: it is made larger"> |
| 6626 | <Section name="Then: the size and capacity go up"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6627 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6628 | <Original> |
| 6629 | v.size() == 10 |
| 6630 | </Original> |
| 6631 | <Expanded> |
| 6632 | 10 == 10 |
| 6633 | </Expanded> |
| 6634 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6635 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6636 | <Original> |
| 6637 | v.capacity() >= 10 |
| 6638 | </Original> |
| 6639 | <Expanded> |
| 6640 | 10 >= 10 |
| 6641 | </Expanded> |
| 6642 | </Expression> |
| 6643 | <Section name="And when: it is made smaller again"> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6644 | <Section name="Then: the size goes down but the capacity stays the same"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6645 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6646 | <Original> |
| 6647 | v.size() == 5 |
| 6648 | </Original> |
| 6649 | <Expanded> |
| 6650 | 5 == 5 |
| 6651 | </Expanded> |
| 6652 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6653 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6654 | <Original> |
| 6655 | v.capacity() >= 10 |
| 6656 | </Original> |
| 6657 | <Expanded> |
| 6658 | 10 >= 10 |
| 6659 | </Expanded> |
| 6660 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6661 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6662 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6663 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6664 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6665 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6666 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6667 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6668 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6669 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6670 | </Section> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6671 | <Section name="Given: an empty vector"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6672 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6673 | <Original> |
| 6674 | v.size() == 0 |
| 6675 | </Original> |
| 6676 | <Expanded> |
| 6677 | 0 == 0 |
| 6678 | </Expanded> |
| 6679 | </Expression> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6680 | <Section name="When: we reserve more space"> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6681 | <Section name="Then: The capacity is increased but the size remains the same"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6682 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6683 | <Original> |
| 6684 | v.capacity() >= 10 |
| 6685 | </Original> |
| 6686 | <Expanded> |
| 6687 | 10 >= 10 |
| 6688 | </Expanded> |
| 6689 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6690 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6691 | <Original> |
| 6692 | v.size() == 0 |
| 6693 | </Original> |
| 6694 | <Expanded> |
| 6695 | 0 == 0 |
| 6696 | </Expanded> |
| 6697 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6698 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6699 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6700 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6701 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6702 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6703 | </Section> |
| 6704 | <OverallResult success="true"/> |
| 6705 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6706 | <TestCase name="Sends stuff to stdout and stderr"> |
| 6707 | <OverallResult success="true"/> |
| 6708 | </TestCase> |
| 6709 | <TestCase name="Some simple comparisons between doubles"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6710 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6711 | <Original> |
| 6712 | d == Approx( 1.23 ) |
| 6713 | </Original> |
| 6714 | <Expanded> |
| 6715 | 1.23 == Approx( 1.23 ) |
| 6716 | </Expanded> |
| 6717 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6718 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6719 | <Original> |
| 6720 | d != Approx( 1.22 ) |
| 6721 | </Original> |
| 6722 | <Expanded> |
| 6723 | 1.23 != Approx( 1.22 ) |
| 6724 | </Expanded> |
| 6725 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6726 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6727 | <Original> |
| 6728 | d != Approx( 1.24 ) |
| 6729 | </Original> |
| 6730 | <Expanded> |
| 6731 | 1.23 != Approx( 1.24 ) |
| 6732 | </Expanded> |
| 6733 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6734 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6735 | <Original> |
| 6736 | Approx( d ) == 1.23 |
| 6737 | </Original> |
| 6738 | <Expanded> |
| 6739 | Approx( 1.23 ) == 1.23 |
| 6740 | </Expanded> |
| 6741 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6742 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6743 | <Original> |
| 6744 | Approx( d ) != 1.22 |
| 6745 | </Original> |
| 6746 | <Expanded> |
| 6747 | Approx( 1.23 ) != 1.22 |
| 6748 | </Expanded> |
| 6749 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6750 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6751 | <Original> |
| 6752 | Approx( d ) != 1.24 |
| 6753 | </Original> |
| 6754 | <Expanded> |
| 6755 | Approx( 1.23 ) != 1.24 |
| 6756 | </Expanded> |
| 6757 | </Expression> |
| 6758 | <OverallResult success="true"/> |
| 6759 | </TestCase> |
| 6760 | <TestCase name="Standard output from all sections is reported"> |
| 6761 | <Section name="one"> |
| 6762 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 6763 | </Section> |
| 6764 | <Section name="two"> |
| 6765 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 6766 | </Section> |
| 6767 | <OverallResult success="false"/> |
| 6768 | </TestCase> |
| 6769 | <TestCase name="StartsWith string matcher"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6770 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6771 | <Original> |
| 6772 | testStringForMatching(), StartsWith( "string" ) |
| 6773 | </Original> |
| 6774 | <Expanded> |
| 6775 | "this string contains 'abc' as a substring" starts with: "string" |
| 6776 | </Expanded> |
| 6777 | </Expression> |
| 6778 | <OverallResult success="false"/> |
| 6779 | </TestCase> |
| 6780 | <TestCase name="String matchers"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6781 | <Expression success="true" type="REQUIRE_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6782 | <Original> |
| 6783 | testStringForMatching(), Contains( "string" ) |
| 6784 | </Original> |
| 6785 | <Expanded> |
| 6786 | "this string contains 'abc' as a substring" contains: "string" |
| 6787 | </Expanded> |
| 6788 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6789 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6790 | <Original> |
| 6791 | testStringForMatching(), Contains( "abc" ) |
| 6792 | </Original> |
| 6793 | <Expanded> |
| 6794 | "this string contains 'abc' as a substring" contains: "abc" |
| 6795 | </Expanded> |
| 6796 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6797 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6798 | <Original> |
| 6799 | testStringForMatching(), StartsWith( "this" ) |
| 6800 | </Original> |
| 6801 | <Expanded> |
| 6802 | "this string contains 'abc' as a substring" starts with: "this" |
| 6803 | </Expanded> |
| 6804 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6805 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6806 | <Original> |
| 6807 | testStringForMatching(), EndsWith( "substring" ) |
| 6808 | </Original> |
| 6809 | <Expanded> |
| 6810 | "this string contains 'abc' as a substring" ends with: "substring" |
| 6811 | </Expanded> |
| 6812 | </Expression> |
| 6813 | <OverallResult success="true"/> |
| 6814 | </TestCase> |
| 6815 | <TestCase name="Strings can be rendered with colour"> |
| 6816 | <OverallResult success="true"/> |
| 6817 | </TestCase> |
| 6818 | <TestCase name="Tabs and newlines show in output"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6819 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6820 | <Original> |
| 6821 | s1 == s2 |
| 6822 | </Original> |
| 6823 | <Expanded> |
| 6824 | "if ($b == 10) { |
| 6825 | $a = 20; |
| 6826 | }" |
| 6827 | == |
| 6828 | "if ($b == 10) { |
| 6829 | $a = 20; |
| 6830 | } |
| 6831 | " |
| 6832 | </Expanded> |
| 6833 | </Expression> |
| 6834 | <OverallResult success="false"/> |
| 6835 | </TestCase> |
| 6836 | <TestCase name="Tag alias can be registered against tag patterns"> |
| 6837 | <Section name="The same tag alias can only be registered once"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6838 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6839 | <Original> |
| 6840 | what, Contains( "[@zzz]" ) |
| 6841 | </Original> |
| 6842 | <Expanded> |
| 6843 | "error: tag alias, "[@zzz]" already registered. |
| 6844 | First seen at file:2 |
| 6845 | Redefined at file:10" contains: "[@zzz]" |
| 6846 | </Expanded> |
| 6847 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6848 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6849 | <Original> |
| 6850 | what, Contains( "file" ) |
| 6851 | </Original> |
| 6852 | <Expanded> |
| 6853 | "error: tag alias, "[@zzz]" already registered. |
| 6854 | First seen at file:2 |
| 6855 | Redefined at file:10" contains: "file" |
| 6856 | </Expanded> |
| 6857 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6858 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6859 | <Original> |
| 6860 | what, Contains( "2" ) |
| 6861 | </Original> |
| 6862 | <Expanded> |
| 6863 | "error: tag alias, "[@zzz]" already registered. |
| 6864 | First seen at file:2 |
| 6865 | Redefined at file:10" contains: "2" |
| 6866 | </Expanded> |
| 6867 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6868 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6869 | <Original> |
| 6870 | what, Contains( "10" ) |
| 6871 | </Original> |
| 6872 | <Expanded> |
| 6873 | "error: tag alias, "[@zzz]" already registered. |
| 6874 | First seen at file:2 |
| 6875 | Redefined at file:10" contains: "10" |
| 6876 | </Expanded> |
| 6877 | </Expression> |
| 6878 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 6879 | </Section> |
| 6880 | <Section name="Tag aliases must be of the form [@name]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6881 | <Expression success="true" type="CHECK_THROWS" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6882 | <Original> |
| 6883 | registry.add( "[no ampersat]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 6884 | </Original> |
| 6885 | <Expanded> |
| 6886 | registry.add( "[no ampersat]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 6887 | </Expanded> |
| 6888 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6889 | <Expression success="true" type="CHECK_THROWS" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6890 | <Original> |
| 6891 | registry.add( "[the @ is not at the start]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 6892 | </Original> |
| 6893 | <Expanded> |
| 6894 | registry.add( "[the @ is not at the start]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 6895 | </Expanded> |
| 6896 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6897 | <Expression success="true" type="CHECK_THROWS" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6898 | <Original> |
| 6899 | registry.add( "@no square bracket at start]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 6900 | </Original> |
| 6901 | <Expanded> |
| 6902 | registry.add( "@no square bracket at start]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 6903 | </Expanded> |
| 6904 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6905 | <Expression success="true" type="CHECK_THROWS" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6906 | <Original> |
| 6907 | registry.add( "[@no square bracket at end", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 6908 | </Original> |
| 6909 | <Expanded> |
| 6910 | registry.add( "[@no square bracket at end", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 6911 | </Expanded> |
| 6912 | </Expression> |
| 6913 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6914 | </Section> |
| 6915 | <OverallResult success="true"/> |
| 6916 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6917 | <TestCase name="Test case with one argument"> |
| 6918 | <OverallResult success="true"/> |
| 6919 | </TestCase> |
| 6920 | <TestCase name="Test enum bit values"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6921 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6922 | <Original> |
| 6923 | 0x<hex digits> == bit30and31 |
| 6924 | </Original> |
| 6925 | <Expanded> |
| 6926 | 3221225472 (0x<hex digits>) == 3221225472 |
| 6927 | </Expanded> |
| 6928 | </Expression> |
| 6929 | <OverallResult success="true"/> |
| 6930 | </TestCase> |
| 6931 | <TestCase name="Text can be formatted using the Text class"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6932 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6933 | <Original> |
| 6934 | Text( "hi there" ).toString() == "hi there" |
| 6935 | </Original> |
| 6936 | <Expanded> |
| 6937 | "hi there" == "hi there" |
| 6938 | </Expanded> |
| 6939 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6940 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6941 | <Original> |
| 6942 | Text( "hi there", narrow ).toString() == "hi\nthere" |
| 6943 | </Original> |
| 6944 | <Expanded> |
| 6945 | "hi |
| 6946 | there" |
| 6947 | == |
| 6948 | "hi |
| 6949 | there" |
| 6950 | </Expanded> |
| 6951 | </Expression> |
| 6952 | <OverallResult success="true"/> |
| 6953 | </TestCase> |
| 6954 | <TestCase name="The NO_FAIL macro reports a failure but does not fail the test"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6955 | <Expression success="false" type="CHECK_NOFAIL" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6956 | <Original> |
| 6957 | 1 == 2 |
| 6958 | </Original> |
| 6959 | <Expanded> |
| 6960 | 1 == 2 |
| 6961 | </Expanded> |
| 6962 | </Expression> |
| 6963 | <OverallResult success="true"/> |
| 6964 | </TestCase> |
| 6965 | <TestCase name="This test 'should' fail but doesn't"> |
| 6966 | <OverallResult success="false"/> |
| 6967 | </TestCase> |
| 6968 | <TestCase name="Tracker"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6969 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6970 | <Original> |
| 6971 | testCase.isOpen() |
| 6972 | </Original> |
| 6973 | <Expanded> |
| 6974 | true |
| 6975 | </Expanded> |
| 6976 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6977 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6978 | <Original> |
| 6979 | s1.isOpen() |
| 6980 | </Original> |
| 6981 | <Expanded> |
| 6982 | true |
| 6983 | </Expanded> |
| 6984 | </Expression> |
| 6985 | <Section name="successfully close one section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6986 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 6987 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6988 | s1.isSuccessfullyCompleted() |
| 6989 | </Original> |
| 6990 | <Expanded> |
| 6991 | true |
| 6992 | </Expanded> |
| 6993 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6994 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6995 | <Original> |
| 6996 | testCase.isComplete() == false |
| 6997 | </Original> |
| 6998 | <Expanded> |
| 6999 | false == false |
| 7000 | </Expanded> |
| 7001 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7002 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7003 | <Original> |
| 7004 | ctx.completedCycle() |
| 7005 | </Original> |
| 7006 | <Expanded> |
| 7007 | true |
| 7008 | </Expanded> |
| 7009 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7010 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7011 | <Original> |
| 7012 | testCase.isSuccessfullyCompleted() |
| 7013 | </Original> |
| 7014 | <Expanded> |
| 7015 | true |
| 7016 | </Expanded> |
| 7017 | </Expression> |
| 7018 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 7019 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7020 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7021 | <Original> |
| 7022 | testCase.isOpen() |
| 7023 | </Original> |
| 7024 | <Expanded> |
| 7025 | true |
| 7026 | </Expanded> |
| 7027 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7028 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7029 | <Original> |
| 7030 | s1.isOpen() |
| 7031 | </Original> |
| 7032 | <Expanded> |
| 7033 | true |
| 7034 | </Expanded> |
| 7035 | </Expression> |
| 7036 | <Section name="fail one section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7037 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7038 | <Original> |
| 7039 | s1.isComplete() |
| 7040 | </Original> |
| 7041 | <Expanded> |
| 7042 | true |
| 7043 | </Expanded> |
| 7044 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7045 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7046 | <Original> |
| 7047 | s1.isSuccessfullyCompleted() == false |
| 7048 | </Original> |
| 7049 | <Expanded> |
| 7050 | false == false |
| 7051 | </Expanded> |
| 7052 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7053 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7054 | <Original> |
| 7055 | testCase.isComplete() == false |
| 7056 | </Original> |
| 7057 | <Expanded> |
| 7058 | false == false |
| 7059 | </Expanded> |
| 7060 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7061 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7062 | <Original> |
| 7063 | ctx.completedCycle() |
| 7064 | </Original> |
| 7065 | <Expanded> |
| 7066 | true |
| 7067 | </Expanded> |
| 7068 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7069 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7070 | <Original> |
| 7071 | testCase.isSuccessfullyCompleted() == false |
| 7072 | </Original> |
| 7073 | <Expanded> |
| 7074 | false == false |
| 7075 | </Expanded> |
| 7076 | </Expression> |
| 7077 | <Section name="re-enter after failed section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7078 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7079 | <Original> |
| 7080 | testCase2.isOpen() |
| 7081 | </Original> |
| 7082 | <Expanded> |
| 7083 | true |
| 7084 | </Expanded> |
| 7085 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7086 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7087 | <Original> |
| 7088 | s1b.isOpen() == false |
| 7089 | </Original> |
| 7090 | <Expanded> |
| 7091 | false == false |
| 7092 | </Expanded> |
| 7093 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7094 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7095 | <Original> |
| 7096 | ctx.completedCycle() |
| 7097 | </Original> |
| 7098 | <Expanded> |
| 7099 | true |
| 7100 | </Expanded> |
| 7101 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7102 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7103 | <Original> |
| 7104 | testCase.isComplete() |
| 7105 | </Original> |
| 7106 | <Expanded> |
| 7107 | true |
| 7108 | </Expanded> |
| 7109 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7110 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7111 | <Original> |
| 7112 | testCase.isSuccessfullyCompleted() |
| 7113 | </Original> |
| 7114 | <Expanded> |
| 7115 | true |
| 7116 | </Expanded> |
| 7117 | </Expression> |
| 7118 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
| 7119 | </Section> |
| 7120 | <OverallResults successes="10" failures="0" expectedFailures="0"/> |
| 7121 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7122 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7123 | <Original> |
| 7124 | testCase.isOpen() |
| 7125 | </Original> |
| 7126 | <Expanded> |
| 7127 | true |
| 7128 | </Expanded> |
| 7129 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7130 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7131 | <Original> |
| 7132 | s1.isOpen() |
| 7133 | </Original> |
| 7134 | <Expanded> |
| 7135 | true |
| 7136 | </Expanded> |
| 7137 | </Expression> |
| 7138 | <Section name="fail one section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7139 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7140 | <Original> |
| 7141 | s1.isComplete() |
| 7142 | </Original> |
| 7143 | <Expanded> |
| 7144 | true |
| 7145 | </Expanded> |
| 7146 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7147 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7148 | <Original> |
| 7149 | s1.isSuccessfullyCompleted() == false |
| 7150 | </Original> |
| 7151 | <Expanded> |
| 7152 | false == false |
| 7153 | </Expanded> |
| 7154 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7155 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7156 | <Original> |
| 7157 | testCase.isComplete() == false |
| 7158 | </Original> |
| 7159 | <Expanded> |
| 7160 | false == false |
| 7161 | </Expanded> |
| 7162 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7163 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7164 | <Original> |
| 7165 | ctx.completedCycle() |
| 7166 | </Original> |
| 7167 | <Expanded> |
| 7168 | true |
| 7169 | </Expanded> |
| 7170 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7171 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7172 | <Original> |
| 7173 | testCase.isSuccessfullyCompleted() == false |
| 7174 | </Original> |
| 7175 | <Expanded> |
| 7176 | false == false |
| 7177 | </Expanded> |
| 7178 | </Expression> |
| 7179 | <Section name="re-enter after failed section and find next section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7180 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7181 | <Original> |
| 7182 | testCase2.isOpen() |
| 7183 | </Original> |
| 7184 | <Expanded> |
| 7185 | true |
| 7186 | </Expanded> |
| 7187 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7188 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7189 | <Original> |
| 7190 | s1b.isOpen() == false |
| 7191 | </Original> |
| 7192 | <Expanded> |
| 7193 | false == false |
| 7194 | </Expanded> |
| 7195 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7196 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7197 | <Original> |
| 7198 | s2.isOpen() |
| 7199 | </Original> |
| 7200 | <Expanded> |
| 7201 | true |
| 7202 | </Expanded> |
| 7203 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7204 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7205 | <Original> |
| 7206 | ctx.completedCycle() |
| 7207 | </Original> |
| 7208 | <Expanded> |
| 7209 | true |
| 7210 | </Expanded> |
| 7211 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7212 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7213 | <Original> |
| 7214 | testCase.isComplete() |
| 7215 | </Original> |
| 7216 | <Expanded> |
| 7217 | true |
| 7218 | </Expanded> |
| 7219 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7220 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7221 | <Original> |
| 7222 | testCase.isSuccessfullyCompleted() |
| 7223 | </Original> |
| 7224 | <Expanded> |
| 7225 | true |
| 7226 | </Expanded> |
| 7227 | </Expression> |
| 7228 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
| 7229 | </Section> |
| 7230 | <OverallResults successes="11" failures="0" expectedFailures="0"/> |
| 7231 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7232 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7233 | <Original> |
| 7234 | testCase.isOpen() |
| 7235 | </Original> |
| 7236 | <Expanded> |
| 7237 | true |
| 7238 | </Expanded> |
| 7239 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7240 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7241 | <Original> |
| 7242 | s1.isOpen() |
| 7243 | </Original> |
| 7244 | <Expanded> |
| 7245 | true |
| 7246 | </Expanded> |
| 7247 | </Expression> |
| 7248 | <Section name="successfully close one section, then find another"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7249 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7250 | <Original> |
| 7251 | s2.isOpen() == false |
| 7252 | </Original> |
| 7253 | <Expanded> |
| 7254 | false == false |
| 7255 | </Expanded> |
| 7256 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7257 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7258 | <Original> |
| 7259 | testCase.isComplete() == false |
| 7260 | </Original> |
| 7261 | <Expanded> |
| 7262 | false == false |
| 7263 | </Expanded> |
| 7264 | </Expression> |
| 7265 | <Section name="Re-enter - skips S1 and enters S2"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7266 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7267 | <Original> |
| 7268 | testCase2.isOpen() |
| 7269 | </Original> |
| 7270 | <Expanded> |
| 7271 | true |
| 7272 | </Expanded> |
| 7273 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7274 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7275 | <Original> |
| 7276 | s1b.isOpen() == false |
| 7277 | </Original> |
| 7278 | <Expanded> |
| 7279 | false == false |
| 7280 | </Expanded> |
| 7281 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7282 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7283 | <Original> |
| 7284 | s2b.isOpen() |
| 7285 | </Original> |
| 7286 | <Expanded> |
| 7287 | true |
| 7288 | </Expanded> |
| 7289 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7290 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7291 | <Original> |
| 7292 | ctx.completedCycle() == false |
| 7293 | </Original> |
| 7294 | <Expanded> |
| 7295 | false == false |
| 7296 | </Expanded> |
| 7297 | </Expression> |
| 7298 | <Section name="Successfully close S2"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7299 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7300 | <Original> |
| 7301 | ctx.completedCycle() |
| 7302 | </Original> |
| 7303 | <Expanded> |
| 7304 | true |
| 7305 | </Expanded> |
| 7306 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7307 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7308 | <Original> |
| 7309 | s2b.isSuccessfullyCompleted() |
| 7310 | </Original> |
| 7311 | <Expanded> |
| 7312 | true |
| 7313 | </Expanded> |
| 7314 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7315 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7316 | <Original> |
| 7317 | testCase2.isComplete() == false |
| 7318 | </Original> |
| 7319 | <Expanded> |
| 7320 | false == false |
| 7321 | </Expanded> |
| 7322 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7323 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7324 | <Original> |
| 7325 | testCase2.isSuccessfullyCompleted() |
| 7326 | </Original> |
| 7327 | <Expanded> |
| 7328 | true |
| 7329 | </Expanded> |
| 7330 | </Expression> |
| 7331 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 7332 | </Section> |
| 7333 | <OverallResults successes="8" failures="0" expectedFailures="0"/> |
| 7334 | </Section> |
| 7335 | <OverallResults successes="10" failures="0" expectedFailures="0"/> |
| 7336 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7337 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7338 | <Original> |
| 7339 | testCase.isOpen() |
| 7340 | </Original> |
| 7341 | <Expanded> |
| 7342 | true |
| 7343 | </Expanded> |
| 7344 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7345 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7346 | <Original> |
| 7347 | s1.isOpen() |
| 7348 | </Original> |
| 7349 | <Expanded> |
| 7350 | true |
| 7351 | </Expanded> |
| 7352 | </Expression> |
| 7353 | <Section name="successfully close one section, then find another"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7354 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7355 | <Original> |
| 7356 | s2.isOpen() == false |
| 7357 | </Original> |
| 7358 | <Expanded> |
| 7359 | false == false |
| 7360 | </Expanded> |
| 7361 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7362 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7363 | <Original> |
| 7364 | testCase.isComplete() == false |
| 7365 | </Original> |
| 7366 | <Expanded> |
| 7367 | false == false |
| 7368 | </Expanded> |
| 7369 | </Expression> |
| 7370 | <Section name="Re-enter - skips S1 and enters S2"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7371 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7372 | <Original> |
| 7373 | testCase2.isOpen() |
| 7374 | </Original> |
| 7375 | <Expanded> |
| 7376 | true |
| 7377 | </Expanded> |
| 7378 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7379 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7380 | <Original> |
| 7381 | s1b.isOpen() == false |
| 7382 | </Original> |
| 7383 | <Expanded> |
| 7384 | false == false |
| 7385 | </Expanded> |
| 7386 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7387 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7388 | <Original> |
| 7389 | s2b.isOpen() |
| 7390 | </Original> |
| 7391 | <Expanded> |
| 7392 | true |
| 7393 | </Expanded> |
| 7394 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7395 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7396 | <Original> |
| 7397 | ctx.completedCycle() == false |
| 7398 | </Original> |
| 7399 | <Expanded> |
| 7400 | false == false |
| 7401 | </Expanded> |
| 7402 | </Expression> |
| 7403 | <Section name="fail S2"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7404 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7405 | <Original> |
| 7406 | ctx.completedCycle() |
| 7407 | </Original> |
| 7408 | <Expanded> |
| 7409 | true |
| 7410 | </Expanded> |
| 7411 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7412 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7413 | <Original> |
| 7414 | s2b.isComplete() |
| 7415 | </Original> |
| 7416 | <Expanded> |
| 7417 | true |
| 7418 | </Expanded> |
| 7419 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7420 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7421 | <Original> |
| 7422 | s2b.isSuccessfullyCompleted() == false |
| 7423 | </Original> |
| 7424 | <Expanded> |
| 7425 | false == false |
| 7426 | </Expanded> |
| 7427 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7428 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7429 | <Original> |
| 7430 | testCase2.isSuccessfullyCompleted() == false |
| 7431 | </Original> |
| 7432 | <Expanded> |
| 7433 | false == false |
| 7434 | </Expanded> |
| 7435 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7436 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7437 | <Original> |
| 7438 | testCase3.isOpen() |
| 7439 | </Original> |
| 7440 | <Expanded> |
| 7441 | true |
| 7442 | </Expanded> |
| 7443 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7444 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7445 | <Original> |
| 7446 | s1c.isOpen() == false |
| 7447 | </Original> |
| 7448 | <Expanded> |
| 7449 | false == false |
| 7450 | </Expanded> |
| 7451 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7452 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7453 | <Original> |
| 7454 | s2c.isOpen() == false |
| 7455 | </Original> |
| 7456 | <Expanded> |
| 7457 | false == false |
| 7458 | </Expanded> |
| 7459 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7460 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7461 | <Original> |
| 7462 | testCase3.isSuccessfullyCompleted() |
| 7463 | </Original> |
| 7464 | <Expanded> |
| 7465 | true |
| 7466 | </Expanded> |
| 7467 | </Expression> |
| 7468 | <OverallResults successes="8" failures="0" expectedFailures="0"/> |
| 7469 | </Section> |
| 7470 | <OverallResults successes="12" failures="0" expectedFailures="0"/> |
| 7471 | </Section> |
| 7472 | <OverallResults successes="14" failures="0" expectedFailures="0"/> |
| 7473 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7474 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7475 | <Original> |
| 7476 | testCase.isOpen() |
| 7477 | </Original> |
| 7478 | <Expanded> |
| 7479 | true |
| 7480 | </Expanded> |
| 7481 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7482 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7483 | <Original> |
| 7484 | s1.isOpen() |
| 7485 | </Original> |
| 7486 | <Expanded> |
| 7487 | true |
| 7488 | </Expanded> |
| 7489 | </Expression> |
| 7490 | <Section name="open a nested section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7491 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7492 | <Original> |
| 7493 | s2.isOpen() |
| 7494 | </Original> |
| 7495 | <Expanded> |
| 7496 | true |
| 7497 | </Expanded> |
| 7498 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7499 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7500 | <Original> |
| 7501 | s2.isComplete() |
| 7502 | </Original> |
| 7503 | <Expanded> |
| 7504 | true |
| 7505 | </Expanded> |
| 7506 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7507 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7508 | <Original> |
| 7509 | s1.isComplete() == false |
| 7510 | </Original> |
| 7511 | <Expanded> |
| 7512 | false == false |
| 7513 | </Expanded> |
| 7514 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7515 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7516 | <Original> |
| 7517 | s1.isComplete() |
| 7518 | </Original> |
| 7519 | <Expanded> |
| 7520 | true |
| 7521 | </Expanded> |
| 7522 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7523 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7524 | <Original> |
| 7525 | testCase.isComplete() == false |
| 7526 | </Original> |
| 7527 | <Expanded> |
| 7528 | false == false |
| 7529 | </Expanded> |
| 7530 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7531 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7532 | <Original> |
| 7533 | testCase.isComplete() |
| 7534 | </Original> |
| 7535 | <Expanded> |
| 7536 | true |
| 7537 | </Expanded> |
| 7538 | </Expression> |
| 7539 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
| 7540 | </Section> |
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 | testCase.isOpen() |
| 7544 | </Original> |
| 7545 | <Expanded> |
| 7546 | true |
| 7547 | </Expanded> |
| 7548 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7549 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7550 | <Original> |
| 7551 | s1.isOpen() |
| 7552 | </Original> |
| 7553 | <Expanded> |
| 7554 | true |
| 7555 | </Expanded> |
| 7556 | </Expression> |
| 7557 | <Section name="start a generator"> |
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 | g1.isOpen() |
| 7561 | </Original> |
| 7562 | <Expanded> |
| 7563 | true |
| 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 | g1.index() == 0 |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 7569 | </Original> |
| 7570 | <Expanded> |
| 7571 | 0 == 0 |
| 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 | g1.isComplete() == false |
| 7577 | </Original> |
| 7578 | <Expanded> |
| 7579 | false == false |
| 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 | s1.isComplete() == false |
| 7585 | </Original> |
| 7586 | <Expanded> |
| 7587 | false == false |
| 7588 | </Expanded> |
| 7589 | </Expression> |
| 7590 | <Section name="close outer section"> |
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 | s1.isComplete() == false |
| 7594 | </Original> |
| 7595 | <Expanded> |
| 7596 | false == false |
| 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 | testCase.isSuccessfullyCompleted() == false |
| 7602 | </Original> |
| 7603 | <Expanded> |
| 7604 | false == false |
| 7605 | </Expanded> |
| 7606 | </Expression> |
| 7607 | <Section name="Re-enter for second generation"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7608 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 7609 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7610 | testCase2.isOpen() |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 7611 | </Original> |
| 7612 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7613 | true |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 7614 | </Expanded> |
| 7615 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7616 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7617 | <Original> |
| 7618 | s1b.isOpen() |
| 7619 | </Original> |
| 7620 | <Expanded> |
| 7621 | true |
| 7622 | </Expanded> |
| 7623 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7624 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7625 | <Original> |
| 7626 | g1b.isOpen() |
| 7627 | </Original> |
| 7628 | <Expanded> |
| 7629 | true |
| 7630 | </Expanded> |
| 7631 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7632 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7633 | <Original> |
| 7634 | g1b.index() == 1 |
| 7635 | </Original> |
| 7636 | <Expanded> |
| 7637 | 1 == 1 |
| 7638 | </Expanded> |
| 7639 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7640 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7641 | <Original> |
| 7642 | s1.isComplete() == false |
| 7643 | </Original> |
| 7644 | <Expanded> |
| 7645 | false == false |
| 7646 | </Expanded> |
| 7647 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7648 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7649 | <Original> |
| 7650 | s1b.isComplete() |
| 7651 | </Original> |
| 7652 | <Expanded> |
| 7653 | true |
| 7654 | </Expanded> |
| 7655 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7656 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7657 | <Original> |
| 7658 | g1b.isComplete() |
| 7659 | </Original> |
| 7660 | <Expanded> |
| 7661 | true |
| 7662 | </Expanded> |
| 7663 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7664 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7665 | <Original> |
| 7666 | testCase2.isComplete() |
| 7667 | </Original> |
| 7668 | <Expanded> |
| 7669 | true |
| 7670 | </Expanded> |
| 7671 | </Expression> |
| 7672 | <OverallResults successes="8" failures="0" expectedFailures="0"/> |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 7673 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7674 | <OverallResults successes="10" failures="0" expectedFailures="0"/> |
| 7675 | </Section> |
| 7676 | <OverallResults successes="14" failures="0" expectedFailures="0"/> |
| 7677 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7678 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7679 | <Original> |
| 7680 | testCase.isOpen() |
| 7681 | </Original> |
| 7682 | <Expanded> |
| 7683 | true |
| 7684 | </Expanded> |
| 7685 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7686 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7687 | <Original> |
| 7688 | s1.isOpen() |
| 7689 | </Original> |
| 7690 | <Expanded> |
| 7691 | true |
| 7692 | </Expanded> |
| 7693 | </Expression> |
| 7694 | <Section name="start a generator"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7695 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7696 | <Original> |
| 7697 | g1.isOpen() |
| 7698 | </Original> |
| 7699 | <Expanded> |
| 7700 | true |
| 7701 | </Expanded> |
| 7702 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7703 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7704 | <Original> |
| 7705 | g1.index() == 0 |
| 7706 | </Original> |
| 7707 | <Expanded> |
| 7708 | 0 == 0 |
| 7709 | </Expanded> |
| 7710 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7711 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7712 | <Original> |
| 7713 | g1.isComplete() == false |
| 7714 | </Original> |
| 7715 | <Expanded> |
| 7716 | false == false |
| 7717 | </Expanded> |
| 7718 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7719 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7720 | <Original> |
| 7721 | s1.isComplete() == false |
| 7722 | </Original> |
| 7723 | <Expanded> |
| 7724 | false == false |
| 7725 | </Expanded> |
| 7726 | </Expression> |
| 7727 | <Section name="Start a new inner section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7728 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7729 | <Original> |
| 7730 | s2.isOpen() |
| 7731 | </Original> |
| 7732 | <Expanded> |
| 7733 | true |
| 7734 | </Expanded> |
| 7735 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7736 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7737 | <Original> |
| 7738 | s2.isComplete() |
| 7739 | </Original> |
| 7740 | <Expanded> |
| 7741 | true |
| 7742 | </Expanded> |
| 7743 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7744 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7745 | <Original> |
| 7746 | s1.isComplete() == false |
| 7747 | </Original> |
| 7748 | <Expanded> |
| 7749 | false == false |
| 7750 | </Expanded> |
| 7751 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7752 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7753 | <Original> |
| 7754 | testCase.isComplete() == false |
| 7755 | </Original> |
| 7756 | <Expanded> |
| 7757 | false == false |
| 7758 | </Expanded> |
| 7759 | </Expression> |
| 7760 | <Section name="Re-enter for second generation"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7761 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7762 | <Original> |
| 7763 | testCase2.isOpen() |
| 7764 | </Original> |
| 7765 | <Expanded> |
| 7766 | true |
| 7767 | </Expanded> |
| 7768 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7769 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7770 | <Original> |
| 7771 | s1b.isOpen() |
| 7772 | </Original> |
| 7773 | <Expanded> |
| 7774 | true |
| 7775 | </Expanded> |
| 7776 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7777 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7778 | <Original> |
| 7779 | g1b.isOpen() |
| 7780 | </Original> |
| 7781 | <Expanded> |
| 7782 | true |
| 7783 | </Expanded> |
| 7784 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7785 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7786 | <Original> |
| 7787 | g1b.index() == 1 |
| 7788 | </Original> |
| 7789 | <Expanded> |
| 7790 | 1 == 1 |
| 7791 | </Expanded> |
| 7792 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7793 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7794 | <Original> |
| 7795 | s2b.isOpen() |
| 7796 | </Original> |
| 7797 | <Expanded> |
| 7798 | true |
| 7799 | </Expanded> |
| 7800 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7801 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7802 | <Original> |
| 7803 | s2b.isComplete() |
| 7804 | </Original> |
| 7805 | <Expanded> |
| 7806 | true |
| 7807 | </Expanded> |
| 7808 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7809 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7810 | <Original> |
| 7811 | g1b.isComplete() |
| 7812 | </Original> |
| 7813 | <Expanded> |
| 7814 | true |
| 7815 | </Expanded> |
| 7816 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7817 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7818 | <Original> |
| 7819 | s1b.isComplete() |
| 7820 | </Original> |
| 7821 | <Expanded> |
| 7822 | true |
| 7823 | </Expanded> |
| 7824 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7825 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7826 | <Original> |
| 7827 | testCase2.isComplete() |
| 7828 | </Original> |
| 7829 | <Expanded> |
| 7830 | true |
| 7831 | </Expanded> |
| 7832 | </Expression> |
| 7833 | <OverallResults successes="9" failures="0" expectedFailures="0"/> |
| 7834 | </Section> |
| 7835 | <OverallResults successes="13" failures="0" expectedFailures="0"/> |
| 7836 | </Section> |
| 7837 | <OverallResults successes="17" failures="0" expectedFailures="0"/> |
| 7838 | </Section> |
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 | testCase.isOpen() |
| 7842 | </Original> |
| 7843 | <Expanded> |
| 7844 | true |
| 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 | s1.isOpen() |
| 7850 | </Original> |
| 7851 | <Expanded> |
| 7852 | true |
| 7853 | </Expanded> |
| 7854 | </Expression> |
| 7855 | <Section name="start a generator"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7856 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7857 | <Original> |
| 7858 | g1.isOpen() |
| 7859 | </Original> |
| 7860 | <Expanded> |
| 7861 | true |
| 7862 | </Expanded> |
| 7863 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7864 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7865 | <Original> |
| 7866 | g1.index() == 0 |
| 7867 | </Original> |
| 7868 | <Expanded> |
| 7869 | 0 == 0 |
| 7870 | </Expanded> |
| 7871 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7872 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7873 | <Original> |
| 7874 | g1.isComplete() == false |
| 7875 | </Original> |
| 7876 | <Expanded> |
| 7877 | false == false |
| 7878 | </Expanded> |
| 7879 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7880 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7881 | <Original> |
| 7882 | s1.isComplete() == false |
| 7883 | </Original> |
| 7884 | <Expanded> |
| 7885 | false == false |
| 7886 | </Expanded> |
| 7887 | </Expression> |
| 7888 | <Section name="Fail an inner section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7889 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7890 | <Original> |
| 7891 | s2.isOpen() |
| 7892 | </Original> |
| 7893 | <Expanded> |
| 7894 | true |
| 7895 | </Expanded> |
| 7896 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7897 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7898 | <Original> |
| 7899 | s2.isComplete() |
| 7900 | </Original> |
| 7901 | <Expanded> |
| 7902 | true |
| 7903 | </Expanded> |
| 7904 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7905 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7906 | <Original> |
| 7907 | s2.isSuccessfullyCompleted() == false |
| 7908 | </Original> |
| 7909 | <Expanded> |
| 7910 | false == false |
| 7911 | </Expanded> |
| 7912 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7913 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7914 | <Original> |
| 7915 | s1.isComplete() == false |
| 7916 | </Original> |
| 7917 | <Expanded> |
| 7918 | false == false |
| 7919 | </Expanded> |
| 7920 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7921 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7922 | <Original> |
| 7923 | testCase.isComplete() == false |
| 7924 | </Original> |
| 7925 | <Expanded> |
| 7926 | false == false |
| 7927 | </Expanded> |
| 7928 | </Expression> |
| 7929 | <Section name="Re-enter for second generation"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7930 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7931 | <Original> |
| 7932 | testCase2.isOpen() |
| 7933 | </Original> |
| 7934 | <Expanded> |
| 7935 | true |
| 7936 | </Expanded> |
| 7937 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7938 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7939 | <Original> |
| 7940 | s1b.isOpen() |
| 7941 | </Original> |
| 7942 | <Expanded> |
| 7943 | true |
| 7944 | </Expanded> |
| 7945 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7946 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7947 | <Original> |
| 7948 | g1b.isOpen() |
| 7949 | </Original> |
| 7950 | <Expanded> |
| 7951 | true |
| 7952 | </Expanded> |
| 7953 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7954 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7955 | <Original> |
| 7956 | g1b.index() == 0 |
| 7957 | </Original> |
| 7958 | <Expanded> |
| 7959 | 0 == 0 |
| 7960 | </Expanded> |
| 7961 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7962 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7963 | <Original> |
| 7964 | s2b.isOpen() == false |
| 7965 | </Original> |
| 7966 | <Expanded> |
| 7967 | false == false |
| 7968 | </Expanded> |
| 7969 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7970 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7971 | <Original> |
| 7972 | g1b.isComplete() == false |
| 7973 | </Original> |
| 7974 | <Expanded> |
| 7975 | false == false |
| 7976 | </Expanded> |
| 7977 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7978 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7979 | <Original> |
| 7980 | s1b.isComplete() == false |
| 7981 | </Original> |
| 7982 | <Expanded> |
| 7983 | false == false |
| 7984 | </Expanded> |
| 7985 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7986 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7987 | <Original> |
| 7988 | testCase2.isComplete() == false |
| 7989 | </Original> |
| 7990 | <Expanded> |
| 7991 | false == false |
| 7992 | </Expanded> |
| 7993 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7994 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7995 | <Original> |
| 7996 | testCase3.isOpen() |
| 7997 | </Original> |
| 7998 | <Expanded> |
| 7999 | true |
| 8000 | </Expanded> |
| 8001 | </Expression> |
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 | s1c.isOpen() |
| 8005 | </Original> |
| 8006 | <Expanded> |
| 8007 | true |
| 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 | g1c.isOpen() |
| 8013 | </Original> |
| 8014 | <Expanded> |
| 8015 | true |
| 8016 | </Expanded> |
| 8017 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8018 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8019 | <Original> |
| 8020 | g1c.index() == 1 |
| 8021 | </Original> |
| 8022 | <Expanded> |
| 8023 | 1 == 1 |
| 8024 | </Expanded> |
| 8025 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8026 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8027 | <Original> |
| 8028 | s2c.isOpen() |
| 8029 | </Original> |
| 8030 | <Expanded> |
| 8031 | true |
| 8032 | </Expanded> |
| 8033 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8034 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8035 | <Original> |
| 8036 | s2c.isComplete() |
| 8037 | </Original> |
| 8038 | <Expanded> |
| 8039 | true |
| 8040 | </Expanded> |
| 8041 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8042 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8043 | <Original> |
| 8044 | g1c.isComplete() |
| 8045 | </Original> |
| 8046 | <Expanded> |
| 8047 | true |
| 8048 | </Expanded> |
| 8049 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8050 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8051 | <Original> |
| 8052 | s1c.isComplete() |
| 8053 | </Original> |
| 8054 | <Expanded> |
| 8055 | true |
| 8056 | </Expanded> |
| 8057 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8058 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8059 | <Original> |
| 8060 | testCase3.isComplete() |
| 8061 | </Original> |
| 8062 | <Expanded> |
| 8063 | true |
| 8064 | </Expanded> |
| 8065 | </Expression> |
| 8066 | <OverallResults successes="17" failures="0" expectedFailures="0"/> |
| 8067 | </Section> |
| 8068 | <OverallResults successes="22" failures="0" expectedFailures="0"/> |
| 8069 | </Section> |
| 8070 | <OverallResults successes="26" failures="0" expectedFailures="0"/> |
| 8071 | </Section> |
| 8072 | <OverallResult success="true"/> |
| 8073 | </TestCase> |
| 8074 | <TestCase name="Unexpected exceptions can be translated"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8075 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8076 | 3.14 |
| 8077 | </Exception> |
| 8078 | <OverallResult success="false"/> |
| 8079 | </TestCase> |
| 8080 | <TestCase name="Use a custom approx"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8081 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8082 | <Original> |
| 8083 | d == approx( 1.23 ) |
| 8084 | </Original> |
| 8085 | <Expanded> |
| 8086 | 1.23 == Approx( 1.23 ) |
| 8087 | </Expanded> |
| 8088 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8089 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8090 | <Original> |
| 8091 | d == approx( 1.22 ) |
| 8092 | </Original> |
| 8093 | <Expanded> |
| 8094 | 1.23 == Approx( 1.22 ) |
| 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>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8098 | <Original> |
| 8099 | d == approx( 1.24 ) |
| 8100 | </Original> |
| 8101 | <Expanded> |
| 8102 | 1.23 == Approx( 1.24 ) |
| 8103 | </Expanded> |
| 8104 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8105 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8106 | <Original> |
| 8107 | d != approx( 1.25 ) |
| 8108 | </Original> |
| 8109 | <Expanded> |
| 8110 | 1.23 != Approx( 1.25 ) |
| 8111 | </Expanded> |
| 8112 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8113 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8114 | <Original> |
| 8115 | approx( d ) == 1.23 |
| 8116 | </Original> |
| 8117 | <Expanded> |
| 8118 | Approx( 1.23 ) == 1.23 |
| 8119 | </Expanded> |
| 8120 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8121 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8122 | <Original> |
| 8123 | approx( d ) == 1.22 |
| 8124 | </Original> |
| 8125 | <Expanded> |
| 8126 | Approx( 1.23 ) == 1.22 |
| 8127 | </Expanded> |
| 8128 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8129 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8130 | <Original> |
| 8131 | approx( d ) == 1.24 |
| 8132 | </Original> |
| 8133 | <Expanded> |
| 8134 | Approx( 1.23 ) == 1.24 |
| 8135 | </Expanded> |
| 8136 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8137 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8138 | <Original> |
| 8139 | approx( d ) != 1.25 |
| 8140 | </Original> |
| 8141 | <Expanded> |
| 8142 | Approx( 1.23 ) != 1.25 |
| 8143 | </Expanded> |
| 8144 | </Expression> |
| 8145 | <OverallResult success="true"/> |
| 8146 | </TestCase> |
| 8147 | <TestCase name="Variadic macros"> |
| 8148 | <Section name="Section with one argument"> |
| 8149 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8150 | </Section> |
| 8151 | <OverallResult success="true"/> |
| 8152 | </TestCase> |
| 8153 | <TestCase name="When checked exceptions are thrown they can be expected or unexpected"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8154 | <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] | 8155 | <Original> |
| 8156 | thisThrows() |
| 8157 | </Original> |
| 8158 | <Expanded> |
| 8159 | thisThrows() |
| 8160 | </Expanded> |
| 8161 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8162 | <Expression success="true" type="REQUIRE_NOTHROW" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8163 | <Original> |
| 8164 | thisDoesntThrow() |
| 8165 | </Original> |
| 8166 | <Expanded> |
| 8167 | thisDoesntThrow() |
| 8168 | </Expanded> |
| 8169 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8170 | <Expression success="true" type="REQUIRE_THROWS" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8171 | <Original> |
| 8172 | thisThrows() |
| 8173 | </Original> |
| 8174 | <Expanded> |
| 8175 | thisThrows() |
| 8176 | </Expanded> |
| 8177 | </Expression> |
| 8178 | <OverallResult success="true"/> |
| 8179 | </TestCase> |
| 8180 | <TestCase name="When unchecked exceptions are thrown directly they are always failures"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8181 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8182 | unexpected exception |
| 8183 | </Exception> |
| 8184 | <OverallResult success="false"/> |
| 8185 | </TestCase> |
| 8186 | <TestCase name="When unchecked exceptions are thrown during a CHECK the test should abort and fail"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8187 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8188 | <Original> |
| 8189 | thisThrows() == 0 |
| 8190 | </Original> |
| 8191 | <Expanded> |
| 8192 | thisThrows() == 0 |
| 8193 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8194 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8195 | expected exception |
| 8196 | </Exception> |
| 8197 | </Expression> |
| 8198 | <OverallResult success="false"/> |
| 8199 | </TestCase> |
| 8200 | <TestCase name="When unchecked exceptions are thrown during a REQUIRE the test should abort fail"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8201 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8202 | <Original> |
| 8203 | thisThrows() == 0 |
| 8204 | </Original> |
| 8205 | <Expanded> |
| 8206 | thisThrows() == 0 |
| 8207 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8208 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8209 | expected exception |
| 8210 | </Exception> |
| 8211 | </Expression> |
| 8212 | <OverallResult success="false"/> |
| 8213 | </TestCase> |
| 8214 | <TestCase name="When unchecked exceptions are thrown from functions they are always failures"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8215 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8216 | <Original> |
| 8217 | thisThrows() == 0 |
| 8218 | </Original> |
| 8219 | <Expanded> |
| 8220 | thisThrows() == 0 |
| 8221 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8222 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8223 | expected exception |
| 8224 | </Exception> |
| 8225 | </Expression> |
| 8226 | <OverallResult success="false"/> |
| 8227 | </TestCase> |
| 8228 | <TestCase name="When unchecked exceptions are thrown from sections they are always failures"> |
| 8229 | <Section name="section name"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8230 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8231 | unexpected exception |
| 8232 | </Exception> |
| 8233 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 8234 | </Section> |
| 8235 | <OverallResult success="false"/> |
| 8236 | </TestCase> |
| 8237 | <TestCase name="When unchecked exceptions are thrown, but caught, they do not affect the test"> |
| 8238 | <OverallResult success="true"/> |
| 8239 | </TestCase> |
| 8240 | <TestCase name="Where the LHS is not a simple value"> |
| 8241 | <Warning> |
| 8242 | Uncomment the code in this test to check that it gives a sensible compiler error |
| 8243 | </Warning> |
| 8244 | <OverallResult success="true"/> |
| 8245 | </TestCase> |
| 8246 | <TestCase name="Where there is more to the expression after the RHS"> |
| 8247 | <Warning> |
| 8248 | Uncomment the code in this test to check that it gives a sensible compiler error |
| 8249 | </Warning> |
| 8250 | <OverallResult success="true"/> |
| 8251 | </TestCase> |
| 8252 | <TestCase name="X/level/0/a"> |
| 8253 | <OverallResult success="true"/> |
| 8254 | </TestCase> |
| 8255 | <TestCase name="X/level/0/b"> |
| 8256 | <OverallResult success="true"/> |
| 8257 | </TestCase> |
| 8258 | <TestCase name="X/level/1/a"> |
| 8259 | <OverallResult success="true"/> |
| 8260 | </TestCase> |
| 8261 | <TestCase name="X/level/1/b"> |
| 8262 | <OverallResult success="true"/> |
| 8263 | </TestCase> |
| 8264 | <TestCase name="XmlEncode"> |
| 8265 | <Section name="normal string"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8266 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8267 | <Original> |
| 8268 | encode( "normal string" ) == "normal string" |
| 8269 | </Original> |
| 8270 | <Expanded> |
| 8271 | "normal string" == "normal string" |
| 8272 | </Expanded> |
| 8273 | </Expression> |
| 8274 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8275 | </Section> |
| 8276 | <Section name="empty string"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8277 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8278 | <Original> |
| 8279 | encode( "" ) == "" |
| 8280 | </Original> |
| 8281 | <Expanded> |
| 8282 | "" == "" |
| 8283 | </Expanded> |
| 8284 | </Expression> |
| 8285 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8286 | </Section> |
| 8287 | <Section name="string with ampersand"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8288 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8289 | <Original> |
| 8290 | encode( "smith & jones" ) == "smith &amp; jones" |
| 8291 | </Original> |
| 8292 | <Expanded> |
| 8293 | "smith &amp; jones" == "smith &amp; jones" |
| 8294 | </Expanded> |
| 8295 | </Expression> |
| 8296 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8297 | </Section> |
| 8298 | <Section name="string with less-than"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8299 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8300 | <Original> |
| 8301 | encode( "smith < jones" ) == "smith &lt; jones" |
| 8302 | </Original> |
| 8303 | <Expanded> |
| 8304 | "smith &lt; jones" == "smith &lt; jones" |
| 8305 | </Expanded> |
| 8306 | </Expression> |
| 8307 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8308 | </Section> |
| 8309 | <Section name="string with greater-than"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8310 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8311 | <Original> |
| 8312 | encode( "smith > jones" ) == "smith > jones" |
| 8313 | </Original> |
| 8314 | <Expanded> |
| 8315 | "smith > jones" == "smith > jones" |
| 8316 | </Expanded> |
| 8317 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8318 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8319 | <Original> |
| 8320 | encode( "smith ]]> jones" ) == "smith ]]&gt; jones" |
| 8321 | </Original> |
| 8322 | <Expanded> |
| 8323 | "smith ]]&gt; jones" |
| 8324 | == |
| 8325 | "smith ]]&gt; jones" |
| 8326 | </Expanded> |
| 8327 | </Expression> |
| 8328 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 8329 | </Section> |
| 8330 | <Section name="string with quotes"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8331 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8332 | <Original> |
| 8333 | encode( stringWithQuotes ) == stringWithQuotes |
| 8334 | </Original> |
| 8335 | <Expanded> |
| 8336 | "don't "quote" me on that" |
| 8337 | == |
| 8338 | "don't "quote" me on that" |
| 8339 | </Expanded> |
| 8340 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8341 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8342 | <Original> |
| 8343 | encode( stringWithQuotes, Catch::XmlEncode::ForAttributes ) == "don't &quot;quote&quot; me on that" |
| 8344 | </Original> |
| 8345 | <Expanded> |
| 8346 | "don't &quot;quote&quot; me on that" |
| 8347 | == |
| 8348 | "don't &quot;quote&quot; me on that" |
| 8349 | </Expanded> |
| 8350 | </Expression> |
| 8351 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 8352 | </Section> |
| 8353 | <Section name="string with control char (1)"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8354 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8355 | <Original> |
| 8356 | encode( "[\x01]" ) == "[&#x01;]" |
| 8357 | </Original> |
| 8358 | <Expanded> |
| 8359 | "[&#x01;]" == "[&#x01;]" |
| 8360 | </Expanded> |
| 8361 | </Expression> |
| 8362 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8363 | </Section> |
| 8364 | <Section name="string with control char (x7F)"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8365 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8366 | <Original> |
| 8367 | encode( "[\x7F]" ) == "[&#x7F;]" |
| 8368 | </Original> |
| 8369 | <Expanded> |
| 8370 | "[&#x7F;]" == "[&#x7F;]" |
| 8371 | </Expanded> |
| 8372 | </Expression> |
| 8373 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8374 | </Section> |
| 8375 | <OverallResult success="true"/> |
| 8376 | </TestCase> |
| 8377 | <TestCase name="atomic if"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8378 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8379 | <Original> |
| 8380 | x == 0 |
| 8381 | </Original> |
| 8382 | <Expanded> |
| 8383 | 0 == 0 |
| 8384 | </Expanded> |
| 8385 | </Expression> |
| 8386 | <OverallResult success="true"/> |
| 8387 | </TestCase> |
| 8388 | <TestCase name="boolean member"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8389 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8390 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 8391 | obj.prop != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8392 | </Original> |
| 8393 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 8394 | 0x<hex digits> != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8395 | </Expanded> |
| 8396 | </Expression> |
| 8397 | <OverallResult success="true"/> |
| 8398 | </TestCase> |
| 8399 | <TestCase name="checkedElse"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8400 | <Expression success="true" type="CHECKED_ELSE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8401 | <Original> |
| 8402 | flag |
| 8403 | </Original> |
| 8404 | <Expanded> |
| 8405 | true |
| 8406 | </Expanded> |
| 8407 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8408 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8409 | <Original> |
| 8410 | testCheckedElse( true ) |
| 8411 | </Original> |
| 8412 | <Expanded> |
| 8413 | true |
| 8414 | </Expanded> |
| 8415 | </Expression> |
| 8416 | <OverallResult success="true"/> |
| 8417 | </TestCase> |
| 8418 | <TestCase name="checkedElse, failing"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8419 | <Expression success="false" type="CHECKED_ELSE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8420 | <Original> |
| 8421 | flag |
| 8422 | </Original> |
| 8423 | <Expanded> |
| 8424 | false |
| 8425 | </Expanded> |
| 8426 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8427 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8428 | <Original> |
| 8429 | testCheckedElse( false ) |
| 8430 | </Original> |
| 8431 | <Expanded> |
| 8432 | false |
| 8433 | </Expanded> |
| 8434 | </Expression> |
| 8435 | <OverallResult success="false"/> |
| 8436 | </TestCase> |
| 8437 | <TestCase name="checkedIf"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8438 | <Expression success="true" type="CHECKED_IF" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8439 | <Original> |
| 8440 | flag |
| 8441 | </Original> |
| 8442 | <Expanded> |
| 8443 | true |
| 8444 | </Expanded> |
| 8445 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8446 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8447 | <Original> |
| 8448 | testCheckedIf( true ) |
| 8449 | </Original> |
| 8450 | <Expanded> |
| 8451 | true |
| 8452 | </Expanded> |
| 8453 | </Expression> |
| 8454 | <OverallResult success="true"/> |
| 8455 | </TestCase> |
| 8456 | <TestCase name="checkedIf, failing"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8457 | <Expression success="false" type="CHECKED_IF" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8458 | <Original> |
| 8459 | flag |
| 8460 | </Original> |
| 8461 | <Expanded> |
| 8462 | false |
| 8463 | </Expanded> |
| 8464 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8465 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8466 | <Original> |
| 8467 | testCheckedIf( false ) |
| 8468 | </Original> |
| 8469 | <Expanded> |
| 8470 | false |
| 8471 | </Expanded> |
| 8472 | </Expression> |
| 8473 | <OverallResult success="false"/> |
| 8474 | </TestCase> |
| 8475 | <TestCase name="comparisons between const int variables"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8476 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8477 | <Original> |
| 8478 | unsigned_char_var == 1 |
| 8479 | </Original> |
| 8480 | <Expanded> |
| 8481 | 1 == 1 |
| 8482 | </Expanded> |
| 8483 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8484 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8485 | <Original> |
| 8486 | unsigned_short_var == 1 |
| 8487 | </Original> |
| 8488 | <Expanded> |
| 8489 | 1 == 1 |
| 8490 | </Expanded> |
| 8491 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8492 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8493 | <Original> |
| 8494 | unsigned_int_var == 1 |
| 8495 | </Original> |
| 8496 | <Expanded> |
| 8497 | 1 == 1 |
| 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>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8501 | <Original> |
| 8502 | unsigned_long_var == 1 |
| 8503 | </Original> |
| 8504 | <Expanded> |
| 8505 | 1 == 1 |
| 8506 | </Expanded> |
| 8507 | </Expression> |
| 8508 | <OverallResult success="true"/> |
| 8509 | </TestCase> |
| 8510 | <TestCase name="comparisons between int variables"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8511 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8512 | <Original> |
| 8513 | long_var == unsigned_char_var |
| 8514 | </Original> |
| 8515 | <Expanded> |
| 8516 | 1 == 1 |
| 8517 | </Expanded> |
| 8518 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8519 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8520 | <Original> |
| 8521 | long_var == unsigned_short_var |
| 8522 | </Original> |
| 8523 | <Expanded> |
| 8524 | 1 == 1 |
| 8525 | </Expanded> |
| 8526 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8527 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8528 | <Original> |
| 8529 | long_var == unsigned_int_var |
| 8530 | </Original> |
| 8531 | <Expanded> |
| 8532 | 1 == 1 |
| 8533 | </Expanded> |
| 8534 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8535 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8536 | <Original> |
| 8537 | long_var == unsigned_long_var |
| 8538 | </Original> |
| 8539 | <Expanded> |
| 8540 | 1 == 1 |
| 8541 | </Expanded> |
| 8542 | </Expression> |
| 8543 | <OverallResult success="true"/> |
| 8544 | </TestCase> |
| 8545 | <TestCase name="even more nested SECTION tests"> |
| 8546 | <Section name="c"> |
| 8547 | <Section name="d (leaf)"> |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 8548 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8549 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8550 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8551 | </Section> |
| 8552 | <Section name="c"> |
| 8553 | <Section name="e (leaf)"> |
| 8554 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8555 | </Section> |
| 8556 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8557 | </Section> |
| 8558 | <Section name="f (leaf)"> |
| 8559 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8560 | </Section> |
| 8561 | <OverallResult success="true"/> |
| 8562 | </TestCase> |
| 8563 | <TestCase name="first tag"> |
| 8564 | <OverallResult success="true"/> |
| 8565 | </TestCase> |
| 8566 | <TestCase name="just failure"> |
| 8567 | <Failure> |
| 8568 | Previous info should not be seen |
| 8569 | </Failure> |
| 8570 | <OverallResult success="false"/> |
| 8571 | </TestCase> |
| 8572 | <TestCase name="just info"> |
| 8573 | <OverallResult success="true"/> |
| 8574 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8575 | <TestCase name="looped SECTION tests"> |
| 8576 | <Section name="s1" description="b is currently: 0"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8577 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8578 | <Original> |
| 8579 | b > a |
| 8580 | </Original> |
| 8581 | <Expanded> |
| 8582 | 0 > 1 |
| 8583 | </Expanded> |
| 8584 | </Expression> |
| 8585 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 8586 | </Section> |
| 8587 | <OverallResult success="false"/> |
| 8588 | </TestCase> |
| 8589 | <TestCase name="looped tests"> |
| 8590 | <Info> |
| 8591 | Testing if fib[0] (1) is even |
| 8592 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8593 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8594 | <Original> |
| 8595 | ( fib[i] % 2 ) == 0 |
| 8596 | </Original> |
| 8597 | <Expanded> |
| 8598 | 1 == 0 |
| 8599 | </Expanded> |
| 8600 | </Expression> |
| 8601 | <Info> |
| 8602 | Testing if fib[1] (1) is even |
| 8603 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8604 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8605 | <Original> |
| 8606 | ( fib[i] % 2 ) == 0 |
| 8607 | </Original> |
| 8608 | <Expanded> |
| 8609 | 1 == 0 |
| 8610 | </Expanded> |
| 8611 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8612 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8613 | <Original> |
| 8614 | ( fib[i] % 2 ) == 0 |
| 8615 | </Original> |
| 8616 | <Expanded> |
| 8617 | 0 == 0 |
| 8618 | </Expanded> |
| 8619 | </Expression> |
| 8620 | <Info> |
| 8621 | Testing if fib[3] (3) is even |
| 8622 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8623 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8624 | <Original> |
| 8625 | ( fib[i] % 2 ) == 0 |
| 8626 | </Original> |
| 8627 | <Expanded> |
| 8628 | 1 == 0 |
| 8629 | </Expanded> |
| 8630 | </Expression> |
| 8631 | <Info> |
| 8632 | Testing if fib[4] (5) is even |
| 8633 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8634 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8635 | <Original> |
| 8636 | ( fib[i] % 2 ) == 0 |
| 8637 | </Original> |
| 8638 | <Expanded> |
| 8639 | 1 == 0 |
| 8640 | </Expanded> |
| 8641 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8642 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8643 | <Original> |
| 8644 | ( fib[i] % 2 ) == 0 |
| 8645 | </Original> |
| 8646 | <Expanded> |
| 8647 | 0 == 0 |
| 8648 | </Expanded> |
| 8649 | </Expression> |
| 8650 | <Info> |
| 8651 | Testing if fib[6] (13) is even |
| 8652 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8653 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8654 | <Original> |
| 8655 | ( fib[i] % 2 ) == 0 |
| 8656 | </Original> |
| 8657 | <Expanded> |
| 8658 | 1 == 0 |
| 8659 | </Expanded> |
| 8660 | </Expression> |
| 8661 | <Info> |
| 8662 | Testing if fib[7] (21) is even |
| 8663 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8664 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8665 | <Original> |
| 8666 | ( fib[i] % 2 ) == 0 |
| 8667 | </Original> |
| 8668 | <Expanded> |
| 8669 | 1 == 0 |
| 8670 | </Expanded> |
| 8671 | </Expression> |
| 8672 | <OverallResult success="false"/> |
| 8673 | </TestCase> |
| 8674 | <TestCase name="more nested SECTION tests"> |
| 8675 | <Section name="s1" description="doesn't equal"> |
| 8676 | <Section name="s2" description="equal"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8677 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8678 | <Original> |
| 8679 | a == b |
| 8680 | </Original> |
| 8681 | <Expanded> |
| 8682 | 1 == 2 |
| 8683 | </Expanded> |
| 8684 | </Expression> |
| 8685 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 8686 | </Section> |
| 8687 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 8688 | </Section> |
| 8689 | <Section name="s1" description="doesn't equal"> |
| 8690 | <Section name="s3" description="not equal"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8691 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8692 | <Original> |
| 8693 | a != b |
| 8694 | </Original> |
| 8695 | <Expanded> |
| 8696 | 1 != 2 |
| 8697 | </Expanded> |
| 8698 | </Expression> |
| 8699 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8700 | </Section> |
| 8701 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8702 | </Section> |
| 8703 | <Section name="s1" description="doesn't equal"> |
| 8704 | <Section name="s4" description="less than"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8705 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8706 | <Original> |
| 8707 | a < b |
| 8708 | </Original> |
| 8709 | <Expanded> |
| 8710 | 1 < 2 |
| 8711 | </Expanded> |
| 8712 | </Expression> |
| 8713 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8714 | </Section> |
| 8715 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8716 | </Section> |
| 8717 | <OverallResult success="false"/> |
| 8718 | </TestCase> |
| 8719 | <TestCase name="nested SECTION tests"> |
| 8720 | <Section name="s1" description="doesn't equal"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8721 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8722 | <Original> |
| 8723 | a != b |
| 8724 | </Original> |
| 8725 | <Expanded> |
| 8726 | 1 != 2 |
| 8727 | </Expanded> |
| 8728 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8729 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8730 | <Original> |
| 8731 | b != a |
| 8732 | </Original> |
| 8733 | <Expanded> |
| 8734 | 2 != 1 |
| 8735 | </Expanded> |
| 8736 | </Expression> |
| 8737 | <Section name="s2" description="not equal"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8738 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8739 | <Original> |
| 8740 | a != b |
| 8741 | </Original> |
| 8742 | <Expanded> |
| 8743 | 1 != 2 |
| 8744 | </Expanded> |
| 8745 | </Expression> |
| 8746 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8747 | </Section> |
| 8748 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 8749 | </Section> |
| 8750 | <OverallResult success="true"/> |
| 8751 | </TestCase> |
| 8752 | <TestCase name="non streamable - with conv. op"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8753 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8754 | <Original> |
| 8755 | s == "7" |
| 8756 | </Original> |
| 8757 | <Expanded> |
| 8758 | "7" == "7" |
| 8759 | </Expanded> |
| 8760 | </Expression> |
| 8761 | <OverallResult success="true"/> |
| 8762 | </TestCase> |
| 8763 | <TestCase name="not allowed"> |
| 8764 | <OverallResult success="true"/> |
| 8765 | </TestCase> |
| 8766 | <TestCase name="null strings"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8767 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8768 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 8769 | makeString( false ) != static_cast<char*>(0) |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8770 | </Original> |
| 8771 | <Expanded> |
| 8772 | "valid string" != {null string} |
| 8773 | </Expanded> |
| 8774 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8775 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8776 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 8777 | makeString( true ) == static_cast<char*>(0) |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8778 | </Original> |
| 8779 | <Expanded> |
| 8780 | {null string} == {null string} |
| 8781 | </Expanded> |
| 8782 | </Expression> |
| 8783 | <OverallResult success="true"/> |
| 8784 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8785 | <TestCase name="pair<pair<int,const char *,pair<std::string,int> > -> toString"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8786 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringPair.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8787 | <Original> |
| 8788 | Catch::toString( pair ) == "{ { 42, \"Arthur\" }, { \"Ford\", 24 } }" |
| 8789 | </Original> |
| 8790 | <Expanded> |
| 8791 | "{ { 42, "Arthur" }, { "Ford", 24 } }" |
| 8792 | == |
| 8793 | "{ { 42, "Arthur" }, { "Ford", 24 } }" |
| 8794 | </Expanded> |
| 8795 | </Expression> |
| 8796 | <OverallResult success="true"/> |
| 8797 | </TestCase> |
| 8798 | <TestCase name="pointer to class"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8799 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8800 | <Original> |
| 8801 | p == 0 |
| 8802 | </Original> |
| 8803 | <Expanded> |
| 8804 | NULL == 0 |
| 8805 | </Expanded> |
| 8806 | </Expression> |
| 8807 | <OverallResult success="true"/> |
| 8808 | </TestCase> |
| 8809 | <TestCase name="random SECTION tests"> |
| 8810 | <Section name="s1" description="doesn't equal"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8811 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8812 | <Original> |
| 8813 | a != b |
| 8814 | </Original> |
| 8815 | <Expanded> |
| 8816 | 1 != 2 |
| 8817 | </Expanded> |
| 8818 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8819 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8820 | <Original> |
| 8821 | b != a |
| 8822 | </Original> |
| 8823 | <Expanded> |
| 8824 | 2 != 1 |
| 8825 | </Expanded> |
| 8826 | </Expression> |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 8827 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 8828 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8829 | <Section name="s2" description="not equal"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8830 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8831 | <Original> |
| 8832 | a != b |
| 8833 | </Original> |
| 8834 | <Expanded> |
| 8835 | 1 != 2 |
| 8836 | </Expanded> |
| 8837 | </Expression> |
| 8838 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8839 | </Section> |
| 8840 | <OverallResult success="true"/> |
| 8841 | </TestCase> |
| 8842 | <TestCase name="replaceInPlace"> |
| 8843 | <Section name="replace single char"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8844 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8845 | <Original> |
| 8846 | replaceInPlace( letters, "b", "z" ) |
| 8847 | </Original> |
| 8848 | <Expanded> |
| 8849 | true |
| 8850 | </Expanded> |
| 8851 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8852 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8853 | <Original> |
| 8854 | letters == "azcdefcg" |
| 8855 | </Original> |
| 8856 | <Expanded> |
| 8857 | "azcdefcg" == "azcdefcg" |
| 8858 | </Expanded> |
| 8859 | </Expression> |
| 8860 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 8861 | </Section> |
| 8862 | <Section name="replace two chars"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8863 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8864 | <Original> |
| 8865 | replaceInPlace( letters, "c", "z" ) |
| 8866 | </Original> |
| 8867 | <Expanded> |
| 8868 | true |
| 8869 | </Expanded> |
| 8870 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8871 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8872 | <Original> |
| 8873 | letters == "abzdefzg" |
| 8874 | </Original> |
| 8875 | <Expanded> |
| 8876 | "abzdefzg" == "abzdefzg" |
| 8877 | </Expanded> |
| 8878 | </Expression> |
| 8879 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 8880 | </Section> |
| 8881 | <Section name="replace first char"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8882 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8883 | <Original> |
| 8884 | replaceInPlace( letters, "a", "z" ) |
| 8885 | </Original> |
| 8886 | <Expanded> |
| 8887 | true |
| 8888 | </Expanded> |
| 8889 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8890 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8891 | <Original> |
| 8892 | letters == "zbcdefcg" |
| 8893 | </Original> |
| 8894 | <Expanded> |
| 8895 | "zbcdefcg" == "zbcdefcg" |
| 8896 | </Expanded> |
| 8897 | </Expression> |
| 8898 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 8899 | </Section> |
| 8900 | <Section name="replace last char"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8901 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8902 | <Original> |
| 8903 | replaceInPlace( letters, "g", "z" ) |
| 8904 | </Original> |
| 8905 | <Expanded> |
| 8906 | true |
| 8907 | </Expanded> |
| 8908 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8909 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8910 | <Original> |
| 8911 | letters == "abcdefcz" |
| 8912 | </Original> |
| 8913 | <Expanded> |
| 8914 | "abcdefcz" == "abcdefcz" |
| 8915 | </Expanded> |
| 8916 | </Expression> |
| 8917 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 8918 | </Section> |
| 8919 | <Section name="replace all chars"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8920 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8921 | <Original> |
| 8922 | replaceInPlace( letters, letters, "replaced" ) |
| 8923 | </Original> |
| 8924 | <Expanded> |
| 8925 | true |
| 8926 | </Expanded> |
| 8927 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8928 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8929 | <Original> |
| 8930 | letters == "replaced" |
| 8931 | </Original> |
| 8932 | <Expanded> |
| 8933 | "replaced" == "replaced" |
| 8934 | </Expanded> |
| 8935 | </Expression> |
| 8936 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 8937 | </Section> |
| 8938 | <Section name="replace no chars"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8939 | <Expression success="true" type="CHECK_FALSE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8940 | <Original> |
| 8941 | !replaceInPlace( letters, "x", "z" ) |
| 8942 | </Original> |
| 8943 | <Expanded> |
| 8944 | !false |
| 8945 | </Expanded> |
| 8946 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8947 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8948 | <Original> |
| 8949 | letters == letters |
| 8950 | </Original> |
| 8951 | <Expanded> |
| 8952 | "abcdefcg" == "abcdefcg" |
| 8953 | </Expanded> |
| 8954 | </Expression> |
| 8955 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 8956 | </Section> |
| 8957 | <Section name="escape '"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8958 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8959 | <Original> |
| 8960 | replaceInPlace( s, "'", "|'" ) |
| 8961 | </Original> |
| 8962 | <Expanded> |
| 8963 | true |
| 8964 | </Expanded> |
| 8965 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8966 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8967 | <Original> |
| 8968 | s == "didn|'t" |
| 8969 | </Original> |
| 8970 | <Expanded> |
| 8971 | "didn|'t" == "didn|'t" |
| 8972 | </Expanded> |
| 8973 | </Expression> |
| 8974 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 8975 | </Section> |
| 8976 | <OverallResult success="true"/> |
| 8977 | </TestCase> |
| 8978 | <TestCase name="second tag"> |
| 8979 | <OverallResult success="true"/> |
| 8980 | </TestCase> |
| 8981 | <TestCase name="send a single char to INFO"> |
| 8982 | <Info> |
| 8983 | 3 |
| 8984 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8985 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8986 | <Original> |
| 8987 | false |
| 8988 | </Original> |
| 8989 | <Expanded> |
| 8990 | false |
| 8991 | </Expanded> |
| 8992 | </Expression> |
| 8993 | <OverallResult success="false"/> |
| 8994 | </TestCase> |
| 8995 | <TestCase name="sends information to INFO"> |
| 8996 | <Info> |
| 8997 | hi |
| 8998 | </Info> |
| 8999 | <Info> |
| 9000 | i := 7 |
| 9001 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9002 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9003 | <Original> |
| 9004 | false |
| 9005 | </Original> |
| 9006 | <Expanded> |
| 9007 | false |
| 9008 | </Expanded> |
| 9009 | </Expression> |
| 9010 | <OverallResult success="false"/> |
| 9011 | </TestCase> |
| 9012 | <TestCase name="std::pair<int,const std::string> -> toString"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9013 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringPair.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9014 | <Original> |
| 9015 | Catch::toString(value) == "{ 34, \"xyzzy\" }" |
| 9016 | </Original> |
| 9017 | <Expanded> |
| 9018 | "{ 34, "xyzzy" }" == "{ 34, "xyzzy" }" |
| 9019 | </Expanded> |
| 9020 | </Expression> |
| 9021 | <OverallResult success="true"/> |
| 9022 | </TestCase> |
| 9023 | <TestCase name="std::pair<int,std::string> -> toString"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9024 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringPair.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9025 | <Original> |
| 9026 | Catch::toString( value ) == "{ 34, \"xyzzy\" }" |
| 9027 | </Original> |
| 9028 | <Expanded> |
| 9029 | "{ 34, "xyzzy" }" == "{ 34, "xyzzy" }" |
| 9030 | </Expanded> |
| 9031 | </Expression> |
| 9032 | <OverallResult success="true"/> |
| 9033 | </TestCase> |
| 9034 | <TestCase name="std::vector<std::pair<std::string,int> > -> toString"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9035 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringPair.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9036 | <Original> |
| 9037 | Catch::toString( pr ) == "{ { \"green\", 55 } }" |
| 9038 | </Original> |
| 9039 | <Expanded> |
| 9040 | "{ { "green", 55 } }" |
| 9041 | == |
| 9042 | "{ { "green", 55 } }" |
| 9043 | </Expanded> |
| 9044 | </Expression> |
| 9045 | <OverallResult success="true"/> |
| 9046 | </TestCase> |
| 9047 | <TestCase name="string literals of different sizes can be compared"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9048 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9049 | <Original> |
| 9050 | std::string( "first" ) == "second" |
| 9051 | </Original> |
| 9052 | <Expanded> |
| 9053 | "first" == "second" |
| 9054 | </Expanded> |
| 9055 | </Expression> |
| 9056 | <OverallResult success="false"/> |
| 9057 | </TestCase> |
| 9058 | <TestCase name="toString on const wchar_t const pointer returns the string contents"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9059 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9060 | <Original> |
| 9061 | result == "\"wide load\"" |
| 9062 | </Original> |
| 9063 | <Expanded> |
| 9064 | ""wide load"" == ""wide load"" |
| 9065 | </Expanded> |
| 9066 | </Expression> |
| 9067 | <OverallResult success="true"/> |
| 9068 | </TestCase> |
| 9069 | <TestCase name="toString on const wchar_t pointer returns the string contents"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9070 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9071 | <Original> |
| 9072 | result == "\"wide load\"" |
| 9073 | </Original> |
| 9074 | <Expanded> |
| 9075 | ""wide load"" == ""wide load"" |
| 9076 | </Expanded> |
| 9077 | </Expression> |
| 9078 | <OverallResult success="true"/> |
| 9079 | </TestCase> |
| 9080 | <TestCase name="toString on wchar_t const pointer returns the string contents"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9081 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9082 | <Original> |
| 9083 | result == "\"wide load\"" |
| 9084 | </Original> |
| 9085 | <Expanded> |
| 9086 | ""wide load"" == ""wide load"" |
| 9087 | </Expanded> |
| 9088 | </Expression> |
| 9089 | <OverallResult success="true"/> |
| 9090 | </TestCase> |
| 9091 | <TestCase name="toString on wchar_t returns the string contents"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9092 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9093 | <Original> |
| 9094 | result == "\"wide load\"" |
| 9095 | </Original> |
| 9096 | <Expanded> |
| 9097 | ""wide load"" == ""wide load"" |
| 9098 | </Expanded> |
| 9099 | </Expression> |
| 9100 | <OverallResult success="true"/> |
| 9101 | </TestCase> |
| 9102 | <TestCase name="toString( has_maker )"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9103 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringWhich.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9104 | <Original> |
| 9105 | Catch::toString( item ) == "StringMaker<has_maker>" |
| 9106 | </Original> |
| 9107 | <Expanded> |
| 9108 | "StringMaker<has_maker>" |
| 9109 | == |
| 9110 | "StringMaker<has_maker>" |
| 9111 | </Expanded> |
| 9112 | </Expression> |
| 9113 | <OverallResult success="true"/> |
| 9114 | </TestCase> |
| 9115 | <TestCase name="toString( has_maker_and_toString )"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9116 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringWhich.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9117 | <Original> |
| 9118 | Catch::toString( item ) == "toString( has_maker_and_toString )" |
| 9119 | </Original> |
| 9120 | <Expanded> |
| 9121 | "toString( has_maker_and_toString )" |
| 9122 | == |
| 9123 | "toString( has_maker_and_toString )" |
| 9124 | </Expanded> |
| 9125 | </Expression> |
| 9126 | <OverallResult success="true"/> |
| 9127 | </TestCase> |
| 9128 | <TestCase name="toString( has_toString )"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9129 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringWhich.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9130 | <Original> |
| 9131 | Catch::toString( item ) == "toString( has_toString )" |
| 9132 | </Original> |
| 9133 | <Expanded> |
| 9134 | "toString( has_toString )" |
| 9135 | == |
| 9136 | "toString( has_toString )" |
| 9137 | </Expanded> |
| 9138 | </Expression> |
| 9139 | <OverallResult success="true"/> |
| 9140 | </TestCase> |
| 9141 | <TestCase name="toString( vectors<has_maker )"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9142 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringWhich.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9143 | <Original> |
| 9144 | Catch::toString( v ) == "{ StringMaker<has_maker> }" |
| 9145 | </Original> |
| 9146 | <Expanded> |
| 9147 | "{ StringMaker<has_maker> }" |
| 9148 | == |
| 9149 | "{ StringMaker<has_maker> }" |
| 9150 | </Expanded> |
| 9151 | </Expression> |
| 9152 | <OverallResult success="true"/> |
| 9153 | </TestCase> |
| 9154 | <TestCase name="toString( vectors<has_maker_and_toString )"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9155 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringWhich.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9156 | <Original> |
| 9157 | Catch::toString( v ) == "{ StringMaker<has_maker_and_toString> }" |
| 9158 | </Original> |
| 9159 | <Expanded> |
| 9160 | "{ StringMaker<has_maker_and_toString> }" |
| 9161 | == |
| 9162 | "{ StringMaker<has_maker_and_toString> }" |
| 9163 | </Expanded> |
| 9164 | </Expression> |
| 9165 | <OverallResult success="true"/> |
| 9166 | </TestCase> |
| 9167 | <TestCase name="toString( vectors<has_toString )"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9168 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringWhich.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9169 | <Original> |
| 9170 | Catch::toString( v ) == "{ {?} }" |
| 9171 | </Original> |
| 9172 | <Expanded> |
| 9173 | "{ {?} }" == "{ {?} }" |
| 9174 | </Expanded> |
| 9175 | </Expression> |
| 9176 | <OverallResult success="true"/> |
| 9177 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9178 | <TestCase name="toString(enum w/operator<<)"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9179 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/EnumToString.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9180 | <Original> |
| 9181 | Catch::toString(e0) == "E2{0}" |
| 9182 | </Original> |
| 9183 | <Expanded> |
| 9184 | "E2{0}" == "E2{0}" |
| 9185 | </Expanded> |
| 9186 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9187 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/EnumToString.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9188 | <Original> |
| 9189 | Catch::toString(e1) == "E2{1}" |
| 9190 | </Original> |
| 9191 | <Expanded> |
| 9192 | "E2{1}" == "E2{1}" |
| 9193 | </Expanded> |
| 9194 | </Expression> |
| 9195 | <OverallResult success="true"/> |
| 9196 | </TestCase> |
| 9197 | <TestCase name="toString(enum)"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9198 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/EnumToString.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9199 | <Original> |
| 9200 | Catch::toString(e0) == "0" |
| 9201 | </Original> |
| 9202 | <Expanded> |
| 9203 | "0" == "0" |
| 9204 | </Expanded> |
| 9205 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9206 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/EnumToString.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9207 | <Original> |
| 9208 | Catch::toString(e1) == "1" |
| 9209 | </Original> |
| 9210 | <Expanded> |
| 9211 | "1" == "1" |
| 9212 | </Expanded> |
| 9213 | </Expression> |
| 9214 | <OverallResult success="true"/> |
| 9215 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9216 | <TestCase name="vector<int> -> toString"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9217 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9218 | <Original> |
| 9219 | Catch::toString(vv) == "{ }" |
| 9220 | </Original> |
| 9221 | <Expanded> |
| 9222 | "{ }" == "{ }" |
| 9223 | </Expanded> |
| 9224 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9225 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9226 | <Original> |
| 9227 | Catch::toString(vv) == "{ 42 }" |
| 9228 | </Original> |
| 9229 | <Expanded> |
| 9230 | "{ 42 }" == "{ 42 }" |
| 9231 | </Expanded> |
| 9232 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9233 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9234 | <Original> |
| 9235 | Catch::toString(vv) == "{ 42, 250 }" |
| 9236 | </Original> |
| 9237 | <Expanded> |
| 9238 | "{ 42, 250 }" == "{ 42, 250 }" |
| 9239 | </Expanded> |
| 9240 | </Expression> |
| 9241 | <OverallResult success="true"/> |
| 9242 | </TestCase> |
| 9243 | <TestCase name="vector<string> -> toString"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9244 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9245 | <Original> |
| 9246 | Catch::toString(vv) == "{ }" |
| 9247 | </Original> |
| 9248 | <Expanded> |
| 9249 | "{ }" == "{ }" |
| 9250 | </Expanded> |
| 9251 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9252 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9253 | <Original> |
| 9254 | Catch::toString(vv) == "{ \"hello\" }" |
| 9255 | </Original> |
| 9256 | <Expanded> |
| 9257 | "{ "hello" }" == "{ "hello" }" |
| 9258 | </Expanded> |
| 9259 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9260 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9261 | <Original> |
| 9262 | Catch::toString(vv) == "{ \"hello\", \"world\" }" |
| 9263 | </Original> |
| 9264 | <Expanded> |
| 9265 | "{ "hello", "world" }" |
| 9266 | == |
| 9267 | "{ "hello", "world" }" |
| 9268 | </Expanded> |
| 9269 | </Expression> |
| 9270 | <OverallResult success="true"/> |
| 9271 | </TestCase> |
| 9272 | <TestCase name="vectors can be sized and resized"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9273 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9274 | <Original> |
| 9275 | v.size() == 5 |
| 9276 | </Original> |
| 9277 | <Expanded> |
| 9278 | 5 == 5 |
| 9279 | </Expanded> |
| 9280 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9281 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9282 | <Original> |
| 9283 | v.capacity() >= 5 |
| 9284 | </Original> |
| 9285 | <Expanded> |
| 9286 | 5 >= 5 |
| 9287 | </Expanded> |
| 9288 | </Expression> |
| 9289 | <Section name="resizing bigger changes size and capacity"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9290 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9291 | <Original> |
| 9292 | v.size() == 10 |
| 9293 | </Original> |
| 9294 | <Expanded> |
| 9295 | 10 == 10 |
| 9296 | </Expanded> |
| 9297 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9298 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9299 | <Original> |
| 9300 | v.capacity() >= 10 |
| 9301 | </Original> |
| 9302 | <Expanded> |
| 9303 | 10 >= 10 |
| 9304 | </Expanded> |
| 9305 | </Expression> |
| 9306 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9307 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9308 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9309 | <Original> |
| 9310 | v.size() == 5 |
| 9311 | </Original> |
| 9312 | <Expanded> |
| 9313 | 5 == 5 |
| 9314 | </Expanded> |
| 9315 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9316 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9317 | <Original> |
| 9318 | v.capacity() >= 5 |
| 9319 | </Original> |
| 9320 | <Expanded> |
| 9321 | 5 >= 5 |
| 9322 | </Expanded> |
| 9323 | </Expression> |
| 9324 | <Section name="resizing smaller changes size but not capacity"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9325 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9326 | <Original> |
| 9327 | v.size() == 0 |
| 9328 | </Original> |
| 9329 | <Expanded> |
| 9330 | 0 == 0 |
| 9331 | </Expanded> |
| 9332 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9333 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9334 | <Original> |
| 9335 | v.capacity() >= 5 |
| 9336 | </Original> |
| 9337 | <Expanded> |
| 9338 | 5 >= 5 |
| 9339 | </Expanded> |
| 9340 | </Expression> |
| 9341 | <Section name="We can use the 'swap trick' to reset the capacity"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9342 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9343 | <Original> |
| 9344 | v.capacity() == 0 |
| 9345 | </Original> |
| 9346 | <Expanded> |
| 9347 | 0 == 0 |
| 9348 | </Expanded> |
| 9349 | </Expression> |
| 9350 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9351 | </Section> |
| 9352 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 9353 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9354 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9355 | <Original> |
| 9356 | v.size() == 5 |
| 9357 | </Original> |
| 9358 | <Expanded> |
| 9359 | 5 == 5 |
| 9360 | </Expanded> |
| 9361 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9362 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9363 | <Original> |
| 9364 | v.capacity() >= 5 |
| 9365 | </Original> |
| 9366 | <Expanded> |
| 9367 | 5 >= 5 |
| 9368 | </Expanded> |
| 9369 | </Expression> |
| 9370 | <Section name="reserving bigger changes capacity but not size"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9371 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9372 | <Original> |
| 9373 | v.size() == 5 |
| 9374 | </Original> |
| 9375 | <Expanded> |
| 9376 | 5 == 5 |
| 9377 | </Expanded> |
| 9378 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9379 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9380 | <Original> |
| 9381 | v.capacity() >= 10 |
| 9382 | </Original> |
| 9383 | <Expanded> |
| 9384 | 10 >= 10 |
| 9385 | </Expanded> |
| 9386 | </Expression> |
| 9387 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9388 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9389 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9390 | <Original> |
| 9391 | v.size() == 5 |
| 9392 | </Original> |
| 9393 | <Expanded> |
| 9394 | 5 == 5 |
| 9395 | </Expanded> |
| 9396 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9397 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9398 | <Original> |
| 9399 | v.capacity() >= 5 |
| 9400 | </Original> |
| 9401 | <Expanded> |
| 9402 | 5 >= 5 |
| 9403 | </Expanded> |
| 9404 | </Expression> |
| 9405 | <Section name="reserving smaller does not change size or capacity"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9406 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9407 | <Original> |
| 9408 | v.size() == 5 |
| 9409 | </Original> |
| 9410 | <Expanded> |
| 9411 | 5 == 5 |
| 9412 | </Expanded> |
| 9413 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9414 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9415 | <Original> |
| 9416 | v.capacity() >= 5 |
| 9417 | </Original> |
| 9418 | <Expanded> |
| 9419 | 5 >= 5 |
| 9420 | </Expanded> |
| 9421 | </Expression> |
| 9422 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9423 | </Section> |
| 9424 | <OverallResult success="true"/> |
| 9425 | </TestCase> |
| 9426 | <TestCase name="xmlentitycheck"> |
| 9427 | <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>"> |
| 9428 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9429 | </Section> |
| 9430 | <Section name="encoded chars" description="these should all be encoded: &&&"""<<<&"<<&""> |
| 9431 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9432 | </Section> |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 9433 | <OverallResult success="true"/> |
| 9434 | </TestCase> |
Phil Nash | 0cde0e9 | 2017-01-09 14:40:09 +0000 | [diff] [blame^] | 9435 | <OverallResults successes="813" failures="81" expectedFailures="18"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 9436 | </Group> |
Phil Nash | 0cde0e9 | 2017-01-09 14:40:09 +0000 | [diff] [blame^] | 9437 | <OverallResults successes="813" failures="80" expectedFailures="18"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 9438 | </Catch> |