| 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 ); |
no test coverage detected