MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / list

Function list

extlibs/catch/include/catch/catch.hpp:10963–10975  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10961 }
10962
10963 Option<std::size_t> list( std::shared_ptr<Config> const& config ) {
10964 Option<std::size_t> listedCount;
10965 getCurrentMutableContext().setConfig( config );
10966 if( config->listTests() )
10967 listedCount = listedCount.valueOr(0) + listTests( *config );
10968 if( config->listTestNamesOnly() )
10969 listedCount = listedCount.valueOr(0) + listTestsNamesOnly( *config );
10970 if( config->listTags() )
10971 listedCount = listedCount.valueOr(0) + listTags( *config );
10972 if( config->listReporters() )
10973 listedCount = listedCount.valueOr(0) + listReporters();
10974 return listedCount;
10975 }
10976
10977} // end namespace Catch
10978// end catch_list.cpp

Callers 1

runInternalMethod · 0.70

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