MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / isThrowSafe

Function isThrowSafe

extlibs/catch/include/catch/catch.hpp:13636–13638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13634 }
13635
13636 bool isThrowSafe( TestCase const& testCase, IConfig const& config ) {
13637 return !testCase.throws() || config.allowThrows();
13638 }
13639
13640 bool matchTest( TestCase const& testCase, TestSpec const& testSpec, IConfig const& config ) {
13641 return testSpec.matches( testCase ) && isThrowSafe( testCase, config );

Callers 2

matchTestFunction · 0.85
matchesByFilterMethod · 0.85

Calls 2

throwsMethod · 0.80
allowThrowsMethod · 0.80

Tested by

no test coverage detected