MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / Config

Method Config

tests/catch.hpp:7822–7836  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7820namespace Catch {
7821
7822 Config::Config( ConfigData const& data )
7823 : m_data( data ),
7824 m_stream( openStream() )
7825 {
7826 TestSpecParser parser(ITagAliasRegistry::get());
7827 if (data.testsOrTags.empty()) {
7828 parser.parse("~[.]"); // All not hidden tests
7829 }
7830 else {
7831 m_hasTestFilters = true;
7832 for( auto const& testOrTags : data.testsOrTags )
7833 parser.parse( testOrTags );
7834 }
7835 m_testSpec = parser.testSpec();
7836 }
7837
7838 std::string const& Config::getFilename() const {
7839 return m_data.outputFilename ;

Callers

nothing calls this directly

Calls 3

testSpecMethod · 0.80
emptyMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected