MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / matchTest

Function matchTest

unittests/catch.hpp:10012–10014  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10010 return sorted;
10011 }
10012 bool matchTest( TestCase const& testCase, TestSpec const& testSpec, IConfig const& config ) {
10013 return testSpec.matches( testCase ) && ( config.allowThrows() || !testCase.throws() );
10014 }
10015
10016 void enforceNoDuplicateTestCases( std::vector<TestCase> const& functions ) {
10017 std::set<TestCase> seenFunctions;

Callers 2

runTestsFunction · 0.85
filterTestsFunction · 0.85

Calls 3

matchesMethod · 0.80
allowThrowsMethod · 0.80
throwsMethod · 0.80

Tested by

no test coverage detected