Phil Nash | a189387 | 2017-02-06 16:00:05 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2 | <Catch name="<exe-name>"> |
| 3 | <Group name="<exe-name>"> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4 | <TestCase name="# A test name that starts with a #"> |
| 5 | <OverallResult success="true"/> |
| 6 | </TestCase> |
| 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 | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 2990 | Text( "abcdef\n", TextAttributes().setWidth( 10 ) ).toString() == "abcdef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2991 | </Original> |
| 2992 | <Expanded> |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 2993 | "abcdef" == "abcdef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2994 | </Expanded> |
| 2995 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 2996 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2997 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 2998 | Text( "abcdef", TextAttributes().setWidth( 6 ) ).toString() == "abcdef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 2999 | </Original> |
| 3000 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3001 | "abcdef" == "abcdef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3002 | </Expanded> |
| 3003 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3004 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3005 | <Original> |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3006 | Text( "abcdef\n", TextAttributes().setWidth( 6 ) ).toString() == "abcdef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3007 | </Original> |
| 3008 | <Expanded> |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3009 | "abcdef" == "abcdef" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3010 | </Expanded> |
| 3011 | </Expression> |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3012 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
| 3013 | <Original> |
| 3014 | Text( "abcdef\n", TextAttributes().setWidth( 5 ) ).toString() == "abcd-\nef" |
| 3015 | </Original> |
| 3016 | <Expanded> |
| 3017 | "abcd- |
| 3018 | ef" |
| 3019 | == |
| 3020 | "abcd- |
| 3021 | ef" |
| 3022 | </Expanded> |
| 3023 | </Expression> |
| 3024 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3025 | </Section> |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3026 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3027 | </Section> |
| 3028 | <Section name="With newlines"> |
| 3029 | <Section name="Wrapped once"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3030 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3031 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3032 | Text( testString, TextAttributes().setWidth( 9 ) ).toString() == "one two\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3033 | </Original> |
| 3034 | <Expanded> |
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 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3039 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3040 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3041 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3042 | </Expanded> |
| 3043 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3044 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3045 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3046 | Text( testString, TextAttributes().setWidth( 8 ) ).toString() == "one two\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3047 | </Original> |
| 3048 | <Expanded> |
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 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3053 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3054 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3055 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3056 | </Expanded> |
| 3057 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3058 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3059 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3060 | Text( testString, TextAttributes().setWidth( 7 ) ).toString() == "one two\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3061 | </Original> |
| 3062 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3063 | "one 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 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3067 | "one two |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3068 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3069 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3070 | </Expanded> |
| 3071 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3072 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3073 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3074 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3075 | </Section> |
| 3076 | <Section name="With newlines"> |
| 3077 | <Section name="Wrapped twice"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3078 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3079 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3080 | Text( testString, TextAttributes().setWidth( 6 ) ).toString() == "one\ntwo\nthree\nfour" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3081 | </Original> |
| 3082 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3083 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3084 | two |
| 3085 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3086 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3087 | == |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3088 | "one |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3089 | two |
| 3090 | three |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3091 | four" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3092 | </Expanded> |
| 3093 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3094 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3095 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3096 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3097 | </Section> |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3098 | <Section name="With wrap-before/ after characters"> |
| 3099 | <Section name="No wrapping"> |
| 3100 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
| 3101 | <Original> |
| 3102 | Text( testString, TextAttributes().setWidth( 80 ) ).toString() == testString |
| 3103 | </Original> |
| 3104 | <Expanded> |
| 3105 | "one,two(three) <here>" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3106 | == |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3107 | "one,two(three) <here>" |
| 3108 | </Expanded> |
| 3109 | </Expression> |
| 3110 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
| 3111 | <Original> |
| 3112 | Text( testString, TextAttributes().setWidth( 24 ) ).toString() == testString |
| 3113 | </Original> |
| 3114 | <Expanded> |
| 3115 | "one,two(three) <here>" |
| 3116 | == |
| 3117 | "one,two(three) <here>" |
| 3118 | </Expanded> |
| 3119 | </Expression> |
| 3120 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 3121 | </Section> |
| 3122 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 3123 | </Section> |
| 3124 | <Section name="With wrap-before/ after characters"> |
| 3125 | <Section name="Wrap before"> |
| 3126 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
| 3127 | <Original> |
| 3128 | Text( testString, TextAttributes().setWidth( 11 ) ).toString() == "one,two\n(three)\n<here>" |
| 3129 | </Original> |
| 3130 | <Expanded> |
| 3131 | "one,two |
| 3132 | (three) |
| 3133 | <here>" |
| 3134 | == |
| 3135 | "one,two |
| 3136 | (three) |
| 3137 | <here>" |
| 3138 | </Expanded> |
| 3139 | </Expression> |
| 3140 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 3141 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 3142 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3143 | </Section> |
Phil Nash | 4a04682 | 2017-01-17 17:13:23 +0000 | [diff] [blame] | 3144 | <Section name="With wrap-before/ after characters"> |
| 3145 | <Section name="Wrap after"> |
| 3146 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
| 3147 | <Original> |
| 3148 | Text( testString, TextAttributes().setWidth( 6 ) ).toString() == "one,\ntwo\n(thre-\ne)\n<here>" |
| 3149 | </Original> |
| 3150 | <Expanded> |
| 3151 | "one, |
| 3152 | two |
| 3153 | (thre- |
| 3154 | e) |
| 3155 | <here>" |
| 3156 | == |
| 3157 | "one, |
| 3158 | two |
| 3159 | (thre- |
| 3160 | e) |
| 3161 | <here>" |
| 3162 | </Expanded> |
| 3163 | </Expression> |
| 3164 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
| 3165 | <Original> |
| 3166 | Text( testString, TextAttributes().setWidth( 5 ) ).toString() == "one,\ntwo\n(thr-\nee)\n<her-\ne>" |
| 3167 | </Original> |
| 3168 | <Expanded> |
| 3169 | "one, |
| 3170 | two |
| 3171 | (thr- |
| 3172 | ee) |
| 3173 | <her- |
| 3174 | e>" |
| 3175 | == |
| 3176 | "one, |
| 3177 | two |
| 3178 | (thr- |
| 3179 | ee) |
| 3180 | <her- |
| 3181 | e>" |
| 3182 | </Expanded> |
| 3183 | </Expression> |
| 3184 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
| 3185 | <Original> |
| 3186 | Text( testString, TextAttributes().setWidth( 4 ) ).toString() == "one,\ntwo\n(th-\nree)\n<he-\nre>" |
| 3187 | </Original> |
| 3188 | <Expanded> |
| 3189 | "one, |
| 3190 | two |
| 3191 | (th- |
| 3192 | ree) |
| 3193 | <he- |
| 3194 | re>" |
| 3195 | == |
| 3196 | "one, |
| 3197 | two |
| 3198 | (th- |
| 3199 | ree) |
| 3200 | <he- |
| 3201 | re>" |
| 3202 | </Expanded> |
| 3203 | </Expression> |
| 3204 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 3205 | </Section> |
| 3206 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 3207 | </Section> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 3208 | <OverallResult success="true"/> |
| 3209 | </TestCase> |
Phil Nash | 93a945c | 2013-10-23 15:35:07 +0100 | [diff] [blame] | 3210 | <TestCase name="Long text is truncted"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 3211 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 93a945c | 2013-10-23 15:35:07 +0100 | [diff] [blame] | 3212 | <Original> |
Phil Nash | 5262e61 | 2015-12-10 18:43:29 +0000 | [diff] [blame] | 3213 | t.toString(), EndsWith( "... message truncated due to excessive size" ) |
Phil Nash | 93a945c | 2013-10-23 15:35:07 +0100 | [diff] [blame] | 3214 | </Original> |
| 3215 | <Expanded> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 3216 | "******************************************************************************- |
Phil Nash | 93a945c | 2013-10-23 15:35:07 +0100 | [diff] [blame] | 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 | ******************************************************************************- |
| 4121 | ************************ |
| 4122 | ******************************************************************************- |
| 4123 | ******************************************************************************- |
| 4124 | ************************ |
| 4125 | ******************************************************************************- |
| 4126 | ******************************************************************************- |
| 4127 | ************************ |
| 4128 | ******************************************************************************- |
| 4129 | ******************************************************************************- |
| 4130 | ************************ |
| 4131 | ******************************************************************************- |
| 4132 | ******************************************************************************- |
| 4133 | ************************ |
| 4134 | ******************************************************************************- |
| 4135 | ******************************************************************************- |
| 4136 | ************************ |
| 4137 | ******************************************************************************- |
| 4138 | ******************************************************************************- |
| 4139 | ************************ |
| 4140 | ******************************************************************************- |
| 4141 | ******************************************************************************- |
| 4142 | ************************ |
| 4143 | ******************************************************************************- |
| 4144 | ******************************************************************************- |
| 4145 | ************************ |
| 4146 | ******************************************************************************- |
| 4147 | ******************************************************************************- |
| 4148 | ************************ |
| 4149 | ******************************************************************************- |
| 4150 | ******************************************************************************- |
| 4151 | ************************ |
| 4152 | ******************************************************************************- |
| 4153 | ******************************************************************************- |
| 4154 | ************************ |
| 4155 | ******************************************************************************- |
| 4156 | ******************************************************************************- |
| 4157 | ************************ |
| 4158 | ******************************************************************************- |
| 4159 | ******************************************************************************- |
| 4160 | ************************ |
| 4161 | ******************************************************************************- |
| 4162 | ******************************************************************************- |
| 4163 | ************************ |
| 4164 | ******************************************************************************- |
| 4165 | ******************************************************************************- |
| 4166 | ************************ |
| 4167 | ******************************************************************************- |
| 4168 | ******************************************************************************- |
| 4169 | ************************ |
| 4170 | ******************************************************************************- |
| 4171 | ******************************************************************************- |
| 4172 | ************************ |
| 4173 | ******************************************************************************- |
| 4174 | ******************************************************************************- |
| 4175 | ************************ |
| 4176 | ******************************************************************************- |
| 4177 | ******************************************************************************- |
| 4178 | ************************ |
| 4179 | ******************************************************************************- |
| 4180 | ******************************************************************************- |
| 4181 | ************************ |
| 4182 | ******************************************************************************- |
| 4183 | ******************************************************************************- |
| 4184 | ************************ |
| 4185 | ******************************************************************************- |
| 4186 | ******************************************************************************- |
| 4187 | ************************ |
| 4188 | ******************************************************************************- |
| 4189 | ******************************************************************************- |
| 4190 | ************************ |
| 4191 | ******************************************************************************- |
| 4192 | ******************************************************************************- |
| 4193 | ************************ |
| 4194 | ******************************************************************************- |
| 4195 | ******************************************************************************- |
| 4196 | ************************ |
| 4197 | ******************************************************************************- |
| 4198 | ******************************************************************************- |
| 4199 | ************************ |
| 4200 | ******************************************************************************- |
| 4201 | ******************************************************************************- |
| 4202 | ************************ |
| 4203 | ******************************************************************************- |
| 4204 | ******************************************************************************- |
| 4205 | ************************ |
| 4206 | ******************************************************************************- |
| 4207 | ******************************************************************************- |
| 4208 | ************************ |
| 4209 | ******************************************************************************- |
| 4210 | ******************************************************************************- |
| 4211 | ************************ |
| 4212 | ******************************************************************************- |
| 4213 | ******************************************************************************- |
| 4214 | ************************ |
| 4215 | ******************************************************************************- |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 4216 | ... 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] | 4217 | </Expanded> |
| 4218 | </Expression> |
| 4219 | <OverallResult success="true"/> |
| 4220 | </TestCase> |
Phil Nash | 0e64973 | 2015-11-20 16:54:07 +0000 | [diff] [blame] | 4221 | <TestCase name="ManuallyRegistered"> |
| 4222 | <OverallResult success="true"/> |
| 4223 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4224 | <TestCase name="Matchers can be (AllOf) composed with the && operator"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4225 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4226 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4227 | testStringForMatching(), Contains( "string" ) && Contains( "abc" ) && Contains( "substring" ) && Contains( "contains" ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4228 | </Original> |
| 4229 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4230 | "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] | 4231 | </Expanded> |
| 4232 | </Expression> |
| 4233 | <OverallResult success="true"/> |
| 4234 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4235 | <TestCase name="Matchers can be (AnyOf) composed with the || operator"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4236 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4237 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4238 | testStringForMatching(), Contains( "string" ) || Contains( "different" ) || Contains( "random" ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4239 | </Original> |
| 4240 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4241 | "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] | 4242 | </Expanded> |
| 4243 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4244 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4245 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4246 | testStringForMatching2(), Contains( "string" ) || Contains( "different" ) || Contains( "random" ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4247 | </Original> |
| 4248 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4249 | "some completely different text that contains one common word" ( contains: "string" or contains: "different" or contains: "random" ) |
| 4250 | </Expanded> |
| 4251 | </Expression> |
| 4252 | <OverallResult success="true"/> |
| 4253 | </TestCase> |
| 4254 | <TestCase name="Matchers can be composed with both && and ||"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4255 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4256 | <Original> |
| 4257 | testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "substring" ) |
| 4258 | </Original> |
| 4259 | <Expanded> |
| 4260 | "this string contains 'abc' as a substring" ( ( contains: "string" or contains: "different" ) and contains: "substring" ) |
| 4261 | </Expanded> |
| 4262 | </Expression> |
| 4263 | <OverallResult success="true"/> |
| 4264 | </TestCase> |
| 4265 | <TestCase name="Matchers can be composed with both && and || - failing"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4266 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4267 | <Original> |
| 4268 | testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "random" ) |
| 4269 | </Original> |
| 4270 | <Expanded> |
| 4271 | "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] | 4272 | </Expanded> |
| 4273 | </Expression> |
| 4274 | <OverallResult success="false"/> |
| 4275 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4276 | <TestCase name="Matchers can be negated (Not) with the ! operator"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4277 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4278 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4279 | testStringForMatching(), !Contains( "different" ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4280 | </Original> |
| 4281 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4282 | "this string contains 'abc' as a substring" not contains: "different" |
| 4283 | </Expanded> |
| 4284 | </Expression> |
| 4285 | <OverallResult success="true"/> |
| 4286 | </TestCase> |
| 4287 | <TestCase name="Matchers can be negated (Not) with the ! operator - failing"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4288 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4289 | <Original> |
| 4290 | testStringForMatching(), !Contains( "substring" ) |
| 4291 | </Original> |
| 4292 | <Expanded> |
| 4293 | "this string contains 'abc' as a substring" not contains: "substring" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4294 | </Expanded> |
| 4295 | </Expression> |
| 4296 | <OverallResult success="false"/> |
| 4297 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4298 | <TestCase name="Mismatching exception messages failing the test"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4299 | <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] | 4300 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4301 | thisThrows(), "expected exception" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4302 | </Original> |
| 4303 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4304 | thisThrows(), "expected exception" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4305 | </Expanded> |
| 4306 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4307 | <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] | 4308 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4309 | thisThrows(), "should fail" |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4310 | </Original> |
| 4311 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4312 | expected exception |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4313 | </Expanded> |
| 4314 | </Expression> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4315 | <OverallResult success="false"/> |
| 4316 | </TestCase> |
| 4317 | <TestCase name="Nice descriptive name"> |
| 4318 | <Warning> |
| 4319 | This one ran |
| 4320 | </Warning> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4321 | <OverallResult success="true"/> |
| 4322 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4323 | <TestCase name="Non-std exceptions can be translated"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4324 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4325 | custom exception |
| 4326 | </Exception> |
| 4327 | <OverallResult success="false"/> |
| 4328 | </TestCase> |
| 4329 | <TestCase name="NotImplemented exception"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4330 | <Expression success="true" type="REQUIRE_THROWS" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4331 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4332 | thisFunctionNotImplemented( 7 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4333 | </Original> |
| 4334 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4335 | thisFunctionNotImplemented( 7 ) |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4336 | </Expanded> |
| 4337 | </Expression> |
| 4338 | <OverallResult success="true"/> |
| 4339 | </TestCase> |
Phil Nash | 337dc25 | 2013-11-19 07:21:03 +0000 | [diff] [blame] | 4340 | <TestCase name="Objects that evaluated in boolean contexts can be checked"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4341 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4342 | <Original> |
| 4343 | True |
| 4344 | </Original> |
| 4345 | <Expanded> |
| 4346 | true |
| 4347 | </Expanded> |
| 4348 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4349 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4350 | <Original> |
| 4351 | !False |
| 4352 | </Original> |
| 4353 | <Expanded> |
| 4354 | true |
| 4355 | </Expanded> |
| 4356 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4357 | <Expression success="true" type="CHECK_FALSE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4358 | <Original> |
| 4359 | !False |
| 4360 | </Original> |
| 4361 | <Expanded> |
| 4362 | !false |
| 4363 | </Expanded> |
| 4364 | </Expression> |
| 4365 | <OverallResult success="true"/> |
| 4366 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4367 | <TestCase name="Operators at different namespace levels not hijacked by Koenig lookup"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4368 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4369 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4370 | 0x<hex digits> == o |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4371 | </Original> |
| 4372 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4373 | 3221225472 (0x<hex digits>) == {?} |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4374 | </Expanded> |
| 4375 | </Expression> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4376 | <OverallResult success="true"/> |
| 4377 | </TestCase> |
| 4378 | <TestCase name="Ordering comparison checks that should fail"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4379 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4380 | <Original> |
| 4381 | data.int_seven > 7 |
| 4382 | </Original> |
| 4383 | <Expanded> |
| 4384 | 7 > 7 |
| 4385 | </Expanded> |
| 4386 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4387 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4388 | <Original> |
| 4389 | data.int_seven < 7 |
| 4390 | </Original> |
| 4391 | <Expanded> |
| 4392 | 7 < 7 |
| 4393 | </Expanded> |
| 4394 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4395 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4396 | <Original> |
| 4397 | data.int_seven > 8 |
| 4398 | </Original> |
| 4399 | <Expanded> |
| 4400 | 7 > 8 |
| 4401 | </Expanded> |
| 4402 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4403 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4404 | <Original> |
| 4405 | data.int_seven < 6 |
| 4406 | </Original> |
| 4407 | <Expanded> |
| 4408 | 7 < 6 |
| 4409 | </Expanded> |
| 4410 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4411 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4412 | <Original> |
| 4413 | data.int_seven < 0 |
| 4414 | </Original> |
| 4415 | <Expanded> |
| 4416 | 7 < 0 |
| 4417 | </Expanded> |
| 4418 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4419 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4420 | <Original> |
| 4421 | data.int_seven < -1 |
| 4422 | </Original> |
| 4423 | <Expanded> |
| 4424 | 7 < -1 |
| 4425 | </Expanded> |
| 4426 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4427 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4428 | <Original> |
| 4429 | data.int_seven >= 8 |
| 4430 | </Original> |
| 4431 | <Expanded> |
| 4432 | 7 >= 8 |
| 4433 | </Expanded> |
| 4434 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4435 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4436 | <Original> |
| 4437 | data.int_seven <= 6 |
| 4438 | </Original> |
| 4439 | <Expanded> |
| 4440 | 7 <= 6 |
| 4441 | </Expanded> |
| 4442 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4443 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4444 | <Original> |
| 4445 | data.float_nine_point_one < 9 |
| 4446 | </Original> |
| 4447 | <Expanded> |
| 4448 | 9.1f < 9 |
| 4449 | </Expanded> |
| 4450 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4451 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4452 | <Original> |
| 4453 | data.float_nine_point_one > 10 |
| 4454 | </Original> |
| 4455 | <Expanded> |
| 4456 | 9.1f > 10 |
| 4457 | </Expanded> |
| 4458 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4459 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4460 | <Original> |
| 4461 | data.float_nine_point_one > 9.2 |
| 4462 | </Original> |
| 4463 | <Expanded> |
| 4464 | 9.1f > 9.2 |
| 4465 | </Expanded> |
| 4466 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4467 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4468 | <Original> |
| 4469 | data.str_hello > "hello" |
| 4470 | </Original> |
| 4471 | <Expanded> |
| 4472 | "hello" > "hello" |
| 4473 | </Expanded> |
| 4474 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4475 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4476 | <Original> |
| 4477 | data.str_hello < "hello" |
| 4478 | </Original> |
| 4479 | <Expanded> |
| 4480 | "hello" < "hello" |
| 4481 | </Expanded> |
| 4482 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4483 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4484 | <Original> |
| 4485 | data.str_hello > "hellp" |
| 4486 | </Original> |
| 4487 | <Expanded> |
| 4488 | "hello" > "hellp" |
| 4489 | </Expanded> |
| 4490 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4491 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4492 | <Original> |
| 4493 | data.str_hello > "z" |
| 4494 | </Original> |
| 4495 | <Expanded> |
| 4496 | "hello" > "z" |
| 4497 | </Expanded> |
| 4498 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4499 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4500 | <Original> |
| 4501 | data.str_hello < "hellm" |
| 4502 | </Original> |
| 4503 | <Expanded> |
| 4504 | "hello" < "hellm" |
| 4505 | </Expanded> |
| 4506 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4507 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4508 | <Original> |
| 4509 | data.str_hello < "a" |
| 4510 | </Original> |
| 4511 | <Expanded> |
| 4512 | "hello" < "a" |
| 4513 | </Expanded> |
| 4514 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4515 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4516 | <Original> |
| 4517 | data.str_hello >= "z" |
| 4518 | </Original> |
| 4519 | <Expanded> |
| 4520 | "hello" >= "z" |
| 4521 | </Expanded> |
| 4522 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4523 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4524 | <Original> |
| 4525 | data.str_hello <= "a" |
| 4526 | </Original> |
| 4527 | <Expanded> |
| 4528 | "hello" <= "a" |
| 4529 | </Expanded> |
| 4530 | </Expression> |
| 4531 | <OverallResult success="false"/> |
| 4532 | </TestCase> |
| 4533 | <TestCase name="Ordering comparison checks that should succeed"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4534 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4535 | <Original> |
| 4536 | data.int_seven < 8 |
| 4537 | </Original> |
| 4538 | <Expanded> |
| 4539 | 7 < 8 |
| 4540 | </Expanded> |
| 4541 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4542 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4543 | <Original> |
| 4544 | data.int_seven > 6 |
| 4545 | </Original> |
| 4546 | <Expanded> |
| 4547 | 7 > 6 |
| 4548 | </Expanded> |
| 4549 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4550 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4551 | <Original> |
| 4552 | data.int_seven > 0 |
| 4553 | </Original> |
| 4554 | <Expanded> |
| 4555 | 7 > 0 |
| 4556 | </Expanded> |
| 4557 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4558 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4559 | <Original> |
| 4560 | data.int_seven > -1 |
| 4561 | </Original> |
| 4562 | <Expanded> |
| 4563 | 7 > -1 |
| 4564 | </Expanded> |
| 4565 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4566 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4567 | <Original> |
| 4568 | data.int_seven >= 7 |
| 4569 | </Original> |
| 4570 | <Expanded> |
| 4571 | 7 >= 7 |
| 4572 | </Expanded> |
| 4573 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4574 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4575 | <Original> |
| 4576 | data.int_seven >= 6 |
| 4577 | </Original> |
| 4578 | <Expanded> |
| 4579 | 7 >= 6 |
| 4580 | </Expanded> |
| 4581 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4582 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4583 | <Original> |
| 4584 | data.int_seven <= 7 |
| 4585 | </Original> |
| 4586 | <Expanded> |
| 4587 | 7 <= 7 |
| 4588 | </Expanded> |
| 4589 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4590 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4591 | <Original> |
| 4592 | data.int_seven <= 8 |
| 4593 | </Original> |
| 4594 | <Expanded> |
| 4595 | 7 <= 8 |
| 4596 | </Expanded> |
| 4597 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4598 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4599 | <Original> |
| 4600 | data.float_nine_point_one > 9 |
| 4601 | </Original> |
| 4602 | <Expanded> |
| 4603 | 9.1f > 9 |
| 4604 | </Expanded> |
| 4605 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4606 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4607 | <Original> |
| 4608 | data.float_nine_point_one < 10 |
| 4609 | </Original> |
| 4610 | <Expanded> |
| 4611 | 9.1f < 10 |
| 4612 | </Expanded> |
| 4613 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4614 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4615 | <Original> |
| 4616 | data.float_nine_point_one < 9.2 |
| 4617 | </Original> |
| 4618 | <Expanded> |
| 4619 | 9.1f < 9.2 |
| 4620 | </Expanded> |
| 4621 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4622 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4623 | <Original> |
| 4624 | data.str_hello <= "hello" |
| 4625 | </Original> |
| 4626 | <Expanded> |
| 4627 | "hello" <= "hello" |
| 4628 | </Expanded> |
| 4629 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4630 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4631 | <Original> |
| 4632 | data.str_hello >= "hello" |
| 4633 | </Original> |
| 4634 | <Expanded> |
| 4635 | "hello" >= "hello" |
| 4636 | </Expanded> |
| 4637 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4638 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4639 | <Original> |
| 4640 | data.str_hello < "hellp" |
| 4641 | </Original> |
| 4642 | <Expanded> |
| 4643 | "hello" < "hellp" |
| 4644 | </Expanded> |
| 4645 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4646 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4647 | <Original> |
| 4648 | data.str_hello < "zebra" |
| 4649 | </Original> |
| 4650 | <Expanded> |
| 4651 | "hello" < "zebra" |
| 4652 | </Expanded> |
| 4653 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4654 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4655 | <Original> |
| 4656 | data.str_hello > "hellm" |
| 4657 | </Original> |
| 4658 | <Expanded> |
| 4659 | "hello" > "hellm" |
| 4660 | </Expanded> |
| 4661 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4662 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4663 | <Original> |
| 4664 | data.str_hello > "a" |
| 4665 | </Original> |
| 4666 | <Expanded> |
| 4667 | "hello" > "a" |
| 4668 | </Expanded> |
| 4669 | </Expression> |
| 4670 | <OverallResult success="true"/> |
| 4671 | </TestCase> |
| 4672 | <TestCase name="Output from all sections is reported"> |
| 4673 | <Section name="one"> |
| 4674 | <Failure> |
| 4675 | Message from section one |
| 4676 | </Failure> |
| 4677 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4678 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4679 | <Section name="two"> |
| 4680 | <Failure> |
| 4681 | Message from section two |
| 4682 | </Failure> |
| 4683 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 4684 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 4685 | <OverallResult success="false"/> |
Phil Nash | 5ea3266 | 2014-09-03 19:22:47 +0100 | [diff] [blame] | 4686 | </TestCase> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4687 | <TestCase name="Parse test names and tags"> |
| 4688 | <Section name="Empty test spec should have no filters"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4689 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4690 | <Original> |
| 4691 | spec.hasFilters() == false |
| 4692 | </Original> |
| 4693 | <Expanded> |
| 4694 | false == false |
| 4695 | </Expanded> |
| 4696 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4697 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4698 | <Original> |
| 4699 | spec.matches( tcA ) == false |
| 4700 | </Original> |
| 4701 | <Expanded> |
| 4702 | false == false |
| 4703 | </Expanded> |
| 4704 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4705 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4706 | <Original> |
| 4707 | spec.matches( tcB ) == false |
| 4708 | </Original> |
| 4709 | <Expanded> |
| 4710 | false == false |
| 4711 | </Expanded> |
| 4712 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4713 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4714 | </Section> |
| 4715 | <Section name="Test spec from empty string should have no filters"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4716 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4717 | <Original> |
| 4718 | spec.hasFilters() == false |
| 4719 | </Original> |
| 4720 | <Expanded> |
| 4721 | false == false |
| 4722 | </Expanded> |
| 4723 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4724 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4725 | <Original> |
| 4726 | spec.matches(tcA ) == false |
| 4727 | </Original> |
| 4728 | <Expanded> |
| 4729 | false == false |
| 4730 | </Expanded> |
| 4731 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4732 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4733 | <Original> |
| 4734 | spec.matches( tcB ) == false |
| 4735 | </Original> |
| 4736 | <Expanded> |
| 4737 | false == false |
| 4738 | </Expanded> |
| 4739 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4740 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4741 | </Section> |
| 4742 | <Section name="Test spec from just a comma should have no filters"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4743 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4744 | <Original> |
| 4745 | spec.hasFilters() == false |
| 4746 | </Original> |
| 4747 | <Expanded> |
| 4748 | false == false |
| 4749 | </Expanded> |
| 4750 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4751 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4752 | <Original> |
| 4753 | spec.matches( tcA ) == false |
| 4754 | </Original> |
| 4755 | <Expanded> |
| 4756 | false == false |
| 4757 | </Expanded> |
| 4758 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4759 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4760 | <Original> |
| 4761 | spec.matches( tcB ) == false |
| 4762 | </Original> |
| 4763 | <Expanded> |
| 4764 | false == false |
| 4765 | </Expanded> |
| 4766 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4767 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4768 | </Section> |
| 4769 | <Section name="Test spec from name should have one filter"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4770 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4771 | <Original> |
| 4772 | spec.hasFilters() == true |
| 4773 | </Original> |
| 4774 | <Expanded> |
| 4775 | true == true |
| 4776 | </Expanded> |
| 4777 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4778 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4779 | <Original> |
| 4780 | spec.matches( tcA ) == false |
| 4781 | </Original> |
| 4782 | <Expanded> |
| 4783 | false == false |
| 4784 | </Expanded> |
| 4785 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4786 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4787 | <Original> |
| 4788 | spec.matches( tcB ) == true |
| 4789 | </Original> |
| 4790 | <Expanded> |
| 4791 | true == true |
| 4792 | </Expanded> |
| 4793 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4794 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4795 | </Section> |
| 4796 | <Section name="Test spec from quoted name should have one filter"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4797 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4798 | <Original> |
| 4799 | spec.hasFilters() == true |
| 4800 | </Original> |
| 4801 | <Expanded> |
| 4802 | true == true |
| 4803 | </Expanded> |
| 4804 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4805 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4806 | <Original> |
| 4807 | spec.matches( tcA ) == false |
| 4808 | </Original> |
| 4809 | <Expanded> |
| 4810 | false == false |
| 4811 | </Expanded> |
| 4812 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4813 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4814 | <Original> |
| 4815 | spec.matches( tcB ) == true |
| 4816 | </Original> |
| 4817 | <Expanded> |
| 4818 | true == true |
| 4819 | </Expanded> |
| 4820 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4821 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4822 | </Section> |
| 4823 | <Section name="Test spec from name should have one filter"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4824 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4825 | <Original> |
| 4826 | spec.hasFilters() == true |
| 4827 | </Original> |
| 4828 | <Expanded> |
| 4829 | true == true |
| 4830 | </Expanded> |
| 4831 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4832 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4833 | <Original> |
| 4834 | spec.matches( tcA ) == false |
| 4835 | </Original> |
| 4836 | <Expanded> |
| 4837 | false == false |
| 4838 | </Expanded> |
| 4839 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4840 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4841 | <Original> |
| 4842 | spec.matches( tcB ) == true |
| 4843 | </Original> |
| 4844 | <Expanded> |
| 4845 | true == true |
| 4846 | </Expanded> |
| 4847 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4848 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4849 | <Original> |
| 4850 | spec.matches( tcC ) == false |
| 4851 | </Original> |
| 4852 | <Expanded> |
| 4853 | false == false |
| 4854 | </Expanded> |
| 4855 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4856 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4857 | </Section> |
| 4858 | <Section name="Wildcard at the start"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4859 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4860 | <Original> |
| 4861 | spec.hasFilters() == true |
| 4862 | </Original> |
| 4863 | <Expanded> |
| 4864 | true == true |
| 4865 | </Expanded> |
| 4866 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4867 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4868 | <Original> |
| 4869 | spec.matches( tcA ) == false |
| 4870 | </Original> |
| 4871 | <Expanded> |
| 4872 | false == false |
| 4873 | </Expanded> |
| 4874 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4875 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4876 | <Original> |
| 4877 | spec.matches( tcB ) == false |
| 4878 | </Original> |
| 4879 | <Expanded> |
| 4880 | false == false |
| 4881 | </Expanded> |
| 4882 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4883 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4884 | <Original> |
| 4885 | spec.matches( tcC ) == true |
| 4886 | </Original> |
| 4887 | <Expanded> |
| 4888 | true == true |
| 4889 | </Expanded> |
| 4890 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4891 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4892 | <Original> |
| 4893 | spec.matches( tcD ) == false |
| 4894 | </Original> |
| 4895 | <Expanded> |
| 4896 | false == false |
| 4897 | </Expanded> |
| 4898 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4899 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4900 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 4901 | parseTestSpec( "*a" ).matches( tcA ) == true |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4902 | </Original> |
| 4903 | <Expanded> |
| 4904 | true == true |
| 4905 | </Expanded> |
| 4906 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4907 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4908 | </Section> |
| 4909 | <Section name="Wildcard at the end"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4910 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4911 | <Original> |
| 4912 | spec.hasFilters() == true |
| 4913 | </Original> |
| 4914 | <Expanded> |
| 4915 | true == true |
| 4916 | </Expanded> |
| 4917 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4918 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4919 | <Original> |
| 4920 | spec.matches( tcA ) == false |
| 4921 | </Original> |
| 4922 | <Expanded> |
| 4923 | false == false |
| 4924 | </Expanded> |
| 4925 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4926 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4927 | <Original> |
| 4928 | spec.matches( tcB ) == false |
| 4929 | </Original> |
| 4930 | <Expanded> |
| 4931 | false == false |
| 4932 | </Expanded> |
| 4933 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4934 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4935 | <Original> |
| 4936 | spec.matches( tcC ) == true |
| 4937 | </Original> |
| 4938 | <Expanded> |
| 4939 | true == true |
| 4940 | </Expanded> |
| 4941 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4942 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4943 | <Original> |
| 4944 | spec.matches( tcD ) == false |
| 4945 | </Original> |
| 4946 | <Expanded> |
| 4947 | false == false |
| 4948 | </Expanded> |
| 4949 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4950 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4951 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 4952 | parseTestSpec( "a*" ).matches( tcA ) == true |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4953 | </Original> |
| 4954 | <Expanded> |
| 4955 | true == true |
| 4956 | </Expanded> |
| 4957 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 4958 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4959 | </Section> |
| 4960 | <Section name="Wildcard at both ends"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4961 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4962 | <Original> |
| 4963 | spec.hasFilters() == true |
| 4964 | </Original> |
| 4965 | <Expanded> |
| 4966 | true == true |
| 4967 | </Expanded> |
| 4968 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4969 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4970 | <Original> |
| 4971 | spec.matches( tcA ) == false |
| 4972 | </Original> |
| 4973 | <Expanded> |
| 4974 | false == false |
| 4975 | </Expanded> |
| 4976 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4977 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4978 | <Original> |
| 4979 | spec.matches( tcB ) == false |
| 4980 | </Original> |
| 4981 | <Expanded> |
| 4982 | false == false |
| 4983 | </Expanded> |
| 4984 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4985 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4986 | <Original> |
| 4987 | spec.matches( tcC ) == true |
| 4988 | </Original> |
| 4989 | <Expanded> |
| 4990 | true == true |
| 4991 | </Expanded> |
| 4992 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 4993 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 4994 | <Original> |
| 4995 | spec.matches( tcD ) == true |
| 4996 | </Original> |
| 4997 | <Expanded> |
| 4998 | true == true |
| 4999 | </Expanded> |
| 5000 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5001 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5002 | <Original> |
Phil Nash | d6e59cd | 2015-07-23 18:45:31 +0100 | [diff] [blame] | 5003 | parseTestSpec( "*a*" ).matches( tcA ) == true |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5004 | </Original> |
| 5005 | <Expanded> |
| 5006 | true == true |
| 5007 | </Expanded> |
| 5008 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5009 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5010 | </Section> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5011 | <Section name="Redundant wildcard at the start"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5012 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5013 | <Original> |
| 5014 | spec.hasFilters() == true |
| 5015 | </Original> |
| 5016 | <Expanded> |
| 5017 | true == true |
| 5018 | </Expanded> |
| 5019 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5020 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5021 | <Original> |
| 5022 | spec.matches( tcA ) == true |
| 5023 | </Original> |
| 5024 | <Expanded> |
| 5025 | true == true |
| 5026 | </Expanded> |
| 5027 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5028 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5029 | <Original> |
| 5030 | spec.matches( tcB ) == false |
| 5031 | </Original> |
| 5032 | <Expanded> |
| 5033 | false == false |
| 5034 | </Expanded> |
| 5035 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5036 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5037 | </Section> |
| 5038 | <Section name="Redundant wildcard at the end"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5039 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5040 | <Original> |
| 5041 | spec.hasFilters() == true |
| 5042 | </Original> |
| 5043 | <Expanded> |
| 5044 | true == true |
| 5045 | </Expanded> |
| 5046 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5047 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5048 | <Original> |
| 5049 | spec.matches( tcA ) == true |
| 5050 | </Original> |
| 5051 | <Expanded> |
| 5052 | true == true |
| 5053 | </Expanded> |
| 5054 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5055 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5056 | <Original> |
| 5057 | spec.matches( tcB ) == false |
| 5058 | </Original> |
| 5059 | <Expanded> |
| 5060 | false == false |
| 5061 | </Expanded> |
| 5062 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5063 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5064 | </Section> |
| 5065 | <Section name="Redundant wildcard at both ends"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5066 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5067 | <Original> |
| 5068 | spec.hasFilters() == true |
| 5069 | </Original> |
| 5070 | <Expanded> |
| 5071 | true == true |
| 5072 | </Expanded> |
| 5073 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5074 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5075 | <Original> |
| 5076 | spec.matches( tcA ) == true |
| 5077 | </Original> |
| 5078 | <Expanded> |
| 5079 | true == true |
| 5080 | </Expanded> |
| 5081 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5082 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5083 | <Original> |
| 5084 | spec.matches( tcB ) == false |
| 5085 | </Original> |
| 5086 | <Expanded> |
| 5087 | false == false |
| 5088 | </Expanded> |
| 5089 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5090 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5091 | </Section> |
| 5092 | <Section name="Wildcard at both ends, redundant at start"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5093 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5094 | <Original> |
| 5095 | spec.hasFilters() == true |
| 5096 | </Original> |
| 5097 | <Expanded> |
| 5098 | true == true |
| 5099 | </Expanded> |
| 5100 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5101 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5102 | <Original> |
| 5103 | spec.matches( tcA ) == false |
| 5104 | </Original> |
| 5105 | <Expanded> |
| 5106 | false == false |
| 5107 | </Expanded> |
| 5108 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5109 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5110 | <Original> |
| 5111 | spec.matches( tcB ) == false |
| 5112 | </Original> |
| 5113 | <Expanded> |
| 5114 | false == false |
| 5115 | </Expanded> |
| 5116 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5117 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5118 | <Original> |
| 5119 | spec.matches( tcC ) == true |
| 5120 | </Original> |
| 5121 | <Expanded> |
| 5122 | true == true |
| 5123 | </Expanded> |
| 5124 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5125 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5126 | <Original> |
| 5127 | spec.matches( tcD ) == true |
| 5128 | </Original> |
| 5129 | <Expanded> |
| 5130 | true == true |
| 5131 | </Expanded> |
| 5132 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5133 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 7139035 | 2014-05-19 18:21:01 +0100 | [diff] [blame] | 5134 | </Section> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5135 | <Section name="Just wildcard"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5136 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5137 | <Original> |
| 5138 | spec.hasFilters() == true |
| 5139 | </Original> |
| 5140 | <Expanded> |
| 5141 | true == true |
| 5142 | </Expanded> |
| 5143 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5144 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5145 | <Original> |
| 5146 | spec.matches( tcA ) == true |
| 5147 | </Original> |
| 5148 | <Expanded> |
| 5149 | true == true |
| 5150 | </Expanded> |
| 5151 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5152 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5153 | <Original> |
| 5154 | spec.matches( tcB ) == true |
| 5155 | </Original> |
| 5156 | <Expanded> |
| 5157 | true == true |
| 5158 | </Expanded> |
| 5159 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5160 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5161 | <Original> |
| 5162 | spec.matches( tcC ) == true |
| 5163 | </Original> |
| 5164 | <Expanded> |
| 5165 | true == true |
| 5166 | </Expanded> |
| 5167 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5168 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5169 | <Original> |
| 5170 | spec.matches( tcD ) == true |
| 5171 | </Original> |
| 5172 | <Expanded> |
| 5173 | true == true |
| 5174 | </Expanded> |
| 5175 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5176 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5177 | </Section> |
| 5178 | <Section name="Single tag"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5179 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5180 | <Original> |
| 5181 | spec.hasFilters() == true |
| 5182 | </Original> |
| 5183 | <Expanded> |
| 5184 | true == true |
| 5185 | </Expanded> |
| 5186 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5187 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5188 | <Original> |
| 5189 | spec.matches( tcA ) == false |
| 5190 | </Original> |
| 5191 | <Expanded> |
| 5192 | false == false |
| 5193 | </Expanded> |
| 5194 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5195 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5196 | <Original> |
| 5197 | spec.matches( tcB ) == true |
| 5198 | </Original> |
| 5199 | <Expanded> |
| 5200 | true == true |
| 5201 | </Expanded> |
| 5202 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5203 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5204 | <Original> |
| 5205 | spec.matches( tcC ) == false |
| 5206 | </Original> |
| 5207 | <Expanded> |
| 5208 | false == false |
| 5209 | </Expanded> |
| 5210 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5211 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5212 | </Section> |
| 5213 | <Section name="Single tag, two matches"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5214 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5215 | <Original> |
| 5216 | spec.hasFilters() == true |
| 5217 | </Original> |
| 5218 | <Expanded> |
| 5219 | true == true |
| 5220 | </Expanded> |
| 5221 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5222 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5223 | <Original> |
| 5224 | spec.matches( tcA ) == false |
| 5225 | </Original> |
| 5226 | <Expanded> |
| 5227 | false == false |
| 5228 | </Expanded> |
| 5229 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5230 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5231 | <Original> |
| 5232 | spec.matches( tcB ) == true |
| 5233 | </Original> |
| 5234 | <Expanded> |
| 5235 | true == true |
| 5236 | </Expanded> |
| 5237 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5238 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5239 | <Original> |
| 5240 | spec.matches( tcC ) == true |
| 5241 | </Original> |
| 5242 | <Expanded> |
| 5243 | true == true |
| 5244 | </Expanded> |
| 5245 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5246 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5247 | </Section> |
| 5248 | <Section name="Two tags"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5249 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5250 | <Original> |
| 5251 | spec.hasFilters() == true |
| 5252 | </Original> |
| 5253 | <Expanded> |
| 5254 | true == true |
| 5255 | </Expanded> |
| 5256 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5257 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5258 | <Original> |
| 5259 | spec.matches( tcA ) == false |
| 5260 | </Original> |
| 5261 | <Expanded> |
| 5262 | false == false |
| 5263 | </Expanded> |
| 5264 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5265 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5266 | <Original> |
| 5267 | spec.matches( tcB ) == false |
| 5268 | </Original> |
| 5269 | <Expanded> |
| 5270 | false == false |
| 5271 | </Expanded> |
| 5272 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5273 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5274 | <Original> |
| 5275 | spec.matches( tcC ) == true |
| 5276 | </Original> |
| 5277 | <Expanded> |
| 5278 | true == true |
| 5279 | </Expanded> |
| 5280 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5281 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5282 | </Section> |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5283 | <Section name="Two tags, spare separated"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5284 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5285 | <Original> |
| 5286 | spec.hasFilters() == true |
| 5287 | </Original> |
| 5288 | <Expanded> |
| 5289 | true == true |
| 5290 | </Expanded> |
| 5291 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5292 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5293 | <Original> |
| 5294 | spec.matches( tcA ) == false |
| 5295 | </Original> |
| 5296 | <Expanded> |
| 5297 | false == false |
| 5298 | </Expanded> |
| 5299 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5300 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5301 | <Original> |
| 5302 | spec.matches( tcB ) == false |
| 5303 | </Original> |
| 5304 | <Expanded> |
| 5305 | false == false |
| 5306 | </Expanded> |
| 5307 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5308 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5309 | <Original> |
| 5310 | spec.matches( tcC ) == true |
| 5311 | </Original> |
| 5312 | <Expanded> |
| 5313 | true == true |
| 5314 | </Expanded> |
| 5315 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5316 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | a2d8f77 | 2014-05-20 18:28:48 +0100 | [diff] [blame] | 5317 | </Section> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5318 | <Section name="Wildcarded name and tag"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5319 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5320 | <Original> |
| 5321 | spec.hasFilters() == true |
| 5322 | </Original> |
| 5323 | <Expanded> |
| 5324 | true == true |
| 5325 | </Expanded> |
| 5326 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5327 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5328 | <Original> |
| 5329 | spec.matches( tcA ) == false |
| 5330 | </Original> |
| 5331 | <Expanded> |
| 5332 | false == false |
| 5333 | </Expanded> |
| 5334 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5335 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5336 | <Original> |
| 5337 | spec.matches( tcB ) == false |
| 5338 | </Original> |
| 5339 | <Expanded> |
| 5340 | false == false |
| 5341 | </Expanded> |
| 5342 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5343 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5344 | <Original> |
| 5345 | spec.matches( tcC ) == true |
| 5346 | </Original> |
| 5347 | <Expanded> |
| 5348 | true == true |
| 5349 | </Expanded> |
| 5350 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5351 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5352 | <Original> |
| 5353 | spec.matches( tcD ) == false |
| 5354 | </Original> |
| 5355 | <Expanded> |
| 5356 | false == false |
| 5357 | </Expanded> |
| 5358 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5359 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5360 | </Section> |
| 5361 | <Section name="Single tag exclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5362 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5363 | <Original> |
| 5364 | spec.hasFilters() == true |
| 5365 | </Original> |
| 5366 | <Expanded> |
| 5367 | true == true |
| 5368 | </Expanded> |
| 5369 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5370 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5371 | <Original> |
| 5372 | spec.matches( tcA ) == true |
| 5373 | </Original> |
| 5374 | <Expanded> |
| 5375 | true == true |
| 5376 | </Expanded> |
| 5377 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5378 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5379 | <Original> |
| 5380 | spec.matches( tcB ) == false |
| 5381 | </Original> |
| 5382 | <Expanded> |
| 5383 | false == false |
| 5384 | </Expanded> |
| 5385 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5386 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5387 | <Original> |
| 5388 | spec.matches( tcC ) == true |
| 5389 | </Original> |
| 5390 | <Expanded> |
| 5391 | true == true |
| 5392 | </Expanded> |
| 5393 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5394 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5395 | </Section> |
| 5396 | <Section name="One tag exclusion and one tag inclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5397 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5398 | <Original> |
| 5399 | spec.hasFilters() == true |
| 5400 | </Original> |
| 5401 | <Expanded> |
| 5402 | true == true |
| 5403 | </Expanded> |
| 5404 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5405 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5406 | <Original> |
| 5407 | spec.matches( tcA ) == false |
| 5408 | </Original> |
| 5409 | <Expanded> |
| 5410 | false == false |
| 5411 | </Expanded> |
| 5412 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5413 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5414 | <Original> |
| 5415 | spec.matches( tcB ) == true |
| 5416 | </Original> |
| 5417 | <Expanded> |
| 5418 | true == true |
| 5419 | </Expanded> |
| 5420 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5421 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5422 | <Original> |
| 5423 | spec.matches( tcC ) == false |
| 5424 | </Original> |
| 5425 | <Expanded> |
| 5426 | false == false |
| 5427 | </Expanded> |
| 5428 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5429 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5430 | </Section> |
| 5431 | <Section name="One tag exclusion and one wldcarded name inclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5432 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5433 | <Original> |
| 5434 | spec.hasFilters() == true |
| 5435 | </Original> |
| 5436 | <Expanded> |
| 5437 | true == true |
| 5438 | </Expanded> |
| 5439 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5440 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5441 | <Original> |
| 5442 | spec.matches( tcA ) == false |
| 5443 | </Original> |
| 5444 | <Expanded> |
| 5445 | false == false |
| 5446 | </Expanded> |
| 5447 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5448 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5449 | <Original> |
| 5450 | spec.matches( tcB ) == false |
| 5451 | </Original> |
| 5452 | <Expanded> |
| 5453 | false == false |
| 5454 | </Expanded> |
| 5455 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5456 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5457 | <Original> |
| 5458 | spec.matches( tcC ) == false |
| 5459 | </Original> |
| 5460 | <Expanded> |
| 5461 | false == false |
| 5462 | </Expanded> |
| 5463 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5464 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5465 | <Original> |
| 5466 | spec.matches( tcD ) == true |
| 5467 | </Original> |
| 5468 | <Expanded> |
| 5469 | true == true |
| 5470 | </Expanded> |
| 5471 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5472 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5473 | </Section> |
| 5474 | <Section name="One tag exclusion, using exclude:, and one wldcarded name inclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5475 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5476 | <Original> |
| 5477 | spec.hasFilters() == true |
| 5478 | </Original> |
| 5479 | <Expanded> |
| 5480 | true == true |
| 5481 | </Expanded> |
| 5482 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5483 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5484 | <Original> |
| 5485 | spec.matches( tcA ) == false |
| 5486 | </Original> |
| 5487 | <Expanded> |
| 5488 | false == false |
| 5489 | </Expanded> |
| 5490 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5491 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5492 | <Original> |
| 5493 | spec.matches( tcB ) == false |
| 5494 | </Original> |
| 5495 | <Expanded> |
| 5496 | false == false |
| 5497 | </Expanded> |
| 5498 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5499 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5500 | <Original> |
| 5501 | spec.matches( tcC ) == false |
| 5502 | </Original> |
| 5503 | <Expanded> |
| 5504 | false == false |
| 5505 | </Expanded> |
| 5506 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5507 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5508 | <Original> |
| 5509 | spec.matches( tcD ) == true |
| 5510 | </Original> |
| 5511 | <Expanded> |
| 5512 | true == true |
| 5513 | </Expanded> |
| 5514 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5515 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5516 | </Section> |
| 5517 | <Section name="name exclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5518 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5519 | <Original> |
| 5520 | spec.hasFilters() == true |
| 5521 | </Original> |
| 5522 | <Expanded> |
| 5523 | true == true |
| 5524 | </Expanded> |
| 5525 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5526 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5527 | <Original> |
| 5528 | spec.matches( tcA ) == true |
| 5529 | </Original> |
| 5530 | <Expanded> |
| 5531 | true == true |
| 5532 | </Expanded> |
| 5533 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5534 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5535 | <Original> |
| 5536 | spec.matches( tcB ) == false |
| 5537 | </Original> |
| 5538 | <Expanded> |
| 5539 | false == false |
| 5540 | </Expanded> |
| 5541 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5542 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5543 | <Original> |
| 5544 | spec.matches( tcC ) == true |
| 5545 | </Original> |
| 5546 | <Expanded> |
| 5547 | true == true |
| 5548 | </Expanded> |
| 5549 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5550 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5551 | <Original> |
| 5552 | spec.matches( tcD ) == true |
| 5553 | </Original> |
| 5554 | <Expanded> |
| 5555 | true == true |
| 5556 | </Expanded> |
| 5557 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5558 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5559 | </Section> |
| 5560 | <Section name="wildcarded name exclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5561 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5562 | <Original> |
| 5563 | spec.hasFilters() == true |
| 5564 | </Original> |
| 5565 | <Expanded> |
| 5566 | true == true |
| 5567 | </Expanded> |
| 5568 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5569 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5570 | <Original> |
| 5571 | spec.matches( tcA ) == true |
| 5572 | </Original> |
| 5573 | <Expanded> |
| 5574 | true == true |
| 5575 | </Expanded> |
| 5576 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5577 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5578 | <Original> |
| 5579 | spec.matches( tcB ) == true |
| 5580 | </Original> |
| 5581 | <Expanded> |
| 5582 | true == true |
| 5583 | </Expanded> |
| 5584 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5585 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5586 | <Original> |
| 5587 | spec.matches( tcC ) == false |
| 5588 | </Original> |
| 5589 | <Expanded> |
| 5590 | false == false |
| 5591 | </Expanded> |
| 5592 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5593 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5594 | <Original> |
| 5595 | spec.matches( tcD ) == false |
| 5596 | </Original> |
| 5597 | <Expanded> |
| 5598 | false == false |
| 5599 | </Expanded> |
| 5600 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5601 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5602 | </Section> |
| 5603 | <Section name="wildcarded name exclusion with tag inclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5604 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5605 | <Original> |
| 5606 | spec.hasFilters() == true |
| 5607 | </Original> |
| 5608 | <Expanded> |
| 5609 | true == true |
| 5610 | </Expanded> |
| 5611 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5612 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5613 | <Original> |
| 5614 | spec.matches( tcA ) == true |
| 5615 | </Original> |
| 5616 | <Expanded> |
| 5617 | true == true |
| 5618 | </Expanded> |
| 5619 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5620 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5621 | <Original> |
| 5622 | spec.matches( tcB ) == true |
| 5623 | </Original> |
| 5624 | <Expanded> |
| 5625 | true == true |
| 5626 | </Expanded> |
| 5627 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5628 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5629 | <Original> |
| 5630 | spec.matches( tcC ) == true |
| 5631 | </Original> |
| 5632 | <Expanded> |
| 5633 | true == true |
| 5634 | </Expanded> |
| 5635 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5636 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5637 | <Original> |
| 5638 | spec.matches( tcD ) == false |
| 5639 | </Original> |
| 5640 | <Expanded> |
| 5641 | false == false |
| 5642 | </Expanded> |
| 5643 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5644 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5645 | </Section> |
| 5646 | <Section name="wildcarded name exclusion, using exclude:, with tag inclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5647 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5648 | <Original> |
| 5649 | spec.hasFilters() == true |
| 5650 | </Original> |
| 5651 | <Expanded> |
| 5652 | true == true |
| 5653 | </Expanded> |
| 5654 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5655 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5656 | <Original> |
| 5657 | spec.matches( tcA ) == true |
| 5658 | </Original> |
| 5659 | <Expanded> |
| 5660 | true == true |
| 5661 | </Expanded> |
| 5662 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5663 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5664 | <Original> |
| 5665 | spec.matches( tcB ) == true |
| 5666 | </Original> |
| 5667 | <Expanded> |
| 5668 | true == true |
| 5669 | </Expanded> |
| 5670 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5671 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5672 | <Original> |
| 5673 | spec.matches( tcC ) == true |
| 5674 | </Original> |
| 5675 | <Expanded> |
| 5676 | true == true |
| 5677 | </Expanded> |
| 5678 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5679 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5680 | <Original> |
| 5681 | spec.matches( tcD ) == false |
| 5682 | </Original> |
| 5683 | <Expanded> |
| 5684 | false == false |
| 5685 | </Expanded> |
| 5686 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5687 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5688 | </Section> |
| 5689 | <Section name="two wildcarded names"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5690 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5691 | <Original> |
| 5692 | spec.hasFilters() == true |
| 5693 | </Original> |
| 5694 | <Expanded> |
| 5695 | true == true |
| 5696 | </Expanded> |
| 5697 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5698 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5699 | <Original> |
| 5700 | spec.matches( tcA ) == false |
| 5701 | </Original> |
| 5702 | <Expanded> |
| 5703 | false == false |
| 5704 | </Expanded> |
| 5705 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5706 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5707 | <Original> |
| 5708 | spec.matches( tcB ) == false |
| 5709 | </Original> |
| 5710 | <Expanded> |
| 5711 | false == false |
| 5712 | </Expanded> |
| 5713 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5714 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5715 | <Original> |
| 5716 | spec.matches( tcC ) == true |
| 5717 | </Original> |
| 5718 | <Expanded> |
| 5719 | true == true |
| 5720 | </Expanded> |
| 5721 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5722 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5723 | <Original> |
| 5724 | spec.matches( tcD ) == false |
| 5725 | </Original> |
| 5726 | <Expanded> |
| 5727 | false == false |
| 5728 | </Expanded> |
| 5729 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5730 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5731 | </Section> |
| 5732 | <Section name="empty tag"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5733 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5734 | <Original> |
| 5735 | spec.hasFilters() == false |
| 5736 | </Original> |
| 5737 | <Expanded> |
| 5738 | false == false |
| 5739 | </Expanded> |
| 5740 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5741 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5742 | <Original> |
| 5743 | spec.matches( tcA ) == false |
| 5744 | </Original> |
| 5745 | <Expanded> |
| 5746 | false == false |
| 5747 | </Expanded> |
| 5748 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5749 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5750 | <Original> |
| 5751 | spec.matches( tcB ) == false |
| 5752 | </Original> |
| 5753 | <Expanded> |
| 5754 | false == false |
| 5755 | </Expanded> |
| 5756 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5757 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5758 | <Original> |
| 5759 | spec.matches( tcC ) == false |
| 5760 | </Original> |
| 5761 | <Expanded> |
| 5762 | false == false |
| 5763 | </Expanded> |
| 5764 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5765 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5766 | <Original> |
| 5767 | spec.matches( tcD ) == false |
| 5768 | </Original> |
| 5769 | <Expanded> |
| 5770 | false == false |
| 5771 | </Expanded> |
| 5772 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5773 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5774 | </Section> |
| 5775 | <Section name="empty quoted name"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5776 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5777 | <Original> |
| 5778 | spec.hasFilters() == false |
| 5779 | </Original> |
| 5780 | <Expanded> |
| 5781 | false == false |
| 5782 | </Expanded> |
| 5783 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5784 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5785 | <Original> |
| 5786 | spec.matches( tcA ) == false |
| 5787 | </Original> |
| 5788 | <Expanded> |
| 5789 | false == false |
| 5790 | </Expanded> |
| 5791 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5792 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5793 | <Original> |
| 5794 | spec.matches( tcB ) == false |
| 5795 | </Original> |
| 5796 | <Expanded> |
| 5797 | false == false |
| 5798 | </Expanded> |
| 5799 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5800 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5801 | <Original> |
| 5802 | spec.matches( tcC ) == false |
| 5803 | </Original> |
| 5804 | <Expanded> |
| 5805 | false == false |
| 5806 | </Expanded> |
| 5807 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5808 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5809 | <Original> |
| 5810 | spec.matches( tcD ) == false |
| 5811 | </Original> |
| 5812 | <Expanded> |
| 5813 | false == false |
| 5814 | </Expanded> |
| 5815 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5816 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5817 | </Section> |
| 5818 | <Section name="quoted string followed by tag exclusion"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5819 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5820 | <Original> |
| 5821 | spec.hasFilters() == true |
| 5822 | </Original> |
| 5823 | <Expanded> |
| 5824 | true == true |
| 5825 | </Expanded> |
| 5826 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5827 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5828 | <Original> |
| 5829 | spec.matches( tcA ) == false |
| 5830 | </Original> |
| 5831 | <Expanded> |
| 5832 | false == false |
| 5833 | </Expanded> |
| 5834 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5835 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5836 | <Original> |
| 5837 | spec.matches( tcB ) == false |
| 5838 | </Original> |
| 5839 | <Expanded> |
| 5840 | false == false |
| 5841 | </Expanded> |
| 5842 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5843 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5844 | <Original> |
| 5845 | spec.matches( tcC ) == false |
| 5846 | </Original> |
| 5847 | <Expanded> |
| 5848 | false == false |
| 5849 | </Expanded> |
| 5850 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5851 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/CmdLineTests.cpp" > |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5852 | <Original> |
| 5853 | spec.matches( tcD ) == true |
| 5854 | </Original> |
| 5855 | <Expanded> |
| 5856 | true == true |
| 5857 | </Expanded> |
| 5858 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 5859 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 766491a | 2014-05-16 18:31:15 +0100 | [diff] [blame] | 5860 | </Section> |
| 5861 | <OverallResult success="true"/> |
| 5862 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5863 | <TestCase name="Parsing a std::pair"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5864 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 5865 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5866 | (std::pair<int, int>( 1, 2 )) == aNicePair |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 5867 | </Original> |
| 5868 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5869 | std::pair( 1, 2 ) == std::pair( 1, 2 ) |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 5870 | </Expanded> |
| 5871 | </Expression> |
| 5872 | <OverallResult success="true"/> |
| 5873 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5874 | <TestCase name="Pointers can be compared to null"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5875 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 5876 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5877 | p == 0 |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 5878 | </Original> |
| 5879 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5880 | NULL == 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5881 | </Expanded> |
| 5882 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5883 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5884 | <Original> |
| 5885 | p == pNULL |
| 5886 | </Original> |
| 5887 | <Expanded> |
| 5888 | NULL == NULL |
| 5889 | </Expanded> |
| 5890 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5891 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5892 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5893 | p != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5894 | </Original> |
| 5895 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5896 | 0x<hex digits> != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5897 | </Expanded> |
| 5898 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5899 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5900 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5901 | cp != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5902 | </Original> |
| 5903 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5904 | 0x<hex digits> != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5905 | </Expanded> |
| 5906 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5907 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5908 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5909 | cpc != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5910 | </Original> |
| 5911 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5912 | 0x<hex digits> != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5913 | </Expanded> |
| 5914 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5915 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5916 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5917 | returnsNull() == 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5918 | </Original> |
| 5919 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5920 | {null string} == 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5921 | </Expanded> |
| 5922 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5923 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5924 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5925 | returnsConstNull() == 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5926 | </Original> |
| 5927 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5928 | {null string} == 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5929 | </Expanded> |
| 5930 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5931 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5932 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5933 | 0 != p |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5934 | </Original> |
| 5935 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 5936 | 0 != 0x<hex digits> |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 5937 | </Expanded> |
| 5938 | </Expression> |
| 5939 | <OverallResult success="true"/> |
| 5940 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5941 | <TestCase name="Pointers can be converted to strings"> |
| 5942 | <Warning> |
| 5943 | actual address of p: 0x<hex digits> |
| 5944 | </Warning> |
| 5945 | <Warning> |
| 5946 | toString(p): 0x<hex digits> |
| 5947 | </Warning> |
Phil Nash | 5018320 | 2014-12-30 18:47:01 +0000 | [diff] [blame] | 5948 | <OverallResult success="true"/> |
| 5949 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5950 | <TestCase name="Process can be configured on command line"> |
| 5951 | <Section name="default - no arguments"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5952 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5953 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5954 | parseIntoConfig( argv, config ) |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5955 | </Original> |
| 5956 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5957 | parseIntoConfig( argv, config ) |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5958 | </Expanded> |
| 5959 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5960 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5961 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5962 | config.shouldDebugBreak == false |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5963 | </Original> |
| 5964 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5965 | false == false |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5966 | </Expanded> |
| 5967 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5968 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5969 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5970 | config.abortAfter == -1 |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5971 | </Original> |
| 5972 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5973 | -1 == -1 |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5974 | </Expanded> |
| 5975 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5976 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5977 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5978 | config.noThrow == false |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5979 | </Original> |
| 5980 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5981 | false == false |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 5982 | </Expanded> |
| 5983 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5984 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5985 | <Original> |
| 5986 | config.reporterNames.empty() |
| 5987 | </Original> |
| 5988 | <Expanded> |
| 5989 | true |
| 5990 | </Expanded> |
| 5991 | </Expression> |
| 5992 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
| 5993 | </Section> |
| 5994 | <Section name="test lists"> |
| 5995 | <Section name="1 test" description="Specify one test case using"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 5996 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 5997 | <Original> |
| 5998 | parseIntoConfig( argv, config ) |
| 5999 | </Original> |
| 6000 | <Expanded> |
| 6001 | parseIntoConfig( argv, config ) |
| 6002 | </Expanded> |
| 6003 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6004 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6005 | <Original> |
| 6006 | cfg.testSpec().matches( fakeTestCase( "notIncluded" ) ) == false |
| 6007 | </Original> |
| 6008 | <Expanded> |
| 6009 | false == false |
| 6010 | </Expanded> |
| 6011 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6012 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6013 | <Original> |
| 6014 | cfg.testSpec().matches( fakeTestCase( "test1" ) ) |
| 6015 | </Original> |
| 6016 | <Expanded> |
| 6017 | true |
| 6018 | </Expanded> |
| 6019 | </Expression> |
| 6020 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 6021 | </Section> |
| 6022 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 6023 | </Section> |
| 6024 | <Section name="test lists"> |
| 6025 | <Section name="Specify one test case exclusion using exclude:"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6026 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6027 | <Original> |
| 6028 | parseIntoConfig( argv, config ) |
| 6029 | </Original> |
| 6030 | <Expanded> |
| 6031 | parseIntoConfig( argv, config ) |
| 6032 | </Expanded> |
| 6033 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6034 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6035 | <Original> |
| 6036 | cfg.testSpec().matches( fakeTestCase( "test1" ) ) == false |
| 6037 | </Original> |
| 6038 | <Expanded> |
| 6039 | false == false |
| 6040 | </Expanded> |
| 6041 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6042 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6043 | <Original> |
| 6044 | cfg.testSpec().matches( fakeTestCase( "alwaysIncluded" ) ) |
| 6045 | </Original> |
| 6046 | <Expanded> |
| 6047 | true |
| 6048 | </Expanded> |
| 6049 | </Expression> |
| 6050 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 6051 | </Section> |
| 6052 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 6053 | </Section> |
| 6054 | <Section name="test lists"> |
| 6055 | <Section name="Specify one test case exclusion using ~"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6056 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6057 | <Original> |
| 6058 | parseIntoConfig( argv, config ) |
| 6059 | </Original> |
| 6060 | <Expanded> |
| 6061 | parseIntoConfig( argv, config ) |
| 6062 | </Expanded> |
| 6063 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6064 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6065 | <Original> |
| 6066 | cfg.testSpec().matches( fakeTestCase( "test1" ) ) == false |
| 6067 | </Original> |
| 6068 | <Expanded> |
| 6069 | false == false |
| 6070 | </Expanded> |
| 6071 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6072 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6073 | <Original> |
| 6074 | cfg.testSpec().matches( fakeTestCase( "alwaysIncluded" ) ) |
| 6075 | </Original> |
| 6076 | <Expanded> |
| 6077 | true |
| 6078 | </Expanded> |
| 6079 | </Expression> |
| 6080 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 6081 | </Section> |
| 6082 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 6083 | </Section> |
| 6084 | <Section name="reporter"> |
| 6085 | <Section name="-r/console"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6086 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6087 | <Original> |
| 6088 | parseIntoConfig( argv, config ) |
| 6089 | </Original> |
| 6090 | <Expanded> |
| 6091 | parseIntoConfig( argv, config ) |
| 6092 | </Expanded> |
| 6093 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6094 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6095 | <Original> |
| 6096 | config.reporterNames[0] == "console" |
| 6097 | </Original> |
| 6098 | <Expanded> |
| 6099 | "console" == "console" |
| 6100 | </Expanded> |
| 6101 | </Expression> |
| 6102 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6103 | </Section> |
| 6104 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6105 | </Section> |
| 6106 | <Section name="reporter"> |
| 6107 | <Section name="-r/xml"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6108 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6109 | <Original> |
| 6110 | parseIntoConfig( argv, config ) |
| 6111 | </Original> |
| 6112 | <Expanded> |
| 6113 | parseIntoConfig( argv, config ) |
| 6114 | </Expanded> |
| 6115 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6116 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6117 | <Original> |
| 6118 | config.reporterNames[0] == "xml" |
| 6119 | </Original> |
| 6120 | <Expanded> |
| 6121 | "xml" == "xml" |
| 6122 | </Expanded> |
| 6123 | </Expression> |
| 6124 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6125 | </Section> |
| 6126 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6127 | </Section> |
| 6128 | <Section name="reporter"> |
| 6129 | <Section name="-r xml and junit"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6130 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6131 | <Original> |
| 6132 | parseIntoConfig( argv, config ) |
| 6133 | </Original> |
| 6134 | <Expanded> |
| 6135 | parseIntoConfig( argv, config ) |
| 6136 | </Expanded> |
| 6137 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6138 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6139 | <Original> |
| 6140 | config.reporterNames.size() == 2 |
| 6141 | </Original> |
| 6142 | <Expanded> |
| 6143 | 2 == 2 |
| 6144 | </Expanded> |
| 6145 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6146 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6147 | <Original> |
| 6148 | config.reporterNames[0] == "xml" |
| 6149 | </Original> |
| 6150 | <Expanded> |
| 6151 | "xml" == "xml" |
| 6152 | </Expanded> |
| 6153 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6154 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6155 | <Original> |
| 6156 | config.reporterNames[1] == "junit" |
| 6157 | </Original> |
| 6158 | <Expanded> |
| 6159 | "junit" == "junit" |
| 6160 | </Expanded> |
| 6161 | </Expression> |
| 6162 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 6163 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6164 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6165 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6166 | <Section name="reporter"> |
| 6167 | <Section name="--reporter/junit"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6168 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6169 | <Original> |
| 6170 | parseIntoConfig( argv, config ) |
| 6171 | </Original> |
| 6172 | <Expanded> |
| 6173 | parseIntoConfig( argv, config ) |
| 6174 | </Expanded> |
| 6175 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6176 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6177 | <Original> |
| 6178 | config.reporterNames[0] == "junit" |
| 6179 | </Original> |
| 6180 | <Expanded> |
| 6181 | "junit" == "junit" |
| 6182 | </Expanded> |
| 6183 | </Expression> |
| 6184 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6185 | </Section> |
| 6186 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 061861d | 2014-06-30 07:34:27 +0100 | [diff] [blame] | 6187 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6188 | <Section name="debugger"> |
| 6189 | <Section name="-b"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6190 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6191 | <Original> |
| 6192 | parseIntoConfig( argv, config ) |
| 6193 | </Original> |
| 6194 | <Expanded> |
| 6195 | parseIntoConfig( argv, config ) |
| 6196 | </Expanded> |
| 6197 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6198 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6199 | <Original> |
| 6200 | config.shouldDebugBreak == true |
| 6201 | </Original> |
| 6202 | <Expanded> |
| 6203 | true == true |
| 6204 | </Expanded> |
| 6205 | </Expression> |
| 6206 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6207 | </Section> |
| 6208 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6209 | </Section> |
| 6210 | <Section name="debugger"> |
| 6211 | <Section name="--break"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6212 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6213 | <Original> |
| 6214 | parseIntoConfig( argv, config ) |
| 6215 | </Original> |
| 6216 | <Expanded> |
| 6217 | parseIntoConfig( argv, config ) |
| 6218 | </Expanded> |
| 6219 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6220 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6221 | <Original> |
| 6222 | config.shouldDebugBreak |
| 6223 | </Original> |
| 6224 | <Expanded> |
| 6225 | true |
| 6226 | </Expanded> |
| 6227 | </Expression> |
| 6228 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6229 | </Section> |
| 6230 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6231 | </Section> |
| 6232 | <Section name="abort"> |
| 6233 | <Section name="-a aborts after first failure"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6234 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6235 | <Original> |
| 6236 | parseIntoConfig( argv, config ) |
| 6237 | </Original> |
| 6238 | <Expanded> |
| 6239 | parseIntoConfig( argv, config ) |
| 6240 | </Expanded> |
| 6241 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6242 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6243 | <Original> |
| 6244 | config.abortAfter == 1 |
| 6245 | </Original> |
| 6246 | <Expanded> |
| 6247 | 1 == 1 |
| 6248 | </Expanded> |
| 6249 | </Expression> |
| 6250 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6251 | </Section> |
| 6252 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6253 | </Section> |
| 6254 | <Section name="abort"> |
| 6255 | <Section name="-x 2 aborts after two failures"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6256 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6257 | <Original> |
| 6258 | parseIntoConfig( argv, config ) |
| 6259 | </Original> |
| 6260 | <Expanded> |
| 6261 | parseIntoConfig( argv, config ) |
| 6262 | </Expanded> |
| 6263 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6264 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6265 | <Original> |
| 6266 | config.abortAfter == 2 |
| 6267 | </Original> |
| 6268 | <Expanded> |
| 6269 | 2 == 2 |
| 6270 | </Expanded> |
| 6271 | </Expression> |
| 6272 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6273 | </Section> |
| 6274 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6275 | </Section> |
| 6276 | <Section name="abort"> |
| 6277 | <Section name="-x must be greater than zero"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6278 | <Expression success="true" type="REQUIRE_THAT" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6279 | <Original> |
| 6280 | parseIntoConfigAndReturnError( argv, config ), Contains( "greater than zero" ) |
| 6281 | </Original> |
| 6282 | <Expanded> |
| 6283 | "Value after -x or --abortAfter must be greater than zero |
| 6284 | - while parsing: (-x, --abortx <no. failures>)" contains: "greater than zero" |
| 6285 | </Expanded> |
| 6286 | </Expression> |
| 6287 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6288 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6289 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6290 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6291 | <Section name="abort"> |
| 6292 | <Section name="-x must be numeric"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6293 | <Expression success="true" type="REQUIRE_THAT" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6294 | <Original> |
| 6295 | parseIntoConfigAndReturnError( argv, config ), Contains( "-x" ) |
| 6296 | </Original> |
| 6297 | <Expanded> |
| 6298 | "Unable to convert oops to destination type |
| 6299 | - while parsing: (-x, --abortx <no. failures>)" contains: "-x" |
| 6300 | </Expanded> |
| 6301 | </Expression> |
| 6302 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6303 | </Section> |
| 6304 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6305 | </Section> |
| 6306 | <Section name="nothrow"> |
| 6307 | <Section name="-e"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6308 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6309 | <Original> |
| 6310 | parseIntoConfig( argv, config ) |
| 6311 | </Original> |
| 6312 | <Expanded> |
| 6313 | parseIntoConfig( argv, config ) |
| 6314 | </Expanded> |
| 6315 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6316 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6317 | <Original> |
| 6318 | config.noThrow == true |
| 6319 | </Original> |
| 6320 | <Expanded> |
| 6321 | true == true |
| 6322 | </Expanded> |
| 6323 | </Expression> |
| 6324 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6325 | </Section> |
| 6326 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6327 | </Section> |
| 6328 | <Section name="nothrow"> |
| 6329 | <Section name="--nothrow"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6330 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6331 | <Original> |
| 6332 | parseIntoConfig( argv, config ) |
| 6333 | </Original> |
| 6334 | <Expanded> |
| 6335 | parseIntoConfig( argv, config ) |
| 6336 | </Expanded> |
| 6337 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6338 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6339 | <Original> |
| 6340 | config.noThrow == true |
| 6341 | </Original> |
| 6342 | <Expanded> |
| 6343 | true == true |
| 6344 | </Expanded> |
| 6345 | </Expression> |
| 6346 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6347 | </Section> |
| 6348 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6349 | </Section> |
| 6350 | <Section name="output filename"> |
| 6351 | <Section name="-o filename"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6352 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6353 | <Original> |
| 6354 | parseIntoConfig( argv, config ) |
| 6355 | </Original> |
| 6356 | <Expanded> |
| 6357 | parseIntoConfig( argv, config ) |
| 6358 | </Expanded> |
| 6359 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6360 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6361 | <Original> |
| 6362 | config.outputFilename == "filename.ext" |
| 6363 | </Original> |
| 6364 | <Expanded> |
| 6365 | "filename.ext" == "filename.ext" |
| 6366 | </Expanded> |
| 6367 | </Expression> |
| 6368 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6369 | </Section> |
| 6370 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6371 | </Section> |
| 6372 | <Section name="output filename"> |
| 6373 | <Section name="--out"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6374 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6375 | <Original> |
| 6376 | parseIntoConfig( argv, config ) |
| 6377 | </Original> |
| 6378 | <Expanded> |
| 6379 | parseIntoConfig( argv, config ) |
| 6380 | </Expanded> |
| 6381 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6382 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6383 | <Original> |
| 6384 | config.outputFilename == "filename.ext" |
| 6385 | </Original> |
| 6386 | <Expanded> |
| 6387 | "filename.ext" == "filename.ext" |
| 6388 | </Expanded> |
| 6389 | </Expression> |
| 6390 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6391 | </Section> |
| 6392 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6393 | </Section> |
| 6394 | <Section name="combinations"> |
| 6395 | <Section name="Single character flags can be combined"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6396 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6397 | <Original> |
| 6398 | parseIntoConfig( argv, config ) |
| 6399 | </Original> |
| 6400 | <Expanded> |
| 6401 | parseIntoConfig( argv, config ) |
| 6402 | </Expanded> |
| 6403 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6404 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6405 | <Original> |
| 6406 | config.abortAfter == 1 |
| 6407 | </Original> |
| 6408 | <Expanded> |
| 6409 | 1 == 1 |
| 6410 | </Expanded> |
| 6411 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6412 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6413 | <Original> |
| 6414 | config.shouldDebugBreak |
| 6415 | </Original> |
| 6416 | <Expanded> |
| 6417 | true |
| 6418 | </Expanded> |
| 6419 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6420 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6421 | <Original> |
| 6422 | config.noThrow == true |
| 6423 | </Original> |
| 6424 | <Expanded> |
| 6425 | true == true |
| 6426 | </Expanded> |
| 6427 | </Expression> |
| 6428 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 6429 | </Section> |
| 6430 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 6431 | </Section> |
| 6432 | <Section name="use-colour"> |
| 6433 | <Section name="without option"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6434 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6435 | <Original> |
| 6436 | parseIntoConfig( argv, config ) |
| 6437 | </Original> |
| 6438 | <Expanded> |
| 6439 | parseIntoConfig( argv, config ) |
| 6440 | </Expanded> |
| 6441 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6442 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6443 | <Original> |
| 6444 | config.useColour == UseColour::Auto |
| 6445 | </Original> |
| 6446 | <Expanded> |
| 6447 | 0 == 0 |
| 6448 | </Expanded> |
| 6449 | </Expression> |
| 6450 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6451 | </Section> |
| 6452 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6453 | </Section> |
| 6454 | <Section name="use-colour"> |
| 6455 | <Section name="auto"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6456 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6457 | <Original> |
| 6458 | parseIntoConfig( argv, config ) |
| 6459 | </Original> |
| 6460 | <Expanded> |
| 6461 | parseIntoConfig( argv, config ) |
| 6462 | </Expanded> |
| 6463 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6464 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6465 | <Original> |
| 6466 | config.useColour == UseColour::Auto |
| 6467 | </Original> |
| 6468 | <Expanded> |
| 6469 | 0 == 0 |
| 6470 | </Expanded> |
| 6471 | </Expression> |
| 6472 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6473 | </Section> |
| 6474 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6475 | </Section> |
| 6476 | <Section name="use-colour"> |
| 6477 | <Section name="yes"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6478 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6479 | <Original> |
| 6480 | parseIntoConfig( argv, config ) |
| 6481 | </Original> |
| 6482 | <Expanded> |
| 6483 | parseIntoConfig( argv, config ) |
| 6484 | </Expanded> |
| 6485 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6486 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6487 | <Original> |
| 6488 | config.useColour == UseColour::Yes |
| 6489 | </Original> |
| 6490 | <Expanded> |
| 6491 | 1 == 1 |
| 6492 | </Expanded> |
| 6493 | </Expression> |
| 6494 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6495 | </Section> |
| 6496 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6497 | </Section> |
| 6498 | <Section name="use-colour"> |
| 6499 | <Section name="no"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6500 | <Expression success="true" type="CHECK_NOTHROW" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6501 | <Original> |
| 6502 | parseIntoConfig( argv, config ) |
| 6503 | </Original> |
| 6504 | <Expanded> |
| 6505 | parseIntoConfig( argv, config ) |
| 6506 | </Expanded> |
| 6507 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6508 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6509 | <Original> |
| 6510 | config.useColour == UseColour::No |
| 6511 | </Original> |
| 6512 | <Expanded> |
| 6513 | 2 == 2 |
| 6514 | </Expanded> |
| 6515 | </Expression> |
| 6516 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6517 | </Section> |
| 6518 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6519 | </Section> |
| 6520 | <Section name="use-colour"> |
| 6521 | <Section name="error"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6522 | <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] | 6523 | <Original> |
| 6524 | parseIntoConfig( argv, config ), Contains( "colour mode must be one of" ) |
| 6525 | </Original> |
| 6526 | <Expanded> |
| 6527 | parseIntoConfig( argv, config ), Contains( "colour mode must be one of" ) |
| 6528 | </Expanded> |
| 6529 | </Expression> |
| 6530 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6531 | </Section> |
| 6532 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6533 | </Section> |
| 6534 | <OverallResult success="true"/> |
| 6535 | </TestCase> |
| 6536 | <TestCase name="SCOPED_INFO is reset for each loop"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6537 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6538 | <Original> |
| 6539 | i < 10 |
| 6540 | </Original> |
| 6541 | <Expanded> |
| 6542 | 0 < 10 |
| 6543 | </Expanded> |
| 6544 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6545 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6546 | <Original> |
| 6547 | i < 10 |
| 6548 | </Original> |
| 6549 | <Expanded> |
| 6550 | 1 < 10 |
| 6551 | </Expanded> |
| 6552 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6553 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6554 | <Original> |
| 6555 | i < 10 |
| 6556 | </Original> |
| 6557 | <Expanded> |
| 6558 | 2 < 10 |
| 6559 | </Expanded> |
| 6560 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6561 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6562 | <Original> |
| 6563 | i < 10 |
| 6564 | </Original> |
| 6565 | <Expanded> |
| 6566 | 3 < 10 |
| 6567 | </Expanded> |
| 6568 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6569 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6570 | <Original> |
| 6571 | i < 10 |
| 6572 | </Original> |
| 6573 | <Expanded> |
| 6574 | 4 < 10 |
| 6575 | </Expanded> |
| 6576 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6577 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6578 | <Original> |
| 6579 | i < 10 |
| 6580 | </Original> |
| 6581 | <Expanded> |
| 6582 | 5 < 10 |
| 6583 | </Expanded> |
| 6584 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6585 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6586 | <Original> |
| 6587 | i < 10 |
| 6588 | </Original> |
| 6589 | <Expanded> |
| 6590 | 6 < 10 |
| 6591 | </Expanded> |
| 6592 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6593 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6594 | <Original> |
| 6595 | i < 10 |
| 6596 | </Original> |
| 6597 | <Expanded> |
| 6598 | 7 < 10 |
| 6599 | </Expanded> |
| 6600 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6601 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6602 | <Original> |
| 6603 | i < 10 |
| 6604 | </Original> |
| 6605 | <Expanded> |
| 6606 | 8 < 10 |
| 6607 | </Expanded> |
| 6608 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6609 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6610 | <Original> |
| 6611 | i < 10 |
| 6612 | </Original> |
| 6613 | <Expanded> |
| 6614 | 9 < 10 |
| 6615 | </Expanded> |
| 6616 | </Expression> |
| 6617 | <Info> |
| 6618 | current counter 10 |
| 6619 | </Info> |
| 6620 | <Info> |
| 6621 | i := 10 |
| 6622 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6623 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6624 | <Original> |
| 6625 | i < 10 |
| 6626 | </Original> |
| 6627 | <Expanded> |
| 6628 | 10 < 10 |
| 6629 | </Expanded> |
| 6630 | </Expression> |
| 6631 | <OverallResult success="false"/> |
| 6632 | </TestCase> |
| 6633 | <TestCase name="SUCCEED counts as a test pass"> |
| 6634 | <OverallResult success="true"/> |
| 6635 | </TestCase> |
| 6636 | <TestCase name="SUCCESS does not require an argument"> |
| 6637 | <OverallResult success="true"/> |
| 6638 | </TestCase> |
| 6639 | <TestCase name="Scenario: BDD tests requiring Fixtures to provide commonly-accessed data or methods"> |
| 6640 | <Section name="Given: No operations precede me"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6641 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6642 | <Original> |
| 6643 | before == 0 |
| 6644 | </Original> |
| 6645 | <Expanded> |
| 6646 | 0 == 0 |
| 6647 | </Expanded> |
| 6648 | </Expression> |
| 6649 | <Section name="When: We get the count"> |
| 6650 | <Section name="Then: Subsequently values are higher"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6651 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6652 | <Original> |
| 6653 | after > before |
| 6654 | </Original> |
| 6655 | <Expanded> |
| 6656 | 1 > 0 |
| 6657 | </Expanded> |
| 6658 | </Expression> |
| 6659 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6660 | </Section> |
| 6661 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6662 | </Section> |
| 6663 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 6664 | </Section> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6665 | <OverallResult success="true"/> |
| 6666 | </TestCase> |
| 6667 | <TestCase name="Scenario: Do that thing with the thing"> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6668 | <Section name="Given: This stuff exists"> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6669 | <Section name="When: I do this"> |
| 6670 | <Section name="Then: it should do this"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6671 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6672 | <Original> |
| 6673 | itDoesThis() |
| 6674 | </Original> |
| 6675 | <Expanded> |
| 6676 | true |
| 6677 | </Expanded> |
| 6678 | </Expression> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6679 | <Section name="And: do that"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6680 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6681 | <Original> |
| 6682 | itDoesThat() |
| 6683 | </Original> |
| 6684 | <Expanded> |
| 6685 | true |
| 6686 | </Expanded> |
| 6687 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6688 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6689 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6690 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6691 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6692 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6693 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6694 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6695 | </Section> |
| 6696 | <OverallResult success="true"/> |
| 6697 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6698 | <TestCase name="Scenario: This is a really long scenario name to see how the list command deals with wrapping"> |
| 6699 | <Section name="Given: A section name that is so long that it cannot fit in a single console width"> |
| 6700 | <Section name="When: The test headers are printed as part of the normal running of the scenario"> |
| 6701 | <Section name="Then: The, deliberately very long and overly verbose (you see what I did there?) section names must wrap, along with an indent"> |
| 6702 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6703 | </Section> |
| 6704 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6705 | </Section> |
| 6706 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 6707 | </Section> |
| 6708 | <OverallResult success="true"/> |
| 6709 | </TestCase> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6710 | <TestCase name="Scenario: Vector resizing affects size and capacity"> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6711 | <Section name="Given: an empty vector"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6712 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6713 | <Original> |
| 6714 | v.size() == 0 |
| 6715 | </Original> |
| 6716 | <Expanded> |
| 6717 | 0 == 0 |
| 6718 | </Expanded> |
| 6719 | </Expression> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6720 | <Section name="When: it is made larger"> |
| 6721 | <Section name="Then: the size and capacity go up"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6722 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6723 | <Original> |
| 6724 | v.size() == 10 |
| 6725 | </Original> |
| 6726 | <Expanded> |
| 6727 | 10 == 10 |
| 6728 | </Expanded> |
| 6729 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6730 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6731 | <Original> |
| 6732 | v.capacity() >= 10 |
| 6733 | </Original> |
| 6734 | <Expanded> |
| 6735 | 10 >= 10 |
| 6736 | </Expanded> |
| 6737 | </Expression> |
| 6738 | <Section name="And when: it is made smaller again"> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6739 | <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] | 6740 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6741 | <Original> |
| 6742 | v.size() == 5 |
| 6743 | </Original> |
| 6744 | <Expanded> |
| 6745 | 5 == 5 |
| 6746 | </Expanded> |
| 6747 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6748 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6749 | <Original> |
| 6750 | v.capacity() >= 10 |
| 6751 | </Original> |
| 6752 | <Expanded> |
| 6753 | 10 >= 10 |
| 6754 | </Expanded> |
| 6755 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6756 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6757 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6758 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6759 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6760 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6761 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6762 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6763 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6764 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6765 | </Section> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6766 | <Section name="Given: an empty vector"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6767 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6768 | <Original> |
| 6769 | v.size() == 0 |
| 6770 | </Original> |
| 6771 | <Expanded> |
| 6772 | 0 == 0 |
| 6773 | </Expanded> |
| 6774 | </Expression> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6775 | <Section name="When: we reserve more space"> |
Phil Nash | a1e87a4 | 2013-12-10 08:20:46 +0000 | [diff] [blame] | 6776 | <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] | 6777 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6778 | <Original> |
| 6779 | v.capacity() >= 10 |
| 6780 | </Original> |
| 6781 | <Expanded> |
| 6782 | 10 >= 10 |
| 6783 | </Expanded> |
| 6784 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6785 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/BDDTests.cpp" > |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6786 | <Original> |
| 6787 | v.size() == 0 |
| 6788 | </Original> |
| 6789 | <Expanded> |
| 6790 | 0 == 0 |
| 6791 | </Expanded> |
| 6792 | </Expression> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6793 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6794 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6795 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6796 | </Section> |
Phil Nash | 9c1f9a8 | 2014-07-03 08:09:57 +0100 | [diff] [blame] | 6797 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 6798 | </Section> |
| 6799 | <OverallResult success="true"/> |
| 6800 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6801 | <TestCase name="Sends stuff to stdout and stderr"> |
Phil Nash | 23eb4cc | 2017-02-06 16:14:06 +0000 | [diff] [blame^] | 6802 | <OverallResult success="true"> |
| 6803 | <StdOut> |
| 6804 | A string sent directly to stdout |
| 6805 | </StdOut> |
| 6806 | <StdErr> |
| 6807 | A string sent directly to stderr |
| 6808 | </StdErr> |
| 6809 | </OverallResult> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6810 | </TestCase> |
| 6811 | <TestCase name="Some simple comparisons between doubles"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6812 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6813 | <Original> |
| 6814 | d == Approx( 1.23 ) |
| 6815 | </Original> |
| 6816 | <Expanded> |
| 6817 | 1.23 == Approx( 1.23 ) |
| 6818 | </Expanded> |
| 6819 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6820 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6821 | <Original> |
| 6822 | d != Approx( 1.22 ) |
| 6823 | </Original> |
| 6824 | <Expanded> |
| 6825 | 1.23 != Approx( 1.22 ) |
| 6826 | </Expanded> |
| 6827 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6828 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6829 | <Original> |
| 6830 | d != Approx( 1.24 ) |
| 6831 | </Original> |
| 6832 | <Expanded> |
| 6833 | 1.23 != Approx( 1.24 ) |
| 6834 | </Expanded> |
| 6835 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6836 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6837 | <Original> |
| 6838 | Approx( d ) == 1.23 |
| 6839 | </Original> |
| 6840 | <Expanded> |
| 6841 | Approx( 1.23 ) == 1.23 |
| 6842 | </Expanded> |
| 6843 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6844 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6845 | <Original> |
| 6846 | Approx( d ) != 1.22 |
| 6847 | </Original> |
| 6848 | <Expanded> |
| 6849 | Approx( 1.23 ) != 1.22 |
| 6850 | </Expanded> |
| 6851 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6852 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6853 | <Original> |
| 6854 | Approx( d ) != 1.24 |
| 6855 | </Original> |
| 6856 | <Expanded> |
| 6857 | Approx( 1.23 ) != 1.24 |
| 6858 | </Expanded> |
| 6859 | </Expression> |
| 6860 | <OverallResult success="true"/> |
| 6861 | </TestCase> |
| 6862 | <TestCase name="Standard output from all sections is reported"> |
| 6863 | <Section name="one"> |
| 6864 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 6865 | </Section> |
| 6866 | <Section name="two"> |
| 6867 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 6868 | </Section> |
Phil Nash | 23eb4cc | 2017-02-06 16:14:06 +0000 | [diff] [blame^] | 6869 | <OverallResult success="false"> |
| 6870 | <StdOut> |
| 6871 | Message from section one |
| 6872 | Message from section two |
| 6873 | </StdOut> |
| 6874 | </OverallResult> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6875 | </TestCase> |
| 6876 | <TestCase name="StartsWith string matcher"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6877 | <Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6878 | <Original> |
| 6879 | testStringForMatching(), StartsWith( "string" ) |
| 6880 | </Original> |
| 6881 | <Expanded> |
| 6882 | "this string contains 'abc' as a substring" starts with: "string" |
| 6883 | </Expanded> |
| 6884 | </Expression> |
| 6885 | <OverallResult success="false"/> |
| 6886 | </TestCase> |
| 6887 | <TestCase name="String matchers"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6888 | <Expression success="true" type="REQUIRE_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6889 | <Original> |
| 6890 | testStringForMatching(), Contains( "string" ) |
| 6891 | </Original> |
| 6892 | <Expanded> |
| 6893 | "this string contains 'abc' as a substring" contains: "string" |
| 6894 | </Expanded> |
| 6895 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6896 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6897 | <Original> |
| 6898 | testStringForMatching(), Contains( "abc" ) |
| 6899 | </Original> |
| 6900 | <Expanded> |
| 6901 | "this string contains 'abc' as a substring" contains: "abc" |
| 6902 | </Expanded> |
| 6903 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6904 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6905 | <Original> |
| 6906 | testStringForMatching(), StartsWith( "this" ) |
| 6907 | </Original> |
| 6908 | <Expanded> |
| 6909 | "this string contains 'abc' as a substring" starts with: "this" |
| 6910 | </Expanded> |
| 6911 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6912 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6913 | <Original> |
| 6914 | testStringForMatching(), EndsWith( "substring" ) |
| 6915 | </Original> |
| 6916 | <Expanded> |
| 6917 | "this string contains 'abc' as a substring" ends with: "substring" |
| 6918 | </Expanded> |
| 6919 | </Expression> |
| 6920 | <OverallResult success="true"/> |
| 6921 | </TestCase> |
| 6922 | <TestCase name="Strings can be rendered with colour"> |
Phil Nash | 23eb4cc | 2017-02-06 16:14:06 +0000 | [diff] [blame^] | 6923 | <OverallResult success="true"> |
| 6924 | <StdOut> |
| 6925 | hello |
| 6926 | hello |
| 6927 | </StdOut> |
| 6928 | </OverallResult> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6929 | </TestCase> |
| 6930 | <TestCase name="Tabs and newlines show in output"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6931 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6932 | <Original> |
| 6933 | s1 == s2 |
| 6934 | </Original> |
| 6935 | <Expanded> |
| 6936 | "if ($b == 10) { |
| 6937 | $a = 20; |
| 6938 | }" |
| 6939 | == |
| 6940 | "if ($b == 10) { |
| 6941 | $a = 20; |
| 6942 | } |
| 6943 | " |
| 6944 | </Expanded> |
| 6945 | </Expression> |
| 6946 | <OverallResult success="false"/> |
| 6947 | </TestCase> |
| 6948 | <TestCase name="Tag alias can be registered against tag patterns"> |
| 6949 | <Section name="The same tag alias can only be registered once"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6950 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6951 | <Original> |
| 6952 | what, Contains( "[@zzz]" ) |
| 6953 | </Original> |
| 6954 | <Expanded> |
| 6955 | "error: tag alias, "[@zzz]" already registered. |
| 6956 | First seen at file:2 |
| 6957 | Redefined at file:10" contains: "[@zzz]" |
| 6958 | </Expanded> |
| 6959 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6960 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6961 | <Original> |
| 6962 | what, Contains( "file" ) |
| 6963 | </Original> |
| 6964 | <Expanded> |
| 6965 | "error: tag alias, "[@zzz]" already registered. |
| 6966 | First seen at file:2 |
| 6967 | Redefined at file:10" contains: "file" |
| 6968 | </Expanded> |
| 6969 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6970 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6971 | <Original> |
| 6972 | what, Contains( "2" ) |
| 6973 | </Original> |
| 6974 | <Expanded> |
| 6975 | "error: tag alias, "[@zzz]" already registered. |
| 6976 | First seen at file:2 |
| 6977 | Redefined at file:10" contains: "2" |
| 6978 | </Expanded> |
| 6979 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6980 | <Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6981 | <Original> |
| 6982 | what, Contains( "10" ) |
| 6983 | </Original> |
| 6984 | <Expanded> |
| 6985 | "error: tag alias, "[@zzz]" already registered. |
| 6986 | First seen at file:2 |
| 6987 | Redefined at file:10" contains: "10" |
| 6988 | </Expanded> |
| 6989 | </Expression> |
| 6990 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 6991 | </Section> |
| 6992 | <Section name="Tag aliases must be of the form [@name]"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 6993 | <Expression success="true" type="CHECK_THROWS" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 6994 | <Original> |
| 6995 | registry.add( "[no ampersat]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 6996 | </Original> |
| 6997 | <Expanded> |
| 6998 | registry.add( "[no ampersat]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 6999 | </Expanded> |
| 7000 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7001 | <Expression success="true" type="CHECK_THROWS" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7002 | <Original> |
| 7003 | registry.add( "[the @ is not at the start]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7004 | </Original> |
| 7005 | <Expanded> |
| 7006 | registry.add( "[the @ is not at the start]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7007 | </Expanded> |
| 7008 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7009 | <Expression success="true" type="CHECK_THROWS" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7010 | <Original> |
| 7011 | registry.add( "@no square bracket at start]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7012 | </Original> |
| 7013 | <Expanded> |
| 7014 | registry.add( "@no square bracket at start]", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7015 | </Expanded> |
| 7016 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7017 | <Expression success="true" type="CHECK_THROWS" filename="projects/<exe-name>/TagAliasTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7018 | <Original> |
| 7019 | registry.add( "[@no square bracket at end", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7020 | </Original> |
| 7021 | <Expanded> |
| 7022 | registry.add( "[@no square bracket at end", "", Catch::SourceLineInfo( "file", 3 ) ) |
| 7023 | </Expanded> |
| 7024 | </Expression> |
| 7025 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 7026 | </Section> |
| 7027 | <OverallResult success="true"/> |
| 7028 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7029 | <TestCase name="Test case with one argument"> |
| 7030 | <OverallResult success="true"/> |
| 7031 | </TestCase> |
| 7032 | <TestCase name="Test enum bit values"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7033 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7034 | <Original> |
| 7035 | 0x<hex digits> == bit30and31 |
| 7036 | </Original> |
| 7037 | <Expanded> |
| 7038 | 3221225472 (0x<hex digits>) == 3221225472 |
| 7039 | </Expanded> |
| 7040 | </Expression> |
| 7041 | <OverallResult success="true"/> |
| 7042 | </TestCase> |
| 7043 | <TestCase name="Text can be formatted using the Text class"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7044 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7045 | <Original> |
| 7046 | Text( "hi there" ).toString() == "hi there" |
| 7047 | </Original> |
| 7048 | <Expanded> |
| 7049 | "hi there" == "hi there" |
| 7050 | </Expanded> |
| 7051 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7052 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7053 | <Original> |
| 7054 | Text( "hi there", narrow ).toString() == "hi\nthere" |
| 7055 | </Original> |
| 7056 | <Expanded> |
| 7057 | "hi |
| 7058 | there" |
| 7059 | == |
| 7060 | "hi |
| 7061 | there" |
| 7062 | </Expanded> |
| 7063 | </Expression> |
| 7064 | <OverallResult success="true"/> |
| 7065 | </TestCase> |
| 7066 | <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] | 7067 | <Expression success="false" type="CHECK_NOFAIL" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7068 | <Original> |
| 7069 | 1 == 2 |
| 7070 | </Original> |
| 7071 | <Expanded> |
| 7072 | 1 == 2 |
| 7073 | </Expanded> |
| 7074 | </Expression> |
| 7075 | <OverallResult success="true"/> |
| 7076 | </TestCase> |
| 7077 | <TestCase name="This test 'should' fail but doesn't"> |
| 7078 | <OverallResult success="false"/> |
| 7079 | </TestCase> |
| 7080 | <TestCase name="Tracker"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7081 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7082 | <Original> |
| 7083 | testCase.isOpen() |
| 7084 | </Original> |
| 7085 | <Expanded> |
| 7086 | true |
| 7087 | </Expanded> |
| 7088 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7089 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7090 | <Original> |
| 7091 | s1.isOpen() |
| 7092 | </Original> |
| 7093 | <Expanded> |
| 7094 | true |
| 7095 | </Expanded> |
| 7096 | </Expression> |
| 7097 | <Section name="successfully close one section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7098 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 7099 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7100 | s1.isSuccessfullyCompleted() |
| 7101 | </Original> |
| 7102 | <Expanded> |
| 7103 | true |
| 7104 | </Expanded> |
| 7105 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7106 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7107 | <Original> |
| 7108 | testCase.isComplete() == false |
| 7109 | </Original> |
| 7110 | <Expanded> |
| 7111 | false == false |
| 7112 | </Expanded> |
| 7113 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7114 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7115 | <Original> |
| 7116 | ctx.completedCycle() |
| 7117 | </Original> |
| 7118 | <Expanded> |
| 7119 | true |
| 7120 | </Expanded> |
| 7121 | </Expression> |
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.isSuccessfullyCompleted() |
| 7125 | </Original> |
| 7126 | <Expanded> |
| 7127 | true |
| 7128 | </Expanded> |
| 7129 | </Expression> |
| 7130 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 7131 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7132 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7133 | <Original> |
| 7134 | testCase.isOpen() |
| 7135 | </Original> |
| 7136 | <Expanded> |
| 7137 | true |
| 7138 | </Expanded> |
| 7139 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7140 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7141 | <Original> |
| 7142 | s1.isOpen() |
| 7143 | </Original> |
| 7144 | <Expanded> |
| 7145 | true |
| 7146 | </Expanded> |
| 7147 | </Expression> |
| 7148 | <Section name="fail one section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7149 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7150 | <Original> |
| 7151 | s1.isComplete() |
| 7152 | </Original> |
| 7153 | <Expanded> |
| 7154 | true |
| 7155 | </Expanded> |
| 7156 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7157 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7158 | <Original> |
| 7159 | s1.isSuccessfullyCompleted() == false |
| 7160 | </Original> |
| 7161 | <Expanded> |
| 7162 | false == false |
| 7163 | </Expanded> |
| 7164 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7165 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7166 | <Original> |
| 7167 | testCase.isComplete() == false |
| 7168 | </Original> |
| 7169 | <Expanded> |
| 7170 | false == false |
| 7171 | </Expanded> |
| 7172 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7173 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7174 | <Original> |
| 7175 | ctx.completedCycle() |
| 7176 | </Original> |
| 7177 | <Expanded> |
| 7178 | true |
| 7179 | </Expanded> |
| 7180 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7181 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7182 | <Original> |
| 7183 | testCase.isSuccessfullyCompleted() == false |
| 7184 | </Original> |
| 7185 | <Expanded> |
| 7186 | false == false |
| 7187 | </Expanded> |
| 7188 | </Expression> |
| 7189 | <Section name="re-enter after failed section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7190 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7191 | <Original> |
| 7192 | testCase2.isOpen() |
| 7193 | </Original> |
| 7194 | <Expanded> |
| 7195 | true |
| 7196 | </Expanded> |
| 7197 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7198 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7199 | <Original> |
| 7200 | s1b.isOpen() == false |
| 7201 | </Original> |
| 7202 | <Expanded> |
| 7203 | false == false |
| 7204 | </Expanded> |
| 7205 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7206 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7207 | <Original> |
| 7208 | ctx.completedCycle() |
| 7209 | </Original> |
| 7210 | <Expanded> |
| 7211 | true |
| 7212 | </Expanded> |
| 7213 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7214 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7215 | <Original> |
| 7216 | testCase.isComplete() |
| 7217 | </Original> |
| 7218 | <Expanded> |
| 7219 | true |
| 7220 | </Expanded> |
| 7221 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7222 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7223 | <Original> |
| 7224 | testCase.isSuccessfullyCompleted() |
| 7225 | </Original> |
| 7226 | <Expanded> |
| 7227 | true |
| 7228 | </Expanded> |
| 7229 | </Expression> |
| 7230 | <OverallResults successes="5" failures="0" expectedFailures="0"/> |
| 7231 | </Section> |
| 7232 | <OverallResults successes="10" failures="0" expectedFailures="0"/> |
| 7233 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7234 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7235 | <Original> |
| 7236 | testCase.isOpen() |
| 7237 | </Original> |
| 7238 | <Expanded> |
| 7239 | true |
| 7240 | </Expanded> |
| 7241 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7242 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7243 | <Original> |
| 7244 | s1.isOpen() |
| 7245 | </Original> |
| 7246 | <Expanded> |
| 7247 | true |
| 7248 | </Expanded> |
| 7249 | </Expression> |
| 7250 | <Section name="fail one section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7251 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7252 | <Original> |
| 7253 | s1.isComplete() |
| 7254 | </Original> |
| 7255 | <Expanded> |
| 7256 | true |
| 7257 | </Expanded> |
| 7258 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7259 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7260 | <Original> |
| 7261 | s1.isSuccessfullyCompleted() == false |
| 7262 | </Original> |
| 7263 | <Expanded> |
| 7264 | false == false |
| 7265 | </Expanded> |
| 7266 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7267 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7268 | <Original> |
| 7269 | testCase.isComplete() == false |
| 7270 | </Original> |
| 7271 | <Expanded> |
| 7272 | false == false |
| 7273 | </Expanded> |
| 7274 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7275 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7276 | <Original> |
| 7277 | ctx.completedCycle() |
| 7278 | </Original> |
| 7279 | <Expanded> |
| 7280 | true |
| 7281 | </Expanded> |
| 7282 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7283 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7284 | <Original> |
| 7285 | testCase.isSuccessfullyCompleted() == false |
| 7286 | </Original> |
| 7287 | <Expanded> |
| 7288 | false == false |
| 7289 | </Expanded> |
| 7290 | </Expression> |
| 7291 | <Section name="re-enter after failed section and find next section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7292 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7293 | <Original> |
| 7294 | testCase2.isOpen() |
| 7295 | </Original> |
| 7296 | <Expanded> |
| 7297 | true |
| 7298 | </Expanded> |
| 7299 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7300 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7301 | <Original> |
| 7302 | s1b.isOpen() == false |
| 7303 | </Original> |
| 7304 | <Expanded> |
| 7305 | false == false |
| 7306 | </Expanded> |
| 7307 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7308 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7309 | <Original> |
| 7310 | s2.isOpen() |
| 7311 | </Original> |
| 7312 | <Expanded> |
| 7313 | true |
| 7314 | </Expanded> |
| 7315 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7316 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7317 | <Original> |
| 7318 | ctx.completedCycle() |
| 7319 | </Original> |
| 7320 | <Expanded> |
| 7321 | true |
| 7322 | </Expanded> |
| 7323 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7324 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7325 | <Original> |
| 7326 | testCase.isComplete() |
| 7327 | </Original> |
| 7328 | <Expanded> |
| 7329 | true |
| 7330 | </Expanded> |
| 7331 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7332 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7333 | <Original> |
| 7334 | testCase.isSuccessfullyCompleted() |
| 7335 | </Original> |
| 7336 | <Expanded> |
| 7337 | true |
| 7338 | </Expanded> |
| 7339 | </Expression> |
| 7340 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
| 7341 | </Section> |
| 7342 | <OverallResults successes="11" failures="0" expectedFailures="0"/> |
| 7343 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7344 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7345 | <Original> |
| 7346 | testCase.isOpen() |
| 7347 | </Original> |
| 7348 | <Expanded> |
| 7349 | true |
| 7350 | </Expanded> |
| 7351 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7352 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7353 | <Original> |
| 7354 | s1.isOpen() |
| 7355 | </Original> |
| 7356 | <Expanded> |
| 7357 | true |
| 7358 | </Expanded> |
| 7359 | </Expression> |
| 7360 | <Section name="successfully close one section, then find another"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7361 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7362 | <Original> |
| 7363 | s2.isOpen() == false |
| 7364 | </Original> |
| 7365 | <Expanded> |
| 7366 | false == false |
| 7367 | </Expanded> |
| 7368 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7369 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7370 | <Original> |
| 7371 | testCase.isComplete() == false |
| 7372 | </Original> |
| 7373 | <Expanded> |
| 7374 | false == false |
| 7375 | </Expanded> |
| 7376 | </Expression> |
| 7377 | <Section name="Re-enter - skips S1 and enters S2"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7378 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7379 | <Original> |
| 7380 | testCase2.isOpen() |
| 7381 | </Original> |
| 7382 | <Expanded> |
| 7383 | true |
| 7384 | </Expanded> |
| 7385 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7386 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7387 | <Original> |
| 7388 | s1b.isOpen() == false |
| 7389 | </Original> |
| 7390 | <Expanded> |
| 7391 | false == false |
| 7392 | </Expanded> |
| 7393 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7394 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7395 | <Original> |
| 7396 | s2b.isOpen() |
| 7397 | </Original> |
| 7398 | <Expanded> |
| 7399 | true |
| 7400 | </Expanded> |
| 7401 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7402 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7403 | <Original> |
| 7404 | ctx.completedCycle() == false |
| 7405 | </Original> |
| 7406 | <Expanded> |
| 7407 | false == false |
| 7408 | </Expanded> |
| 7409 | </Expression> |
| 7410 | <Section name="Successfully close S2"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7411 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7412 | <Original> |
| 7413 | ctx.completedCycle() |
| 7414 | </Original> |
| 7415 | <Expanded> |
| 7416 | true |
| 7417 | </Expanded> |
| 7418 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7419 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7420 | <Original> |
| 7421 | s2b.isSuccessfullyCompleted() |
| 7422 | </Original> |
| 7423 | <Expanded> |
| 7424 | true |
| 7425 | </Expanded> |
| 7426 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7427 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7428 | <Original> |
| 7429 | testCase2.isComplete() == false |
| 7430 | </Original> |
| 7431 | <Expanded> |
| 7432 | false == false |
| 7433 | </Expanded> |
| 7434 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7435 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7436 | <Original> |
| 7437 | testCase2.isSuccessfullyCompleted() |
| 7438 | </Original> |
| 7439 | <Expanded> |
| 7440 | true |
| 7441 | </Expanded> |
| 7442 | </Expression> |
| 7443 | <OverallResults successes="4" failures="0" expectedFailures="0"/> |
| 7444 | </Section> |
| 7445 | <OverallResults successes="8" failures="0" expectedFailures="0"/> |
| 7446 | </Section> |
| 7447 | <OverallResults successes="10" failures="0" expectedFailures="0"/> |
| 7448 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7449 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7450 | <Original> |
| 7451 | testCase.isOpen() |
| 7452 | </Original> |
| 7453 | <Expanded> |
| 7454 | true |
| 7455 | </Expanded> |
| 7456 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7457 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7458 | <Original> |
| 7459 | s1.isOpen() |
| 7460 | </Original> |
| 7461 | <Expanded> |
| 7462 | true |
| 7463 | </Expanded> |
| 7464 | </Expression> |
| 7465 | <Section name="successfully close one section, then find another"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7466 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7467 | <Original> |
| 7468 | s2.isOpen() == false |
| 7469 | </Original> |
| 7470 | <Expanded> |
| 7471 | false == false |
| 7472 | </Expanded> |
| 7473 | </Expression> |
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.isComplete() == false |
| 7477 | </Original> |
| 7478 | <Expanded> |
| 7479 | false == false |
| 7480 | </Expanded> |
| 7481 | </Expression> |
| 7482 | <Section name="Re-enter - skips S1 and enters S2"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7483 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7484 | <Original> |
| 7485 | testCase2.isOpen() |
| 7486 | </Original> |
| 7487 | <Expanded> |
| 7488 | true |
| 7489 | </Expanded> |
| 7490 | </Expression> |
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 | s1b.isOpen() == false |
| 7494 | </Original> |
| 7495 | <Expanded> |
| 7496 | false == false |
| 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 | s2b.isOpen() |
| 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 | ctx.completedCycle() == false |
| 7510 | </Original> |
| 7511 | <Expanded> |
| 7512 | false == false |
| 7513 | </Expanded> |
| 7514 | </Expression> |
| 7515 | <Section name="fail S2"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7516 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7517 | <Original> |
| 7518 | ctx.completedCycle() |
| 7519 | </Original> |
| 7520 | <Expanded> |
| 7521 | true |
| 7522 | </Expanded> |
| 7523 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7524 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7525 | <Original> |
| 7526 | s2b.isComplete() |
| 7527 | </Original> |
| 7528 | <Expanded> |
| 7529 | true |
| 7530 | </Expanded> |
| 7531 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7532 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7533 | <Original> |
| 7534 | s2b.isSuccessfullyCompleted() == false |
| 7535 | </Original> |
| 7536 | <Expanded> |
| 7537 | false == false |
| 7538 | </Expanded> |
| 7539 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7540 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7541 | <Original> |
| 7542 | testCase2.isSuccessfullyCompleted() == false |
| 7543 | </Original> |
| 7544 | <Expanded> |
| 7545 | false == false |
| 7546 | </Expanded> |
| 7547 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7548 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7549 | <Original> |
| 7550 | testCase3.isOpen() |
| 7551 | </Original> |
| 7552 | <Expanded> |
| 7553 | true |
| 7554 | </Expanded> |
| 7555 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7556 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7557 | <Original> |
| 7558 | s1c.isOpen() == false |
| 7559 | </Original> |
| 7560 | <Expanded> |
| 7561 | false == false |
| 7562 | </Expanded> |
| 7563 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7564 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7565 | <Original> |
| 7566 | s2c.isOpen() == false |
| 7567 | </Original> |
| 7568 | <Expanded> |
| 7569 | false == false |
| 7570 | </Expanded> |
| 7571 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7572 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7573 | <Original> |
| 7574 | testCase3.isSuccessfullyCompleted() |
| 7575 | </Original> |
| 7576 | <Expanded> |
| 7577 | true |
| 7578 | </Expanded> |
| 7579 | </Expression> |
| 7580 | <OverallResults successes="8" failures="0" expectedFailures="0"/> |
| 7581 | </Section> |
| 7582 | <OverallResults successes="12" failures="0" expectedFailures="0"/> |
| 7583 | </Section> |
| 7584 | <OverallResults successes="14" failures="0" expectedFailures="0"/> |
| 7585 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7586 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7587 | <Original> |
| 7588 | testCase.isOpen() |
| 7589 | </Original> |
| 7590 | <Expanded> |
| 7591 | true |
| 7592 | </Expanded> |
| 7593 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7594 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7595 | <Original> |
| 7596 | s1.isOpen() |
| 7597 | </Original> |
| 7598 | <Expanded> |
| 7599 | true |
| 7600 | </Expanded> |
| 7601 | </Expression> |
| 7602 | <Section name="open a nested section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7603 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7604 | <Original> |
| 7605 | s2.isOpen() |
| 7606 | </Original> |
| 7607 | <Expanded> |
| 7608 | true |
| 7609 | </Expanded> |
| 7610 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7611 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7612 | <Original> |
| 7613 | s2.isComplete() |
| 7614 | </Original> |
| 7615 | <Expanded> |
| 7616 | true |
| 7617 | </Expanded> |
| 7618 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7619 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7620 | <Original> |
| 7621 | s1.isComplete() == false |
| 7622 | </Original> |
| 7623 | <Expanded> |
| 7624 | false == false |
| 7625 | </Expanded> |
| 7626 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7627 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7628 | <Original> |
| 7629 | s1.isComplete() |
| 7630 | </Original> |
| 7631 | <Expanded> |
| 7632 | true |
| 7633 | </Expanded> |
| 7634 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7635 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7636 | <Original> |
| 7637 | testCase.isComplete() == false |
| 7638 | </Original> |
| 7639 | <Expanded> |
| 7640 | false == false |
| 7641 | </Expanded> |
| 7642 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7643 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7644 | <Original> |
| 7645 | testCase.isComplete() |
| 7646 | </Original> |
| 7647 | <Expanded> |
| 7648 | true |
| 7649 | </Expanded> |
| 7650 | </Expression> |
| 7651 | <OverallResults successes="6" failures="0" expectedFailures="0"/> |
| 7652 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7653 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7654 | <Original> |
| 7655 | testCase.isOpen() |
| 7656 | </Original> |
| 7657 | <Expanded> |
| 7658 | true |
| 7659 | </Expanded> |
| 7660 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7661 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7662 | <Original> |
| 7663 | s1.isOpen() |
| 7664 | </Original> |
| 7665 | <Expanded> |
| 7666 | true |
| 7667 | </Expanded> |
| 7668 | </Expression> |
| 7669 | <Section name="start a generator"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7670 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7671 | <Original> |
| 7672 | g1.isOpen() |
| 7673 | </Original> |
| 7674 | <Expanded> |
| 7675 | true |
| 7676 | </Expanded> |
| 7677 | </Expression> |
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 | g1.index() == 0 |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 7681 | </Original> |
| 7682 | <Expanded> |
| 7683 | 0 == 0 |
| 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 | g1.isComplete() == false |
| 7689 | </Original> |
| 7690 | <Expanded> |
| 7691 | false == false |
| 7692 | </Expanded> |
| 7693 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7694 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7695 | <Original> |
| 7696 | s1.isComplete() == false |
| 7697 | </Original> |
| 7698 | <Expanded> |
| 7699 | false == false |
| 7700 | </Expanded> |
| 7701 | </Expression> |
| 7702 | <Section name="close outer section"> |
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 | s1.isComplete() == false |
| 7706 | </Original> |
| 7707 | <Expanded> |
| 7708 | false == false |
| 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 | testCase.isSuccessfullyCompleted() == false |
| 7714 | </Original> |
| 7715 | <Expanded> |
| 7716 | false == false |
| 7717 | </Expanded> |
| 7718 | </Expression> |
| 7719 | <Section name="Re-enter for second generation"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7720 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 7721 | <Original> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7722 | testCase2.isOpen() |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 7723 | </Original> |
| 7724 | <Expanded> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7725 | true |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 7726 | </Expanded> |
| 7727 | </Expression> |
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 | s1b.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 | g1b.isOpen() |
| 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 | g1b.index() == 1 |
| 7747 | </Original> |
| 7748 | <Expanded> |
| 7749 | 1 == 1 |
| 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 | s1.isComplete() == false |
| 7755 | </Original> |
| 7756 | <Expanded> |
| 7757 | false == false |
| 7758 | </Expanded> |
| 7759 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7760 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7761 | <Original> |
| 7762 | s1b.isComplete() |
| 7763 | </Original> |
| 7764 | <Expanded> |
| 7765 | true |
| 7766 | </Expanded> |
| 7767 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7768 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7769 | <Original> |
| 7770 | g1b.isComplete() |
| 7771 | </Original> |
| 7772 | <Expanded> |
| 7773 | true |
| 7774 | </Expanded> |
| 7775 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7776 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7777 | <Original> |
| 7778 | testCase2.isComplete() |
| 7779 | </Original> |
| 7780 | <Expanded> |
| 7781 | true |
| 7782 | </Expanded> |
| 7783 | </Expression> |
| 7784 | <OverallResults successes="8" failures="0" expectedFailures="0"/> |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 7785 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7786 | <OverallResults successes="10" failures="0" expectedFailures="0"/> |
| 7787 | </Section> |
| 7788 | <OverallResults successes="14" failures="0" expectedFailures="0"/> |
| 7789 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7790 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7791 | <Original> |
| 7792 | testCase.isOpen() |
| 7793 | </Original> |
| 7794 | <Expanded> |
| 7795 | true |
| 7796 | </Expanded> |
| 7797 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7798 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7799 | <Original> |
| 7800 | s1.isOpen() |
| 7801 | </Original> |
| 7802 | <Expanded> |
| 7803 | true |
| 7804 | </Expanded> |
| 7805 | </Expression> |
| 7806 | <Section name="start a generator"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7807 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7808 | <Original> |
| 7809 | g1.isOpen() |
| 7810 | </Original> |
| 7811 | <Expanded> |
| 7812 | true |
| 7813 | </Expanded> |
| 7814 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7815 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7816 | <Original> |
| 7817 | g1.index() == 0 |
| 7818 | </Original> |
| 7819 | <Expanded> |
| 7820 | 0 == 0 |
| 7821 | </Expanded> |
| 7822 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7823 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7824 | <Original> |
| 7825 | g1.isComplete() == false |
| 7826 | </Original> |
| 7827 | <Expanded> |
| 7828 | false == false |
| 7829 | </Expanded> |
| 7830 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7831 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7832 | <Original> |
| 7833 | s1.isComplete() == false |
| 7834 | </Original> |
| 7835 | <Expanded> |
| 7836 | false == false |
| 7837 | </Expanded> |
| 7838 | </Expression> |
| 7839 | <Section name="Start a new inner section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7840 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7841 | <Original> |
| 7842 | s2.isOpen() |
| 7843 | </Original> |
| 7844 | <Expanded> |
| 7845 | true |
| 7846 | </Expanded> |
| 7847 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7848 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7849 | <Original> |
| 7850 | s2.isComplete() |
| 7851 | </Original> |
| 7852 | <Expanded> |
| 7853 | true |
| 7854 | </Expanded> |
| 7855 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7856 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7857 | <Original> |
| 7858 | s1.isComplete() == false |
| 7859 | </Original> |
| 7860 | <Expanded> |
| 7861 | false == false |
| 7862 | </Expanded> |
| 7863 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7864 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7865 | <Original> |
| 7866 | testCase.isComplete() == false |
| 7867 | </Original> |
| 7868 | <Expanded> |
| 7869 | false == false |
| 7870 | </Expanded> |
| 7871 | </Expression> |
| 7872 | <Section name="Re-enter for second generation"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7873 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7874 | <Original> |
| 7875 | testCase2.isOpen() |
| 7876 | </Original> |
| 7877 | <Expanded> |
| 7878 | true |
| 7879 | </Expanded> |
| 7880 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7881 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7882 | <Original> |
| 7883 | s1b.isOpen() |
| 7884 | </Original> |
| 7885 | <Expanded> |
| 7886 | true |
| 7887 | </Expanded> |
| 7888 | </Expression> |
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 | g1b.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 | g1b.index() == 1 |
| 7900 | </Original> |
| 7901 | <Expanded> |
| 7902 | 1 == 1 |
| 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 | s2b.isOpen() |
| 7908 | </Original> |
| 7909 | <Expanded> |
| 7910 | true |
| 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 | s2b.isComplete() |
| 7916 | </Original> |
| 7917 | <Expanded> |
| 7918 | true |
| 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 | g1b.isComplete() |
| 7924 | </Original> |
| 7925 | <Expanded> |
| 7926 | true |
| 7927 | </Expanded> |
| 7928 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7929 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7930 | <Original> |
| 7931 | s1b.isComplete() |
| 7932 | </Original> |
| 7933 | <Expanded> |
| 7934 | true |
| 7935 | </Expanded> |
| 7936 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7937 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7938 | <Original> |
| 7939 | testCase2.isComplete() |
| 7940 | </Original> |
| 7941 | <Expanded> |
| 7942 | true |
| 7943 | </Expanded> |
| 7944 | </Expression> |
| 7945 | <OverallResults successes="9" failures="0" expectedFailures="0"/> |
| 7946 | </Section> |
| 7947 | <OverallResults successes="13" failures="0" expectedFailures="0"/> |
| 7948 | </Section> |
| 7949 | <OverallResults successes="17" failures="0" expectedFailures="0"/> |
| 7950 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7951 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7952 | <Original> |
| 7953 | testCase.isOpen() |
| 7954 | </Original> |
| 7955 | <Expanded> |
| 7956 | true |
| 7957 | </Expanded> |
| 7958 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7959 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7960 | <Original> |
| 7961 | s1.isOpen() |
| 7962 | </Original> |
| 7963 | <Expanded> |
| 7964 | true |
| 7965 | </Expanded> |
| 7966 | </Expression> |
| 7967 | <Section name="start a generator"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7968 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7969 | <Original> |
| 7970 | g1.isOpen() |
| 7971 | </Original> |
| 7972 | <Expanded> |
| 7973 | true |
| 7974 | </Expanded> |
| 7975 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7976 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7977 | <Original> |
| 7978 | g1.index() == 0 |
| 7979 | </Original> |
| 7980 | <Expanded> |
| 7981 | 0 == 0 |
| 7982 | </Expanded> |
| 7983 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7984 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7985 | <Original> |
| 7986 | g1.isComplete() == false |
| 7987 | </Original> |
| 7988 | <Expanded> |
| 7989 | false == false |
| 7990 | </Expanded> |
| 7991 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 7992 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 7993 | <Original> |
| 7994 | s1.isComplete() == false |
| 7995 | </Original> |
| 7996 | <Expanded> |
| 7997 | false == false |
| 7998 | </Expanded> |
| 7999 | </Expression> |
| 8000 | <Section name="Fail an inner section"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8001 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8002 | <Original> |
| 8003 | s2.isOpen() |
| 8004 | </Original> |
| 8005 | <Expanded> |
| 8006 | true |
| 8007 | </Expanded> |
| 8008 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8009 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8010 | <Original> |
| 8011 | s2.isComplete() |
| 8012 | </Original> |
| 8013 | <Expanded> |
| 8014 | true |
| 8015 | </Expanded> |
| 8016 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8017 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8018 | <Original> |
| 8019 | s2.isSuccessfullyCompleted() == false |
| 8020 | </Original> |
| 8021 | <Expanded> |
| 8022 | false == false |
| 8023 | </Expanded> |
| 8024 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8025 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8026 | <Original> |
| 8027 | s1.isComplete() == false |
| 8028 | </Original> |
| 8029 | <Expanded> |
| 8030 | false == false |
| 8031 | </Expanded> |
| 8032 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8033 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8034 | <Original> |
| 8035 | testCase.isComplete() == false |
| 8036 | </Original> |
| 8037 | <Expanded> |
| 8038 | false == false |
| 8039 | </Expanded> |
| 8040 | </Expression> |
| 8041 | <Section name="Re-enter for second generation"> |
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 | testCase2.isOpen() |
| 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 | s1b.isOpen() |
| 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 | g1b.isOpen() |
| 8061 | </Original> |
| 8062 | <Expanded> |
| 8063 | true |
| 8064 | </Expanded> |
| 8065 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8066 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8067 | <Original> |
| 8068 | g1b.index() == 0 |
| 8069 | </Original> |
| 8070 | <Expanded> |
| 8071 | 0 == 0 |
| 8072 | </Expanded> |
| 8073 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8074 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8075 | <Original> |
| 8076 | s2b.isOpen() == false |
| 8077 | </Original> |
| 8078 | <Expanded> |
| 8079 | false == false |
| 8080 | </Expanded> |
| 8081 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8082 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8083 | <Original> |
| 8084 | g1b.isComplete() == false |
| 8085 | </Original> |
| 8086 | <Expanded> |
| 8087 | false == false |
| 8088 | </Expanded> |
| 8089 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8090 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8091 | <Original> |
| 8092 | s1b.isComplete() == false |
| 8093 | </Original> |
| 8094 | <Expanded> |
| 8095 | false == false |
| 8096 | </Expanded> |
| 8097 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8098 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8099 | <Original> |
| 8100 | testCase2.isComplete() == false |
| 8101 | </Original> |
| 8102 | <Expanded> |
| 8103 | false == false |
| 8104 | </Expanded> |
| 8105 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8106 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8107 | <Original> |
| 8108 | testCase3.isOpen() |
| 8109 | </Original> |
| 8110 | <Expanded> |
| 8111 | true |
| 8112 | </Expanded> |
| 8113 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8114 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8115 | <Original> |
| 8116 | s1c.isOpen() |
| 8117 | </Original> |
| 8118 | <Expanded> |
| 8119 | true |
| 8120 | </Expanded> |
| 8121 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8122 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8123 | <Original> |
| 8124 | g1c.isOpen() |
| 8125 | </Original> |
| 8126 | <Expanded> |
| 8127 | true |
| 8128 | </Expanded> |
| 8129 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8130 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8131 | <Original> |
| 8132 | g1c.index() == 1 |
| 8133 | </Original> |
| 8134 | <Expanded> |
| 8135 | 1 == 1 |
| 8136 | </Expanded> |
| 8137 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8138 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8139 | <Original> |
| 8140 | s2c.isOpen() |
| 8141 | </Original> |
| 8142 | <Expanded> |
| 8143 | true |
| 8144 | </Expanded> |
| 8145 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8146 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8147 | <Original> |
| 8148 | s2c.isComplete() |
| 8149 | </Original> |
| 8150 | <Expanded> |
| 8151 | true |
| 8152 | </Expanded> |
| 8153 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8154 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8155 | <Original> |
| 8156 | g1c.isComplete() |
| 8157 | </Original> |
| 8158 | <Expanded> |
| 8159 | true |
| 8160 | </Expanded> |
| 8161 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8162 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8163 | <Original> |
| 8164 | s1c.isComplete() |
| 8165 | </Original> |
| 8166 | <Expanded> |
| 8167 | true |
| 8168 | </Expanded> |
| 8169 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8170 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/PartTrackerTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8171 | <Original> |
| 8172 | testCase3.isComplete() |
| 8173 | </Original> |
| 8174 | <Expanded> |
| 8175 | true |
| 8176 | </Expanded> |
| 8177 | </Expression> |
| 8178 | <OverallResults successes="17" failures="0" expectedFailures="0"/> |
| 8179 | </Section> |
| 8180 | <OverallResults successes="22" failures="0" expectedFailures="0"/> |
| 8181 | </Section> |
| 8182 | <OverallResults successes="26" failures="0" expectedFailures="0"/> |
| 8183 | </Section> |
| 8184 | <OverallResult success="true"/> |
| 8185 | </TestCase> |
| 8186 | <TestCase name="Unexpected exceptions can be translated"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8187 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8188 | 3.14 |
| 8189 | </Exception> |
| 8190 | <OverallResult success="false"/> |
| 8191 | </TestCase> |
| 8192 | <TestCase name="Use a custom approx"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8193 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8194 | <Original> |
| 8195 | d == approx( 1.23 ) |
| 8196 | </Original> |
| 8197 | <Expanded> |
| 8198 | 1.23 == Approx( 1.23 ) |
| 8199 | </Expanded> |
| 8200 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8201 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8202 | <Original> |
| 8203 | d == approx( 1.22 ) |
| 8204 | </Original> |
| 8205 | <Expanded> |
| 8206 | 1.23 == Approx( 1.22 ) |
| 8207 | </Expanded> |
| 8208 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8209 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8210 | <Original> |
| 8211 | d == approx( 1.24 ) |
| 8212 | </Original> |
| 8213 | <Expanded> |
| 8214 | 1.23 == Approx( 1.24 ) |
| 8215 | </Expanded> |
| 8216 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8217 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8218 | <Original> |
| 8219 | d != approx( 1.25 ) |
| 8220 | </Original> |
| 8221 | <Expanded> |
| 8222 | 1.23 != Approx( 1.25 ) |
| 8223 | </Expanded> |
| 8224 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8225 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8226 | <Original> |
| 8227 | approx( d ) == 1.23 |
| 8228 | </Original> |
| 8229 | <Expanded> |
| 8230 | Approx( 1.23 ) == 1.23 |
| 8231 | </Expanded> |
| 8232 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8233 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8234 | <Original> |
| 8235 | approx( d ) == 1.22 |
| 8236 | </Original> |
| 8237 | <Expanded> |
| 8238 | Approx( 1.23 ) == 1.22 |
| 8239 | </Expanded> |
| 8240 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8241 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8242 | <Original> |
| 8243 | approx( d ) == 1.24 |
| 8244 | </Original> |
| 8245 | <Expanded> |
| 8246 | Approx( 1.23 ) == 1.24 |
| 8247 | </Expanded> |
| 8248 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8249 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8250 | <Original> |
| 8251 | approx( d ) != 1.25 |
| 8252 | </Original> |
| 8253 | <Expanded> |
| 8254 | Approx( 1.23 ) != 1.25 |
| 8255 | </Expanded> |
| 8256 | </Expression> |
| 8257 | <OverallResult success="true"/> |
| 8258 | </TestCase> |
| 8259 | <TestCase name="Variadic macros"> |
| 8260 | <Section name="Section with one argument"> |
| 8261 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8262 | </Section> |
| 8263 | <OverallResult success="true"/> |
| 8264 | </TestCase> |
| 8265 | <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] | 8266 | <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] | 8267 | <Original> |
| 8268 | thisThrows() |
| 8269 | </Original> |
| 8270 | <Expanded> |
| 8271 | thisThrows() |
| 8272 | </Expanded> |
| 8273 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8274 | <Expression success="true" type="REQUIRE_NOTHROW" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8275 | <Original> |
| 8276 | thisDoesntThrow() |
| 8277 | </Original> |
| 8278 | <Expanded> |
| 8279 | thisDoesntThrow() |
| 8280 | </Expanded> |
| 8281 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8282 | <Expression success="true" type="REQUIRE_THROWS" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8283 | <Original> |
| 8284 | thisThrows() |
| 8285 | </Original> |
| 8286 | <Expanded> |
| 8287 | thisThrows() |
| 8288 | </Expanded> |
| 8289 | </Expression> |
| 8290 | <OverallResult success="true"/> |
| 8291 | </TestCase> |
| 8292 | <TestCase name="When unchecked exceptions are thrown directly they are always failures"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8293 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8294 | unexpected exception |
| 8295 | </Exception> |
| 8296 | <OverallResult success="false"/> |
| 8297 | </TestCase> |
Phil Nash | 7bcb424 | 2017-01-23 17:56:41 +0000 | [diff] [blame] | 8298 | <TestCase name="When unchecked exceptions are thrown during a CHECK the test should continue"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8299 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8300 | <Original> |
| 8301 | thisThrows() == 0 |
| 8302 | </Original> |
| 8303 | <Expanded> |
| 8304 | thisThrows() == 0 |
| 8305 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8306 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8307 | expected exception |
| 8308 | </Exception> |
| 8309 | </Expression> |
| 8310 | <OverallResult success="false"/> |
| 8311 | </TestCase> |
| 8312 | <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] | 8313 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8314 | <Original> |
| 8315 | thisThrows() == 0 |
| 8316 | </Original> |
| 8317 | <Expanded> |
| 8318 | thisThrows() == 0 |
| 8319 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8320 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8321 | expected exception |
| 8322 | </Exception> |
| 8323 | </Expression> |
| 8324 | <OverallResult success="false"/> |
| 8325 | </TestCase> |
| 8326 | <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] | 8327 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8328 | <Original> |
| 8329 | thisThrows() == 0 |
| 8330 | </Original> |
| 8331 | <Expanded> |
| 8332 | thisThrows() == 0 |
| 8333 | </Expanded> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8334 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8335 | expected exception |
| 8336 | </Exception> |
| 8337 | </Expression> |
| 8338 | <OverallResult success="false"/> |
| 8339 | </TestCase> |
| 8340 | <TestCase name="When unchecked exceptions are thrown from sections they are always failures"> |
| 8341 | <Section name="section name"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8342 | <Exception filename="projects/<exe-name>/ExceptionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8343 | unexpected exception |
| 8344 | </Exception> |
| 8345 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 8346 | </Section> |
| 8347 | <OverallResult success="false"/> |
| 8348 | </TestCase> |
| 8349 | <TestCase name="When unchecked exceptions are thrown, but caught, they do not affect the test"> |
| 8350 | <OverallResult success="true"/> |
| 8351 | </TestCase> |
| 8352 | <TestCase name="Where the LHS is not a simple value"> |
| 8353 | <Warning> |
| 8354 | Uncomment the code in this test to check that it gives a sensible compiler error |
| 8355 | </Warning> |
| 8356 | <OverallResult success="true"/> |
| 8357 | </TestCase> |
| 8358 | <TestCase name="Where there is more to the expression after the RHS"> |
| 8359 | <Warning> |
| 8360 | Uncomment the code in this test to check that it gives a sensible compiler error |
| 8361 | </Warning> |
| 8362 | <OverallResult success="true"/> |
| 8363 | </TestCase> |
| 8364 | <TestCase name="X/level/0/a"> |
| 8365 | <OverallResult success="true"/> |
| 8366 | </TestCase> |
| 8367 | <TestCase name="X/level/0/b"> |
| 8368 | <OverallResult success="true"/> |
| 8369 | </TestCase> |
| 8370 | <TestCase name="X/level/1/a"> |
| 8371 | <OverallResult success="true"/> |
| 8372 | </TestCase> |
| 8373 | <TestCase name="X/level/1/b"> |
| 8374 | <OverallResult success="true"/> |
| 8375 | </TestCase> |
| 8376 | <TestCase name="XmlEncode"> |
| 8377 | <Section name="normal string"> |
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 | encode( "normal string" ) == "normal string" |
| 8381 | </Original> |
| 8382 | <Expanded> |
| 8383 | "normal string" == "normal string" |
| 8384 | </Expanded> |
| 8385 | </Expression> |
| 8386 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8387 | </Section> |
| 8388 | <Section name="empty string"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8389 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8390 | <Original> |
| 8391 | encode( "" ) == "" |
| 8392 | </Original> |
| 8393 | <Expanded> |
| 8394 | "" == "" |
| 8395 | </Expanded> |
| 8396 | </Expression> |
| 8397 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8398 | </Section> |
| 8399 | <Section name="string with ampersand"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8400 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8401 | <Original> |
| 8402 | encode( "smith & jones" ) == "smith &amp; jones" |
| 8403 | </Original> |
| 8404 | <Expanded> |
| 8405 | "smith &amp; jones" == "smith &amp; jones" |
| 8406 | </Expanded> |
| 8407 | </Expression> |
| 8408 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8409 | </Section> |
| 8410 | <Section name="string with less-than"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8411 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8412 | <Original> |
| 8413 | encode( "smith < jones" ) == "smith &lt; jones" |
| 8414 | </Original> |
| 8415 | <Expanded> |
| 8416 | "smith &lt; jones" == "smith &lt; jones" |
| 8417 | </Expanded> |
| 8418 | </Expression> |
| 8419 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8420 | </Section> |
| 8421 | <Section name="string with greater-than"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8422 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8423 | <Original> |
| 8424 | encode( "smith > jones" ) == "smith > jones" |
| 8425 | </Original> |
| 8426 | <Expanded> |
| 8427 | "smith > jones" == "smith > jones" |
| 8428 | </Expanded> |
| 8429 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8430 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8431 | <Original> |
| 8432 | encode( "smith ]]> jones" ) == "smith ]]&gt; jones" |
| 8433 | </Original> |
| 8434 | <Expanded> |
| 8435 | "smith ]]&gt; jones" |
| 8436 | == |
| 8437 | "smith ]]&gt; jones" |
| 8438 | </Expanded> |
| 8439 | </Expression> |
| 8440 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 8441 | </Section> |
| 8442 | <Section name="string with quotes"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8443 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8444 | <Original> |
| 8445 | encode( stringWithQuotes ) == stringWithQuotes |
| 8446 | </Original> |
| 8447 | <Expanded> |
| 8448 | "don't "quote" me on that" |
| 8449 | == |
| 8450 | "don't "quote" me on that" |
| 8451 | </Expanded> |
| 8452 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8453 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8454 | <Original> |
| 8455 | encode( stringWithQuotes, Catch::XmlEncode::ForAttributes ) == "don't &quot;quote&quot; me on that" |
| 8456 | </Original> |
| 8457 | <Expanded> |
| 8458 | "don't &quot;quote&quot; me on that" |
| 8459 | == |
| 8460 | "don't &quot;quote&quot; me on that" |
| 8461 | </Expanded> |
| 8462 | </Expression> |
| 8463 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 8464 | </Section> |
Phil Nash | a189387 | 2017-02-06 16:00:05 +0000 | [diff] [blame] | 8465 | <Section name="string with control char (1) (XML 1.0)"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8466 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8467 | <Original> |
Phil Nash | a189387 | 2017-02-06 16:00:05 +0000 | [diff] [blame] | 8468 | encode( "[\x01]" ) == "[\\x01]" |
| 8469 | </Original> |
| 8470 | <Expanded> |
| 8471 | "[\x01]" == "[\x01]" |
| 8472 | </Expanded> |
| 8473 | </Expression> |
| 8474 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8475 | </Section> |
| 8476 | <Section name="string with control char (1) (XMl 1.1)"> |
| 8477 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
| 8478 | <Original> |
| 8479 | encode( "[\x01]", Catch::XmlEncode::ForTextNodes, Catch::XmlEncode::_1_1 ) == "[&#x01;]" |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8480 | </Original> |
| 8481 | <Expanded> |
| 8482 | "[&#x01;]" == "[&#x01;]" |
| 8483 | </Expanded> |
| 8484 | </Expression> |
| 8485 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8486 | </Section> |
Phil Nash | a189387 | 2017-02-06 16:00:05 +0000 | [diff] [blame] | 8487 | <Section name="string with control char (x7F) (XML 1.0)"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8488 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8489 | <Original> |
Phil Nash | a189387 | 2017-02-06 16:00:05 +0000 | [diff] [blame] | 8490 | encode( "[\x7F]" ) == "[\\x7F]" |
| 8491 | </Original> |
| 8492 | <Expanded> |
| 8493 | "[\x7F]" == "[\x7F]" |
| 8494 | </Expanded> |
| 8495 | </Expression> |
| 8496 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8497 | </Section> |
| 8498 | <Section name="string with control char (x7F) (XML 1.1)"> |
| 8499 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
| 8500 | <Original> |
| 8501 | encode( "[\x7F]", Catch::XmlEncode::ForTextNodes, Catch::XmlEncode::_1_1 ) == "[&#x7F;]" |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8502 | </Original> |
| 8503 | <Expanded> |
| 8504 | "[&#x7F;]" == "[&#x7F;]" |
| 8505 | </Expanded> |
| 8506 | </Expression> |
| 8507 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8508 | </Section> |
| 8509 | <OverallResult success="true"/> |
| 8510 | </TestCase> |
| 8511 | <TestCase name="atomic if"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8512 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8513 | <Original> |
| 8514 | x == 0 |
| 8515 | </Original> |
| 8516 | <Expanded> |
| 8517 | 0 == 0 |
| 8518 | </Expanded> |
| 8519 | </Expression> |
| 8520 | <OverallResult success="true"/> |
| 8521 | </TestCase> |
| 8522 | <TestCase name="boolean member"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8523 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8524 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 8525 | obj.prop != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8526 | </Original> |
| 8527 | <Expanded> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 8528 | 0x<hex digits> != 0 |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8529 | </Expanded> |
| 8530 | </Expression> |
| 8531 | <OverallResult success="true"/> |
| 8532 | </TestCase> |
| 8533 | <TestCase name="checkedElse"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8534 | <Expression success="true" type="CHECKED_ELSE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8535 | <Original> |
| 8536 | flag |
| 8537 | </Original> |
| 8538 | <Expanded> |
| 8539 | true |
| 8540 | </Expanded> |
| 8541 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8542 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8543 | <Original> |
| 8544 | testCheckedElse( true ) |
| 8545 | </Original> |
| 8546 | <Expanded> |
| 8547 | true |
| 8548 | </Expanded> |
| 8549 | </Expression> |
| 8550 | <OverallResult success="true"/> |
| 8551 | </TestCase> |
| 8552 | <TestCase name="checkedElse, failing"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8553 | <Expression success="false" type="CHECKED_ELSE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8554 | <Original> |
| 8555 | flag |
| 8556 | </Original> |
| 8557 | <Expanded> |
| 8558 | false |
| 8559 | </Expanded> |
| 8560 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8561 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8562 | <Original> |
| 8563 | testCheckedElse( false ) |
| 8564 | </Original> |
| 8565 | <Expanded> |
| 8566 | false |
| 8567 | </Expanded> |
| 8568 | </Expression> |
| 8569 | <OverallResult success="false"/> |
| 8570 | </TestCase> |
| 8571 | <TestCase name="checkedIf"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8572 | <Expression success="true" type="CHECKED_IF" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8573 | <Original> |
| 8574 | flag |
| 8575 | </Original> |
| 8576 | <Expanded> |
| 8577 | true |
| 8578 | </Expanded> |
| 8579 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8580 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8581 | <Original> |
| 8582 | testCheckedIf( true ) |
| 8583 | </Original> |
| 8584 | <Expanded> |
| 8585 | true |
| 8586 | </Expanded> |
| 8587 | </Expression> |
| 8588 | <OverallResult success="true"/> |
| 8589 | </TestCase> |
| 8590 | <TestCase name="checkedIf, failing"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8591 | <Expression success="false" type="CHECKED_IF" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8592 | <Original> |
| 8593 | flag |
| 8594 | </Original> |
| 8595 | <Expanded> |
| 8596 | false |
| 8597 | </Expanded> |
| 8598 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8599 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8600 | <Original> |
| 8601 | testCheckedIf( false ) |
| 8602 | </Original> |
| 8603 | <Expanded> |
| 8604 | false |
| 8605 | </Expanded> |
| 8606 | </Expression> |
| 8607 | <OverallResult success="false"/> |
| 8608 | </TestCase> |
| 8609 | <TestCase name="comparisons between const int variables"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8610 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8611 | <Original> |
| 8612 | unsigned_char_var == 1 |
| 8613 | </Original> |
| 8614 | <Expanded> |
| 8615 | 1 == 1 |
| 8616 | </Expanded> |
| 8617 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8618 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8619 | <Original> |
| 8620 | unsigned_short_var == 1 |
| 8621 | </Original> |
| 8622 | <Expanded> |
| 8623 | 1 == 1 |
| 8624 | </Expanded> |
| 8625 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8626 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8627 | <Original> |
| 8628 | unsigned_int_var == 1 |
| 8629 | </Original> |
| 8630 | <Expanded> |
| 8631 | 1 == 1 |
| 8632 | </Expanded> |
| 8633 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8634 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8635 | <Original> |
| 8636 | unsigned_long_var == 1 |
| 8637 | </Original> |
| 8638 | <Expanded> |
| 8639 | 1 == 1 |
| 8640 | </Expanded> |
| 8641 | </Expression> |
| 8642 | <OverallResult success="true"/> |
| 8643 | </TestCase> |
| 8644 | <TestCase name="comparisons between int variables"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8645 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8646 | <Original> |
| 8647 | long_var == unsigned_char_var |
| 8648 | </Original> |
| 8649 | <Expanded> |
| 8650 | 1 == 1 |
| 8651 | </Expanded> |
| 8652 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8653 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8654 | <Original> |
| 8655 | long_var == unsigned_short_var |
| 8656 | </Original> |
| 8657 | <Expanded> |
| 8658 | 1 == 1 |
| 8659 | </Expanded> |
| 8660 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8661 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8662 | <Original> |
| 8663 | long_var == unsigned_int_var |
| 8664 | </Original> |
| 8665 | <Expanded> |
| 8666 | 1 == 1 |
| 8667 | </Expanded> |
| 8668 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8669 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ConditionTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8670 | <Original> |
| 8671 | long_var == unsigned_long_var |
| 8672 | </Original> |
| 8673 | <Expanded> |
| 8674 | 1 == 1 |
| 8675 | </Expanded> |
| 8676 | </Expression> |
| 8677 | <OverallResult success="true"/> |
| 8678 | </TestCase> |
| 8679 | <TestCase name="even more nested SECTION tests"> |
| 8680 | <Section name="c"> |
| 8681 | <Section name="d (leaf)"> |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 8682 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8683 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8684 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8685 | </Section> |
| 8686 | <Section name="c"> |
| 8687 | <Section name="e (leaf)"> |
| 8688 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8689 | </Section> |
| 8690 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8691 | </Section> |
| 8692 | <Section name="f (leaf)"> |
| 8693 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8694 | </Section> |
| 8695 | <OverallResult success="true"/> |
| 8696 | </TestCase> |
| 8697 | <TestCase name="first tag"> |
| 8698 | <OverallResult success="true"/> |
| 8699 | </TestCase> |
| 8700 | <TestCase name="just failure"> |
| 8701 | <Failure> |
| 8702 | Previous info should not be seen |
| 8703 | </Failure> |
| 8704 | <OverallResult success="false"/> |
| 8705 | </TestCase> |
| 8706 | <TestCase name="just info"> |
| 8707 | <OverallResult success="true"/> |
| 8708 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8709 | <TestCase name="looped SECTION tests"> |
| 8710 | <Section name="s1" description="b is currently: 0"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8711 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8712 | <Original> |
| 8713 | b > a |
| 8714 | </Original> |
| 8715 | <Expanded> |
| 8716 | 0 > 1 |
| 8717 | </Expanded> |
| 8718 | </Expression> |
| 8719 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 8720 | </Section> |
| 8721 | <OverallResult success="false"/> |
| 8722 | </TestCase> |
| 8723 | <TestCase name="looped tests"> |
| 8724 | <Info> |
| 8725 | Testing if fib[0] (1) is even |
| 8726 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8727 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8728 | <Original> |
| 8729 | ( fib[i] % 2 ) == 0 |
| 8730 | </Original> |
| 8731 | <Expanded> |
| 8732 | 1 == 0 |
| 8733 | </Expanded> |
| 8734 | </Expression> |
| 8735 | <Info> |
| 8736 | Testing if fib[1] (1) is even |
| 8737 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8738 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8739 | <Original> |
| 8740 | ( fib[i] % 2 ) == 0 |
| 8741 | </Original> |
| 8742 | <Expanded> |
| 8743 | 1 == 0 |
| 8744 | </Expanded> |
| 8745 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8746 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8747 | <Original> |
| 8748 | ( fib[i] % 2 ) == 0 |
| 8749 | </Original> |
| 8750 | <Expanded> |
| 8751 | 0 == 0 |
| 8752 | </Expanded> |
| 8753 | </Expression> |
| 8754 | <Info> |
| 8755 | Testing if fib[3] (3) is even |
| 8756 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8757 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8758 | <Original> |
| 8759 | ( fib[i] % 2 ) == 0 |
| 8760 | </Original> |
| 8761 | <Expanded> |
| 8762 | 1 == 0 |
| 8763 | </Expanded> |
| 8764 | </Expression> |
| 8765 | <Info> |
| 8766 | Testing if fib[4] (5) is even |
| 8767 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8768 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8769 | <Original> |
| 8770 | ( fib[i] % 2 ) == 0 |
| 8771 | </Original> |
| 8772 | <Expanded> |
| 8773 | 1 == 0 |
| 8774 | </Expanded> |
| 8775 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8776 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8777 | <Original> |
| 8778 | ( fib[i] % 2 ) == 0 |
| 8779 | </Original> |
| 8780 | <Expanded> |
| 8781 | 0 == 0 |
| 8782 | </Expanded> |
| 8783 | </Expression> |
| 8784 | <Info> |
| 8785 | Testing if fib[6] (13) is even |
| 8786 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8787 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8788 | <Original> |
| 8789 | ( fib[i] % 2 ) == 0 |
| 8790 | </Original> |
| 8791 | <Expanded> |
| 8792 | 1 == 0 |
| 8793 | </Expanded> |
| 8794 | </Expression> |
| 8795 | <Info> |
| 8796 | Testing if fib[7] (21) is even |
| 8797 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8798 | <Expression success="false" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8799 | <Original> |
| 8800 | ( fib[i] % 2 ) == 0 |
| 8801 | </Original> |
| 8802 | <Expanded> |
| 8803 | 1 == 0 |
| 8804 | </Expanded> |
| 8805 | </Expression> |
| 8806 | <OverallResult success="false"/> |
| 8807 | </TestCase> |
| 8808 | <TestCase name="more nested SECTION tests"> |
| 8809 | <Section name="s1" description="doesn't equal"> |
| 8810 | <Section name="s2" description="equal"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8811 | <Expression success="false" 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> |
| 8819 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 8820 | </Section> |
| 8821 | <OverallResults successes="0" failures="1" expectedFailures="0"/> |
| 8822 | </Section> |
| 8823 | <Section name="s1" description="doesn't equal"> |
| 8824 | <Section name="s3" description="not equal"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8825 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8826 | <Original> |
| 8827 | a != b |
| 8828 | </Original> |
| 8829 | <Expanded> |
| 8830 | 1 != 2 |
| 8831 | </Expanded> |
| 8832 | </Expression> |
| 8833 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8834 | </Section> |
| 8835 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8836 | </Section> |
| 8837 | <Section name="s1" description="doesn't equal"> |
| 8838 | <Section name="s4" description="less than"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8839 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8840 | <Original> |
| 8841 | a < b |
| 8842 | </Original> |
| 8843 | <Expanded> |
| 8844 | 1 < 2 |
| 8845 | </Expanded> |
| 8846 | </Expression> |
| 8847 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8848 | </Section> |
| 8849 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8850 | </Section> |
| 8851 | <OverallResult success="false"/> |
| 8852 | </TestCase> |
| 8853 | <TestCase name="nested SECTION tests"> |
| 8854 | <Section name="s1" description="doesn't equal"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8855 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8856 | <Original> |
| 8857 | a != b |
| 8858 | </Original> |
| 8859 | <Expanded> |
| 8860 | 1 != 2 |
| 8861 | </Expanded> |
| 8862 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8863 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8864 | <Original> |
| 8865 | b != a |
| 8866 | </Original> |
| 8867 | <Expanded> |
| 8868 | 2 != 1 |
| 8869 | </Expanded> |
| 8870 | </Expression> |
| 8871 | <Section name="s2" description="not equal"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8872 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8873 | <Original> |
| 8874 | a != b |
| 8875 | </Original> |
| 8876 | <Expanded> |
| 8877 | 1 != 2 |
| 8878 | </Expanded> |
| 8879 | </Expression> |
| 8880 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8881 | </Section> |
| 8882 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 8883 | </Section> |
| 8884 | <OverallResult success="true"/> |
| 8885 | </TestCase> |
| 8886 | <TestCase name="non streamable - with conv. op"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8887 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8888 | <Original> |
| 8889 | s == "7" |
| 8890 | </Original> |
| 8891 | <Expanded> |
| 8892 | "7" == "7" |
| 8893 | </Expanded> |
| 8894 | </Expression> |
| 8895 | <OverallResult success="true"/> |
| 8896 | </TestCase> |
| 8897 | <TestCase name="not allowed"> |
| 8898 | <OverallResult success="true"/> |
| 8899 | </TestCase> |
| 8900 | <TestCase name="null strings"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8901 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8902 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 8903 | makeString( false ) != static_cast<char*>(0) |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8904 | </Original> |
| 8905 | <Expanded> |
| 8906 | "valid string" != {null string} |
| 8907 | </Expanded> |
| 8908 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8909 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8910 | <Original> |
Phil Nash | 976a655 | 2017-01-09 14:12:12 +0000 | [diff] [blame] | 8911 | makeString( true ) == static_cast<char*>(0) |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8912 | </Original> |
| 8913 | <Expanded> |
| 8914 | {null string} == {null string} |
| 8915 | </Expanded> |
| 8916 | </Expression> |
| 8917 | <OverallResult success="true"/> |
| 8918 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8919 | <TestCase name="pair<pair<int,const char *,pair<std::string,int> > -> toString"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8920 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringPair.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8921 | <Original> |
| 8922 | Catch::toString( pair ) == "{ { 42, \"Arthur\" }, { \"Ford\", 24 } }" |
| 8923 | </Original> |
| 8924 | <Expanded> |
| 8925 | "{ { 42, "Arthur" }, { "Ford", 24 } }" |
| 8926 | == |
| 8927 | "{ { 42, "Arthur" }, { "Ford", 24 } }" |
| 8928 | </Expanded> |
| 8929 | </Expression> |
| 8930 | <OverallResult success="true"/> |
| 8931 | </TestCase> |
| 8932 | <TestCase name="pointer to class"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8933 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8934 | <Original> |
| 8935 | p == 0 |
| 8936 | </Original> |
| 8937 | <Expanded> |
| 8938 | NULL == 0 |
| 8939 | </Expanded> |
| 8940 | </Expression> |
| 8941 | <OverallResult success="true"/> |
| 8942 | </TestCase> |
| 8943 | <TestCase name="random SECTION tests"> |
| 8944 | <Section name="s1" description="doesn't equal"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8945 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8946 | <Original> |
| 8947 | a != b |
| 8948 | </Original> |
| 8949 | <Expanded> |
| 8950 | 1 != 2 |
| 8951 | </Expanded> |
| 8952 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8953 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8954 | <Original> |
| 8955 | b != a |
| 8956 | </Original> |
| 8957 | <Expanded> |
| 8958 | 2 != 1 |
| 8959 | </Expanded> |
| 8960 | </Expression> |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 8961 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 8962 | </Section> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8963 | <Section name="s2" description="not equal"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8964 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8965 | <Original> |
| 8966 | a != b |
| 8967 | </Original> |
| 8968 | <Expanded> |
| 8969 | 1 != 2 |
| 8970 | </Expanded> |
| 8971 | </Expression> |
| 8972 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 8973 | </Section> |
| 8974 | <OverallResult success="true"/> |
| 8975 | </TestCase> |
| 8976 | <TestCase name="replaceInPlace"> |
| 8977 | <Section name="replace single char"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8978 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8979 | <Original> |
| 8980 | replaceInPlace( letters, "b", "z" ) |
| 8981 | </Original> |
| 8982 | <Expanded> |
| 8983 | true |
| 8984 | </Expanded> |
| 8985 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8986 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8987 | <Original> |
| 8988 | letters == "azcdefcg" |
| 8989 | </Original> |
| 8990 | <Expanded> |
| 8991 | "azcdefcg" == "azcdefcg" |
| 8992 | </Expanded> |
| 8993 | </Expression> |
| 8994 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 8995 | </Section> |
| 8996 | <Section name="replace two chars"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 8997 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 8998 | <Original> |
| 8999 | replaceInPlace( letters, "c", "z" ) |
| 9000 | </Original> |
| 9001 | <Expanded> |
| 9002 | true |
| 9003 | </Expanded> |
| 9004 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9005 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9006 | <Original> |
| 9007 | letters == "abzdefzg" |
| 9008 | </Original> |
| 9009 | <Expanded> |
| 9010 | "abzdefzg" == "abzdefzg" |
| 9011 | </Expanded> |
| 9012 | </Expression> |
| 9013 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9014 | </Section> |
| 9015 | <Section name="replace first char"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9016 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9017 | <Original> |
| 9018 | replaceInPlace( letters, "a", "z" ) |
| 9019 | </Original> |
| 9020 | <Expanded> |
| 9021 | true |
| 9022 | </Expanded> |
| 9023 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9024 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9025 | <Original> |
| 9026 | letters == "zbcdefcg" |
| 9027 | </Original> |
| 9028 | <Expanded> |
| 9029 | "zbcdefcg" == "zbcdefcg" |
| 9030 | </Expanded> |
| 9031 | </Expression> |
| 9032 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9033 | </Section> |
| 9034 | <Section name="replace last char"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9035 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9036 | <Original> |
| 9037 | replaceInPlace( letters, "g", "z" ) |
| 9038 | </Original> |
| 9039 | <Expanded> |
| 9040 | true |
| 9041 | </Expanded> |
| 9042 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9043 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9044 | <Original> |
| 9045 | letters == "abcdefcz" |
| 9046 | </Original> |
| 9047 | <Expanded> |
| 9048 | "abcdefcz" == "abcdefcz" |
| 9049 | </Expanded> |
| 9050 | </Expression> |
| 9051 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9052 | </Section> |
| 9053 | <Section name="replace all chars"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9054 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9055 | <Original> |
| 9056 | replaceInPlace( letters, letters, "replaced" ) |
| 9057 | </Original> |
| 9058 | <Expanded> |
| 9059 | true |
| 9060 | </Expanded> |
| 9061 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9062 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9063 | <Original> |
| 9064 | letters == "replaced" |
| 9065 | </Original> |
| 9066 | <Expanded> |
| 9067 | "replaced" == "replaced" |
| 9068 | </Expanded> |
| 9069 | </Expression> |
| 9070 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9071 | </Section> |
| 9072 | <Section name="replace no chars"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9073 | <Expression success="true" type="CHECK_FALSE" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9074 | <Original> |
| 9075 | !replaceInPlace( letters, "x", "z" ) |
| 9076 | </Original> |
| 9077 | <Expanded> |
| 9078 | !false |
| 9079 | </Expanded> |
| 9080 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9081 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9082 | <Original> |
| 9083 | letters == letters |
| 9084 | </Original> |
| 9085 | <Expanded> |
| 9086 | "abcdefcg" == "abcdefcg" |
| 9087 | </Expanded> |
| 9088 | </Expression> |
| 9089 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9090 | </Section> |
| 9091 | <Section name="escape '"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9092 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9093 | <Original> |
| 9094 | replaceInPlace( s, "'", "|'" ) |
| 9095 | </Original> |
| 9096 | <Expanded> |
| 9097 | true |
| 9098 | </Expanded> |
| 9099 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9100 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/TestMain.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9101 | <Original> |
| 9102 | s == "didn|'t" |
| 9103 | </Original> |
| 9104 | <Expanded> |
| 9105 | "didn|'t" == "didn|'t" |
| 9106 | </Expanded> |
| 9107 | </Expression> |
| 9108 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9109 | </Section> |
| 9110 | <OverallResult success="true"/> |
| 9111 | </TestCase> |
| 9112 | <TestCase name="second tag"> |
| 9113 | <OverallResult success="true"/> |
| 9114 | </TestCase> |
| 9115 | <TestCase name="send a single char to INFO"> |
| 9116 | <Info> |
| 9117 | 3 |
| 9118 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9119 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9120 | <Original> |
| 9121 | false |
| 9122 | </Original> |
| 9123 | <Expanded> |
| 9124 | false |
| 9125 | </Expanded> |
| 9126 | </Expression> |
| 9127 | <OverallResult success="false"/> |
| 9128 | </TestCase> |
| 9129 | <TestCase name="sends information to INFO"> |
| 9130 | <Info> |
| 9131 | hi |
| 9132 | </Info> |
| 9133 | <Info> |
| 9134 | i := 7 |
| 9135 | </Info> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9136 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/MessageTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9137 | <Original> |
| 9138 | false |
| 9139 | </Original> |
| 9140 | <Expanded> |
| 9141 | false |
| 9142 | </Expanded> |
| 9143 | </Expression> |
| 9144 | <OverallResult success="false"/> |
| 9145 | </TestCase> |
| 9146 | <TestCase name="std::pair<int,const std::string> -> toString"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9147 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringPair.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9148 | <Original> |
| 9149 | Catch::toString(value) == "{ 34, \"xyzzy\" }" |
| 9150 | </Original> |
| 9151 | <Expanded> |
| 9152 | "{ 34, "xyzzy" }" == "{ 34, "xyzzy" }" |
| 9153 | </Expanded> |
| 9154 | </Expression> |
| 9155 | <OverallResult success="true"/> |
| 9156 | </TestCase> |
| 9157 | <TestCase name="std::pair<int,std::string> -> toString"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9158 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringPair.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9159 | <Original> |
| 9160 | Catch::toString( value ) == "{ 34, \"xyzzy\" }" |
| 9161 | </Original> |
| 9162 | <Expanded> |
| 9163 | "{ 34, "xyzzy" }" == "{ 34, "xyzzy" }" |
| 9164 | </Expanded> |
| 9165 | </Expression> |
| 9166 | <OverallResult success="true"/> |
| 9167 | </TestCase> |
| 9168 | <TestCase name="std::vector<std::pair<std::string,int> > -> toString"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9169 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringPair.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9170 | <Original> |
| 9171 | Catch::toString( pr ) == "{ { \"green\", 55 } }" |
| 9172 | </Original> |
| 9173 | <Expanded> |
| 9174 | "{ { "green", 55 } }" |
| 9175 | == |
| 9176 | "{ { "green", 55 } }" |
| 9177 | </Expanded> |
| 9178 | </Expression> |
| 9179 | <OverallResult success="true"/> |
| 9180 | </TestCase> |
| 9181 | <TestCase name="string literals of different sizes can be compared"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9182 | <Expression success="false" type="REQUIRE" filename="projects/<exe-name>/TrickyTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9183 | <Original> |
| 9184 | std::string( "first" ) == "second" |
| 9185 | </Original> |
| 9186 | <Expanded> |
| 9187 | "first" == "second" |
| 9188 | </Expanded> |
| 9189 | </Expression> |
| 9190 | <OverallResult success="false"/> |
| 9191 | </TestCase> |
| 9192 | <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] | 9193 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9194 | <Original> |
| 9195 | result == "\"wide load\"" |
| 9196 | </Original> |
| 9197 | <Expanded> |
| 9198 | ""wide load"" == ""wide load"" |
| 9199 | </Expanded> |
| 9200 | </Expression> |
| 9201 | <OverallResult success="true"/> |
| 9202 | </TestCase> |
| 9203 | <TestCase name="toString on const wchar_t pointer returns the string contents"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9204 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9205 | <Original> |
| 9206 | result == "\"wide load\"" |
| 9207 | </Original> |
| 9208 | <Expanded> |
| 9209 | ""wide load"" == ""wide load"" |
| 9210 | </Expanded> |
| 9211 | </Expression> |
| 9212 | <OverallResult success="true"/> |
| 9213 | </TestCase> |
| 9214 | <TestCase name="toString on wchar_t const pointer returns the string contents"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9215 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9216 | <Original> |
| 9217 | result == "\"wide load\"" |
| 9218 | </Original> |
| 9219 | <Expanded> |
| 9220 | ""wide load"" == ""wide load"" |
| 9221 | </Expanded> |
| 9222 | </Expression> |
| 9223 | <OverallResult success="true"/> |
| 9224 | </TestCase> |
| 9225 | <TestCase name="toString on wchar_t returns the string contents"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9226 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9227 | <Original> |
| 9228 | result == "\"wide load\"" |
| 9229 | </Original> |
| 9230 | <Expanded> |
| 9231 | ""wide load"" == ""wide load"" |
| 9232 | </Expanded> |
| 9233 | </Expression> |
| 9234 | <OverallResult success="true"/> |
| 9235 | </TestCase> |
| 9236 | <TestCase name="toString( has_maker )"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9237 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringWhich.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9238 | <Original> |
| 9239 | Catch::toString( item ) == "StringMaker<has_maker>" |
| 9240 | </Original> |
| 9241 | <Expanded> |
| 9242 | "StringMaker<has_maker>" |
| 9243 | == |
| 9244 | "StringMaker<has_maker>" |
| 9245 | </Expanded> |
| 9246 | </Expression> |
| 9247 | <OverallResult success="true"/> |
| 9248 | </TestCase> |
| 9249 | <TestCase name="toString( has_maker_and_toString )"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9250 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringWhich.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9251 | <Original> |
| 9252 | Catch::toString( item ) == "toString( has_maker_and_toString )" |
| 9253 | </Original> |
| 9254 | <Expanded> |
| 9255 | "toString( has_maker_and_toString )" |
| 9256 | == |
| 9257 | "toString( has_maker_and_toString )" |
| 9258 | </Expanded> |
| 9259 | </Expression> |
| 9260 | <OverallResult success="true"/> |
| 9261 | </TestCase> |
| 9262 | <TestCase name="toString( has_toString )"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9263 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringWhich.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9264 | <Original> |
| 9265 | Catch::toString( item ) == "toString( has_toString )" |
| 9266 | </Original> |
| 9267 | <Expanded> |
| 9268 | "toString( has_toString )" |
| 9269 | == |
| 9270 | "toString( has_toString )" |
| 9271 | </Expanded> |
| 9272 | </Expression> |
| 9273 | <OverallResult success="true"/> |
| 9274 | </TestCase> |
| 9275 | <TestCase name="toString( vectors<has_maker )"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9276 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringWhich.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9277 | <Original> |
| 9278 | Catch::toString( v ) == "{ StringMaker<has_maker> }" |
| 9279 | </Original> |
| 9280 | <Expanded> |
| 9281 | "{ StringMaker<has_maker> }" |
| 9282 | == |
| 9283 | "{ StringMaker<has_maker> }" |
| 9284 | </Expanded> |
| 9285 | </Expression> |
| 9286 | <OverallResult success="true"/> |
| 9287 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9288 | <TestCase name="toString(enum w/operator<<)"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9289 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/EnumToString.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9290 | <Original> |
| 9291 | Catch::toString(e0) == "E2{0}" |
| 9292 | </Original> |
| 9293 | <Expanded> |
| 9294 | "E2{0}" == "E2{0}" |
| 9295 | </Expanded> |
| 9296 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9297 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/EnumToString.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9298 | <Original> |
| 9299 | Catch::toString(e1) == "E2{1}" |
| 9300 | </Original> |
| 9301 | <Expanded> |
| 9302 | "E2{1}" == "E2{1}" |
| 9303 | </Expanded> |
| 9304 | </Expression> |
| 9305 | <OverallResult success="true"/> |
| 9306 | </TestCase> |
| 9307 | <TestCase name="toString(enum)"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9308 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/EnumToString.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9309 | <Original> |
| 9310 | Catch::toString(e0) == "0" |
| 9311 | </Original> |
| 9312 | <Expanded> |
| 9313 | "0" == "0" |
| 9314 | </Expanded> |
| 9315 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9316 | <Expression success="true" type="CHECK" filename="projects/<exe-name>/EnumToString.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9317 | <Original> |
| 9318 | Catch::toString(e1) == "1" |
| 9319 | </Original> |
| 9320 | <Expanded> |
| 9321 | "1" == "1" |
| 9322 | </Expanded> |
| 9323 | </Expression> |
| 9324 | <OverallResult success="true"/> |
| 9325 | </TestCase> |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9326 | <TestCase name="vector<int> -> toString"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9327 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9328 | <Original> |
| 9329 | Catch::toString(vv) == "{ }" |
| 9330 | </Original> |
| 9331 | <Expanded> |
| 9332 | "{ }" == "{ }" |
| 9333 | </Expanded> |
| 9334 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9335 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9336 | <Original> |
| 9337 | Catch::toString(vv) == "{ 42 }" |
| 9338 | </Original> |
| 9339 | <Expanded> |
| 9340 | "{ 42 }" == "{ 42 }" |
| 9341 | </Expanded> |
| 9342 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9343 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9344 | <Original> |
| 9345 | Catch::toString(vv) == "{ 42, 250 }" |
| 9346 | </Original> |
| 9347 | <Expanded> |
| 9348 | "{ 42, 250 }" == "{ 42, 250 }" |
| 9349 | </Expanded> |
| 9350 | </Expression> |
| 9351 | <OverallResult success="true"/> |
| 9352 | </TestCase> |
| 9353 | <TestCase name="vector<string> -> toString"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9354 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9355 | <Original> |
| 9356 | Catch::toString(vv) == "{ }" |
| 9357 | </Original> |
| 9358 | <Expanded> |
| 9359 | "{ }" == "{ }" |
| 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>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9363 | <Original> |
| 9364 | Catch::toString(vv) == "{ \"hello\" }" |
| 9365 | </Original> |
| 9366 | <Expanded> |
| 9367 | "{ "hello" }" == "{ "hello" }" |
| 9368 | </Expanded> |
| 9369 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9370 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ToStringVector.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9371 | <Original> |
| 9372 | Catch::toString(vv) == "{ \"hello\", \"world\" }" |
| 9373 | </Original> |
| 9374 | <Expanded> |
| 9375 | "{ "hello", "world" }" |
| 9376 | == |
| 9377 | "{ "hello", "world" }" |
| 9378 | </Expanded> |
| 9379 | </Expression> |
| 9380 | <OverallResult success="true"/> |
| 9381 | </TestCase> |
| 9382 | <TestCase name="vectors can be sized and resized"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9383 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9384 | <Original> |
| 9385 | v.size() == 5 |
| 9386 | </Original> |
| 9387 | <Expanded> |
| 9388 | 5 == 5 |
| 9389 | </Expanded> |
| 9390 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9391 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9392 | <Original> |
| 9393 | v.capacity() >= 5 |
| 9394 | </Original> |
| 9395 | <Expanded> |
| 9396 | 5 >= 5 |
| 9397 | </Expanded> |
| 9398 | </Expression> |
| 9399 | <Section name="resizing bigger changes size and capacity"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9400 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9401 | <Original> |
| 9402 | v.size() == 10 |
| 9403 | </Original> |
| 9404 | <Expanded> |
| 9405 | 10 == 10 |
| 9406 | </Expanded> |
| 9407 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9408 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9409 | <Original> |
| 9410 | v.capacity() >= 10 |
| 9411 | </Original> |
| 9412 | <Expanded> |
| 9413 | 10 >= 10 |
| 9414 | </Expanded> |
| 9415 | </Expression> |
| 9416 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9417 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9418 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9419 | <Original> |
| 9420 | v.size() == 5 |
| 9421 | </Original> |
| 9422 | <Expanded> |
| 9423 | 5 == 5 |
| 9424 | </Expanded> |
| 9425 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9426 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9427 | <Original> |
| 9428 | v.capacity() >= 5 |
| 9429 | </Original> |
| 9430 | <Expanded> |
| 9431 | 5 >= 5 |
| 9432 | </Expanded> |
| 9433 | </Expression> |
| 9434 | <Section name="resizing smaller changes size but not capacity"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9435 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9436 | <Original> |
| 9437 | v.size() == 0 |
| 9438 | </Original> |
| 9439 | <Expanded> |
| 9440 | 0 == 0 |
| 9441 | </Expanded> |
| 9442 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9443 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9444 | <Original> |
| 9445 | v.capacity() >= 5 |
| 9446 | </Original> |
| 9447 | <Expanded> |
| 9448 | 5 >= 5 |
| 9449 | </Expanded> |
| 9450 | </Expression> |
| 9451 | <Section name="We can use the 'swap trick' to reset the capacity"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9452 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9453 | <Original> |
| 9454 | v.capacity() == 0 |
| 9455 | </Original> |
| 9456 | <Expanded> |
| 9457 | 0 == 0 |
| 9458 | </Expanded> |
| 9459 | </Expression> |
| 9460 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9461 | </Section> |
| 9462 | <OverallResults successes="3" failures="0" expectedFailures="0"/> |
| 9463 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9464 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9465 | <Original> |
| 9466 | v.size() == 5 |
| 9467 | </Original> |
| 9468 | <Expanded> |
| 9469 | 5 == 5 |
| 9470 | </Expanded> |
| 9471 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9472 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9473 | <Original> |
| 9474 | v.capacity() >= 5 |
| 9475 | </Original> |
| 9476 | <Expanded> |
| 9477 | 5 >= 5 |
| 9478 | </Expanded> |
| 9479 | </Expression> |
| 9480 | <Section name="reserving bigger changes capacity but not size"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9481 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9482 | <Original> |
| 9483 | v.size() == 5 |
| 9484 | </Original> |
| 9485 | <Expanded> |
| 9486 | 5 == 5 |
| 9487 | </Expanded> |
| 9488 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9489 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9490 | <Original> |
| 9491 | v.capacity() >= 10 |
| 9492 | </Original> |
| 9493 | <Expanded> |
| 9494 | 10 >= 10 |
| 9495 | </Expanded> |
| 9496 | </Expression> |
| 9497 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9498 | </Section> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9499 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9500 | <Original> |
| 9501 | v.size() == 5 |
| 9502 | </Original> |
| 9503 | <Expanded> |
| 9504 | 5 == 5 |
| 9505 | </Expanded> |
| 9506 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9507 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9508 | <Original> |
| 9509 | v.capacity() >= 5 |
| 9510 | </Original> |
| 9511 | <Expanded> |
| 9512 | 5 >= 5 |
| 9513 | </Expanded> |
| 9514 | </Expression> |
| 9515 | <Section name="reserving smaller does not change size or capacity"> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9516 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9517 | <Original> |
| 9518 | v.size() == 5 |
| 9519 | </Original> |
| 9520 | <Expanded> |
| 9521 | 5 == 5 |
| 9522 | </Expanded> |
| 9523 | </Expression> |
Phil Nash | 62cbde3 | 2017-01-09 14:33:03 +0000 | [diff] [blame] | 9524 | <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > |
Phil Nash | 79acc05 | 2016-11-29 11:32:16 +0000 | [diff] [blame] | 9525 | <Original> |
| 9526 | v.capacity() >= 5 |
| 9527 | </Original> |
| 9528 | <Expanded> |
| 9529 | 5 >= 5 |
| 9530 | </Expanded> |
| 9531 | </Expression> |
| 9532 | <OverallResults successes="2" failures="0" expectedFailures="0"/> |
| 9533 | </Section> |
| 9534 | <OverallResult success="true"/> |
| 9535 | </TestCase> |
| 9536 | <TestCase name="xmlentitycheck"> |
| 9537 | <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>"> |
| 9538 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9539 | </Section> |
| 9540 | <Section name="encoded chars" description="these should all be encoded: &&&"""<<<&"<<&""> |
| 9541 | <OverallResults successes="1" failures="0" expectedFailures="0"/> |
| 9542 | </Section> |
Phil Nash | 8b5a4e9 | 2014-08-20 08:08:13 +0100 | [diff] [blame] | 9543 | <OverallResult success="true"/> |
| 9544 | </TestCase> |
Phil Nash | a189387 | 2017-02-06 16:00:05 +0000 | [diff] [blame] | 9545 | <OverallResults successes="819" failures="81" expectedFailures="18"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 9546 | </Group> |
Phil Nash | a189387 | 2017-02-06 16:00:05 +0000 | [diff] [blame] | 9547 | <OverallResults successes="819" failures="80" expectedFailures="18"/> |
Phil Nash | 2f7a296 | 2013-09-27 19:01:14 +0100 | [diff] [blame] | 9548 | </Catch> |