MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / TEST_METHOD

Function TEST_METHOD

IntelPresentMon/UnitTests/Logging.cpp:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 }
34
35 TEST_METHOD(HresultTranslationShortcut)
36 {
37 using svc::Services;
38 Services::Singleton<util::ErrorCodeTranslator>(typeid(util::errtl::HRWrap).name(), [] { return std::make_shared<util::errtl::HResult>(); });
39 p2clog.hr(DRAGDROP_S_CANCEL).warn().flush().commit();
40 Assert::IsTrue(true);
41 }
42 TEST_METHOD(HresultTranslation)
43 {
44 using svc::Services;

Callers

nothing calls this directly

Calls 3

whatMethod · 0.80
GetNameMethod · 0.45
ProcessMethod · 0.45

Tested by

no test coverage detected