From e4d61e4cd8bd52fc55bbbcd33f5761aa095d53ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Sun, 13 Oct 2019 21:26:51 +0200 Subject: [PATCH] Fix baselines --- projects/SelfTest/Baselines/compact.sw.approved.txt | 8 ++++---- projects/SelfTest/Baselines/console.sw.approved.txt | 8 ++++---- projects/SelfTest/Baselines/xml.sw.approved.txt | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/projects/SelfTest/Baselines/compact.sw.approved.txt b/projects/SelfTest/Baselines/compact.sw.approved.txt index f7613ce3..30bdd58b 100644 --- a/projects/SelfTest/Baselines/compact.sw.approved.txt +++ b/projects/SelfTest/Baselines/compact.sw.approved.txt @@ -395,10 +395,10 @@ Exception.tests.cpp:: passed: thisThrows(), StartsWith( "expected" Exception.tests.cpp:: passed: thisThrows(), EndsWith( "exception" ) for: "expected exception" ends with: "exception" Exception.tests.cpp:: passed: thisThrows(), Contains( "except" ) for: "expected exception" contains: "except" Exception.tests.cpp:: passed: thisThrows(), Contains( "exCept", Catch::CaseSensitive::No ) for: "expected exception" contains: "except" (case insensitive) -Matchers.tests.cpp:: passed: throwsDerivedException(), DerivedException, Message("DerivedException::what") for: DerivedException::what -Matchers.tests.cpp:: passed: throwsDerivedException(), DerivedException, !Message("derivedexception::what") for: DerivedException::what not -Matchers.tests.cpp:: passed: throwsSpecialException(2), SpecialException, !Message("DerivedException::what") for: SpecialException::what not -Matchers.tests.cpp:: passed: throwsSpecialException(2), SpecialException, Message("SpecialException::what") for: SpecialException::what +Matchers.tests.cpp:: passed: throwsDerivedException(), DerivedException, Message("DerivedException::what") for: DerivedException::what exception message matches "DerivedException::what" +Matchers.tests.cpp:: passed: throwsDerivedException(), DerivedException, !Message("derivedexception::what") for: DerivedException::what not exception message matches "derivedexception::what" +Matchers.tests.cpp:: passed: throwsSpecialException(2), SpecialException, !Message("DerivedException::what") for: SpecialException::what not exception message matches "DerivedException::what" +Matchers.tests.cpp:: passed: throwsSpecialException(2), SpecialException, Message("SpecialException::what") for: SpecialException::what exception message matches "SpecialException::what" Exception.tests.cpp:: failed: unexpected exception with message: 'expected exception'; expression was: thisThrows(), std::string Exception.tests.cpp:: failed: expected exception, got none; expression was: thisDoesntThrow(), std::domain_error Exception.tests.cpp:: failed: unexpected exception with message: 'expected exception'; expression was: thisThrows() diff --git a/projects/SelfTest/Baselines/console.sw.approved.txt b/projects/SelfTest/Baselines/console.sw.approved.txt index 1a50efae..c7f1d4c4 100644 --- a/projects/SelfTest/Baselines/console.sw.approved.txt +++ b/projects/SelfTest/Baselines/console.sw.approved.txt @@ -3015,22 +3015,22 @@ Matchers.tests.cpp: Matchers.tests.cpp:: PASSED: REQUIRE_THROWS_MATCHES( throwsDerivedException(), DerivedException, Message("DerivedException::what") ) with expansion: - DerivedException::what + DerivedException::what exception message matches "DerivedException::what" Matchers.tests.cpp:: PASSED: REQUIRE_THROWS_MATCHES( throwsDerivedException(), DerivedException, !Message("derivedexception::what") ) with expansion: - DerivedException::what not + DerivedException::what not exception message matches "derivedexception::what" Matchers.tests.cpp:: PASSED: REQUIRE_THROWS_MATCHES( throwsSpecialException(2), SpecialException, !Message("DerivedException::what") ) with expansion: - SpecialException::what not + SpecialException::what not exception message matches "DerivedException::what" Matchers.tests.cpp:: PASSED: REQUIRE_THROWS_MATCHES( throwsSpecialException(2), SpecialException, Message("SpecialException::what") ) with expansion: - SpecialException::what + SpecialException::what exception message matches "SpecialException::what" ------------------------------------------------------------------------------- Expected exceptions that don't throw or unexpected exceptions fail the test diff --git a/projects/SelfTest/Baselines/xml.sw.approved.txt b/projects/SelfTest/Baselines/xml.sw.approved.txt index 07aaee3d..2de31a40 100644 --- a/projects/SelfTest/Baselines/xml.sw.approved.txt +++ b/projects/SelfTest/Baselines/xml.sw.approved.txt @@ -3567,7 +3567,7 @@ Nor would this throwsDerivedException(), DerivedException, Message("DerivedException::what") - DerivedException::what + DerivedException::what exception message matches "DerivedException::what" @@ -3575,7 +3575,7 @@ Nor would this throwsDerivedException(), DerivedException, !Message("derivedexception::what") - DerivedException::what not + DerivedException::what not exception message matches "derivedexception::what" @@ -3583,7 +3583,7 @@ Nor would this throwsSpecialException(2), SpecialException, !Message("DerivedException::what") - SpecialException::what not + SpecialException::what not exception message matches "DerivedException::what" @@ -3591,7 +3591,7 @@ Nor would this throwsSpecialException(2), SpecialException, Message("SpecialException::what") - SpecialException::what + SpecialException::what exception message matches "SpecialException::what"