MCPcopy Create free account
hub / github.com/GANGE666/xVMP / NoError

Function NoError

src/unittests/ProfileData/SampleProfTest.cpp:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27using namespace sampleprof;
28
29static ::testing::AssertionResult NoError(std::error_code EC) {
30 if (!EC)
31 return ::testing::AssertionSuccess();
32 return ::testing::AssertionFailure() << "error " << EC.value() << ": "
33 << EC.message();
34}
35
36namespace {
37

Callers 3

createWriterMethod · 0.85
readProfileMethod · 0.85
testRoundTripMethod · 0.85

Calls 4

AssertionSuccessFunction · 0.85
AssertionFailureFunction · 0.85
valueMethod · 0.45
messageMethod · 0.45

Tested by

no test coverage detected