MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / checkFilters

Method checkFilters

tests/framework/src/doctest.cpp:1107–1115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1105} // namespace
1106namespace detail {
1107 bool Subcase::checkFilters() {
1108 if (g_cs->subcaseStack.size() < size_t(g_cs->subcase_filter_levels)) {
1109 if (!matchesAny(m_signature.m_name.c_str(), g_cs->filters[6], true, g_cs->case_sensitive))
1110 return true;
1111 if (matchesAny(m_signature.m_name.c_str(), g_cs->filters[7], false, g_cs->case_sensitive))
1112 return true;
1113 }
1114 return false;
1115 }
1116
1117 Subcase::Subcase(const String& name, const char* file, int line)
1118 : m_signature({name, file, line}) {

Callers

nothing calls this directly

Calls 3

matchesAnyFunction · 0.85
sizeMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected