1 /* 2 * PROJECT: ReactOS API tests 3 * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+) 4 * PURPOSE: COM interface test for certmgr classes 5 * COPYRIGHT: Copyright 2021 Mark Jansen <mark.jansen@reactos.org> 6 */ 7 8 #include "com_apitest.h" 9 10 #define NDEBUG 11 #include <debug.h> 12 13 static const CLASS_AND_INTERFACES ExpectedInterfaces[] = 14 { 15 { 16 ID_NAME(CLSID_CERTMGR_CertMgrAboutObject_1), 17 { 18 { 0x0, &IID_ISnapInAbout }, 19 { 0x0, &IID_IUnknown }, 20 }, 21 L"both" 22 }, 23 { 24 ID_NAME(CLSID_CERTMGR_CertMgrObject_1), 25 { 26 { -0x1c, &IID_IComponentData }, 27 { 0x0, &IID_IExtendPropertySheet }, 28 { 0x0, &IID_IUnknown }, 29 { 0x4, &IID_IPersistStream }, 30 }, 31 L"both" 32 }, 33 }; 34 static const INT ExpectedInterfaceCount = RTL_NUMBER_OF(ExpectedInterfaces); 35 36 START_TEST(certmgr) 37 { 38 TestClasses(L"certmgr", ExpectedInterfaces, ExpectedInterfaceCount); 39 } 40