MCPcopy Create free account
hub / github.com/apache/thrift / matchTest

Function matchTest

compiler/cpp/tests/catch/catch.hpp:7186–7188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7184 return sorted;
7185 }
7186 bool matchTest( TestCase const& testCase, TestSpec const& testSpec, IConfig const& config ) {
7187 return testSpec.matches( testCase ) && ( config.allowThrows() || !testCase.throws() );
7188 }
7189
7190 void enforceNoDuplicateTestCases( std::vector<TestCase> const& functions ) {
7191 std::set<TestCase> seenFunctions;

Callers 2

runTestsFunction · 0.85
filterTestsFunction · 0.85

Calls 3

throwsMethod · 0.80
matchesMethod · 0.45
allowThrowsMethod · 0.45

Tested by

no test coverage detected