mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-22 04:38:46 +00:00
parent
c1720d0c42
commit
d084162b2f
5 changed files with 57 additions and 0 deletions
|
@ -190,6 +190,17 @@ namespace TestCaseTracking {
|
|||
}
|
||||
}
|
||||
|
||||
bool SectionTracker::isComplete() const {
|
||||
bool complete = true;
|
||||
|
||||
if ((m_filters.empty() || m_filters[0] == "") ||
|
||||
std::find(m_filters.begin(), m_filters.end(),
|
||||
m_nameAndLocation.name) != m_filters.end())
|
||||
complete = TrackerBase::isComplete();
|
||||
return complete;
|
||||
|
||||
}
|
||||
|
||||
bool SectionTracker::isSectionTracker() const { return true; }
|
||||
|
||||
SectionTracker& SectionTracker::acquire( TrackerContext& ctx, NameAndLocation const& nameAndLocation ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue