MCPcopy Create free account
hub / github.com/Profactor/cv-plot / list

Function list

CvPlot/ext/catch2/inc/catch.hpp:11213–11225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11211 }
11212
11213 Option<std::size_t> list( std::shared_ptr<Config> const& config ) {
11214 Option<std::size_t> listedCount;
11215 getCurrentMutableContext().setConfig( config );
11216 if( config->listTests() )
11217 listedCount = listedCount.valueOr(0) + listTests( *config );
11218 if( config->listTestNamesOnly() )
11219 listedCount = listedCount.valueOr(0) + listTestsNamesOnly( *config );
11220 if( config->listTags() )
11221 listedCount = listedCount.valueOr(0) + listTags( *config );
11222 if( config->listReporters() )
11223 listedCount = listedCount.valueOr(0) + listReporters();
11224 return listedCount;
11225 }
11226
11227} // end namespace Catch
11228// end catch_list.cpp

Callers 1

runInternalMethod · 0.85

Calls 10

listTestsFunction · 0.85
listTestsNamesOnlyFunction · 0.85
listTagsFunction · 0.85
listReportersFunction · 0.85
setConfigMethod · 0.80
listTestsMethod · 0.80
valueOrMethod · 0.80
listTestNamesOnlyMethod · 0.80
listTagsMethod · 0.80
listReportersMethod · 0.80

Tested by

no test coverage detected