mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 12:11:42 +00:00
[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:
parent
8083610a98
commit
e7c17c0741
9 changed files with 73 additions and 9 deletions
31
rostests/apitests/com/netcfgx.c
Normal file
31
rostests/apitests/com/netcfgx.c
Normal 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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue