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
252525da
Commit
252525da
authored
Dec 05, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Dec 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix some new test failures on W2K.
parent
7e60ab10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
shlfolder.c
dlls/shell32/tests/shlfolder.c
+11
-5
No files found.
dlls/shell32/tests/shlfolder.c
View file @
252525da
...
...
@@ -1563,29 +1563,35 @@ static void test_LocalizedNames(void)
ok
(
hr
==
S_OK
,
"ParseDisplayName failed %08x
\n
"
,
hr
);
hr
=
IShellFolder_GetDisplayNameOf
(
testIShellFolder
,
newPIDL
,
SHGDN_INFOLDER
,
&
strret
);
ok
(
hr
==
S_OK
,
"
ParseDisplayName
failed %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"
GetDisplayNameOf
failed %08x
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
)
&&
pStrRetToBufW
)
{
hr
=
pStrRetToBufW
(
&
strret
,
newPIDL
,
tempbufW
,
sizeof
(
tempbufW
)
/
sizeof
(
WCHAR
));
ok
(
SUCCEEDED
(
hr
),
"StrRetToBufW failed! hr = %08x
\n
"
,
hr
);
todo_wine
ok
(
!
lstrcmpiW
(
tempbufW
,
folderdisplayW
),
"GetDisplayNameOf returned %s
\n
"
,
wine_dbgstr_w
(
tempbufW
));
todo_wine
ok
(
!
lstrcmpiW
(
tempbufW
,
folderdisplayW
)
||
broken
(
!
lstrcmpiW
(
tempbufW
,
foldernameW
)),
/* W2K */
"GetDisplayNameOf returned %s
\n
"
,
wine_dbgstr_w
(
tempbufW
));
}
/* editing name is also read from the resource */
hr
=
IShellFolder_GetDisplayNameOf
(
testIShellFolder
,
newPIDL
,
SHGDN_INFOLDER
|
SHGDN_FOREDITING
,
&
strret
);
ok
(
hr
==
S_OK
,
"
ParseDisplayName
failed %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"
GetDisplayNameOf
failed %08x
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
)
&&
pStrRetToBufW
)
{
hr
=
pStrRetToBufW
(
&
strret
,
newPIDL
,
tempbufW
,
sizeof
(
tempbufW
)
/
sizeof
(
WCHAR
));
ok
(
SUCCEEDED
(
hr
),
"StrRetToBufW failed! hr = %08x
\n
"
,
hr
);
todo_wine
ok
(
!
lstrcmpiW
(
tempbufW
,
folderdisplayW
),
"GetDisplayNameOf returned %s
\n
"
,
wine_dbgstr_w
(
tempbufW
));
todo_wine
ok
(
!
lstrcmpiW
(
tempbufW
,
folderdisplayW
)
||
broken
(
!
lstrcmpiW
(
tempbufW
,
foldernameW
)),
/* W2K */
"GetDisplayNameOf returned %s
\n
"
,
wine_dbgstr_w
(
tempbufW
));
}
/* parsing name is unchanged */
hr
=
IShellFolder_GetDisplayNameOf
(
testIShellFolder
,
newPIDL
,
SHGDN_INFOLDER
|
SHGDN_FORPARSING
,
&
strret
);
ok
(
hr
==
S_OK
,
"
ParseDisplayName
failed %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"
GetDisplayNameOf
failed %08x
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
)
&&
pStrRetToBufW
)
{
...
...
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