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
1571337c
Commit
1571337c
authored
Feb 23, 2010
by
Reece Dunn
Committed by
Alexandre Julliard
Feb 23, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi/tests: Skip SHCreateStreamOnFileA/W configurations not supported on Win98 SE.
parent
416589a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
istream.c
dlls/shlwapi/tests/istream.c
+14
-5
No files found.
dlls/shlwapi/tests/istream.c
View file @
1571337c
...
@@ -208,12 +208,16 @@ static void test_SHCreateStreamOnFileA(DWORD mode, DWORD stgm)
...
@@ -208,12 +208,16 @@ static void test_SHCreateStreamOnFileA(DWORD mode, DWORD stgm)
/* invalid arguments */
/* invalid arguments */
stream
=
NULL
;
stream
=
NULL
;
/* NT: ERROR_PATH_NOT_FOUND, 9x: ERROR_BAD_PATHNAME */
ret
=
(
*
pSHCreateStreamOnFileA
)(
NULL
,
mode
|
stgm
,
&
stream
);
ret
=
(
*
pSHCreateStreamOnFileA
)(
NULL
,
mode
|
stgm
,
&
stream
);
ok
(
ret
==
HRESULT_FROM_WIN32
(
ERROR_PATH_NOT_FOUND
)
||
if
(
ret
==
E_INVALIDARG
)
/* Win98 SE */
{
ret
==
HRESULT_FROM_WIN32
(
ERROR_BAD_PATHNAME
),
win_skip
(
"Not supported
\n
"
);
"SHCreateStreamOnFileA: expected HRESULT_FROM_WIN32(ERROR_PATH_NOT_FOUND)"
return
;
"or HRESULT_FROM_WIN32(ERROR_BAD_PATHNAME), got 0x%08x
\n
"
,
ret
);
}
ok
(
ret
==
HRESULT_FROM_WIN32
(
ERROR_PATH_NOT_FOUND
)
/* NT */
||
ret
==
HRESULT_FROM_WIN32
(
ERROR_BAD_PATHNAME
)
/* 9x */
,
"SHCreateStreamOnFileA: expected HRESULT_FROM_WIN32(ERROR_PATH_NOT_FOUND) "
"or HRESULT_FROM_WIN32(ERROR_BAD_PATHNAME), got 0x%08x
\n
"
,
ret
);
ok
(
stream
==
NULL
,
"SHCreateStreamOnFileA: expected a NULL IStream object, got %p
\n
"
,
stream
);
ok
(
stream
==
NULL
,
"SHCreateStreamOnFileA: expected a NULL IStream object, got %p
\n
"
,
stream
);
#if 0 /* This test crashes on WinXP SP2 */
#if 0 /* This test crashes on WinXP SP2 */
...
@@ -342,6 +346,11 @@ static void test_SHCreateStreamOnFileW(DWORD mode, DWORD stgm)
...
@@ -342,6 +346,11 @@ static void test_SHCreateStreamOnFileW(DWORD mode, DWORD stgm)
stream
=
NULL
;
stream
=
NULL
;
ret
=
(
*
pSHCreateStreamOnFileW
)(
test_file
,
mode
|
STGM_FAILIFTHERE
|
stgm
,
&
stream
);
ret
=
(
*
pSHCreateStreamOnFileW
)(
test_file
,
mode
|
STGM_FAILIFTHERE
|
stgm
,
&
stream
);
if
(
ret
==
E_INVALIDARG
)
/* Win98 SE */
{
win_skip
(
"Not supported
\n
"
);
return
;
}
ok
(
ret
==
HRESULT_FROM_WIN32
(
ERROR_FILE_NOT_FOUND
),
"SHCreateStreamOnFileW: expected HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), got 0x%08x
\n
"
,
ret
);
ok
(
ret
==
HRESULT_FROM_WIN32
(
ERROR_FILE_NOT_FOUND
),
"SHCreateStreamOnFileW: expected HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), got 0x%08x
\n
"
,
ret
);
ok
(
stream
==
NULL
,
"SHCreateStreamOnFileW: expected a NULL IStream object, got %p
\n
"
,
stream
);
ok
(
stream
==
NULL
,
"SHCreateStreamOnFileW: expected a NULL IStream object, got %p
\n
"
,
stream
);
...
...
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