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
814bfc03
Commit
814bfc03
authored
Dec 04, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Dec 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix a test failure on Win9x, NT4, Vista and W2K8.
parent
9305cb3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
shfldr_special.c
dlls/shell32/tests/shfldr_special.c
+7
-4
No files found.
dlls/shell32/tests/shfldr_special.c
View file @
814bfc03
...
...
@@ -100,7 +100,6 @@ static void test_parse_for_control_panel(void)
DWORD
eaten
=
0xdeadbeef
;
LPITEMIDLIST
pidl
;
DWORD
attr
=
~
0
;
DWORD
expected_attr
;
hr
=
SHGetDesktopFolder
(
&
psfDesktop
);
ok
(
hr
==
S_OK
,
"SHGetDesktopFolder failed with error 0x%x
\n
"
,
hr
);
...
...
@@ -108,9 +107,13 @@ static void test_parse_for_control_panel(void)
hr
=
IShellFolder_ParseDisplayName
(
psfDesktop
,
NULL
,
NULL
,
control_panel_path
,
&
eaten
,
&
pidl
,
&
attr
);
ok
(
hr
==
S_OK
,
"IShellFolder_ParseDisplayName failed with error 0x%x
\n
"
,
hr
);
todo_wine
ok
(
eaten
==
0xdeadbeef
,
"eaten should not have been set to %u
\n
"
,
eaten
);
expected_attr
=
SFGAO_CANLINK
|
SFGAO_FOLDER
|
SFGAO_HASSUBFOLDER
;
todo_wine
ok
(
attr
==
expected_attr
,
"attr should be 0x%x, not 0x%x
\n
"
,
expected_attr
,
attr
);
todo_wine
ok
((
attr
==
(
SFGAO_CANLINK
|
SFGAO_FOLDER
))
||
/* Win9x, NT4 */
(
attr
==
(
SFGAO_CANLINK
|
SFGAO_FOLDER
|
SFGAO_HASSUBFOLDER
|
SFGAO_STREAM
))
||
/* W2K */
(
attr
==
(
SFGAO_CANLINK
|
SFGAO_FOLDER
|
SFGAO_HASSUBFOLDER
))
||
/* W2K, XP, W2K3 */
(
attr
==
(
SFGAO_CANLINK
|
SFGAO_NONENUMERATED
))
||
/* Vista */
(
attr
==
SFGAO_CANLINK
),
/* Vista, W2K8 */
"Unexpected attributes : %08x
\n
"
,
attr
);
ILFree
(
pidl
);
}
...
...
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