MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / IsHRESULTSuccess

Function IsHRESULTSuccess

tests/gtest/gtest-all.cc:3195–3200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3193} // namespace
3194
3195AssertionResult IsHRESULTSuccess(const char* expr, long hr) { // NOLINT
3196 if (SUCCEEDED(hr)) {
3197 return AssertionSuccess();
3198 }
3199 return HRESULTFailureHelper(expr, "succeeds", hr);
3200}
3201
3202AssertionResult IsHRESULTFailure(const char* expr, long hr) { // NOLINT
3203 if (FAILED(hr)) {

Callers

nothing calls this directly

Calls 2

AssertionSuccessFunction · 0.85
HRESULTFailureHelperFunction · 0.85

Tested by

no test coverage detected