MCPcopy Create free account
hub / github.com/cpputest/cpputest / findTestWithName

Method findTestWithName

src/CppUTest/TestRegistry.cpp:252–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250}
251
252UtestShell* TestRegistry::findTestWithName(const SimpleString& name)
253{
254 UtestShell* current = tests_;
255 while (current) {
256 if (current->getName() == name)
257 return current;
258 current = current->getNext();
259 }
260 return NULLPTR;
261}
262
263UtestShell* TestRegistry::findTestWithGroup(const SimpleString& group)
264{

Callers 2

TESTFunction · 0.80
TESTFunction · 0.80

Calls 2

getNameMethod · 0.45
getNextMethod · 0.45

Tested by

no test coverage detected