| 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 |
no test coverage detected