| 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; |