MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / IsHRESULTSuccess

Function IsHRESULTSuccess

rtpose_wrapper/src/gtest/gtest-all.cpp:2681–2686  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2679} // namespace
2680
2681AssertionResult IsHRESULTSuccess(const char* expr, long hr) { // NOLINT
2682 if (SUCCEEDED(hr)) {
2683 return AssertionSuccess();
2684 }
2685 return HRESULTFailureHelper(expr, "succeeds", hr);
2686}
2687
2688AssertionResult IsHRESULTFailure(const char* expr, long hr) { // NOLINT
2689 if (FAILED(hr)) {

Callers

nothing calls this directly

Calls 2

AssertionSuccessFunction · 0.85
HRESULTFailureHelperFunction · 0.85

Tested by

no test coverage detected