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

Function filterTests

unittests/catch.hpp:10027–10034  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10025 }
10026
10027 std::vector<TestCase> filterTests( std::vector<TestCase> const& testCases, TestSpec const& testSpec, IConfig const& config ) {
10028 std::vector<TestCase> filtered;
10029 filtered.reserve( testCases.size() );
10030 for( auto const& testCase : testCases )
10031 if( matchTest( testCase, testSpec, config ) )
10032 filtered.push_back( testCase );
10033 return filtered;
10034 }
10035 std::vector<TestCase> const& getAllTestCasesSorted( IConfig const& config ) {
10036 return getRegistryHub().getTestCaseRegistry().getAllTestsSorted( config );
10037 }

Callers 3

listTestsFunction · 0.85
listTestsNamesOnlyFunction · 0.85
listTagsFunction · 0.85

Calls 2

matchTestFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected