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
6f7650ae
Commit
6f7650ae
authored
May 15, 2014
by
Huw Davies
Committed by
Alexandre Julliard
May 15, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix tests on win 8.
parent
d87aa43c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
shlfolder.c
dlls/shell32/tests/shlfolder.c
+7
-4
No files found.
dlls/shell32/tests/shlfolder.c
View file @
6f7650ae
...
...
@@ -779,7 +779,8 @@ static void test_GetDisplayName(void)
if
(
pidlLast
->
mkid
.
cb
>=
76
)
{
ok
(
!
lstrcmpW
((
WCHAR
*
)
&
pidlLast
->
mkid
.
abID
[
46
],
wszFileName
)
||
(
pidlLast
->
mkid
.
cb
>=
94
&&
!
lstrcmpW
((
WCHAR
*
)
&
pidlLast
->
mkid
.
abID
[
64
],
wszFileName
))
||
/* Vista */
(
pidlLast
->
mkid
.
cb
>=
98
&&
!
lstrcmpW
((
WCHAR
*
)
&
pidlLast
->
mkid
.
abID
[
68
],
wszFileName
)),
/* Win7 */
(
pidlLast
->
mkid
.
cb
>=
98
&&
!
lstrcmpW
((
WCHAR
*
)
&
pidlLast
->
mkid
.
abID
[
68
],
wszFileName
))
||
/* Win7 */
(
pidlLast
->
mkid
.
cb
>=
102
&&
!
lstrcmpW
((
WCHAR
*
)
&
pidlLast
->
mkid
.
abID
[
72
],
wszFileName
)),
/* Win8 */
"Filename should be stored as wchar-string at this position!
\n
"
);
}
...
...
@@ -1853,8 +1854,9 @@ static void test_ITEMIDLIST_format(void) {
}
ok
(
!
lstrcmpW
(
wszFile
[
i
],
name
)
||
!
lstrcmpW
(
wszFile
[
i
],
name
+
9
)
||
/* Vista */
!
lstrcmpW
(
wszFile
[
i
],
name
+
11
),
/* Win7 */
!
lstrcmpW
(
wszFile
[
i
],
name
+
9
)
||
/* Vista */
!
lstrcmpW
(
wszFile
[
i
],
name
+
11
)
||
/* Win7 */
!
lstrcmpW
(
wszFile
[
i
],
name
+
13
),
/* Win8 */
"The filename should be stored in unicode at this position!
\n
"
);
}
}
...
...
@@ -3969,7 +3971,8 @@ static void test_GetUIObject(void)
}
max_id_check
-=
baseItem
;
ok
((
max_id_check
==
max_id
)
||
(
max_id_check
==
max_id
-
1
/* Win 7 */
),
(
max_id_check
==
max_id
-
1
)
||
/* Win 7 */
(
max_id_check
==
max_id
-
2
),
/* Win 8 */
"Not equal (or near equal), got %d and %d
\n
"
,
max_id_check
,
max_id
);
#define is_win2k() (pSHGetFolderPathA && !pSHGetFolderPathAndSubDirA)
...
...
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