MCPcopy Create free account
hub / github.com/cucumber/cucumber-cpp / countMatches

Method countMatches

tests/unit/StepManagerTest.cpp:32–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 }
31
32 size_t countMatches(const string& stepMatch) {
33 return getResultSetFor(stepMatch).size();
34 }
35
36 bool matchesOnce(const string& stepMatch) {
37 return (countMatches(stepMatch) == 1);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected