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

Method appendScopeToName

src/CppUTestExt/MockSupport.cpp:143–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143SimpleString MockSupport::appendScopeToName(const SimpleString& functionName)
144{
145 if (mockName_.isEmpty()) return functionName;
146 return mockName_ + "::" + functionName;
147}
148
149MockExpectedCall& MockSupport::expectOneCall(const SimpleString& functionName)
150{

Callers

nothing calls this directly

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected