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
8ad4cce0
Commit
8ad4cce0
authored
Jun 09, 2019
by
André Hentschel
Committed by
Alexandre Julliard
Jun 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Don't test functions directly when reporting GetLastError().
Signed-off-by:
André Hentschel
<
nerv@dawncrow.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
dae160ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
pager.c
dlls/comctl32/tests/pager.c
+6
-2
No files found.
dlls/comctl32/tests/pager.c
View file @
8ad4cce0
...
...
@@ -564,9 +564,11 @@ static void test_wm_notifyformat(void)
static
const
INT
formats
[]
=
{
NFR_UNICODE
,
NFR_ANSI
};
HWND
parent
,
pager
,
child
;
LRESULT
ret
;
BOOL
bret
;
INT
i
;
ok
(
register_notifyformat_class
(),
"Register test class failed, error 0x%08x
\n
"
,
GetLastError
());
bret
=
register_notifyformat_class
();
ok
(
bret
,
"Register test class failed, error 0x%08x
\n
"
,
GetLastError
());
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
formats
);
i
++
)
{
...
...
@@ -1280,9 +1282,11 @@ static void test_wm_notify(void)
{
&
nmtv
,
sizeof
(
nmtv
),
&
nmtv
.
itemOld
.
mask
,
TVIF_TEXT
,
&
nmtv
.
itemOld
.
pszText
,
&
nmtv
.
itemOld
.
cchTextMax
,
TVN_SELCHANGEDW
,
TVN_SELCHANGEDA
,
CONVERT_SEND
,
TVITEM_OLD_HANDLER
}
};
BOOL
bret
;
INT
i
;
ok
(
register_test_notify_class
(),
"Register test class failed, error 0x%08x
\n
"
,
GetLastError
());
bret
=
register_test_notify_class
();
ok
(
bret
,
"Register test class failed, error 0x%08x
\n
"
,
GetLastError
());
parent
=
CreateWindowA
(
class
,
"parent"
,
WS_OVERLAPPED
,
0
,
0
,
100
,
100
,
0
,
0
,
GetModuleHandleA
(
0
),
0
);
ok
(
parent
!=
NULL
,
"CreateWindow failed
\n
"
);
...
...
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