MCPcopy Create free account
hub / github.com/Profactor/cv-plot / addNamePattern

Method addNamePattern

CvPlot/ext/catch2/inc/catch.hpp:14587–14599  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14585 }
14586
14587 void TestSpecParser::addNamePattern() {
14588 auto token = preprocessPattern();
14589
14590 if (!token.empty()) {
14591 TestSpec::PatternPtr pattern = std::make_shared<TestSpec::NamePattern>(token, m_substring);
14592 if (m_exclusion)
14593 pattern = std::make_shared<TestSpec::ExcludedPattern>(pattern);
14594 m_currentFilter.m_patterns.push_back(pattern);
14595 }
14596 m_substring.clear();
14597 m_exclusion = false;
14598 m_mode = None;
14599 }
14600
14601 void TestSpecParser::addTagPattern() {
14602 auto token = preprocessPattern();

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected