MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / isThrowSafe

Function isThrowSafe

extern/Catch2/catch.hpp:14268–14270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14266 }
14267
14268 bool isThrowSafe( TestCase const& testCase, IConfig const& config ) {
14269 return !testCase.throws() || config.allowThrows();
14270 }
14271
14272 bool matchTest( TestCase const& testCase, TestSpec const& testSpec, IConfig const& config ) {
14273 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