MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / fileNameTag

Function fileNameTag

extlibs/catch/include/catch/catch.hpp:15991–15998  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15989 }
15990
15991 std::string fileNameTag(const std::vector<std::string> &tags) {
15992 auto it = std::find_if(begin(tags),
15993 end(tags),
15994 [] (std::string const& tag) {return tag.front() == '#'; });
15995 if (it != tags.end())
15996 return it->substr(1);
15997 return std::string();
15998 }
15999 } // anonymous namespace
16000
16001 JunitReporter::JunitReporter( ReporterConfig const& _config )

Callers 1

writeTestCaseMethod · 0.85

Calls 3

substrMethod · 0.80
stringClass · 0.50
endMethod · 0.45

Tested by

no test coverage detected