Commit 81727e19 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

comctl32/tests: Remove skips from DPA tests.

parent e5c87396
...@@ -356,12 +356,6 @@ static void test_DPA_Merge(void) ...@@ -356,12 +356,6 @@ static void test_DPA_Merge(void)
DWORD dw; DWORD dw;
BOOL rc; BOOL rc;
if(!pDPA_Merge)
{
win_skip("DPA_Merge() not available\n");
return;
}
dpa = pDPA_Create(0); dpa = pDPA_Create(0);
dpa2 = pDPA_Create(0); dpa2 = pDPA_Create(0);
dpa3 = pDPA_Create(0); dpa3 = pDPA_Create(0);
...@@ -485,12 +479,6 @@ static void test_DPA_EnumCallback(void) ...@@ -485,12 +479,6 @@ static void test_DPA_EnumCallback(void)
DWORD dw; DWORD dw;
INT i, ret; INT i, ret;
if(!pDPA_EnumCallback)
{
win_skip("DPA_EnumCallback() not available\n");
return;
}
dpa = pDPA_Create(0); dpa = pDPA_Create(0);
for (i = 0; i < 6; i++) for (i = 0; i < 6; i++)
...@@ -517,12 +505,6 @@ static void test_DPA_DestroyCallback(void) ...@@ -517,12 +505,6 @@ static void test_DPA_DestroyCallback(void)
HDPA dpa; HDPA dpa;
INT i, ret; INT i, ret;
if(!pDPA_DestroyCallback)
{
win_skip("DPA_DestroyCallback() not available\n");
return;
}
dpa = pDPA_Create(0); dpa = pDPA_Create(0);
for (i = 0; i < 3; i++) for (i = 0; i < 3; i++)
...@@ -548,18 +530,8 @@ static void test_DPA_LoadStream(void) ...@@ -548,18 +530,8 @@ static void test_DPA_LoadStream(void)
ULONG written, ret; ULONG written, ret;
HDPA dpa; HDPA dpa;
if(!pDPA_LoadStream)
{
win_skip("DPA_LoadStream() not available. Skipping stream tests.\n");
return;
}
hRes = CoInitialize(NULL); hRes = CoInitialize(NULL);
if (hRes != S_OK) ok(hRes == S_OK, "Failed to initialize COM, hr %#x.\n", hRes);
{
ok(0, "hResult: %d\n", hRes);
return;
}
dwMode = STGM_DIRECT|STGM_CREATE|STGM_READWRITE|STGM_SHARE_EXCLUSIVE; dwMode = STGM_DIRECT|STGM_CREATE|STGM_READWRITE|STGM_SHARE_EXCLUSIVE;
hRes = StgCreateDocfile(NULL, dwMode|STGM_DELETEONRELEASE, 0, &pStg); hRes = StgCreateDocfile(NULL, dwMode|STGM_DELETEONRELEASE, 0, &pStg);
...@@ -666,18 +638,8 @@ static void test_DPA_SaveStream(void) ...@@ -666,18 +638,8 @@ static void test_DPA_SaveStream(void)
BOOL rc; BOOL rc;
LARGE_INTEGER liZero; LARGE_INTEGER liZero;
if(!pDPA_SaveStream)
{
win_skip("DPA_SaveStream() not available. Skipping stream tests.\n");
return;
}
hRes = CoInitialize(NULL); hRes = CoInitialize(NULL);
if (hRes != S_OK) ok(hRes == S_OK, "Failed to initialize COM, hr %#x.\n", hRes);
{
ok(0, "hResult: %d\n", hRes);
return;
}
dwMode = STGM_DIRECT|STGM_CREATE|STGM_READWRITE|STGM_SHARE_EXCLUSIVE; dwMode = STGM_DIRECT|STGM_CREATE|STGM_READWRITE|STGM_SHARE_EXCLUSIVE;
hRes = StgCreateDocfile(NULL, dwMode|STGM_DELETEONRELEASE, 0, &pStg); hRes = StgCreateDocfile(NULL, dwMode|STGM_DELETEONRELEASE, 0, &pStg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment