[WBEMDISP_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
authorAmine Khaldi <amine.khaldi@reactos.org>
Thu, 18 Aug 2016 10:50:44 +0000 (10:50 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Thu, 18 Aug 2016 10:50:44 +0000 (10:50 +0000)
svn path=/trunk/; revision=72314

rostests/winetests/wbemdisp/wbemdisp.c

index e3d432b..3cc4c86 100644 (file)
@@ -243,9 +243,23 @@ static void test_ParseDisplayName(void)
     IParseDisplayName_Release( displayname );
 }
 
+static void test_locator(void)
+{
+    IUnknown *locator;
+    HRESULT hr;
+
+    hr = CoCreateInstance( &CLSID_SWbemLocator, NULL, CLSCTX_INPROC_SERVER, &IID_IUnknown, (void **)&locator );
+    ok( hr == S_OK, "got %x\n", hr );
+
+    IUnknown_Release( locator );
+}
+
 START_TEST(wbemdisp)
 {
     CoInitialize( NULL );
+
     test_ParseDisplayName();
+    test_locator();
+
     CoUninitialize();
 }