MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / fileNameTag

Function fileNameTag

extern/Catch2/catch.hpp:16836–16843  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

writeTestCaseMethod · 0.85

Calls 5

stringFunction · 0.85
substrMethod · 0.80
beginFunction · 0.50
endFunction · 0.50
endMethod · 0.45

Tested by

no test coverage detected