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

Function IsHRESULTFailure

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

Source from the content-addressed store, hash-verified

2686}
2687
2688AssertionResult IsHRESULTFailure(const char* expr, long hr) { // NOLINT
2689 if (FAILED(hr)) {
2690 return AssertionSuccess();
2691 }
2692 return HRESULTFailureHelper(expr, "fails", hr);
2693}
2694
2695#endif // GTEST_OS_WINDOWS
2696

Callers

nothing calls this directly

Calls 2

AssertionSuccessFunction · 0.85
HRESULTFailureHelperFunction · 0.85

Tested by

no test coverage detected