MCPcopy Create free account
hub / github.com/apache/trafficserver / fileNameTag

Function fileNameTag

lib/catch2/catch.hpp:16834–16841  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16832 }
16833
16834 std::string fileNameTag(const std::vector<std::string> &tags) {
16835 auto it = std::find_if(begin(tags),
16836 end(tags),
16837 [] (std::string const& tag) {return tag.front() == '#'; });
16838 if (it != tags.end())
16839 return it->substr(1);
16840 return std::string();
16841 }
16842
16843 // Formats the duration in seconds to 3 decimal places.
16844 // This is done because some genius defined Maven Surefire schema

Callers 1

writeTestCaseMethod · 0.85

Calls 3

stringClass · 0.85
endMethod · 0.45
substrMethod · 0.45

Tested by

no test coverage detected