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
b74b8776
Commit
b74b8776
authored
Dec 10, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Dec 11, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi/tests: Fix two tests on win8.
parent
78984cf4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
assoc.c
dlls/shlwapi/tests/assoc.c
+4
-2
No files found.
dlls/shlwapi/tests/assoc.c
View file @
b74b8776
...
...
@@ -78,7 +78,8 @@ static void test_getstring_bad(void)
hr
=
pAssocQueryStringW
(
0
,
ASSOCSTR_FRIENDLYAPPNAME
,
dotBad
,
open
,
NULL
,
&
len
);
ok
(
hr
==
E_FAIL
||
hr
==
HRESULT_FROM_WIN32
(
ERROR_NO_ASSOCIATION
),
/* Win9x/WinMe/NT4/W2K/Vista/W2K8 */
hr
==
HRESULT_FROM_WIN32
(
ERROR_NO_ASSOCIATION
)
/* Win9x/WinMe/NT4/W2K/Vista/W2K8 */
||
hr
==
HRESULT_FROM_WIN32
(
ERROR_NOT_FOUND
),
/* Win8 */
"Unexpected result : %08x
\n
"
,
hr
);
hr
=
pAssocQueryStringW
(
0
,
ASSOCSTR_FRIENDLYAPPNAME
,
dotHtml
,
invalid
,
NULL
,
&
len
);
...
...
@@ -133,7 +134,8 @@ static void test_getstring_basic(void)
hr
=
pAssocQueryStringW
(
0
,
ASSOCSTR_FRIENDLYAPPNAME
,
dotHtml
,
open
,
NULL
,
&
len
);
ok
(
hr
==
S_FALSE
||
hr
==
HRESULT_FROM_WIN32
(
ERROR_FILE_NOT_FOUND
),
/* Win9x/NT4 */
hr
==
HRESULT_FROM_WIN32
(
ERROR_FILE_NOT_FOUND
)
/* Win9x/NT4 */
||
hr
==
HRESULT_FROM_WIN32
(
ERROR_NOT_FOUND
),
/* Win8 */
"Unexpected result : %08x
\n
"
,
hr
);
if
(
hr
!=
S_FALSE
)
{
...
...
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