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

Function list

Source/ThirdParty/catch2/catch.hpp:11379–11391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11377 }
11378
11379 Option<std::size_t> list( std::shared_ptr<Config> const& config ) {
11380 Option<std::size_t> listedCount;
11381 getCurrentMutableContext().setConfig( config );
11382 if( config->listTests() )
11383 listedCount = listedCount.valueOr(0) + listTests( *config );
11384 if( config->listTestNamesOnly() )
11385 listedCount = listedCount.valueOr(0) + listTestsNamesOnly( *config );
11386 if( config->listTags() )
11387 listedCount = listedCount.valueOr(0) + listTags( *config );
11388 if( config->listReporters() )
11389 listedCount = listedCount.valueOr(0) + listReporters();
11390 return listedCount;
11391 }
11392
11393} // end namespace Catch
11394// 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