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

Function fileNameTag

unittests/catch.hpp:12220–12227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12218 }
12219
12220 std::string fileNameTag(const std::vector<std::string> &tags) {
12221 auto it = std::find_if(begin(tags),
12222 end(tags),
12223 [] (std::string const& tag) {return tag.front() == '#'; });
12224 if (it != tags.end())
12225 return it->substr(1);
12226 return std::string();
12227 }
12228 } // anonymous namespace
12229
12230 JunitReporter::JunitReporter( ReporterConfig const& _config )

Callers 1

writeTestCaseMethod · 0.85

Calls 4

stringClass · 0.85
frontMethod · 0.80
substrMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected