diff --git a/projects/SelfTest/Baselines/console.std.approved.txt b/projects/SelfTest/Baselines/console.std.approved.txt index 2b41e42a..58571bb2 100644 --- a/projects/SelfTest/Baselines/console.std.approved.txt +++ b/projects/SelfTest/Baselines/console.std.approved.txt @@ -282,11 +282,11 @@ MatchersTests.cpp: ............................................................................... MatchersTests.cpp:: FAILED: - CHECK_THROWS_MATCHES( doesNotThrow(), SpecialException const&, ExceptionMatcher{ 1 } ) + CHECK_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } ) because no exception was thrown where one was expected: MatchersTests.cpp:: FAILED: - REQUIRE_THROWS_MATCHES( doesNotThrow(), SpecialException const&, ExceptionMatcher{ 1 } ) + REQUIRE_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } ) because no exception was thrown where one was expected: ------------------------------------------------------------------------------- @@ -297,12 +297,12 @@ MatchersTests.cpp: ............................................................................... MatchersTests.cpp:: FAILED: - CHECK_THROWS_MATCHES( throwsAsInt(1), SpecialException const&, ExceptionMatcher{ 1 } ) + CHECK_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 } ) due to unexpected exception with message: Unknown exception MatchersTests.cpp:: FAILED: - REQUIRE_THROWS_MATCHES( throwsAsInt(1), SpecialException const&, ExceptionMatcher{ 1 } ) + REQUIRE_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 } ) due to unexpected exception with message: Unknown exception @@ -314,12 +314,12 @@ MatchersTests.cpp: ............................................................................... MatchersTests.cpp:: FAILED: - CHECK_THROWS_MATCHES( throws(3), SpecialException const&, ExceptionMatcher{ 1 } ) + CHECK_THROWS_MATCHES( throws(3), SpecialException, ExceptionMatcher{ 1 } ) with expansion: {?} special exception has value of 1 MatchersTests.cpp:: FAILED: - REQUIRE_THROWS_MATCHES( throws(4), SpecialException const&, ExceptionMatcher{ 1 } ) + REQUIRE_THROWS_MATCHES( throws(4), SpecialException, ExceptionMatcher{ 1 } ) with expansion: {?} special exception has value of 1 diff --git a/projects/SelfTest/Baselines/console.sw.approved.txt b/projects/SelfTest/Baselines/console.sw.approved.txt index 0857fc24..61e865c6 100644 --- a/projects/SelfTest/Baselines/console.sw.approved.txt +++ b/projects/SelfTest/Baselines/console.sw.approved.txt @@ -88,7 +88,7 @@ PASSED: CompilationTests.cpp:: PASSED: - CHECK_THROWS_AS( throws_int(true), const int& ) + CHECK_THROWS_AS( throws_int(true), int ) CompilationTests.cpp:: PASSED: @@ -1359,11 +1359,11 @@ MatchersTests.cpp: ............................................................................... MatchersTests.cpp:: FAILED: - CHECK_THROWS_MATCHES( doesNotThrow(), SpecialException const&, ExceptionMatcher{ 1 } ) + CHECK_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } ) because no exception was thrown where one was expected: MatchersTests.cpp:: FAILED: - REQUIRE_THROWS_MATCHES( doesNotThrow(), SpecialException const&, ExceptionMatcher{ 1 } ) + REQUIRE_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } ) because no exception was thrown where one was expected: ------------------------------------------------------------------------------- @@ -1374,12 +1374,12 @@ MatchersTests.cpp: ............................................................................... MatchersTests.cpp:: FAILED: - CHECK_THROWS_MATCHES( throwsAsInt(1), SpecialException const&, ExceptionMatcher{ 1 } ) + CHECK_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 } ) due to unexpected exception with message: Unknown exception MatchersTests.cpp:: FAILED: - REQUIRE_THROWS_MATCHES( throwsAsInt(1), SpecialException const&, ExceptionMatcher{ 1 } ) + REQUIRE_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 } ) due to unexpected exception with message: Unknown exception @@ -1391,12 +1391,12 @@ MatchersTests.cpp: ............................................................................... MatchersTests.cpp:: FAILED: - CHECK_THROWS_MATCHES( throws(3), SpecialException const&, ExceptionMatcher{ 1 } ) + CHECK_THROWS_MATCHES( throws(3), SpecialException, ExceptionMatcher{ 1 } ) with expansion: {?} special exception has value of 1 MatchersTests.cpp:: FAILED: - REQUIRE_THROWS_MATCHES( throws(4), SpecialException const&, ExceptionMatcher{ 1 } ) + REQUIRE_THROWS_MATCHES( throws(4), SpecialException, ExceptionMatcher{ 1 } ) with expansion: {?} special exception has value of 1 @@ -1408,13 +1408,13 @@ MatchersTests.cpp: MatchersTests.cpp:: PASSED: - CHECK_THROWS_MATCHES( throws(1), SpecialException const&, ExceptionMatcher{ 1 } ) + CHECK_THROWS_MATCHES( throws(1), SpecialException, ExceptionMatcher{ 1 } ) with expansion: {?} special exception has value of 1 MatchersTests.cpp:: PASSED: - REQUIRE_THROWS_MATCHES( throws(2), SpecialException const&, ExceptionMatcher{ 2 } ) + REQUIRE_THROWS_MATCHES( throws(2), SpecialException, ExceptionMatcher{ 2 } ) with expansion: {?} special exception has value of 2 diff --git a/projects/SelfTest/Baselines/console.swa4.approved.txt b/projects/SelfTest/Baselines/console.swa4.approved.txt index b1cf14f3..fe22e2b3 100644 --- a/projects/SelfTest/Baselines/console.swa4.approved.txt +++ b/projects/SelfTest/Baselines/console.swa4.approved.txt @@ -88,7 +88,7 @@ PASSED: CompilationTests.cpp:: PASSED: - CHECK_THROWS_AS( throws_int(true), const int& ) + CHECK_THROWS_AS( throws_int(true), int ) CompilationTests.cpp:: PASSED: diff --git a/projects/SelfTest/Baselines/junit.sw.approved.txt b/projects/SelfTest/Baselines/junit.sw.approved.txt index 6f09f338..bd931044 100644 --- a/projects/SelfTest/Baselines/junit.sw.approved.txt +++ b/projects/SelfTest/Baselines/junit.sw.approved.txt @@ -194,19 +194,19 @@ MatchersTests.cpp: - + MatchersTests.cpp: - + MatchersTests.cpp: - + Unknown exception MatchersTests.cpp: - + Unknown exception MatchersTests.cpp: diff --git a/projects/SelfTest/Baselines/xml.sw.approved.txt b/projects/SelfTest/Baselines/xml.sw.approved.txt index c18f5c94..5b4ecb9e 100644 --- a/projects/SelfTest/Baselines/xml.sw.approved.txt +++ b/projects/SelfTest/Baselines/xml.sw.approved.txt @@ -85,10 +85,10 @@ - throws_int(true), const int& + throws_int(true), int - throws_int(true), const int& + throws_int(true), int @@ -1558,18 +1558,18 @@
- doesNotThrow(), SpecialException const&, ExceptionMatcher{ 1 } + doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } - doesNotThrow(), SpecialException const&, ExceptionMatcher{ 1 } + doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } - doesNotThrow(), SpecialException const&, ExceptionMatcher{ 1 } + doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } - doesNotThrow(), SpecialException const&, ExceptionMatcher{ 1 } + doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } @@ -1577,10 +1577,10 @@
- throwsAsInt(1), SpecialException const&, ExceptionMatcher{ 1 } + throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 } - throwsAsInt(1), SpecialException const&, ExceptionMatcher{ 1 } + throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 } Unknown exception @@ -1588,10 +1588,10 @@ - throwsAsInt(1), SpecialException const&, ExceptionMatcher{ 1 } + throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 } - throwsAsInt(1), SpecialException const&, ExceptionMatcher{ 1 } + throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 } Unknown exception @@ -1602,7 +1602,7 @@
- throws(3), SpecialException const&, ExceptionMatcher{ 1 } + throws(3), SpecialException, ExceptionMatcher{ 1 } {?} special exception has value of 1 @@ -1610,7 +1610,7 @@ - throws(4), SpecialException const&, ExceptionMatcher{ 1 } + throws(4), SpecialException, ExceptionMatcher{ 1 } {?} special exception has value of 1 @@ -1623,7 +1623,7 @@ - throws(1), SpecialException const&, ExceptionMatcher{ 1 } + throws(1), SpecialException, ExceptionMatcher{ 1 } {?} special exception has value of 1 @@ -1631,7 +1631,7 @@ - throws(2), SpecialException const&, ExceptionMatcher{ 2 } + throws(2), SpecialException, ExceptionMatcher{ 2 } {?} special exception has value of 2