mirror of https://github.com/catchorg/Catch2.git
Rebased due to whitespace changes
This commit is contained in:
parent
61e838edf2
commit
8da845810d
|
@ -145,13 +145,13 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( testStringForMatching(), Contains( "not there", Catch::CaseSensitive::No ) )
|
CHECK_THAT( testStringForMatching(), Contains("not there", Catch::CaseSensitive::No) )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" contains: "not there" (case
|
"this string contains 'abc' as a substring" contains: "not there" (case
|
||||||
insensitive)
|
insensitive)
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( testStringForMatching(), Contains( "STRING" ) )
|
CHECK_THAT( testStringForMatching(), Contains("STRING") )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" contains: "STRING"
|
"this string contains 'abc' as a substring" contains: "STRING"
|
||||||
|
|
||||||
|
@ -194,12 +194,12 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( testStringForMatching(), EndsWith( "Substring" ) )
|
CHECK_THAT( testStringForMatching(), EndsWith("Substring") )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" ends with: "Substring"
|
"this string contains 'abc' as a substring" ends with: "Substring"
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( testStringForMatching(), EndsWith( "this", Catch::CaseSensitive::No ) )
|
CHECK_THAT( testStringForMatching(), EndsWith("this", Catch::CaseSensitive::No) )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" ends with: "this" (case
|
"this string contains 'abc' as a substring" ends with: "this" (case
|
||||||
insensitive)
|
insensitive)
|
||||||
|
@ -282,13 +282,13 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: 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:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" equals: "this string contains
|
"this string contains 'abc' as a substring" equals: "this string contains
|
||||||
'ABC' as a substring"
|
'ABC' as a substring"
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( testStringForMatching(), Equals( "something else", Catch::CaseSensitive::No ) )
|
CHECK_THAT( testStringForMatching(), Equals("something else", Catch::CaseSensitive::No) )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" equals: "something else" (case
|
"this string contains 'abc' as a substring" equals: "something else" (case
|
||||||
insensitive)
|
insensitive)
|
||||||
|
@ -301,11 +301,11 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } )
|
CHECK_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{1} )
|
||||||
because no exception was thrown where one was expected:
|
because no exception was thrown where one was expected:
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
REQUIRE_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } )
|
REQUIRE_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{1} )
|
||||||
because no exception was thrown where one was expected:
|
because no exception was thrown where one was expected:
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
@ -316,12 +316,12 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 } )
|
CHECK_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{1} )
|
||||||
due to unexpected exception with message:
|
due to unexpected exception with message:
|
||||||
Unknown exception
|
Unknown exception
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
REQUIRE_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 } )
|
REQUIRE_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{1} )
|
||||||
due to unexpected exception with message:
|
due to unexpected exception with message:
|
||||||
Unknown exception
|
Unknown exception
|
||||||
|
|
||||||
|
@ -333,12 +333,12 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THROWS_MATCHES( throws(3), SpecialException, ExceptionMatcher{ 1 } )
|
CHECK_THROWS_MATCHES( throws(3), SpecialException, ExceptionMatcher{1} )
|
||||||
with expansion:
|
with expansion:
|
||||||
{?} special exception has value of 1
|
{?} special exception has value of 1
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
REQUIRE_THROWS_MATCHES( throws(4), SpecialException, ExceptionMatcher{ 1 } )
|
REQUIRE_THROWS_MATCHES( throws(4), SpecialException, ExceptionMatcher{1} )
|
||||||
with expansion:
|
with expansion:
|
||||||
{?} special exception has value of 1
|
{?} special exception has value of 1
|
||||||
|
|
||||||
|
@ -493,7 +493,7 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "random" ) )
|
CHECK_THAT( testStringForMatching(), (Contains("string") || Contains("different")) && Contains("random") )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" ( ( contains: "string" or
|
"this string contains 'abc' as a substring" ( ( contains: "string" or
|
||||||
contains: "different" ) and contains: "random" )
|
contains: "different" ) and contains: "random" )
|
||||||
|
@ -505,7 +505,7 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( testStringForMatching(), !Contains( "substring" ) )
|
CHECK_THAT( testStringForMatching(), !Contains("substring") )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" not contains: "substring"
|
"this string contains 'abc' as a substring" not contains: "substring"
|
||||||
|
|
||||||
|
@ -709,12 +709,12 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( testStringForMatching(), StartsWith( "This String" ) )
|
CHECK_THAT( testStringForMatching(), StartsWith("This String") )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" starts with: "This String"
|
"this string contains 'abc' as a substring" starts with: "This String"
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( testStringForMatching(), StartsWith( "string", Catch::CaseSensitive::No ) )
|
CHECK_THAT( testStringForMatching(), StartsWith("string", Catch::CaseSensitive::No) )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" starts with: "string" (case
|
"this string contains 'abc' as a substring" starts with: "string" (case
|
||||||
insensitive)
|
insensitive)
|
||||||
|
@ -755,12 +755,12 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( v, VectorContains( -1 ) )
|
CHECK_THAT( v, VectorContains(-1) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ 1, 2, 3 } Contains: -1
|
{ 1, 2, 3 } Contains: -1
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( empty, VectorContains( 1 ) )
|
CHECK_THAT( empty, VectorContains(1) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ } Contains: 1
|
{ } Contains: 1
|
||||||
|
|
||||||
|
@ -772,12 +772,12 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( empty, Contains( v) )
|
CHECK_THAT( empty, Contains(v) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ } Contains: { 1, 2, 3 }
|
{ } Contains: { 1, 2, 3 }
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( v, Contains( v2 ) )
|
CHECK_THAT( v, Contains(v2) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ 1, 2, 3 } Contains: { 1, 2, 4 }
|
{ 1, 2, 3 } Contains: { 1, 2, 4 }
|
||||||
|
|
||||||
|
@ -789,22 +789,22 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( v, Equals( v2 ) )
|
CHECK_THAT( v, Equals(v2) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ 1, 2, 3 } Equals: { 1, 2 }
|
{ 1, 2, 3 } Equals: { 1, 2 }
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( v2, Equals( v ) )
|
CHECK_THAT( v2, Equals(v) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ 1, 2 } Equals: { 1, 2, 3 }
|
{ 1, 2 } Equals: { 1, 2, 3 }
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( empty, Equals( v ) )
|
CHECK_THAT( empty, Equals(v) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ } Equals: { 1, 2, 3 }
|
{ } Equals: { 1, 2, 3 }
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( v, Equals( empty ) )
|
CHECK_THAT( v, Equals(empty) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ 1, 2, 3 } Equals: { }
|
{ 1, 2, 3 } Equals: { }
|
||||||
|
|
||||||
|
|
|
@ -1315,13 +1315,13 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( testStringForMatching(), Contains( "not there", Catch::CaseSensitive::No ) )
|
CHECK_THAT( testStringForMatching(), Contains("not there", Catch::CaseSensitive::No) )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" contains: "not there" (case
|
"this string contains 'abc' as a substring" contains: "not there" (case
|
||||||
insensitive)
|
insensitive)
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( testStringForMatching(), Contains( "STRING" ) )
|
CHECK_THAT( testStringForMatching(), Contains("STRING") )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" contains: "STRING"
|
"this string contains 'abc' as a substring" contains: "STRING"
|
||||||
|
|
||||||
|
@ -1382,12 +1382,12 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( testStringForMatching(), EndsWith( "Substring" ) )
|
CHECK_THAT( testStringForMatching(), EndsWith("Substring") )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" ends with: "Substring"
|
"this string contains 'abc' as a substring" ends with: "Substring"
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( testStringForMatching(), EndsWith( "this", Catch::CaseSensitive::No ) )
|
CHECK_THAT( testStringForMatching(), EndsWith("this", Catch::CaseSensitive::No) )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" ends with: "this" (case
|
"this string contains 'abc' as a substring" ends with: "this" (case
|
||||||
insensitive)
|
insensitive)
|
||||||
|
@ -1531,14 +1531,14 @@ Matchers.tests.cpp:<line number>
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
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:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" equals: "this string contains
|
"this string contains 'abc' as a substring" equals: "this string contains
|
||||||
'abc' as a substring"
|
'abc' as a substring"
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
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:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" equals: "this string contains
|
"this string contains 'abc' as a substring" equals: "this string contains
|
||||||
'abc' as a substring" (case insensitive)
|
'abc' as a substring" (case insensitive)
|
||||||
|
@ -1550,13 +1550,13 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: 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:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" equals: "this string contains
|
"this string contains 'abc' as a substring" equals: "this string contains
|
||||||
'ABC' as a substring"
|
'ABC' as a substring"
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( testStringForMatching(), Equals( "something else", Catch::CaseSensitive::No ) )
|
CHECK_THAT( testStringForMatching(), Equals("something else", Catch::CaseSensitive::No) )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" equals: "something else" (case
|
"this string contains 'abc' as a substring" equals: "something else" (case
|
||||||
insensitive)
|
insensitive)
|
||||||
|
@ -1569,11 +1569,11 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } )
|
CHECK_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{1} )
|
||||||
because no exception was thrown where one was expected:
|
because no exception was thrown where one was expected:
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
REQUIRE_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } )
|
REQUIRE_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{1} )
|
||||||
because no exception was thrown where one was expected:
|
because no exception was thrown where one was expected:
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
@ -1584,12 +1584,12 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 } )
|
CHECK_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{1} )
|
||||||
due to unexpected exception with message:
|
due to unexpected exception with message:
|
||||||
Unknown exception
|
Unknown exception
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
REQUIRE_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 } )
|
REQUIRE_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{1} )
|
||||||
due to unexpected exception with message:
|
due to unexpected exception with message:
|
||||||
Unknown exception
|
Unknown exception
|
||||||
|
|
||||||
|
@ -1601,12 +1601,12 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THROWS_MATCHES( throws(3), SpecialException, ExceptionMatcher{ 1 } )
|
CHECK_THROWS_MATCHES( throws(3), SpecialException, ExceptionMatcher{1} )
|
||||||
with expansion:
|
with expansion:
|
||||||
{?} special exception has value of 1
|
{?} special exception has value of 1
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
REQUIRE_THROWS_MATCHES( throws(4), SpecialException, ExceptionMatcher{ 1 } )
|
REQUIRE_THROWS_MATCHES( throws(4), SpecialException, ExceptionMatcher{1} )
|
||||||
with expansion:
|
with expansion:
|
||||||
{?} special exception has value of 1
|
{?} special exception has value of 1
|
||||||
|
|
||||||
|
@ -1618,13 +1618,13 @@ Matchers.tests.cpp:<line number>
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
CHECK_THROWS_MATCHES( throws(1), SpecialException, ExceptionMatcher{ 1 } )
|
CHECK_THROWS_MATCHES( throws(1), SpecialException, ExceptionMatcher{1} )
|
||||||
with expansion:
|
with expansion:
|
||||||
{?} special exception has value of 1
|
{?} special exception has value of 1
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
REQUIRE_THROWS_MATCHES( throws(2), SpecialException, ExceptionMatcher{ 2 } )
|
REQUIRE_THROWS_MATCHES( throws(2), SpecialException, ExceptionMatcher{2} )
|
||||||
with expansion:
|
with expansion:
|
||||||
{?} special exception has value of 2
|
{?} special exception has value of 2
|
||||||
|
|
||||||
|
@ -2354,7 +2354,7 @@ Matchers.tests.cpp:<line number>
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
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:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" ( contains: "string" and
|
"this string contains 'abc' as a substring" ( contains: "string" and
|
||||||
contains: "abc" and contains: "substring" and contains: "contains" )
|
contains: "abc" and contains: "substring" and contains: "contains" )
|
||||||
|
@ -2367,14 +2367,14 @@ Matchers.tests.cpp:<line number>
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
CHECK_THAT( testStringForMatching(), Contains( "string" ) || Contains( "different" ) || Contains( "random" ) )
|
CHECK_THAT( testStringForMatching(), Contains("string") || Contains("different") || Contains("random") )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" ( contains: "string" or contains:
|
"this string contains 'abc' as a substring" ( contains: "string" or contains:
|
||||||
"different" or contains: "random" )
|
"different" or contains: "random" )
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
CHECK_THAT( testStringForMatching2(), Contains( "string" ) || Contains( "different" ) || Contains( "random" ) )
|
CHECK_THAT( testStringForMatching2(), Contains("string") || Contains("different") || Contains("random") )
|
||||||
with expansion:
|
with expansion:
|
||||||
"some completely different text that contains one common word" ( contains:
|
"some completely different text that contains one common word" ( contains:
|
||||||
"string" or contains: "different" or contains: "random" )
|
"string" or contains: "different" or contains: "random" )
|
||||||
|
@ -2387,7 +2387,7 @@ Matchers.tests.cpp:<line number>
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
CHECK_THAT( testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "substring" ) )
|
CHECK_THAT( testStringForMatching(), (Contains("string") || Contains("different")) && Contains("substring") )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" ( ( contains: "string" or
|
"this string contains 'abc' as a substring" ( ( contains: "string" or
|
||||||
contains: "different" ) and contains: "substring" )
|
contains: "different" ) and contains: "substring" )
|
||||||
|
@ -2399,7 +2399,7 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "random" ) )
|
CHECK_THAT( testStringForMatching(), (Contains("string") || Contains("different")) && Contains("random") )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" ( ( contains: "string" or
|
"this string contains 'abc' as a substring" ( ( contains: "string" or
|
||||||
contains: "different" ) and contains: "random" )
|
contains: "different" ) and contains: "random" )
|
||||||
|
@ -2412,7 +2412,7 @@ Matchers.tests.cpp:<line number>
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
CHECK_THAT( testStringForMatching(), !Contains( "different" ) )
|
CHECK_THAT( testStringForMatching(), !Contains("different") )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" not contains: "different"
|
"this string contains 'abc' as a substring" not contains: "different"
|
||||||
|
|
||||||
|
@ -2423,7 +2423,7 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( testStringForMatching(), !Contains( "substring" ) )
|
CHECK_THAT( testStringForMatching(), !Contains("substring") )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" not contains: "substring"
|
"this string contains 'abc' as a substring" not contains: "substring"
|
||||||
|
|
||||||
|
@ -4662,12 +4662,12 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( testStringForMatching(), StartsWith( "This String" ) )
|
CHECK_THAT( testStringForMatching(), StartsWith("This String") )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" starts with: "This String"
|
"this string contains 'abc' as a substring" starts with: "This String"
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( testStringForMatching(), StartsWith( "string", Catch::CaseSensitive::No ) )
|
CHECK_THAT( testStringForMatching(), StartsWith("string", Catch::CaseSensitive::No) )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" starts with: "string" (case
|
"this string contains 'abc' as a substring" starts with: "string" (case
|
||||||
insensitive)
|
insensitive)
|
||||||
|
@ -4680,52 +4680,52 @@ Matchers.tests.cpp:<line number>
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
REQUIRE_THAT( testStringForMatching(), Contains( "string" ) )
|
REQUIRE_THAT( testStringForMatching(), Contains("string") )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" contains: "string"
|
"this string contains 'abc' as a substring" contains: "string"
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
REQUIRE_THAT( testStringForMatching(), Contains( "string", Catch::CaseSensitive::No ) )
|
REQUIRE_THAT( testStringForMatching(), Contains("string", Catch::CaseSensitive::No) )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" contains: "string" (case
|
"this string contains 'abc' as a substring" contains: "string" (case
|
||||||
insensitive)
|
insensitive)
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
CHECK_THAT( testStringForMatching(), Contains( "abc" ) )
|
CHECK_THAT( testStringForMatching(), Contains("abc") )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" contains: "abc"
|
"this string contains 'abc' as a substring" contains: "abc"
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
CHECK_THAT( testStringForMatching(), Contains( "aBC", Catch::CaseSensitive::No ) )
|
CHECK_THAT( testStringForMatching(), Contains("aBC", Catch::CaseSensitive::No) )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" contains: "abc" (case insensitive)
|
"this string contains 'abc' as a substring" contains: "abc" (case insensitive)
|
||||||
insensitive)
|
insensitive)
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
CHECK_THAT( testStringForMatching(), StartsWith( "this" ) )
|
CHECK_THAT( testStringForMatching(), StartsWith("this") )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" starts with: "this"
|
"this string contains 'abc' as a substring" starts with: "this"
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
CHECK_THAT( testStringForMatching(), StartsWith( "THIS", Catch::CaseSensitive::No ) )
|
CHECK_THAT( testStringForMatching(), StartsWith("THIS", Catch::CaseSensitive::No) )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" starts with: "this" (case
|
"this string contains 'abc' as a substring" starts with: "this" (case
|
||||||
insensitive)
|
insensitive)
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
CHECK_THAT( testStringForMatching(), EndsWith( "substring" ) )
|
CHECK_THAT( testStringForMatching(), EndsWith("substring") )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" ends with: "substring"
|
"this string contains 'abc' as a substring" ends with: "substring"
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
CHECK_THAT( testStringForMatching(), EndsWith(" SuBsTrInG", Catch::CaseSensitive::No ) )
|
CHECK_THAT( testStringForMatching(), EndsWith(" SuBsTrInG", Catch::CaseSensitive::No) )
|
||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" ends with: " substring" (case
|
"this string contains 'abc' as a substring" ends with: " substring" (case
|
||||||
insensitive)
|
insensitive)
|
||||||
|
@ -6360,13 +6360,13 @@ Matchers.tests.cpp:<line number>
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
CHECK_THAT( v, VectorContains( 1 ) )
|
CHECK_THAT( v, VectorContains(1) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ 1, 2, 3 } Contains: 1
|
{ 1, 2, 3 } Contains: 1
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
CHECK_THAT( v, VectorContains( 2 ) )
|
CHECK_THAT( v, VectorContains(2) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ 1, 2, 3 } Contains: 2
|
{ 1, 2, 3 } Contains: 2
|
||||||
|
|
||||||
|
@ -6379,25 +6379,25 @@ Matchers.tests.cpp:<line number>
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
CHECK_THAT( v, Contains( v2 ) )
|
CHECK_THAT( v, Contains(v2) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ 1, 2, 3 } Contains: { 1, 2 }
|
{ 1, 2, 3 } Contains: { 1, 2 }
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
CHECK_THAT( v, Contains( v2 ) )
|
CHECK_THAT( v, Contains(v2) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ 1, 2, 3 } Contains: { 1, 2, 3 }
|
{ 1, 2, 3 } Contains: { 1, 2, 3 }
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
CHECK_THAT( v, Contains( empty) )
|
CHECK_THAT( v, Contains(empty) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ 1, 2, 3 } Contains: { }
|
{ 1, 2, 3 } Contains: { }
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
CHECK_THAT( empty, Contains( empty) )
|
CHECK_THAT( empty, Contains(empty) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ } Contains: { }
|
{ } Contains: { }
|
||||||
|
|
||||||
|
@ -6410,7 +6410,7 @@ Matchers.tests.cpp:<line number>
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
CHECK_THAT( v, VectorContains( 1 ) && VectorContains( 2 ) )
|
CHECK_THAT( v, VectorContains(1) && VectorContains(2) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ 1, 2, 3 } ( Contains: 1 and Contains: 2 )
|
{ 1, 2, 3 } ( Contains: 1 and Contains: 2 )
|
||||||
|
|
||||||
|
@ -6423,19 +6423,19 @@ Matchers.tests.cpp:<line number>
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
CHECK_THAT( v, Equals( v ) )
|
CHECK_THAT( v, Equals(v) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ 1, 2, 3 } Equals: { 1, 2, 3 }
|
{ 1, 2, 3 } Equals: { 1, 2, 3 }
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
CHECK_THAT( empty, Equals( empty ) )
|
CHECK_THAT( empty, Equals(empty) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ } Equals: { }
|
{ } Equals: { }
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>:
|
Matchers.tests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
CHECK_THAT( v, Equals( v2 ) )
|
CHECK_THAT( v, Equals(v2) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ 1, 2, 3 } Equals: { 1, 2, 3 }
|
{ 1, 2, 3 } Equals: { 1, 2, 3 }
|
||||||
|
|
||||||
|
@ -6447,12 +6447,12 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( v, VectorContains( -1 ) )
|
CHECK_THAT( v, VectorContains(-1) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ 1, 2, 3 } Contains: -1
|
{ 1, 2, 3 } Contains: -1
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( empty, VectorContains( 1 ) )
|
CHECK_THAT( empty, VectorContains(1) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ } Contains: 1
|
{ } Contains: 1
|
||||||
|
|
||||||
|
@ -6464,12 +6464,12 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( empty, Contains( v) )
|
CHECK_THAT( empty, Contains(v) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ } Contains: { 1, 2, 3 }
|
{ } Contains: { 1, 2, 3 }
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( v, Contains( v2 ) )
|
CHECK_THAT( v, Contains(v2) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ 1, 2, 3 } Contains: { 1, 2, 4 }
|
{ 1, 2, 3 } Contains: { 1, 2, 4 }
|
||||||
|
|
||||||
|
@ -6481,22 +6481,22 @@ Matchers.tests.cpp:<line number>
|
||||||
...............................................................................
|
...............................................................................
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( v, Equals( v2 ) )
|
CHECK_THAT( v, Equals(v2) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ 1, 2, 3 } Equals: { 1, 2 }
|
{ 1, 2, 3 } Equals: { 1, 2 }
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( v2, Equals( v ) )
|
CHECK_THAT( v2, Equals(v) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ 1, 2 } Equals: { 1, 2, 3 }
|
{ 1, 2 } Equals: { 1, 2, 3 }
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( empty, Equals( v ) )
|
CHECK_THAT( empty, Equals(v) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ } Equals: { 1, 2, 3 }
|
{ } Equals: { 1, 2, 3 }
|
||||||
|
|
||||||
Matchers.tests.cpp:<line number>: FAILED:
|
Matchers.tests.cpp:<line number>: FAILED:
|
||||||
CHECK_THAT( v, Equals( empty ) )
|
CHECK_THAT( v, Equals(empty) )
|
||||||
with expansion:
|
with expansion:
|
||||||
{ 1, 2, 3 } Equals: { }
|
{ 1, 2, 3 } Equals: { }
|
||||||
|
|
||||||
|
|
|
@ -213,19 +213,19 @@ Matchers.tests.cpp:<line number>
|
||||||
</failure>
|
</failure>
|
||||||
</testcase>
|
</testcase>
|
||||||
<testcase classname="<exe-name>.global" name="Exception matchers that fail/No exception" time="{duration}">
|
<testcase classname="<exe-name>.global" name="Exception matchers that fail/No exception" time="{duration}">
|
||||||
<failure message="doesNotThrow(), SpecialException, ExceptionMatcher{ 1 }" type="CHECK_THROWS_MATCHES">
|
<failure message="doesNotThrow(), SpecialException, ExceptionMatcher{1}" type="CHECK_THROWS_MATCHES">
|
||||||
Matchers.tests.cpp:<line number>
|
Matchers.tests.cpp:<line number>
|
||||||
</failure>
|
</failure>
|
||||||
<failure message="doesNotThrow(), SpecialException, ExceptionMatcher{ 1 }" type="REQUIRE_THROWS_MATCHES">
|
<failure message="doesNotThrow(), SpecialException, ExceptionMatcher{1}" type="REQUIRE_THROWS_MATCHES">
|
||||||
Matchers.tests.cpp:<line number>
|
Matchers.tests.cpp:<line number>
|
||||||
</failure>
|
</failure>
|
||||||
</testcase>
|
</testcase>
|
||||||
<testcase classname="<exe-name>.global" name="Exception matchers that fail/Type mismatch" time="{duration}">
|
<testcase classname="<exe-name>.global" name="Exception matchers that fail/Type mismatch" time="{duration}">
|
||||||
<error message="throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 }" type="CHECK_THROWS_MATCHES">
|
<error message="throwsAsInt(1), SpecialException, ExceptionMatcher{1}" type="CHECK_THROWS_MATCHES">
|
||||||
Unknown exception
|
Unknown exception
|
||||||
Matchers.tests.cpp:<line number>
|
Matchers.tests.cpp:<line number>
|
||||||
</error>
|
</error>
|
||||||
<error message="throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 }" type="REQUIRE_THROWS_MATCHES">
|
<error message="throwsAsInt(1), SpecialException, ExceptionMatcher{1}" type="REQUIRE_THROWS_MATCHES">
|
||||||
Unknown exception
|
Unknown exception
|
||||||
Matchers.tests.cpp:<line number>
|
Matchers.tests.cpp:<line number>
|
||||||
</error>
|
</error>
|
||||||
|
|
|
@ -1469,7 +1469,7 @@
|
||||||
<TestCase name="Contains string matcher" tags="[.][failing][matchers]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<TestCase name="Contains string matcher" tags="[.][failing][matchers]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), Contains( "not there", Catch::CaseSensitive::No )
|
testStringForMatching(), Contains("not there", Catch::CaseSensitive::No)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" contains: "not there" (case insensitive)
|
"this string contains 'abc' as a substring" contains: "not there" (case insensitive)
|
||||||
|
@ -1477,7 +1477,7 @@
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), Contains( "STRING" )
|
testStringForMatching(), Contains("STRING")
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" contains: "STRING"
|
"this string contains 'abc' as a substring" contains: "STRING"
|
||||||
|
@ -1541,7 +1541,7 @@
|
||||||
<TestCase name="EndsWith string matcher" tags="[.][failing][matchers]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<TestCase name="EndsWith string matcher" tags="[.][failing][matchers]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), EndsWith( "Substring" )
|
testStringForMatching(), EndsWith("Substring")
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" ends with: "Substring"
|
"this string contains 'abc' as a substring" ends with: "Substring"
|
||||||
|
@ -1549,7 +1549,7 @@
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), EndsWith( "this", Catch::CaseSensitive::No )
|
testStringForMatching(), EndsWith("this", Catch::CaseSensitive::No)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" ends with: "this" (case insensitive)
|
"this string contains 'abc' as a substring" ends with: "this" (case insensitive)
|
||||||
|
@ -1737,7 +1737,7 @@
|
||||||
<TestCase name="Equals" tags="[matchers]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<TestCase name="Equals" tags="[matchers]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), Equals( "this string contains 'abc' as a substring" )
|
testStringForMatching(), Equals("this string contains 'abc' as a substring")
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" 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 @@
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), Equals( "this string contains 'ABC' as a substring", Catch::CaseSensitive::No )
|
testStringForMatching(), Equals("this string contains 'ABC' as a substring", Catch::CaseSensitive::No)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" equals: "this string contains 'abc' as a substring" (case insensitive)
|
"this string contains 'abc' as a substring" equals: "this string contains 'abc' as a substring" (case insensitive)
|
||||||
|
@ -1756,7 +1756,7 @@
|
||||||
<TestCase name="Equals string matcher" tags="[.][failing][matchers]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<TestCase name="Equals string matcher" tags="[.][failing][matchers]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), Equals( "this string contains 'ABC' as a substring" )
|
testStringForMatching(), Equals("this string contains 'ABC' as a substring")
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" 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 @@
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), Equals( "something else", Catch::CaseSensitive::No )
|
testStringForMatching(), Equals("something else", Catch::CaseSensitive::No)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" equals: "something else" (case insensitive)
|
"this string contains 'abc' as a substring" equals: "something else" (case insensitive)
|
||||||
|
@ -1776,18 +1776,18 @@
|
||||||
<Section name="No exception" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Section name="No exception" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="false" type="CHECK_THROWS_MATCHES" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="CHECK_THROWS_MATCHES" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
doesNotThrow(), SpecialException, ExceptionMatcher{ 1 }
|
doesNotThrow(), SpecialException, ExceptionMatcher{1}
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
doesNotThrow(), SpecialException, ExceptionMatcher{ 1 }
|
doesNotThrow(), SpecialException, ExceptionMatcher{1}
|
||||||
</Expanded>
|
</Expanded>
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="false" type="REQUIRE_THROWS_MATCHES" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="REQUIRE_THROWS_MATCHES" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
doesNotThrow(), SpecialException, ExceptionMatcher{ 1 }
|
doesNotThrow(), SpecialException, ExceptionMatcher{1}
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
doesNotThrow(), SpecialException, ExceptionMatcher{ 1 }
|
doesNotThrow(), SpecialException, ExceptionMatcher{1}
|
||||||
</Expanded>
|
</Expanded>
|
||||||
</Expression>
|
</Expression>
|
||||||
<OverallResults successes="0" failures="2" expectedFailures="0"/>
|
<OverallResults successes="0" failures="2" expectedFailures="0"/>
|
||||||
|
@ -1795,10 +1795,10 @@
|
||||||
<Section name="Type mismatch" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Section name="Type mismatch" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="false" type="CHECK_THROWS_MATCHES" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="CHECK_THROWS_MATCHES" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 }
|
throwsAsInt(1), SpecialException, ExceptionMatcher{1}
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 }
|
throwsAsInt(1), SpecialException, ExceptionMatcher{1}
|
||||||
</Expanded>
|
</Expanded>
|
||||||
<Exception filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Exception filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
Unknown exception
|
Unknown exception
|
||||||
|
@ -1806,10 +1806,10 @@
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="false" type="REQUIRE_THROWS_MATCHES" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="REQUIRE_THROWS_MATCHES" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 }
|
throwsAsInt(1), SpecialException, ExceptionMatcher{1}
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
throwsAsInt(1), SpecialException, ExceptionMatcher{ 1 }
|
throwsAsInt(1), SpecialException, ExceptionMatcher{1}
|
||||||
</Expanded>
|
</Expanded>
|
||||||
<Exception filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Exception filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
Unknown exception
|
Unknown exception
|
||||||
|
@ -1820,7 +1820,7 @@
|
||||||
<Section name="Contents are wrong" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Section name="Contents are wrong" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="false" type="CHECK_THROWS_MATCHES" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="CHECK_THROWS_MATCHES" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
throws(3), SpecialException, ExceptionMatcher{ 1 }
|
throws(3), SpecialException, ExceptionMatcher{1}
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
{?} special exception has value of 1
|
{?} special exception has value of 1
|
||||||
|
@ -1828,7 +1828,7 @@
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="false" type="REQUIRE_THROWS_MATCHES" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="REQUIRE_THROWS_MATCHES" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
throws(4), SpecialException, ExceptionMatcher{ 1 }
|
throws(4), SpecialException, ExceptionMatcher{1}
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
{?} special exception has value of 1
|
{?} special exception has value of 1
|
||||||
|
@ -1841,7 +1841,7 @@
|
||||||
<TestCase name="Exception matchers that succeed" tags="[!throws][exceptions][matchers]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<TestCase name="Exception matchers that succeed" tags="[!throws][exceptions][matchers]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="true" type="CHECK_THROWS_MATCHES" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THROWS_MATCHES" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
throws(1), SpecialException, ExceptionMatcher{ 1 }
|
throws(1), SpecialException, ExceptionMatcher{1}
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
{?} special exception has value of 1
|
{?} special exception has value of 1
|
||||||
|
@ -1849,7 +1849,7 @@
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="true" type="REQUIRE_THROWS_MATCHES" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="REQUIRE_THROWS_MATCHES" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
throws(2), SpecialException, ExceptionMatcher{ 2 }
|
throws(2), SpecialException, ExceptionMatcher{2}
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
{?} special exception has value of 2
|
{?} special exception has value of 2
|
||||||
|
@ -2742,7 +2742,7 @@
|
||||||
<TestCase name="Matchers can be (AllOf) composed with the && operator" tags="[matchers][operator&&][operators]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<TestCase name="Matchers can be (AllOf) composed with the && operator" tags="[matchers][operator&&][operators]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), Contains( "string" ) && Contains( "abc" ) && Contains( "substring" ) && Contains( "contains" )
|
testStringForMatching(), Contains("string") && Contains("abc") && Contains("substring") && Contains("contains")
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" ( contains: "string" and contains: "abc" and contains: "substring" and contains: "contains" )
|
"this string contains 'abc' as a substring" ( contains: "string" and contains: "abc" and contains: "substring" and contains: "contains" )
|
||||||
|
@ -2753,7 +2753,7 @@
|
||||||
<TestCase name="Matchers can be (AnyOf) composed with the || operator" tags="[matchers][operators][operator||]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<TestCase name="Matchers can be (AnyOf) composed with the || operator" tags="[matchers][operators][operator||]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), Contains( "string" ) || Contains( "different" ) || Contains( "random" )
|
testStringForMatching(), Contains("string") || Contains("different") || Contains("random")
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" ( contains: "string" or contains: "different" or contains: "random" )
|
"this string contains 'abc' as a substring" ( contains: "string" or contains: "different" or contains: "random" )
|
||||||
|
@ -2761,7 +2761,7 @@
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching2(), Contains( "string" ) || Contains( "different" ) || Contains( "random" )
|
testStringForMatching2(), Contains("string") || Contains("different") || Contains("random")
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"some completely different text that contains one common word" ( contains: "string" or contains: "different" or contains: "random" )
|
"some completely different text that contains one common word" ( contains: "string" or contains: "different" or contains: "random" )
|
||||||
|
@ -2772,7 +2772,7 @@
|
||||||
<TestCase name="Matchers can be composed with both && and ||" tags="[matchers][operator&&][operators][operator||]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<TestCase name="Matchers can be composed with both && and ||" tags="[matchers][operator&&][operators][operator||]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "substring" )
|
testStringForMatching(), (Contains("string") || Contains("different")) && Contains("substring")
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" ( ( contains: "string" or contains: "different" ) and contains: "substring" )
|
"this string contains 'abc' as a substring" ( ( contains: "string" or contains: "different" ) and contains: "substring" )
|
||||||
|
@ -2783,7 +2783,7 @@
|
||||||
<TestCase name="Matchers can be composed with both && and || - failing" tags="[.][.failing][matchers][operator&&][operators][operator||]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<TestCase name="Matchers can be composed with both && and || - failing" tags="[.][.failing][matchers][operator&&][operators][operator||]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "random" )
|
testStringForMatching(), (Contains("string") || Contains("different")) && Contains("random")
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" ( ( contains: "string" or contains: "different" ) and contains: "random" )
|
"this string contains 'abc' as a substring" ( ( contains: "string" or contains: "different" ) and contains: "random" )
|
||||||
|
@ -2794,7 +2794,7 @@
|
||||||
<TestCase name="Matchers can be negated (Not) with the ! operator" tags="[matchers][not][operators]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<TestCase name="Matchers can be negated (Not) with the ! operator" tags="[matchers][not][operators]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), !Contains( "different" )
|
testStringForMatching(), !Contains("different")
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" not contains: "different"
|
"this string contains 'abc' as a substring" not contains: "different"
|
||||||
|
@ -2805,7 +2805,7 @@
|
||||||
<TestCase name="Matchers can be negated (Not) with the ! operator - failing" tags="[.][.failing][matchers][not][operators]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<TestCase name="Matchers can be negated (Not) with the ! operator - failing" tags="[.][.failing][matchers][not][operators]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), !Contains( "substring" )
|
testStringForMatching(), !Contains("substring")
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" not contains: "substring"
|
"this string contains 'abc' as a substring" not contains: "substring"
|
||||||
|
@ -5339,7 +5339,7 @@ Message from section two
|
||||||
<TestCase name="StartsWith string matcher" tags="[.][failing][matchers]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<TestCase name="StartsWith string matcher" tags="[.][failing][matchers]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), StartsWith( "This String" )
|
testStringForMatching(), StartsWith("This String")
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" starts with: "This String"
|
"this string contains 'abc' as a substring" starts with: "This String"
|
||||||
|
@ -5347,7 +5347,7 @@ Message from section two
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), StartsWith( "string", Catch::CaseSensitive::No )
|
testStringForMatching(), StartsWith("string", Catch::CaseSensitive::No)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" starts with: "string" (case insensitive)
|
"this string contains 'abc' as a substring" starts with: "string" (case insensitive)
|
||||||
|
@ -5358,7 +5358,7 @@ Message from section two
|
||||||
<TestCase name="String matchers" tags="[matchers]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<TestCase name="String matchers" tags="[matchers]" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="true" type="REQUIRE_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="REQUIRE_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), Contains( "string" )
|
testStringForMatching(), Contains("string")
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" contains: "string"
|
"this string contains 'abc' as a substring" contains: "string"
|
||||||
|
@ -5366,7 +5366,7 @@ Message from section two
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="true" type="REQUIRE_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="REQUIRE_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), Contains( "string", Catch::CaseSensitive::No )
|
testStringForMatching(), Contains("string", Catch::CaseSensitive::No)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" contains: "string" (case insensitive)
|
"this string contains 'abc' as a substring" contains: "string" (case insensitive)
|
||||||
|
@ -5374,7 +5374,7 @@ Message from section two
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), Contains( "abc" )
|
testStringForMatching(), Contains("abc")
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" contains: "abc"
|
"this string contains 'abc' as a substring" contains: "abc"
|
||||||
|
@ -5382,7 +5382,7 @@ Message from section two
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), Contains( "aBC", Catch::CaseSensitive::No )
|
testStringForMatching(), Contains("aBC", Catch::CaseSensitive::No)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" contains: "abc" (case insensitive)
|
"this string contains 'abc' as a substring" contains: "abc" (case insensitive)
|
||||||
|
@ -5390,7 +5390,7 @@ Message from section two
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), StartsWith( "this" )
|
testStringForMatching(), StartsWith("this")
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" starts with: "this"
|
"this string contains 'abc' as a substring" starts with: "this"
|
||||||
|
@ -5398,7 +5398,7 @@ Message from section two
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), StartsWith( "THIS", Catch::CaseSensitive::No )
|
testStringForMatching(), StartsWith("THIS", Catch::CaseSensitive::No)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" starts with: "this" (case insensitive)
|
"this string contains 'abc' as a substring" starts with: "this" (case insensitive)
|
||||||
|
@ -5406,7 +5406,7 @@ Message from section two
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), EndsWith( "substring" )
|
testStringForMatching(), EndsWith("substring")
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" ends with: "substring"
|
"this string contains 'abc' as a substring" ends with: "substring"
|
||||||
|
@ -5414,7 +5414,7 @@ Message from section two
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
testStringForMatching(), EndsWith(" SuBsTrInG", Catch::CaseSensitive::No )
|
testStringForMatching(), EndsWith(" SuBsTrInG", Catch::CaseSensitive::No)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
"this string contains 'abc' as a substring" ends with: " substring" (case insensitive)
|
"this string contains 'abc' as a substring" ends with: " substring" (case insensitive)
|
||||||
|
@ -7209,7 +7209,7 @@ Message from section two
|
||||||
<Section name="Contains (element)" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Section name="Contains (element)" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
v, VectorContains( 1 )
|
v, VectorContains(1)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
{ 1, 2, 3 } Contains: 1
|
{ 1, 2, 3 } Contains: 1
|
||||||
|
@ -7217,7 +7217,7 @@ Message from section two
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
v, VectorContains( 2 )
|
v, VectorContains(2)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
{ 1, 2, 3 } Contains: 2
|
{ 1, 2, 3 } Contains: 2
|
||||||
|
@ -7228,7 +7228,7 @@ Message from section two
|
||||||
<Section name="Contains (vector)" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Section name="Contains (vector)" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
v, Contains( v2 )
|
v, Contains(v2)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
{ 1, 2, 3 } Contains: { 1, 2 }
|
{ 1, 2, 3 } Contains: { 1, 2 }
|
||||||
|
@ -7236,7 +7236,7 @@ Message from section two
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
v, Contains( v2 )
|
v, Contains(v2)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
{ 1, 2, 3 } Contains: { 1, 2, 3 }
|
{ 1, 2, 3 } Contains: { 1, 2, 3 }
|
||||||
|
@ -7244,7 +7244,7 @@ Message from section two
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
v, Contains( empty)
|
v, Contains(empty)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
{ 1, 2, 3 } Contains: { }
|
{ 1, 2, 3 } Contains: { }
|
||||||
|
@ -7252,7 +7252,7 @@ Message from section two
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
empty, Contains( empty)
|
empty, Contains(empty)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
{ } Contains: { }
|
{ } Contains: { }
|
||||||
|
@ -7263,7 +7263,7 @@ Message from section two
|
||||||
<Section name="Contains (element), composed" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Section name="Contains (element), composed" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
v, VectorContains( 1 ) && VectorContains( 2 )
|
v, VectorContains(1) && VectorContains(2)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
{ 1, 2, 3 } ( Contains: 1 and Contains: 2 )
|
{ 1, 2, 3 } ( Contains: 1 and Contains: 2 )
|
||||||
|
@ -7274,7 +7274,7 @@ Message from section two
|
||||||
<Section name="Equals" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Section name="Equals" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
v, Equals( v )
|
v, Equals(v)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
{ 1, 2, 3 } Equals: { 1, 2, 3 }
|
{ 1, 2, 3 } Equals: { 1, 2, 3 }
|
||||||
|
@ -7282,7 +7282,7 @@ Message from section two
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
empty, Equals( empty )
|
empty, Equals(empty)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
{ } Equals: { }
|
{ } Equals: { }
|
||||||
|
@ -7290,7 +7290,7 @@ Message from section two
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
v, Equals( v2 )
|
v, Equals(v2)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
{ 1, 2, 3 } Equals: { 1, 2, 3 }
|
{ 1, 2, 3 } Equals: { 1, 2, 3 }
|
||||||
|
@ -7304,7 +7304,7 @@ Message from section two
|
||||||
<Section name="Contains (element)" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Section name="Contains (element)" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
v, VectorContains( -1 )
|
v, VectorContains(-1)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
{ 1, 2, 3 } Contains: -1
|
{ 1, 2, 3 } Contains: -1
|
||||||
|
@ -7312,7 +7312,7 @@ Message from section two
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
empty, VectorContains( 1 )
|
empty, VectorContains(1)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
{ } Contains: 1
|
{ } Contains: 1
|
||||||
|
@ -7323,7 +7323,7 @@ Message from section two
|
||||||
<Section name="Contains (vector)" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Section name="Contains (vector)" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
empty, Contains( v)
|
empty, Contains(v)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
{ } Contains: { 1, 2, 3 }
|
{ } Contains: { 1, 2, 3 }
|
||||||
|
@ -7331,7 +7331,7 @@ Message from section two
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
v, Contains( v2 )
|
v, Contains(v2)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
{ 1, 2, 3 } Contains: { 1, 2, 4 }
|
{ 1, 2, 3 } Contains: { 1, 2, 4 }
|
||||||
|
@ -7342,7 +7342,7 @@ Message from section two
|
||||||
<Section name="Equals" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Section name="Equals" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
v, Equals( v2 )
|
v, Equals(v2)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
{ 1, 2, 3 } Equals: { 1, 2 }
|
{ 1, 2, 3 } Equals: { 1, 2 }
|
||||||
|
@ -7350,7 +7350,7 @@ Message from section two
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
v2, Equals( v )
|
v2, Equals(v)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
{ 1, 2 } Equals: { 1, 2, 3 }
|
{ 1, 2 } Equals: { 1, 2, 3 }
|
||||||
|
@ -7358,7 +7358,7 @@ Message from section two
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
empty, Equals( v )
|
empty, Equals(v)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
{ } Equals: { 1, 2, 3 }
|
{ } Equals: { 1, 2, 3 }
|
||||||
|
@ -7366,7 +7366,7 @@ Message from section two
|
||||||
</Expression>
|
</Expression>
|
||||||
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
<Expression success="false" type="CHECK_THAT" filename="projects/<exe-name>/UsageTests/Matchers.tests.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
v, Equals( empty )
|
v, Equals(empty)
|
||||||
</Original>
|
</Original>
|
||||||
<Expanded>
|
<Expanded>
|
||||||
{ 1, 2, 3 } Equals: { }
|
{ 1, 2, 3 } Equals: { }
|
||||||
|
|
Loading…
Reference in New Issue