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

Method throws

extras/catch_amalgamated.cpp:1790–1792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1788 return applies( properties & TestCaseProperties::IsHidden );
1789 }
1790 bool TestCaseInfo::throws() const {
1791 return applies( properties & TestCaseProperties::Throws );
1792 }
1793 bool TestCaseInfo::okToFail() const {
1794 return applies( properties & (TestCaseProperties::ShouldFail | TestCaseProperties::MayFail ) );
1795 }

Callers 3

printFunction · 0.45
isThrowSafeFunction · 0.45
writePropertiesFunction · 0.45

Calls 1

appliesFunction · 0.70

Tested by

no test coverage detected