[NETSHELL][COM_APITEST]

- Remove another MessageBox...
- Also test some more interfaces found in netshell classes

svn path=/trunk/; revision=67316
This commit is contained in:
Thomas Faber 2015-04-19 22:50:25 +00:00
parent 8083610a98
commit e7c17c0741
9 changed files with 73 additions and 9 deletions

View file

@ -0,0 +1,31 @@
/*
* PROJECT: ReactOS api tests
* LICENSE: LGPLv2.1+ - See COPYING.LIB in the top level directory
* PURPOSE: COM interface test for netcfgx classes
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
*/
#include "com_apitest.h"
#define NDEBUG
#include <debug.h>
static const CLASS_AND_INTERFACES ExpectedInterfaces[] =
{
{
ID_NAME(CLSID_CNetCfg),
{
{ 0x0, &IID_INetCfg },
{ 0x0, &IID_IUnknown },
{ 0x4, &IID_INetCfgLock },
{ 0x10, &IID_INetCfgPnpReconfigCallback },
},
L"Both"
},
};
static const INT ExpectedInterfaceCount = RTL_NUMBER_OF(ExpectedInterfaces);
START_TEST(netcfgx)
{
TestClasses(L"netcfgx", ExpectedInterfaces, ExpectedInterfaceCount);
}