mirror of
https://github.com/catchorg/Catch2.git
synced 2025-11-16 10:59:31 +01:00
Remove the new tests from approvals
They lead to stringification of file (which is ok) and file line (not ok) to the approvals, which makes them exceedingly brittle and not worth approval testing. Instead we just run them as part of the base test run.
This commit is contained in:
@@ -2438,41 +2438,6 @@ Nor would this
|
||||
</Section>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="Check that our error handling macros throw the right exceptions" tags="[!throws][internals]" filename="projects/<exe-name>/IntrospectiveTests/Details.tests.cpp" >
|
||||
<Expression success="true" type="REQUIRE_THROWS_AS" filename="projects/<exe-name>/IntrospectiveTests/Details.tests.cpp" >
|
||||
<Original>
|
||||
Catch::throw_logic_error((Catch::ReusableStringStream() << ::Catch::SourceLineInfo( "projects/<exe-name>/IntrospectiveTests/Details.tests.cpp", static_cast<std::size_t>( 9 ) ) << ": Internal Catch2 error: " << "").str()), std::logic_error
|
||||
</Original>
|
||||
<Expanded>
|
||||
Catch::throw_logic_error((Catch::ReusableStringStream() << ::Catch::SourceLineInfo( "projects/<exe-name>/IntrospectiveTests/Details.tests.cpp", static_cast<std::size_t>( 9 ) ) << ": Internal Catch2 error: " << "").str()), std::logic_error
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" type="REQUIRE_THROWS_AS" filename="projects/<exe-name>/IntrospectiveTests/Details.tests.cpp" >
|
||||
<Original>
|
||||
Catch::throw_domain_error((Catch::ReusableStringStream() << "").str()), std::domain_error
|
||||
</Original>
|
||||
<Expanded>
|
||||
Catch::throw_domain_error((Catch::ReusableStringStream() << "").str()), std::domain_error
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" type="REQUIRE_THROWS_AS" filename="projects/<exe-name>/IntrospectiveTests/Details.tests.cpp" >
|
||||
<Original>
|
||||
Catch::throw_runtime_error((Catch::ReusableStringStream() << "").str()), std::runtime_error
|
||||
</Original>
|
||||
<Expanded>
|
||||
Catch::throw_runtime_error((Catch::ReusableStringStream() << "").str()), std::runtime_error
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" type="REQUIRE_THROWS_AS" filename="projects/<exe-name>/IntrospectiveTests/Details.tests.cpp" >
|
||||
<Original>
|
||||
[](){do{ if( !(false) ) Catch::throw_domain_error((Catch::ReusableStringStream() << "").str()); } while(false);}(), std::domain_error
|
||||
</Original>
|
||||
<Expanded>
|
||||
[](){do{ if( !(false) ) Catch::throw_domain_error((Catch::ReusableStringStream() << "").str()); } while(false);}(), std::domain_error
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="Commas in various macros are allowed" filename="projects/<exe-name>/UsageTests/Tricky.tests.cpp" >
|
||||
<Expression success="true" type="REQUIRE_THROWS" filename="projects/<exe-name>/UsageTests/Tricky.tests.cpp" >
|
||||
<Original>
|
||||
@@ -14802,7 +14767,7 @@ loose text artifact
|
||||
</Section>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<OverallResults successes="1405" failures="149" expectedFailures="21"/>
|
||||
<OverallResults successes="1401" failures="149" expectedFailures="21"/>
|
||||
</Group>
|
||||
<OverallResults successes="1405" failures="148" expectedFailures="21"/>
|
||||
<OverallResults successes="1401" failures="148" expectedFailures="21"/>
|
||||
</Catch>
|
||||
|
||||
Reference in New Issue
Block a user