MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / all

Method all

test/expected/catch.hpp:11158–11172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11156 }
11157
11158 std::string TagInfo::all() const {
11159 size_t size = 0;
11160 for (auto const& spelling : spellings) {
11161 // Add 2 for the brackes
11162 size += spelling.size() + 2;
11163 }
11164
11165 std::string out; out.reserve(size);
11166 for (auto const& spelling : spellings) {
11167 out += '[';
11168 out += spelling;
11169 out += ']';
11170 }
11171 return out;
11172 }
11173
11174 std::size_t listTags( Config const& config ) {
11175 TestSpec testSpec = config.testSpec();

Callers 1

listTagsFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected