MCPcopy Create free account
hub / github.com/apache/trafficserver / isThrowSafe

Function isThrowSafe

lib/catch2/catch.hpp:14266–14268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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