MCPcopy Create free account
hub / github.com/catchorg/Catch2 / okToFail

Method okToFail

extras/catch_amalgamated.cpp:1793–1795  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1791 return applies( properties & TestCaseProperties::Throws );
1792 }
1793 bool TestCaseInfo::okToFail() const {
1794 return applies( properties & (TestCaseProperties::ShouldFail | TestCaseProperties::MayFail ) );
1795 }
1796 bool TestCaseInfo::expectedToFail() const {
1797 return applies( properties & (TestCaseProperties::ShouldFail) );
1798 }

Callers 5

printFunction · 0.45
assertionEndedMethod · 0.45
writePropertiesFunction · 0.45
testCaseStartingMethod · 0.45
writeTestCaseMethod · 0.45

Calls 1

appliesFunction · 0.70

Tested by

no test coverage detected