Lines Matching refs:testSpec
626 bool matchTest( TestCase const& testCase, TestSpec const& testSpec, IConfig const& config );
627 …e> filterTests( std::vector<TestCase> const& testCases, TestSpec const& testSpec, IConfig const& c…
3274 TestSpec testSpec() { in testSpec() function in Catch::TestSpecParser
3336 return TestSpecParser( ITagAliasRegistry::get() ).parse( arg ).testSpec(); in parseTestSpec()
3396 virtual TestSpec const& testSpec() const = 0;
3545 m_testSpec = parser.testSpec(); in Config()
3569 TestSpec const& testSpec() const { return m_testSpec; } in testSpec() function in Catch::Config
5294 TestSpec testSpec = config.testSpec(); in listTests() local
5295 if( config.testSpec().hasFilters() ) in listTests()
5299 testSpec = TestSpecParser( ITagAliasRegistry::get() ).parse( "*" ).testSpec(); in listTests()
5307 …ctor<TestCase> matchedTestCases = filterTests( getAllTestCasesSorted( config ), testSpec, config ); in listTests()
5323 if( !config.testSpec().hasFilters() ) in listTests()
5331 TestSpec testSpec = config.testSpec(); in listTestsNamesOnly() local
5332 if( !config.testSpec().hasFilters() ) in listTestsNamesOnly()
5333 testSpec = TestSpecParser( ITagAliasRegistry::get() ).parse( "*" ).testSpec(); in listTestsNamesOnly()
5335 …ctor<TestCase> matchedTestCases = filterTests( getAllTestCasesSorted( config ), testSpec, config ); in listTestsNamesOnly()
5365 TestSpec testSpec = config.testSpec(); in listTags() local
5366 if( config.testSpec().hasFilters() ) in listTags()
5370 testSpec = TestSpecParser( ITagAliasRegistry::get() ).parse( "*" ).testSpec(); in listTags()
5375 …ctor<TestCase> matchedTestCases = filterTests( getAllTestCasesSorted( config ), testSpec, config ); in listTags()
5881 …void testGroupStarting( std::string const& testSpec, std::size_t groupIndex, std::size_t groupsCou… in testGroupStarting() argument
5882 m_reporter->testGroupStarting( GroupInfo( testSpec, groupIndex, groupsCount ) ); in testGroupStarting()
5884 …void testGroupEnded( std::string const& testSpec, Totals const& totals, std::size_t groupIndex, st… in testGroupEnded() argument
5885 …m_reporter->testGroupEnded( TestGroupStats( GroupInfo( testSpec, groupIndex, groupsCount ), totals… in testGroupEnded()
6244 TestSpec testSpec = config->testSpec(); in runTests() local
6245 if( !testSpec.hasFilters() ) in runTests()
6246 …testSpec = TestSpecParser( ITagAliasRegistry::get() ).parse( "~[.]" ).testSpec(); // All not hidde… in runTests()
6252 if( !context.aborting() && matchTest( *it, testSpec, *iconfig ) ) in runTests()
6440 bool matchTest( TestCase const& testCase, TestSpec const& testSpec, IConfig const& config ) { in matchTest() argument
6441 return testSpec.matches( testCase ) && ( config.allowThrows() || !testCase.throws() ); in matchTest()
6461 …e> filterTests( std::vector<TestCase> const& testCases, TestSpec const& testSpec, IConfig const& c… in filterTests() argument
6467 if( matchTest( *it, testSpec, config ) ) in filterTests()