MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / matchTest

Function matchTest

Bcore/src/main/cpp/Dobby/tests/catch.hpp:9923–9925  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9921 return sorted;
9922}
9923bool matchTest(TestCase const &testCase, TestSpec const &testSpec, IConfig const &config) {
9924 return testSpec.matches(testCase) && (config.allowThrows() || !testCase.throws());
9925}
9926
9927void enforceNoDuplicateTestCases(std::vector<TestCase> const &functions) {
9928 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