comctl32/tests: Remove skips from DPA tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e5c87396b1
commit
81727e1953
|
@ -356,12 +356,6 @@ static void test_DPA_Merge(void)
|
|||
DWORD dw;
|
||||
BOOL rc;
|
||||
|
||||
if(!pDPA_Merge)
|
||||
{
|
||||
win_skip("DPA_Merge() not available\n");
|
||||
return;
|
||||
}
|
||||
|
||||
dpa = pDPA_Create(0);
|
||||
dpa2 = pDPA_Create(0);
|
||||
dpa3 = pDPA_Create(0);
|
||||
|
@ -485,12 +479,6 @@ static void test_DPA_EnumCallback(void)
|
|||
DWORD dw;
|
||||
INT i, ret;
|
||||
|
||||
if(!pDPA_EnumCallback)
|
||||
{
|
||||
win_skip("DPA_EnumCallback() not available\n");
|
||||
return;
|
||||
}
|
||||
|
||||
dpa = pDPA_Create(0);
|
||||
|
||||
for (i = 0; i < 6; i++)
|
||||
|
@ -517,12 +505,6 @@ static void test_DPA_DestroyCallback(void)
|
|||
HDPA dpa;
|
||||
INT i, ret;
|
||||
|
||||
if(!pDPA_DestroyCallback)
|
||||
{
|
||||
win_skip("DPA_DestroyCallback() not available\n");
|
||||
return;
|
||||
}
|
||||
|
||||
dpa = pDPA_Create(0);
|
||||
|
||||
for (i = 0; i < 3; i++)
|
||||
|
@ -548,18 +530,8 @@ static void test_DPA_LoadStream(void)
|
|||
ULONG written, ret;
|
||||
HDPA dpa;
|
||||
|
||||
if(!pDPA_LoadStream)
|
||||
{
|
||||
win_skip("DPA_LoadStream() not available. Skipping stream tests.\n");
|
||||
return;
|
||||
}
|
||||
|
||||
hRes = CoInitialize(NULL);
|
||||
if (hRes != S_OK)
|
||||
{
|
||||
ok(0, "hResult: %d\n", hRes);
|
||||
return;
|
||||
}
|
||||
ok(hRes == S_OK, "Failed to initialize COM, hr %#x.\n", hRes);
|
||||
|
||||
dwMode = STGM_DIRECT|STGM_CREATE|STGM_READWRITE|STGM_SHARE_EXCLUSIVE;
|
||||
hRes = StgCreateDocfile(NULL, dwMode|STGM_DELETEONRELEASE, 0, &pStg);
|
||||
|
@ -666,18 +638,8 @@ static void test_DPA_SaveStream(void)
|
|||
BOOL rc;
|
||||
LARGE_INTEGER liZero;
|
||||
|
||||
if(!pDPA_SaveStream)
|
||||
{
|
||||
win_skip("DPA_SaveStream() not available. Skipping stream tests.\n");
|
||||
return;
|
||||
}
|
||||
|
||||
hRes = CoInitialize(NULL);
|
||||
if (hRes != S_OK)
|
||||
{
|
||||
ok(0, "hResult: %d\n", hRes);
|
||||
return;
|
||||
}
|
||||
ok(hRes == S_OK, "Failed to initialize COM, hr %#x.\n", hRes);
|
||||
|
||||
dwMode = STGM_DIRECT|STGM_CREATE|STGM_READWRITE|STGM_SHARE_EXCLUSIVE;
|
||||
hRes = StgCreateDocfile(NULL, dwMode|STGM_DELETEONRELEASE, 0, &pStg);
|
||||
|
|
Loading…
Reference in New Issue