Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::TestSpec Class Reference

#include <catch_test_spec.h>

Public Member Functions

bool hasFilters () const
 
bool matches (TestCaseInfo const &testCase) const
 

Friends

class TestSpecParser
 

Detailed Description

Definition at line 25 of file catch_test_spec.h.

Member Function Documentation

◆ hasFilters()

bool Catch::TestSpec::hasFilters ( ) const

Definition at line 49 of file catch_test_spec.cpp.

49 {
50 return !m_filters.empty();
51 }
Here is the caller graph for this function:

◆ matches()

bool Catch::TestSpec::matches ( TestCaseInfo const & testCase) const

Definition at line 52 of file catch_test_spec.cpp.

52 {
53 // A TestSpec matches if any filter matches
54 for( auto const& filter : m_filters )
55 if( filter.matches( testCase ) )
56 return true;
57 return false;
58 }
Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ TestSpecParser

friend class TestSpecParser
friend

Definition at line 72 of file catch_test_spec.h.


The documentation for this class was generated from the following files: