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
72566200
Commit
72566200
authored
Mar 04, 2015
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Mar 04, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Actually test some return values (PVS-Studio).
parent
e87857a5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
shellpath.c
dlls/shell32/tests/shellpath.c
+1
-0
systray.c
dlls/shell32/tests/systray.c
+1
-0
No files found.
dlls/shell32/tests/shellpath.c
View file @
72566200
...
...
@@ -2107,6 +2107,7 @@ static void test_knownFolders(void)
ok
(
IsEqualGUID
(
&
folderId
,
&
FOLDERID_Windows
)
==
TRUE
,
"invalid KNOWNFOLDERID returned
\n
"
);
hr
=
IKnownFolder_GetPath
(
folder
,
0
,
&
folderPath
);
ok
(
hr
==
S_OK
,
"failed to get path from known folder: 0x%08x
\n
"
,
hr
);
ok
(
lstrcmpiW
(
sWinDir
,
folderPath
)
==
0
,
"invalid path returned:
\"
%s
\"
, expected:
\"
%s
\"\n
"
,
wine_dbgstr_w
(
folderPath
),
wine_dbgstr_w
(
sWinDir
));
CoTaskMemFree
(
folderPath
);
...
...
dlls/shell32/tests/systray.c
View file @
72566200
...
...
@@ -45,6 +45,7 @@ static void test_cbsize(void)
nidW
.
hIcon
=
LoadIconA
(
NULL
,
(
LPSTR
)
IDI_APPLICATION
);
nidW
.
uCallbackMessage
=
WM_USER
+
17
;
ret
=
pShell_NotifyIconW
(
NIM_ADD
,
&
nidW
);
ok
(
ret
,
"NIM_ADD failed!
\n
"
);
/* using an invalid cbSize does work */
nidW
.
cbSize
=
3
;
nidW
.
hWnd
=
hMainWnd
;
...
...
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