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

Method FeatureUnsupportedFailure

src/CppUTest/TestFailure.cpp:384–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382}
383
384FeatureUnsupportedFailure::FeatureUnsupportedFailure(UtestShell* test, const char* fileName, size_t lineNumber,
385 const SimpleString& featureName, const SimpleString& text)
386: TestFailure(test, fileName, lineNumber)
387{
388 message_ = createUserText(text);
389
390 message_ += StringFromFormat("The feature \"%s\" is not supported in this environment or with the feature set selected when building the library.", featureName.asCharString());
391}

Callers

nothing calls this directly

Calls 2

StringFromFormatFunction · 0.85
asCharStringMethod · 0.80

Tested by

no test coverage detected