diff --git a/projects/SelfTest/Baselines/console.std.approved.txt b/projects/SelfTest/Baselines/console.std.approved.txt index da7b0038..13846d4c 100644 --- a/projects/SelfTest/Baselines/console.std.approved.txt +++ b/projects/SelfTest/Baselines/console.std.approved.txt @@ -145,13 +145,13 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THAT( testStringForMatching(), Contains( "not there", Catch::CaseSensitive::No ) ) + CHECK_THAT( testStringForMatching(), Contains("not there", Catch::CaseSensitive::No) ) with expansion: "this string contains 'abc' as a substring" contains: "not there" (case insensitive) Matchers.tests.cpp:: FAILED: - CHECK_THAT( testStringForMatching(), Contains( "STRING" ) ) + CHECK_THAT( testStringForMatching(), Contains("STRING") ) with expansion: "this string contains 'abc' as a substring" contains: "STRING" @@ -194,12 +194,12 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THAT( testStringForMatching(), EndsWith( "Substring" ) ) + CHECK_THAT( testStringForMatching(), EndsWith("Substring") ) with expansion: "this string contains 'abc' as a substring" ends with: "Substring" Matchers.tests.cpp:: FAILED: - CHECK_THAT( testStringForMatching(), EndsWith( "this", Catch::CaseSensitive::No ) ) + CHECK_THAT( testStringForMatching(), EndsWith("this", Catch::CaseSensitive::No) ) with expansion: "this string contains 'abc' as a substring" ends with: "this" (case insensitive) @@ -282,13 +282,13 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THAT( testStringForMatching(), Equals( "this string contains 'ABC' as a substring" ) ) + CHECK_THAT( testStringForMatching(), Equals("this string contains 'ABC' as a substring") ) with expansion: "this string contains 'abc' as a substring" equals: "this string contains 'ABC' as a substring" Matchers.tests.cpp:: FAILED: - CHECK_THAT( testStringForMatching(), Equals( "something else", Catch::CaseSensitive::No ) ) + CHECK_THAT( testStringForMatching(), Equals("something else", Catch::CaseSensitive::No) ) with expansion: "this string contains 'abc' as a substring" equals: "something else" (case insensitive) @@ -301,11 +301,11 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } ) + CHECK_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{1} ) because no exception was thrown where one was expected: Matchers.tests.cpp:: FAILED: - REQUIRE_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } ) + REQUIRE_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{1} ) because no exception was thrown where one was expected: ------------------------------------------------------------------------------- @@ -316,12 +316,12 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 } ) + CHECK_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{1} ) due to unexpected exception with message: Unknown exception Matchers.tests.cpp:: FAILED: - REQUIRE_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 } ) + REQUIRE_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{1} ) due to unexpected exception with message: Unknown exception @@ -333,12 +333,12 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THROWS_MATCHES( throws(3), SpecialException, ExceptionMatcher{ 1 } ) + CHECK_THROWS_MATCHES( throws(3), SpecialException, ExceptionMatcher{1} ) with expansion: {?} special exception has value of 1 Matchers.tests.cpp:: FAILED: - REQUIRE_THROWS_MATCHES( throws(4), SpecialException, ExceptionMatcher{ 1 } ) + REQUIRE_THROWS_MATCHES( throws(4), SpecialException, ExceptionMatcher{1} ) with expansion: {?} special exception has value of 1 @@ -493,7 +493,7 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THAT( testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "random" ) ) + CHECK_THAT( testStringForMatching(), (Contains("string") || Contains("different")) && Contains("random") ) with expansion: "this string contains 'abc' as a substring" ( ( contains: "string" or contains: "different" ) and contains: "random" ) @@ -505,7 +505,7 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THAT( testStringForMatching(), !Contains( "substring" ) ) + CHECK_THAT( testStringForMatching(), !Contains("substring") ) with expansion: "this string contains 'abc' as a substring" not contains: "substring" @@ -709,12 +709,12 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THAT( testStringForMatching(), StartsWith( "This String" ) ) + CHECK_THAT( testStringForMatching(), StartsWith("This String") ) with expansion: "this string contains 'abc' as a substring" starts with: "This String" Matchers.tests.cpp:: FAILED: - CHECK_THAT( testStringForMatching(), StartsWith( "string", Catch::CaseSensitive::No ) ) + CHECK_THAT( testStringForMatching(), StartsWith("string", Catch::CaseSensitive::No) ) with expansion: "this string contains 'abc' as a substring" starts with: "string" (case insensitive) @@ -755,12 +755,12 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THAT( v, VectorContains( -1 ) ) + CHECK_THAT( v, VectorContains(-1) ) with expansion: { 1, 2, 3 } Contains: -1 Matchers.tests.cpp:: FAILED: - CHECK_THAT( empty, VectorContains( 1 ) ) + CHECK_THAT( empty, VectorContains(1) ) with expansion: { } Contains: 1 @@ -772,12 +772,12 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THAT( empty, Contains( v) ) + CHECK_THAT( empty, Contains(v) ) with expansion: { } Contains: { 1, 2, 3 } Matchers.tests.cpp:: FAILED: - CHECK_THAT( v, Contains( v2 ) ) + CHECK_THAT( v, Contains(v2) ) with expansion: { 1, 2, 3 } Contains: { 1, 2, 4 } @@ -789,22 +789,22 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THAT( v, Equals( v2 ) ) + CHECK_THAT( v, Equals(v2) ) with expansion: { 1, 2, 3 } Equals: { 1, 2 } Matchers.tests.cpp:: FAILED: - CHECK_THAT( v2, Equals( v ) ) + CHECK_THAT( v2, Equals(v) ) with expansion: { 1, 2 } Equals: { 1, 2, 3 } Matchers.tests.cpp:: FAILED: - CHECK_THAT( empty, Equals( v ) ) + CHECK_THAT( empty, Equals(v) ) with expansion: { } Equals: { 1, 2, 3 } Matchers.tests.cpp:: FAILED: - CHECK_THAT( v, Equals( empty ) ) + CHECK_THAT( v, Equals(empty) ) with expansion: { 1, 2, 3 } Equals: { } diff --git a/projects/SelfTest/Baselines/console.sw.approved.txt b/projects/SelfTest/Baselines/console.sw.approved.txt index 9986fd33..6eac35ed 100644 --- a/projects/SelfTest/Baselines/console.sw.approved.txt +++ b/projects/SelfTest/Baselines/console.sw.approved.txt @@ -1315,13 +1315,13 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THAT( testStringForMatching(), Contains( "not there", Catch::CaseSensitive::No ) ) + CHECK_THAT( testStringForMatching(), Contains("not there", Catch::CaseSensitive::No) ) with expansion: "this string contains 'abc' as a substring" contains: "not there" (case insensitive) Matchers.tests.cpp:: FAILED: - CHECK_THAT( testStringForMatching(), Contains( "STRING" ) ) + CHECK_THAT( testStringForMatching(), Contains("STRING") ) with expansion: "this string contains 'abc' as a substring" contains: "STRING" @@ -1382,12 +1382,12 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THAT( testStringForMatching(), EndsWith( "Substring" ) ) + CHECK_THAT( testStringForMatching(), EndsWith("Substring") ) with expansion: "this string contains 'abc' as a substring" ends with: "Substring" Matchers.tests.cpp:: FAILED: - CHECK_THAT( testStringForMatching(), EndsWith( "this", Catch::CaseSensitive::No ) ) + CHECK_THAT( testStringForMatching(), EndsWith("this", Catch::CaseSensitive::No) ) with expansion: "this string contains 'abc' as a substring" ends with: "this" (case insensitive) @@ -1531,14 +1531,14 @@ Matchers.tests.cpp: Matchers.tests.cpp:: PASSED: - CHECK_THAT( testStringForMatching(), Equals( "this string contains 'abc' as a substring" ) ) + CHECK_THAT( testStringForMatching(), Equals("this string contains 'abc' as a substring") ) with expansion: "this string contains 'abc' as a substring" equals: "this string contains 'abc' as a substring" Matchers.tests.cpp:: PASSED: - CHECK_THAT( testStringForMatching(), Equals( "this string contains 'ABC' as a substring", Catch::CaseSensitive::No ) ) + CHECK_THAT( testStringForMatching(), Equals("this string contains 'ABC' as a substring", Catch::CaseSensitive::No) ) with expansion: "this string contains 'abc' as a substring" equals: "this string contains 'abc' as a substring" (case insensitive) @@ -1550,13 +1550,13 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THAT( testStringForMatching(), Equals( "this string contains 'ABC' as a substring" ) ) + CHECK_THAT( testStringForMatching(), Equals("this string contains 'ABC' as a substring") ) with expansion: "this string contains 'abc' as a substring" equals: "this string contains 'ABC' as a substring" Matchers.tests.cpp:: FAILED: - CHECK_THAT( testStringForMatching(), Equals( "something else", Catch::CaseSensitive::No ) ) + CHECK_THAT( testStringForMatching(), Equals("something else", Catch::CaseSensitive::No) ) with expansion: "this string contains 'abc' as a substring" equals: "something else" (case insensitive) @@ -1569,11 +1569,11 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } ) + CHECK_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{1} ) because no exception was thrown where one was expected: Matchers.tests.cpp:: FAILED: - REQUIRE_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } ) + REQUIRE_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{1} ) because no exception was thrown where one was expected: ------------------------------------------------------------------------------- @@ -1584,12 +1584,12 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 } ) + CHECK_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{1} ) due to unexpected exception with message: Unknown exception Matchers.tests.cpp:: FAILED: - REQUIRE_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 } ) + REQUIRE_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{1} ) due to unexpected exception with message: Unknown exception @@ -1601,12 +1601,12 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THROWS_MATCHES( throws(3), SpecialException, ExceptionMatcher{ 1 } ) + CHECK_THROWS_MATCHES( throws(3), SpecialException, ExceptionMatcher{1} ) with expansion: {?} special exception has value of 1 Matchers.tests.cpp:: FAILED: - REQUIRE_THROWS_MATCHES( throws(4), SpecialException, ExceptionMatcher{ 1 } ) + REQUIRE_THROWS_MATCHES( throws(4), SpecialException, ExceptionMatcher{1} ) with expansion: {?} special exception has value of 1 @@ -1618,13 +1618,13 @@ Matchers.tests.cpp: Matchers.tests.cpp:: PASSED: - CHECK_THROWS_MATCHES( throws(1), SpecialException, ExceptionMatcher{ 1 } ) + CHECK_THROWS_MATCHES( throws(1), SpecialException, ExceptionMatcher{1} ) with expansion: {?} special exception has value of 1 Matchers.tests.cpp:: PASSED: - REQUIRE_THROWS_MATCHES( throws(2), SpecialException, ExceptionMatcher{ 2 } ) + REQUIRE_THROWS_MATCHES( throws(2), SpecialException, ExceptionMatcher{2} ) with expansion: {?} special exception has value of 2 @@ -2354,7 +2354,7 @@ Matchers.tests.cpp: Matchers.tests.cpp:: PASSED: - CHECK_THAT( testStringForMatching(), Contains( "string" ) && Contains( "abc" ) && Contains( "substring" ) && Contains( "contains" ) ) + CHECK_THAT( testStringForMatching(), Contains("string") && Contains("abc") && Contains("substring") && Contains("contains") ) with expansion: "this string contains 'abc' as a substring" ( contains: "string" and contains: "abc" and contains: "substring" and contains: "contains" ) @@ -2367,14 +2367,14 @@ Matchers.tests.cpp: Matchers.tests.cpp:: PASSED: - CHECK_THAT( testStringForMatching(), Contains( "string" ) || Contains( "different" ) || Contains( "random" ) ) + CHECK_THAT( testStringForMatching(), Contains("string") || Contains("different") || Contains("random") ) with expansion: "this string contains 'abc' as a substring" ( contains: "string" or contains: "different" or contains: "random" ) Matchers.tests.cpp:: PASSED: - CHECK_THAT( testStringForMatching2(), Contains( "string" ) || Contains( "different" ) || Contains( "random" ) ) + CHECK_THAT( testStringForMatching2(), Contains("string") || Contains("different") || Contains("random") ) with expansion: "some completely different text that contains one common word" ( contains: "string" or contains: "different" or contains: "random" ) @@ -2387,7 +2387,7 @@ Matchers.tests.cpp: Matchers.tests.cpp:: PASSED: - CHECK_THAT( testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "substring" ) ) + CHECK_THAT( testStringForMatching(), (Contains("string") || Contains("different")) && Contains("substring") ) with expansion: "this string contains 'abc' as a substring" ( ( contains: "string" or contains: "different" ) and contains: "substring" ) @@ -2399,7 +2399,7 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THAT( testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "random" ) ) + CHECK_THAT( testStringForMatching(), (Contains("string") || Contains("different")) && Contains("random") ) with expansion: "this string contains 'abc' as a substring" ( ( contains: "string" or contains: "different" ) and contains: "random" ) @@ -2412,7 +2412,7 @@ Matchers.tests.cpp: Matchers.tests.cpp:: PASSED: - CHECK_THAT( testStringForMatching(), !Contains( "different" ) ) + CHECK_THAT( testStringForMatching(), !Contains("different") ) with expansion: "this string contains 'abc' as a substring" not contains: "different" @@ -2423,7 +2423,7 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THAT( testStringForMatching(), !Contains( "substring" ) ) + CHECK_THAT( testStringForMatching(), !Contains("substring") ) with expansion: "this string contains 'abc' as a substring" not contains: "substring" @@ -4662,12 +4662,12 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THAT( testStringForMatching(), StartsWith( "This String" ) ) + CHECK_THAT( testStringForMatching(), StartsWith("This String") ) with expansion: "this string contains 'abc' as a substring" starts with: "This String" Matchers.tests.cpp:: FAILED: - CHECK_THAT( testStringForMatching(), StartsWith( "string", Catch::CaseSensitive::No ) ) + CHECK_THAT( testStringForMatching(), StartsWith("string", Catch::CaseSensitive::No) ) with expansion: "this string contains 'abc' as a substring" starts with: "string" (case insensitive) @@ -4680,52 +4680,52 @@ Matchers.tests.cpp: Matchers.tests.cpp:: PASSED: - REQUIRE_THAT( testStringForMatching(), Contains( "string" ) ) + REQUIRE_THAT( testStringForMatching(), Contains("string") ) with expansion: "this string contains 'abc' as a substring" contains: "string" Matchers.tests.cpp:: PASSED: - REQUIRE_THAT( testStringForMatching(), Contains( "string", Catch::CaseSensitive::No ) ) + REQUIRE_THAT( testStringForMatching(), Contains("string", Catch::CaseSensitive::No) ) with expansion: "this string contains 'abc' as a substring" contains: "string" (case insensitive) Matchers.tests.cpp:: PASSED: - CHECK_THAT( testStringForMatching(), Contains( "abc" ) ) + CHECK_THAT( testStringForMatching(), Contains("abc") ) with expansion: "this string contains 'abc' as a substring" contains: "abc" Matchers.tests.cpp:: PASSED: - CHECK_THAT( testStringForMatching(), Contains( "aBC", Catch::CaseSensitive::No ) ) + CHECK_THAT( testStringForMatching(), Contains("aBC", Catch::CaseSensitive::No) ) with expansion: "this string contains 'abc' as a substring" contains: "abc" (case insensitive) insensitive) Matchers.tests.cpp:: PASSED: - CHECK_THAT( testStringForMatching(), StartsWith( "this" ) ) + CHECK_THAT( testStringForMatching(), StartsWith("this") ) with expansion: "this string contains 'abc' as a substring" starts with: "this" Matchers.tests.cpp:: PASSED: - CHECK_THAT( testStringForMatching(), StartsWith( "THIS", Catch::CaseSensitive::No ) ) + CHECK_THAT( testStringForMatching(), StartsWith("THIS", Catch::CaseSensitive::No) ) with expansion: "this string contains 'abc' as a substring" starts with: "this" (case insensitive) Matchers.tests.cpp:: PASSED: - CHECK_THAT( testStringForMatching(), EndsWith( "substring" ) ) + CHECK_THAT( testStringForMatching(), EndsWith("substring") ) with expansion: "this string contains 'abc' as a substring" ends with: "substring" Matchers.tests.cpp:: PASSED: - CHECK_THAT( testStringForMatching(), EndsWith(" SuBsTrInG", Catch::CaseSensitive::No ) ) + CHECK_THAT( testStringForMatching(), EndsWith(" SuBsTrInG", Catch::CaseSensitive::No) ) with expansion: "this string contains 'abc' as a substring" ends with: " substring" (case insensitive) @@ -6360,13 +6360,13 @@ Matchers.tests.cpp: Matchers.tests.cpp:: PASSED: - CHECK_THAT( v, VectorContains( 1 ) ) + CHECK_THAT( v, VectorContains(1) ) with expansion: { 1, 2, 3 } Contains: 1 Matchers.tests.cpp:: PASSED: - CHECK_THAT( v, VectorContains( 2 ) ) + CHECK_THAT( v, VectorContains(2) ) with expansion: { 1, 2, 3 } Contains: 2 @@ -6379,25 +6379,25 @@ Matchers.tests.cpp: Matchers.tests.cpp:: PASSED: - CHECK_THAT( v, Contains( v2 ) ) + CHECK_THAT( v, Contains(v2) ) with expansion: { 1, 2, 3 } Contains: { 1, 2 } Matchers.tests.cpp:: PASSED: - CHECK_THAT( v, Contains( v2 ) ) + CHECK_THAT( v, Contains(v2) ) with expansion: { 1, 2, 3 } Contains: { 1, 2, 3 } Matchers.tests.cpp:: PASSED: - CHECK_THAT( v, Contains( empty) ) + CHECK_THAT( v, Contains(empty) ) with expansion: { 1, 2, 3 } Contains: { } Matchers.tests.cpp:: PASSED: - CHECK_THAT( empty, Contains( empty) ) + CHECK_THAT( empty, Contains(empty) ) with expansion: { } Contains: { } @@ -6410,7 +6410,7 @@ Matchers.tests.cpp: Matchers.tests.cpp:: PASSED: - CHECK_THAT( v, VectorContains( 1 ) && VectorContains( 2 ) ) + CHECK_THAT( v, VectorContains(1) && VectorContains(2) ) with expansion: { 1, 2, 3 } ( Contains: 1 and Contains: 2 ) @@ -6423,19 +6423,19 @@ Matchers.tests.cpp: Matchers.tests.cpp:: PASSED: - CHECK_THAT( v, Equals( v ) ) + CHECK_THAT( v, Equals(v) ) with expansion: { 1, 2, 3 } Equals: { 1, 2, 3 } Matchers.tests.cpp:: PASSED: - CHECK_THAT( empty, Equals( empty ) ) + CHECK_THAT( empty, Equals(empty) ) with expansion: { } Equals: { } Matchers.tests.cpp:: PASSED: - CHECK_THAT( v, Equals( v2 ) ) + CHECK_THAT( v, Equals(v2) ) with expansion: { 1, 2, 3 } Equals: { 1, 2, 3 } @@ -6447,12 +6447,12 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THAT( v, VectorContains( -1 ) ) + CHECK_THAT( v, VectorContains(-1) ) with expansion: { 1, 2, 3 } Contains: -1 Matchers.tests.cpp:: FAILED: - CHECK_THAT( empty, VectorContains( 1 ) ) + CHECK_THAT( empty, VectorContains(1) ) with expansion: { } Contains: 1 @@ -6464,12 +6464,12 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THAT( empty, Contains( v) ) + CHECK_THAT( empty, Contains(v) ) with expansion: { } Contains: { 1, 2, 3 } Matchers.tests.cpp:: FAILED: - CHECK_THAT( v, Contains( v2 ) ) + CHECK_THAT( v, Contains(v2) ) with expansion: { 1, 2, 3 } Contains: { 1, 2, 4 } @@ -6481,22 +6481,22 @@ Matchers.tests.cpp: ............................................................................... Matchers.tests.cpp:: FAILED: - CHECK_THAT( v, Equals( v2 ) ) + CHECK_THAT( v, Equals(v2) ) with expansion: { 1, 2, 3 } Equals: { 1, 2 } Matchers.tests.cpp:: FAILED: - CHECK_THAT( v2, Equals( v ) ) + CHECK_THAT( v2, Equals(v) ) with expansion: { 1, 2 } Equals: { 1, 2, 3 } Matchers.tests.cpp:: FAILED: - CHECK_THAT( empty, Equals( v ) ) + CHECK_THAT( empty, Equals(v) ) with expansion: { } Equals: { 1, 2, 3 } Matchers.tests.cpp:: FAILED: - CHECK_THAT( v, Equals( empty ) ) + CHECK_THAT( v, Equals(empty) ) with expansion: { 1, 2, 3 } Equals: { } diff --git a/projects/SelfTest/Baselines/junit.sw.approved.txt b/projects/SelfTest/Baselines/junit.sw.approved.txt index 913a9668..610e3f8e 100644 --- a/projects/SelfTest/Baselines/junit.sw.approved.txt +++ b/projects/SelfTest/Baselines/junit.sw.approved.txt @@ -213,19 +213,19 @@ Matchers.tests.cpp: - + Matchers.tests.cpp: - + Matchers.tests.cpp: - + Unknown exception Matchers.tests.cpp: - + Unknown exception Matchers.tests.cpp: diff --git a/projects/SelfTest/Baselines/xml.sw.approved.txt b/projects/SelfTest/Baselines/xml.sw.approved.txt index ebb6b96f..d194c96e 100644 --- a/projects/SelfTest/Baselines/xml.sw.approved.txt +++ b/projects/SelfTest/Baselines/xml.sw.approved.txt @@ -1469,7 +1469,7 @@ - testStringForMatching(), Contains( "not there", Catch::CaseSensitive::No ) + testStringForMatching(), Contains("not there", Catch::CaseSensitive::No) "this string contains 'abc' as a substring" contains: "not there" (case insensitive) @@ -1477,7 +1477,7 @@ - testStringForMatching(), Contains( "STRING" ) + testStringForMatching(), Contains("STRING") "this string contains 'abc' as a substring" contains: "STRING" @@ -1541,7 +1541,7 @@ - testStringForMatching(), EndsWith( "Substring" ) + testStringForMatching(), EndsWith("Substring") "this string contains 'abc' as a substring" ends with: "Substring" @@ -1549,7 +1549,7 @@ - testStringForMatching(), EndsWith( "this", Catch::CaseSensitive::No ) + testStringForMatching(), EndsWith("this", Catch::CaseSensitive::No) "this string contains 'abc' as a substring" ends with: "this" (case insensitive) @@ -1737,7 +1737,7 @@ - testStringForMatching(), Equals( "this string contains 'abc' as a substring" ) + testStringForMatching(), Equals("this string contains 'abc' as a substring") "this string contains 'abc' as a substring" equals: "this string contains 'abc' as a substring" @@ -1745,7 +1745,7 @@ - testStringForMatching(), Equals( "this string contains 'ABC' as a substring", Catch::CaseSensitive::No ) + testStringForMatching(), Equals("this string contains 'ABC' as a substring", Catch::CaseSensitive::No) "this string contains 'abc' as a substring" equals: "this string contains 'abc' as a substring" (case insensitive) @@ -1756,7 +1756,7 @@ - testStringForMatching(), Equals( "this string contains 'ABC' as a substring" ) + testStringForMatching(), Equals("this string contains 'ABC' as a substring") "this string contains 'abc' as a substring" equals: "this string contains 'ABC' as a substring" @@ -1764,7 +1764,7 @@ - testStringForMatching(), Equals( "something else", Catch::CaseSensitive::No ) + testStringForMatching(), Equals("something else", Catch::CaseSensitive::No) "this string contains 'abc' as a substring" equals: "something else" (case insensitive) @@ -1776,18 +1776,18 @@
- doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } + doesNotThrow(), SpecialException, ExceptionMatcher{1} - doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } + doesNotThrow(), SpecialException, ExceptionMatcher{1} - doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } + doesNotThrow(), SpecialException, ExceptionMatcher{1} - doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } + doesNotThrow(), SpecialException, ExceptionMatcher{1} @@ -1795,10 +1795,10 @@
- throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 } + throwsAsInt(1), SpecialException, ExceptionMatcher{1} - throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 } + throwsAsInt(1), SpecialException, ExceptionMatcher{1} Unknown exception @@ -1806,10 +1806,10 @@ - throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 } + throwsAsInt(1), SpecialException, ExceptionMatcher{1} - throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 } + throwsAsInt(1), SpecialException, ExceptionMatcher{1} Unknown exception @@ -1820,7 +1820,7 @@
- throws(3), SpecialException, ExceptionMatcher{ 1 } + throws(3), SpecialException, ExceptionMatcher{1} {?} special exception has value of 1 @@ -1828,7 +1828,7 @@ - throws(4), SpecialException, ExceptionMatcher{ 1 } + throws(4), SpecialException, ExceptionMatcher{1} {?} special exception has value of 1 @@ -1841,7 +1841,7 @@ - throws(1), SpecialException, ExceptionMatcher{ 1 } + throws(1), SpecialException, ExceptionMatcher{1} {?} special exception has value of 1 @@ -1849,7 +1849,7 @@ - throws(2), SpecialException, ExceptionMatcher{ 2 } + throws(2), SpecialException, ExceptionMatcher{2} {?} special exception has value of 2 @@ -2742,7 +2742,7 @@ - testStringForMatching(), Contains( "string" ) && Contains( "abc" ) && Contains( "substring" ) && Contains( "contains" ) + testStringForMatching(), Contains("string") && Contains("abc") && Contains("substring") && Contains("contains") "this string contains 'abc' as a substring" ( contains: "string" and contains: "abc" and contains: "substring" and contains: "contains" ) @@ -2753,7 +2753,7 @@ - testStringForMatching(), Contains( "string" ) || Contains( "different" ) || Contains( "random" ) + testStringForMatching(), Contains("string") || Contains("different") || Contains("random") "this string contains 'abc' as a substring" ( contains: "string" or contains: "different" or contains: "random" ) @@ -2761,7 +2761,7 @@ - testStringForMatching2(), Contains( "string" ) || Contains( "different" ) || Contains( "random" ) + testStringForMatching2(), Contains("string") || Contains("different") || Contains("random") "some completely different text that contains one common word" ( contains: "string" or contains: "different" or contains: "random" ) @@ -2772,7 +2772,7 @@ - testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "substring" ) + testStringForMatching(), (Contains("string") || Contains("different")) && Contains("substring") "this string contains 'abc' as a substring" ( ( contains: "string" or contains: "different" ) and contains: "substring" ) @@ -2783,7 +2783,7 @@ - testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "random" ) + testStringForMatching(), (Contains("string") || Contains("different")) && Contains("random") "this string contains 'abc' as a substring" ( ( contains: "string" or contains: "different" ) and contains: "random" ) @@ -2794,7 +2794,7 @@ - testStringForMatching(), !Contains( "different" ) + testStringForMatching(), !Contains("different") "this string contains 'abc' as a substring" not contains: "different" @@ -2805,7 +2805,7 @@ - testStringForMatching(), !Contains( "substring" ) + testStringForMatching(), !Contains("substring") "this string contains 'abc' as a substring" not contains: "substring" @@ -5339,7 +5339,7 @@ Message from section two - testStringForMatching(), StartsWith( "This String" ) + testStringForMatching(), StartsWith("This String") "this string contains 'abc' as a substring" starts with: "This String" @@ -5347,7 +5347,7 @@ Message from section two - testStringForMatching(), StartsWith( "string", Catch::CaseSensitive::No ) + testStringForMatching(), StartsWith("string", Catch::CaseSensitive::No) "this string contains 'abc' as a substring" starts with: "string" (case insensitive) @@ -5358,7 +5358,7 @@ Message from section two - testStringForMatching(), Contains( "string" ) + testStringForMatching(), Contains("string") "this string contains 'abc' as a substring" contains: "string" @@ -5366,7 +5366,7 @@ Message from section two - testStringForMatching(), Contains( "string", Catch::CaseSensitive::No ) + testStringForMatching(), Contains("string", Catch::CaseSensitive::No) "this string contains 'abc' as a substring" contains: "string" (case insensitive) @@ -5374,7 +5374,7 @@ Message from section two - testStringForMatching(), Contains( "abc" ) + testStringForMatching(), Contains("abc") "this string contains 'abc' as a substring" contains: "abc" @@ -5382,7 +5382,7 @@ Message from section two - testStringForMatching(), Contains( "aBC", Catch::CaseSensitive::No ) + testStringForMatching(), Contains("aBC", Catch::CaseSensitive::No) "this string contains 'abc' as a substring" contains: "abc" (case insensitive) @@ -5390,7 +5390,7 @@ Message from section two - testStringForMatching(), StartsWith( "this" ) + testStringForMatching(), StartsWith("this") "this string contains 'abc' as a substring" starts with: "this" @@ -5398,7 +5398,7 @@ Message from section two - testStringForMatching(), StartsWith( "THIS", Catch::CaseSensitive::No ) + testStringForMatching(), StartsWith("THIS", Catch::CaseSensitive::No) "this string contains 'abc' as a substring" starts with: "this" (case insensitive) @@ -5406,7 +5406,7 @@ Message from section two - testStringForMatching(), EndsWith( "substring" ) + testStringForMatching(), EndsWith("substring") "this string contains 'abc' as a substring" ends with: "substring" @@ -5414,7 +5414,7 @@ Message from section two - testStringForMatching(), EndsWith(" SuBsTrInG", Catch::CaseSensitive::No ) + testStringForMatching(), EndsWith(" SuBsTrInG", Catch::CaseSensitive::No) "this string contains 'abc' as a substring" ends with: " substring" (case insensitive) @@ -7209,7 +7209,7 @@ Message from section two
- v, VectorContains( 1 ) + v, VectorContains(1) { 1, 2, 3 } Contains: 1 @@ -7217,7 +7217,7 @@ Message from section two - v, VectorContains( 2 ) + v, VectorContains(2) { 1, 2, 3 } Contains: 2 @@ -7228,7 +7228,7 @@ Message from section two
- v, Contains( v2 ) + v, Contains(v2) { 1, 2, 3 } Contains: { 1, 2 } @@ -7236,7 +7236,7 @@ Message from section two - v, Contains( v2 ) + v, Contains(v2) { 1, 2, 3 } Contains: { 1, 2, 3 } @@ -7244,7 +7244,7 @@ Message from section two - v, Contains( empty) + v, Contains(empty) { 1, 2, 3 } Contains: { } @@ -7252,7 +7252,7 @@ Message from section two - empty, Contains( empty) + empty, Contains(empty) { } Contains: { } @@ -7263,7 +7263,7 @@ Message from section two
- v, VectorContains( 1 ) && VectorContains( 2 ) + v, VectorContains(1) && VectorContains(2) { 1, 2, 3 } ( Contains: 1 and Contains: 2 ) @@ -7274,7 +7274,7 @@ Message from section two
- v, Equals( v ) + v, Equals(v) { 1, 2, 3 } Equals: { 1, 2, 3 } @@ -7282,7 +7282,7 @@ Message from section two - empty, Equals( empty ) + empty, Equals(empty) { } Equals: { } @@ -7290,7 +7290,7 @@ Message from section two - v, Equals( v2 ) + v, Equals(v2) { 1, 2, 3 } Equals: { 1, 2, 3 } @@ -7304,7 +7304,7 @@ Message from section two
- v, VectorContains( -1 ) + v, VectorContains(-1) { 1, 2, 3 } Contains: -1 @@ -7312,7 +7312,7 @@ Message from section two - empty, VectorContains( 1 ) + empty, VectorContains(1) { } Contains: 1 @@ -7323,7 +7323,7 @@ Message from section two
- empty, Contains( v) + empty, Contains(v) { } Contains: { 1, 2, 3 } @@ -7331,7 +7331,7 @@ Message from section two - v, Contains( v2 ) + v, Contains(v2) { 1, 2, 3 } Contains: { 1, 2, 4 } @@ -7342,7 +7342,7 @@ Message from section two
- v, Equals( v2 ) + v, Equals(v2) { 1, 2, 3 } Equals: { 1, 2 } @@ -7350,7 +7350,7 @@ Message from section two - v2, Equals( v ) + v2, Equals(v) { 1, 2 } Equals: { 1, 2, 3 } @@ -7358,7 +7358,7 @@ Message from section two - empty, Equals( v ) + empty, Equals(v) { } Equals: { 1, 2, 3 } @@ -7366,7 +7366,7 @@ Message from section two - v, Equals( empty ) + v, Equals(empty) { 1, 2, 3 } Equals: { }