Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
d82fb3d3
Commit
d82fb3d3
authored
Sep 13, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/dpa: Fix DPA_Merge() test failures on old 4.7x comctl32.
parent
28998999
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
dpa.c
dlls/comctl32/tests/dpa.c
+9
-3
No files found.
dlls/comctl32/tests/dpa.c
View file @
d82fb3d3
...
...
@@ -433,11 +433,15 @@ static void test_DPA_Merge(void)
pDPA_Merge
(
dpa2
,
dpa
,
DPAM_UNION
,
CB_CmpLT
,
CB_MergeInsertSrc
,
0xdeadbeef
);
rc
=
CheckDPA
(
dpa2
,
0x123456
,
&
dw
);
ok
(
rc
,
"dw=0x%x
\n
"
,
dw
);
ok
(
rc
||
broken
(
!
rc
&&
dw
==
0x23456
),
/* 4.7x */
"dw=0x%x
\n
"
,
dw
);
expect
(
0
,
nMessages
[
DPAMM_MERGE
]);
expect
(
0
,
nMessages
[
DPAMM_DELETE
]);
expect
(
3
,
nMessages
[
DPAMM_INSERT
]);
ok
(
nMessages
[
DPAMM_INSERT
]
==
3
||
broken
(
nMessages
[
DPAMM_INSERT
]
==
2
),
/* 4.7x */
"Expected 3, got %d
\n
"
,
nMessages
[
DPAMM_INSERT
]);
/* Merge dpa3 into dpa2 and dpa */
memset
(
nMessages
,
0
,
sizeof
(
nMessages
));
...
...
@@ -458,7 +462,9 @@ static void test_DPA_Merge(void)
CB_CmpLT
,
CB_MergeInsertSrc
,
0xdeadbeef
);
expect
(
3
,
nMessages
[
DPAMM_MERGE
]);
expect
(
0
,
nMessages
[
DPAMM_DELETE
]);
expect
(
3
,
nMessages
[
DPAMM_INSERT
]);
ok
(
nMessages
[
DPAMM_INSERT
]
==
3
||
broken
(
nMessages
[
DPAMM_INSERT
]
==
2
),
/* 4.7x */
"Expected 3, got %d
\n
"
,
nMessages
[
DPAMM_INSERT
]);
rc
=
CheckDPA
(
dpa
,
0x123456
,
&
dw
);
ok
(
rc
,
"dw=0x%x
\n
"
,
dw
);
...
...
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