mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01:00 
			
		
		
		
	approved changes relating to no-return functions
This commit is contained in:
		| @@ -1023,37 +1023,37 @@ with expansion: | |||||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||||||
| ./succeeding/exceptions/explicit | ./succeeding/exceptions/explicit | ||||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||||||
| ExceptionTests.cpp:33 | ExceptionTests.cpp:31 | ||||||
| ............................................................................... | ............................................................................... | ||||||
|  |  | ||||||
| ExceptionTests.cpp:35: | ExceptionTests.cpp:33: | ||||||
| PASSED: | PASSED: | ||||||
|   REQUIRE_THROWS_AS( thisThrows() ) |   REQUIRE_THROWS_AS( thisThrows() ) | ||||||
|  |  | ||||||
| ExceptionTests.cpp:36: | ExceptionTests.cpp:34: | ||||||
| PASSED: | PASSED: | ||||||
|   REQUIRE_NOTHROW( thisDoesntThrow() ) |   REQUIRE_NOTHROW( thisDoesntThrow() ) | ||||||
|  |  | ||||||
| ExceptionTests.cpp:37: | ExceptionTests.cpp:35: | ||||||
| PASSED: | PASSED: | ||||||
|   REQUIRE_THROWS( thisThrows() ) |   REQUIRE_THROWS( thisThrows() ) | ||||||
|  |  | ||||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||||||
| ./failing/exceptions/explicit | ./failing/exceptions/explicit | ||||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||||||
| ExceptionTests.cpp:41 | ExceptionTests.cpp:38 | ||||||
| ............................................................................... | ............................................................................... | ||||||
|  |  | ||||||
| ExceptionTests.cpp:43: FAILED: | ExceptionTests.cpp:40: FAILED: | ||||||
|   CHECK_THROWS_AS( thisThrows() ) |   CHECK_THROWS_AS( thisThrows() ) | ||||||
| due to unexpected exception with message: | due to unexpected exception with message: | ||||||
|   expected exception |   expected exception | ||||||
|  |  | ||||||
| ExceptionTests.cpp:44: FAILED: | ExceptionTests.cpp:41: FAILED: | ||||||
|   CHECK_THROWS_AS( thisDoesntThrow() ) |   CHECK_THROWS_AS( thisDoesntThrow() ) | ||||||
| because no exception was thrown where one was expected: | because no exception was thrown where one was expected: | ||||||
|  |  | ||||||
| ExceptionTests.cpp:45: FAILED: | ExceptionTests.cpp:42: FAILED: | ||||||
|   CHECK_NOTHROW( thisThrows() ) |   CHECK_NOTHROW( thisThrows() ) | ||||||
| due to unexpected exception with message: | due to unexpected exception with message: | ||||||
|   expected exception |   expected exception | ||||||
| @@ -1061,24 +1061,24 @@ due to unexpected exception with message: | |||||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||||||
| ./failing/exceptions/implicit | ./failing/exceptions/implicit | ||||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||||||
| ExceptionTests.cpp:48 | ExceptionTests.cpp:45 | ||||||
| ............................................................................... | ............................................................................... | ||||||
|  |  | ||||||
| ExceptionTests.cpp:48: FAILED: | ExceptionTests.cpp:45: FAILED: | ||||||
| due to unexpected exception with message: | due to unexpected exception with message: | ||||||
|   unexpected exception |   unexpected exception | ||||||
|  |  | ||||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||||||
| ./failing/exceptions/implicit/2 | ./failing/exceptions/implicit/2 | ||||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||||||
| ExceptionTests.cpp:54 | ExceptionTests.cpp:51 | ||||||
| ............................................................................... | ............................................................................... | ||||||
|  |  | ||||||
| ExceptionTests.cpp:56: | ExceptionTests.cpp:53: | ||||||
| PASSED: | PASSED: | ||||||
|   CHECK( 1 == 1 ) |   CHECK( 1 == 1 ) | ||||||
|  |  | ||||||
| ExceptionTests.cpp:56: FAILED: | ExceptionTests.cpp:53: FAILED: | ||||||
|   {Unknown expression after the reported line} |   {Unknown expression after the reported line} | ||||||
| due to unexpected exception with message: | due to unexpected exception with message: | ||||||
|   unexpected exception |   unexpected exception | ||||||
| @@ -1087,20 +1087,20 @@ due to unexpected exception with message: | |||||||
| ./failing/exceptions/implicit/3 | ./failing/exceptions/implicit/3 | ||||||
|   section name |   section name | ||||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||||||
| ExceptionTests.cpp:62 | ExceptionTests.cpp:59 | ||||||
| ............................................................................... | ............................................................................... | ||||||
|  |  | ||||||
| ExceptionTests.cpp:62: FAILED: | ExceptionTests.cpp:59: FAILED: | ||||||
| due to unexpected exception with message: | due to unexpected exception with message: | ||||||
|   unexpected exception |   unexpected exception | ||||||
|  |  | ||||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||||||
| ./failing/exceptions/implicit/4 | ./failing/exceptions/implicit/4 | ||||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||||||
| ExceptionTests.cpp:69 | ExceptionTests.cpp:66 | ||||||
| ............................................................................... | ............................................................................... | ||||||
|  |  | ||||||
| ExceptionTests.cpp:71: FAILED: | ExceptionTests.cpp:68: FAILED: | ||||||
|   CHECK( thisThrows() == 0 ) |   CHECK( thisThrows() == 0 ) | ||||||
| due to unexpected exception with message: | due to unexpected exception with message: | ||||||
|   expected exception |   expected exception | ||||||
| @@ -1108,7 +1108,7 @@ due to unexpected exception with message: | |||||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||||||
| ./succeeding/exceptions/implicit | ./succeeding/exceptions/implicit | ||||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||||||
| ExceptionTests.cpp:75 | ExceptionTests.cpp:71 | ||||||
| ............................................................................... | ............................................................................... | ||||||
|  |  | ||||||
|  |  | ||||||
| @@ -1117,42 +1117,42 @@ No assertions in test case, './succeeding/exceptions/implicit' | |||||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||||||
| ./failing/exceptions/custom | ./failing/exceptions/custom | ||||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||||||
| ExceptionTests.cpp:112 | ExceptionTests.cpp:108 | ||||||
| ............................................................................... | ............................................................................... | ||||||
|  |  | ||||||
| ExceptionTests.cpp:112: FAILED: | ExceptionTests.cpp:108: FAILED: | ||||||
| due to unexpected exception with message: | due to unexpected exception with message: | ||||||
|   custom exception |   custom exception | ||||||
|  |  | ||||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||||||
| ./failing/exceptions/custom/nothrow | ./failing/exceptions/custom/nothrow | ||||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||||||
| ExceptionTests.cpp:120 | ExceptionTests.cpp:119 | ||||||
| ............................................................................... | ............................................................................... | ||||||
|  |  | ||||||
| ExceptionTests.cpp:122: FAILED: | ExceptionTests.cpp:121: FAILED: | ||||||
|   REQUIRE_NOTHROW( throw CustomException( "unexpected custom exception" ) ) |   REQUIRE_NOTHROW( throwCustom() ) | ||||||
| due to unexpected exception with message: | due to unexpected exception with message: | ||||||
|   unexpected custom exception |   custom exception - not std | ||||||
|  |  | ||||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||||||
| ./failing/exceptions/custom/throw | ./failing/exceptions/custom/throw | ||||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||||||
| ExceptionTests.cpp:125 | ExceptionTests.cpp:124 | ||||||
| ............................................................................... | ............................................................................... | ||||||
|  |  | ||||||
| ExceptionTests.cpp:127: FAILED: | ExceptionTests.cpp:126: FAILED: | ||||||
|   REQUIRE_THROWS_AS( throw CustomException( "custom exception - not std" ) ) |   REQUIRE_THROWS_AS( throwCustom() ) | ||||||
| due to unexpected exception with message: | due to unexpected exception with message: | ||||||
|   custom exception - not std |   custom exception - not std | ||||||
|  |  | ||||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||||||
| ./failing/exceptions/custom/double | ./failing/exceptions/custom/double | ||||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||||||
| ExceptionTests.cpp:131 | ExceptionTests.cpp:130 | ||||||
| ............................................................................... | ............................................................................... | ||||||
|  |  | ||||||
| ExceptionTests.cpp:131: FAILED: | ExceptionTests.cpp:130: FAILED: | ||||||
| due to unexpected exception with message: | due to unexpected exception with message: | ||||||
|   3.14 |   3.14 | ||||||
|  |  | ||||||
| @@ -6040,54 +6040,54 @@ ConditionTests.cpp:346 | |||||||
|     <testcase classname="global" name="./succeeding/exceptions/explicit" time="tbd"/> |     <testcase classname="global" name="./succeeding/exceptions/explicit" time="tbd"/> | ||||||
|     <testcase classname="global" name="./failing/exceptions/explicit" time="tbd"> |     <testcase classname="global" name="./failing/exceptions/explicit" time="tbd"> | ||||||
|       <error message="thisThrows()" type="CHECK_THROWS_AS"> |       <error message="thisThrows()" type="CHECK_THROWS_AS"> | ||||||
| ExceptionTests.cpp:43 | ExceptionTests.cpp:40 | ||||||
|       </error> |       </error> | ||||||
|       <failure message="thisDoesntThrow()" type="CHECK_THROWS_AS"> |       <failure message="thisDoesntThrow()" type="CHECK_THROWS_AS"> | ||||||
| ExceptionTests.cpp:44 | ExceptionTests.cpp:41 | ||||||
|       </failure> |       </failure> | ||||||
|       <error message="thisThrows()" type="CHECK_NOTHROW"> |       <error message="thisThrows()" type="CHECK_NOTHROW"> | ||||||
| ExceptionTests.cpp:45 | ExceptionTests.cpp:42 | ||||||
|       </error> |       </error> | ||||||
|     </testcase> |     </testcase> | ||||||
|     <testcase classname="global" name="./failing/exceptions/implicit" time="tbd"> |     <testcase classname="global" name="./failing/exceptions/implicit" time="tbd"> | ||||||
|       <error type="TEST_CASE"> |       <error type="TEST_CASE"> | ||||||
| ExceptionTests.cpp:48 | ExceptionTests.cpp:45 | ||||||
|       </error> |       </error> | ||||||
|     </testcase> |     </testcase> | ||||||
|     <testcase classname="global" name="./failing/exceptions/implicit/2" time="tbd"> |     <testcase classname="global" name="./failing/exceptions/implicit/2" time="tbd"> | ||||||
|       <error message="{Unknown expression after the reported line}"> |       <error message="{Unknown expression after the reported line}"> | ||||||
| ExceptionTests.cpp:56 | ExceptionTests.cpp:53 | ||||||
|       </error> |       </error> | ||||||
|     </testcase> |     </testcase> | ||||||
|     <testcase classname="global" name="./failing/exceptions/implicit/3" time="tbd"> |     <testcase classname="global" name="./failing/exceptions/implicit/3" time="tbd"> | ||||||
|       <error type="TEST_CASE"> |       <error type="TEST_CASE"> | ||||||
| ExceptionTests.cpp:62 | ExceptionTests.cpp:59 | ||||||
|       </error> |       </error> | ||||||
|     </testcase> |     </testcase> | ||||||
|     <testcase classname="global" name="./failing/exceptions/implicit/4" time="tbd"> |     <testcase classname="global" name="./failing/exceptions/implicit/4" time="tbd"> | ||||||
|       <error message="thisThrows() == 0" type="CHECK"> |       <error message="thisThrows() == 0" type="CHECK"> | ||||||
| ExceptionTests.cpp:71 | ExceptionTests.cpp:68 | ||||||
|       </error> |       </error> | ||||||
|     </testcase> |     </testcase> | ||||||
|     <testcase classname="global" name="./succeeding/exceptions/implicit" time="tbd"/> |     <testcase classname="global" name="./succeeding/exceptions/implicit" time="tbd"/> | ||||||
|     <testcase classname="global" name="./failing/exceptions/custom" time="tbd"> |     <testcase classname="global" name="./failing/exceptions/custom" time="tbd"> | ||||||
|       <error type="TEST_CASE"> |       <error type="TEST_CASE"> | ||||||
| ExceptionTests.cpp:112 | ExceptionTests.cpp:108 | ||||||
|       </error> |       </error> | ||||||
|     </testcase> |     </testcase> | ||||||
|     <testcase classname="global" name="./failing/exceptions/custom/nothrow" time="tbd"> |     <testcase classname="global" name="./failing/exceptions/custom/nothrow" time="tbd"> | ||||||
|       <error message="throw CustomException( "unexpected custom exception" )" type="REQUIRE_NOTHROW"> |       <error message="throwCustom()" type="REQUIRE_NOTHROW"> | ||||||
| ExceptionTests.cpp:122 | ExceptionTests.cpp:121 | ||||||
|       </error> |       </error> | ||||||
|     </testcase> |     </testcase> | ||||||
|     <testcase classname="global" name="./failing/exceptions/custom/throw" time="tbd"> |     <testcase classname="global" name="./failing/exceptions/custom/throw" time="tbd"> | ||||||
|       <error message="throw CustomException( "custom exception - not std" )" type="REQUIRE_THROWS_AS"> |       <error message="throwCustom()" type="REQUIRE_THROWS_AS"> | ||||||
| ExceptionTests.cpp:127 | ExceptionTests.cpp:126 | ||||||
|       </error> |       </error> | ||||||
|     </testcase> |     </testcase> | ||||||
|     <testcase classname="global" name="./failing/exceptions/custom/double" time="tbd"> |     <testcase classname="global" name="./failing/exceptions/custom/double" time="tbd"> | ||||||
|       <error type="TEST_CASE"> |       <error type="TEST_CASE"> | ||||||
| ExceptionTests.cpp:131 | ExceptionTests.cpp:130 | ||||||
|       </error> |       </error> | ||||||
|     </testcase> |     </testcase> | ||||||
|     <testcase classname="global" name="./succeeding/exceptions/notimplemented" time="tbd"/> |     <testcase classname="global" name="./succeeding/exceptions/notimplemented" time="tbd"/> | ||||||
| @@ -7713,6 +7713,22 @@ ConditionTests.cpp" line="346"> | |||||||
|       <OverallResult success="false"/> |       <OverallResult success="false"/> | ||||||
|     </TestCase> |     </TestCase> | ||||||
|     <TestCase name="./succeeding/exceptions/explicit"> |     <TestCase name="./succeeding/exceptions/explicit"> | ||||||
|  | ExceptionTests.cpp" line="33"> | ||||||
|  |         <Original> | ||||||
|  |           thisThrows() | ||||||
|  |         </Original> | ||||||
|  |         <Expanded> | ||||||
|  |           thisThrows() | ||||||
|  |         </Expanded> | ||||||
|  |       </Expression> | ||||||
|  | ExceptionTests.cpp" line="34"> | ||||||
|  |         <Original> | ||||||
|  |           thisDoesntThrow() | ||||||
|  |         </Original> | ||||||
|  |         <Expanded> | ||||||
|  |           thisDoesntThrow() | ||||||
|  |         </Expanded> | ||||||
|  |       </Expression> | ||||||
| ExceptionTests.cpp" line="35"> | ExceptionTests.cpp" line="35"> | ||||||
|         <Original> |         <Original> | ||||||
|           thisThrows() |           thisThrows() | ||||||
| @@ -7721,37 +7737,21 @@ ExceptionTests.cpp" line="35"> | |||||||
|           thisThrows() |           thisThrows() | ||||||
|         </Expanded> |         </Expanded> | ||||||
|       </Expression> |       </Expression> | ||||||
| ExceptionTests.cpp" line="36"> |  | ||||||
|         <Original> |  | ||||||
|           thisDoesntThrow() |  | ||||||
|         </Original> |  | ||||||
|         <Expanded> |  | ||||||
|           thisDoesntThrow() |  | ||||||
|         </Expanded> |  | ||||||
|       </Expression> |  | ||||||
| ExceptionTests.cpp" line="37"> |  | ||||||
|         <Original> |  | ||||||
|           thisThrows() |  | ||||||
|         </Original> |  | ||||||
|         <Expanded> |  | ||||||
|           thisThrows() |  | ||||||
|         </Expanded> |  | ||||||
|       </Expression> |  | ||||||
|       <OverallResult success="true"/> |       <OverallResult success="true"/> | ||||||
|     </TestCase> |     </TestCase> | ||||||
|     <TestCase name="./failing/exceptions/explicit"> |     <TestCase name="./failing/exceptions/explicit"> | ||||||
| ExceptionTests.cpp" line="43"> | ExceptionTests.cpp" line="40"> | ||||||
|         <Original> |         <Original> | ||||||
|           thisThrows() |           thisThrows() | ||||||
|         </Original> |         </Original> | ||||||
|         <Expanded> |         <Expanded> | ||||||
|           thisThrows() |           thisThrows() | ||||||
|         </Expanded> |         </Expanded> | ||||||
| ExceptionTests.cpp" line="43"> | ExceptionTests.cpp" line="40"> | ||||||
|           expected exception |           expected exception | ||||||
|         </Exception> |         </Exception> | ||||||
|       </Expression> |       </Expression> | ||||||
| ExceptionTests.cpp" line="44"> | ExceptionTests.cpp" line="41"> | ||||||
|         <Original> |         <Original> | ||||||
|           thisDoesntThrow() |           thisDoesntThrow() | ||||||
|         </Original> |         </Original> | ||||||
| @@ -7759,27 +7759,27 @@ ExceptionTests.cpp" line="44"> | |||||||
|           thisDoesntThrow() |           thisDoesntThrow() | ||||||
|         </Expanded> |         </Expanded> | ||||||
|       </Expression> |       </Expression> | ||||||
| ExceptionTests.cpp" line="45"> | ExceptionTests.cpp" line="42"> | ||||||
|         <Original> |         <Original> | ||||||
|           thisThrows() |           thisThrows() | ||||||
|         </Original> |         </Original> | ||||||
|         <Expanded> |         <Expanded> | ||||||
|           thisThrows() |           thisThrows() | ||||||
|         </Expanded> |         </Expanded> | ||||||
| ExceptionTests.cpp" line="45"> | ExceptionTests.cpp" line="42"> | ||||||
|           expected exception |           expected exception | ||||||
|         </Exception> |         </Exception> | ||||||
|       </Expression> |       </Expression> | ||||||
|       <OverallResult success="false"/> |       <OverallResult success="false"/> | ||||||
|     </TestCase> |     </TestCase> | ||||||
|     <TestCase name="./failing/exceptions/implicit"> |     <TestCase name="./failing/exceptions/implicit"> | ||||||
| ExceptionTests.cpp" line="48"> | ExceptionTests.cpp" line="45"> | ||||||
|         unexpected exception |         unexpected exception | ||||||
|       </Exception> |       </Exception> | ||||||
|       <OverallResult success="false"/> |       <OverallResult success="false"/> | ||||||
|     </TestCase> |     </TestCase> | ||||||
|     <TestCase name="./failing/exceptions/implicit/2"> |     <TestCase name="./failing/exceptions/implicit/2"> | ||||||
| ExceptionTests.cpp" line="56"> | ExceptionTests.cpp" line="53"> | ||||||
|         <Original> |         <Original> | ||||||
|           1 == 1 |           1 == 1 | ||||||
|         </Original> |         </Original> | ||||||
| @@ -7787,14 +7787,14 @@ ExceptionTests.cpp" line="56"> | |||||||
|           1 == 1 |           1 == 1 | ||||||
|         </Expanded> |         </Expanded> | ||||||
|       </Expression> |       </Expression> | ||||||
| ExceptionTests.cpp" line="56"> | ExceptionTests.cpp" line="53"> | ||||||
|         <Original> |         <Original> | ||||||
|           {Unknown expression after the reported line} |           {Unknown expression after the reported line} | ||||||
|         </Original> |         </Original> | ||||||
|         <Expanded> |         <Expanded> | ||||||
|           {Unknown expression after the reported line} |           {Unknown expression after the reported line} | ||||||
|         </Expanded> |         </Expanded> | ||||||
| ExceptionTests.cpp" line="56"> | ExceptionTests.cpp" line="53"> | ||||||
|           unexpected exception |           unexpected exception | ||||||
|         </Exception> |         </Exception> | ||||||
|       </Expression> |       </Expression> | ||||||
| @@ -7802,7 +7802,7 @@ ExceptionTests.cpp" line="56"> | |||||||
|     </TestCase> |     </TestCase> | ||||||
|     <TestCase name="./failing/exceptions/implicit/3"> |     <TestCase name="./failing/exceptions/implicit/3"> | ||||||
|       <Section name="section name"> |       <Section name="section name"> | ||||||
| ExceptionTests.cpp" line="62"> | ExceptionTests.cpp" line="59"> | ||||||
|           unexpected exception |           unexpected exception | ||||||
|         </Exception> |         </Exception> | ||||||
|         <OverallResults successes="0" failures="1"/> |         <OverallResults successes="0" failures="1"/> | ||||||
| @@ -7810,14 +7810,14 @@ ExceptionTests.cpp" line="62"> | |||||||
|       <OverallResult success="false"/> |       <OverallResult success="false"/> | ||||||
|     </TestCase> |     </TestCase> | ||||||
|     <TestCase name="./failing/exceptions/implicit/4"> |     <TestCase name="./failing/exceptions/implicit/4"> | ||||||
| ExceptionTests.cpp" line="71"> | ExceptionTests.cpp" line="68"> | ||||||
|         <Original> |         <Original> | ||||||
|           thisThrows() == 0 |           thisThrows() == 0 | ||||||
|         </Original> |         </Original> | ||||||
|         <Expanded> |         <Expanded> | ||||||
|           thisThrows() == 0 |           thisThrows() == 0 | ||||||
|         </Expanded> |         </Expanded> | ||||||
| ExceptionTests.cpp" line="71"> | ExceptionTests.cpp" line="68"> | ||||||
|           expected exception |           expected exception | ||||||
|         </Exception> |         </Exception> | ||||||
|       </Expression> |       </Expression> | ||||||
| @@ -7827,41 +7827,41 @@ ExceptionTests.cpp" line="71"> | |||||||
|       <OverallResult success="true"/> |       <OverallResult success="true"/> | ||||||
|     </TestCase> |     </TestCase> | ||||||
|     <TestCase name="./failing/exceptions/custom"> |     <TestCase name="./failing/exceptions/custom"> | ||||||
| ExceptionTests.cpp" line="112"> | ExceptionTests.cpp" line="108"> | ||||||
|         custom exception |         custom exception | ||||||
|       </Exception> |       </Exception> | ||||||
|       <OverallResult success="false"/> |       <OverallResult success="false"/> | ||||||
|     </TestCase> |     </TestCase> | ||||||
|     <TestCase name="./failing/exceptions/custom/nothrow"> |     <TestCase name="./failing/exceptions/custom/nothrow"> | ||||||
| ExceptionTests.cpp" line="122"> | ExceptionTests.cpp" line="121"> | ||||||
|         <Original> |         <Original> | ||||||
|           throw CustomException( "unexpected custom exception" ) |           throwCustom() | ||||||
|         </Original> |         </Original> | ||||||
|         <Expanded> |         <Expanded> | ||||||
|           throw CustomException( "unexpected custom exception" ) |           throwCustom() | ||||||
|         </Expanded> |         </Expanded> | ||||||
| ExceptionTests.cpp" line="122"> | ExceptionTests.cpp" line="121"> | ||||||
|           unexpected custom exception |           custom exception - not std | ||||||
|         </Exception> |         </Exception> | ||||||
|       </Expression> |       </Expression> | ||||||
|       <OverallResult success="false"/> |       <OverallResult success="false"/> | ||||||
|     </TestCase> |     </TestCase> | ||||||
|     <TestCase name="./failing/exceptions/custom/throw"> |     <TestCase name="./failing/exceptions/custom/throw"> | ||||||
| ExceptionTests.cpp" line="127"> | ExceptionTests.cpp" line="126"> | ||||||
|         <Original> |         <Original> | ||||||
|           throw CustomException( "custom exception - not std" ) |           throwCustom() | ||||||
|         </Original> |         </Original> | ||||||
|         <Expanded> |         <Expanded> | ||||||
|           throw CustomException( "custom exception - not std" ) |           throwCustom() | ||||||
|         </Expanded> |         </Expanded> | ||||||
| ExceptionTests.cpp" line="127"> | ExceptionTests.cpp" line="126"> | ||||||
|           custom exception - not std |           custom exception - not std | ||||||
|         </Exception> |         </Exception> | ||||||
|       </Expression> |       </Expression> | ||||||
|       <OverallResult success="false"/> |       <OverallResult success="false"/> | ||||||
|     </TestCase> |     </TestCase> | ||||||
|     <TestCase name="./failing/exceptions/custom/double"> |     <TestCase name="./failing/exceptions/custom/double"> | ||||||
| ExceptionTests.cpp" line="131"> | ExceptionTests.cpp" line="130"> | ||||||
|         3.14 |         3.14 | ||||||
|       </Exception> |       </Exception> | ||||||
|       <OverallResult success="false"/> |       <OverallResult success="false"/> | ||||||
| @@ -12538,36 +12538,36 @@ ConditionTests.cpp:346: !1 == 1 failed for: !(1 == 1) | |||||||
| [Finished: './failing/conditions/not' 1 test case failed (All 8 assertions failed)] | [Finished: './failing/conditions/not' 1 test case failed (All 8 assertions failed)] | ||||||
|  |  | ||||||
| [Running: ./succeeding/exceptions/explicit] | [Running: ./succeeding/exceptions/explicit] | ||||||
|  | ExceptionTests.cpp:33: thisThrows() succeeded | ||||||
|  | ExceptionTests.cpp:34: thisDoesntThrow() succeeded | ||||||
| ExceptionTests.cpp:35: thisThrows() succeeded | ExceptionTests.cpp:35: thisThrows() succeeded | ||||||
| ExceptionTests.cpp:36: thisDoesntThrow() succeeded |  | ||||||
| ExceptionTests.cpp:37: thisThrows() succeeded |  | ||||||
| [Finished: './succeeding/exceptions/explicit' All tests passed (3 assertions in 1 test case)] | [Finished: './succeeding/exceptions/explicit' All tests passed (3 assertions in 1 test case)] | ||||||
|  |  | ||||||
| [Running: ./failing/exceptions/explicit] | [Running: ./failing/exceptions/explicit] | ||||||
| ExceptionTests.cpp:43: thisThrows() failed with unexpected exception with message: 'expected exception' | ExceptionTests.cpp:40: thisThrows() failed with unexpected exception with message: 'expected exception' | ||||||
| ExceptionTests.cpp:44: thisDoesntThrow() failed because no exception was thrown where one was expected | ExceptionTests.cpp:41: thisDoesntThrow() failed because no exception was thrown where one was expected | ||||||
| ExceptionTests.cpp:45: thisThrows() failed with unexpected exception with message: 'expected exception' | ExceptionTests.cpp:42: thisThrows() failed with unexpected exception with message: 'expected exception' | ||||||
| [Finished: './failing/exceptions/explicit' 1 test case failed (All 3 assertions failed)] | [Finished: './failing/exceptions/explicit' 1 test case failed (All 3 assertions failed)] | ||||||
|  |  | ||||||
| [Running: ./failing/exceptions/implicit] | [Running: ./failing/exceptions/implicit] | ||||||
| ExceptionTests.cpp:48: Unexpected exception with message: 'unexpected exception' | ExceptionTests.cpp:45: Unexpected exception with message: 'unexpected exception' | ||||||
| [Finished: './failing/exceptions/implicit' 1 test case failed (1 assertion failed)] | [Finished: './failing/exceptions/implicit' 1 test case failed (1 assertion failed)] | ||||||
|  |  | ||||||
| [Running: ./failing/exceptions/implicit/2] | [Running: ./failing/exceptions/implicit/2] | ||||||
| ExceptionTests.cpp:56: 1 == 1 succeeded | ExceptionTests.cpp:53: 1 == 1 succeeded | ||||||
| ExceptionTests.cpp:56: {Unknown expression after the reported line} failed with unexpected exception with message: 'unexpected exception' | ExceptionTests.cpp:53: {Unknown expression after the reported line} failed with unexpected exception with message: 'unexpected exception' | ||||||
| [Finished: './failing/exceptions/implicit/2' 1 test case failed (1 of 2 assertions failed)] | [Finished: './failing/exceptions/implicit/2' 1 test case failed (1 of 2 assertions failed)] | ||||||
|  |  | ||||||
| [Running: ./failing/exceptions/implicit/3] | [Running: ./failing/exceptions/implicit/3] | ||||||
|  |  | ||||||
| [Started section: 'section name'] | [Started section: 'section name'] | ||||||
| ExceptionTests.cpp:62: Unexpected exception with message: 'unexpected exception' | ExceptionTests.cpp:59: Unexpected exception with message: 'unexpected exception' | ||||||
| [End of section: 'section name' 1 assertion failed] | [End of section: 'section name' 1 assertion failed] | ||||||
|  |  | ||||||
| [Finished: './failing/exceptions/implicit/3' 1 test case failed (1 assertion failed)] | [Finished: './failing/exceptions/implicit/3' 1 test case failed (1 assertion failed)] | ||||||
|  |  | ||||||
| [Running: ./failing/exceptions/implicit/4] | [Running: ./failing/exceptions/implicit/4] | ||||||
| ExceptionTests.cpp:71: thisThrows() == 0 failed with unexpected exception with message: 'expected exception' | ExceptionTests.cpp:68: thisThrows() == 0 failed with unexpected exception with message: 'expected exception' | ||||||
| [Finished: './failing/exceptions/implicit/4' 1 test case failed (1 assertion failed)] | [Finished: './failing/exceptions/implicit/4' 1 test case failed (1 assertion failed)] | ||||||
|  |  | ||||||
| [Running: ./succeeding/exceptions/implicit] | [Running: ./succeeding/exceptions/implicit] | ||||||
| @@ -12577,19 +12577,19 @@ No assertions in test case, './succeeding/exceptions/implicit' | |||||||
| [Finished: './succeeding/exceptions/implicit' 1 test case failed (1 assertion failed)] | [Finished: './succeeding/exceptions/implicit' 1 test case failed (1 assertion failed)] | ||||||
|  |  | ||||||
| [Running: ./failing/exceptions/custom] | [Running: ./failing/exceptions/custom] | ||||||
| ExceptionTests.cpp:112: Unexpected exception with message: 'custom exception' | ExceptionTests.cpp:108: Unexpected exception with message: 'custom exception' | ||||||
| [Finished: './failing/exceptions/custom' 1 test case failed (1 assertion failed)] | [Finished: './failing/exceptions/custom' 1 test case failed (1 assertion failed)] | ||||||
|  |  | ||||||
| [Running: ./failing/exceptions/custom/nothrow] | [Running: ./failing/exceptions/custom/nothrow] | ||||||
| ExceptionTests.cpp:122: throw CustomException( "unexpected custom exception" ) failed with unexpected exception with message: 'unexpected custom exception' | ExceptionTests.cpp:121: throwCustom() failed with unexpected exception with message: 'custom exception - not std' | ||||||
| [Finished: './failing/exceptions/custom/nothrow' 1 test case failed (1 assertion failed)] | [Finished: './failing/exceptions/custom/nothrow' 1 test case failed (1 assertion failed)] | ||||||
|  |  | ||||||
| [Running: ./failing/exceptions/custom/throw] | [Running: ./failing/exceptions/custom/throw] | ||||||
| ExceptionTests.cpp:127: throw CustomException( "custom exception - not std" ) failed with unexpected exception with message: 'custom exception - not std' | ExceptionTests.cpp:126: throwCustom() failed with unexpected exception with message: 'custom exception - not std' | ||||||
| [Finished: './failing/exceptions/custom/throw' 1 test case failed (1 assertion failed)] | [Finished: './failing/exceptions/custom/throw' 1 test case failed (1 assertion failed)] | ||||||
|  |  | ||||||
| [Running: ./failing/exceptions/custom/double] | [Running: ./failing/exceptions/custom/double] | ||||||
| ExceptionTests.cpp:131: Unexpected exception with message: '3.14' | ExceptionTests.cpp:130: Unexpected exception with message: '3.14' | ||||||
| [Finished: './failing/exceptions/custom/double' 1 test case failed (1 assertion failed)] | [Finished: './failing/exceptions/custom/double' 1 test case failed (1 assertion failed)] | ||||||
|  |  | ||||||
| [Running: ./succeeding/exceptions/notimplemented] | [Running: ./succeeding/exceptions/notimplemented] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash