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

Method asString

src/CppUTest/TestFilter.cpp:90–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90SimpleString TestFilter::asString() const
91{
92 SimpleString textFilter = StringFromFormat("TestFilter: \"%s\"", filter_.asCharString());
93 if (strictMatching_ && invertMatching_)
94 textFilter += " with strict, invert matching";
95 else if (strictMatching_)
96 textFilter += " with strict matching";
97 else if (invertMatching_)
98 textFilter += " with invert matching";
99
100 return textFilter;
101}
102
103SimpleString StringFrom(const TestFilter& filter)
104{

Callers 1

StringFromFunction · 0.80

Calls 2

StringFromFormatFunction · 0.85
asCharStringMethod · 0.80

Tested by

no test coverage detected