Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
81727e19
Commit
81727e19
authored
Oct 06, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Remove skips from DPA tests.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e5c87396
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
40 deletions
+2
-40
dpa.c
dlls/comctl32/tests/dpa.c
+2
-40
No files found.
dlls/comctl32/tests/dpa.c
View file @
81727e19
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment