MCPcopy Create free account
hub / github.com/bblanchon/ArduinoJson / addNamePattern

Method addNamePattern

extras/tests/catch/catch.hpp:14889–14901  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14887 }
14888
14889 void TestSpecParser::addNamePattern() {
14890 auto token = preprocessPattern();
14891
14892 if (!token.empty()) {
14893 TestSpec::PatternPtr pattern = std::make_shared<TestSpec::NamePattern>(token, m_substring);
14894 if (m_exclusion)
14895 pattern = std::make_shared<TestSpec::ExcludedPattern>(pattern);
14896 m_currentFilter.m_patterns.push_back(pattern);
14897 }
14898 m_substring.clear();
14899 m_exclusion = false;
14900 m_mode = None;
14901 }
14902
14903 void TestSpecParser::addTagPattern() {
14904 auto token = preprocessPattern();

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected