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
428543d9
Commit
428543d9
authored
Apr 02, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Apr 02, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi/tests: Turn printf into trace or skip.
parent
c535a276
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
istream.c
dlls/shlwapi/tests/istream.c
+7
-7
No files found.
dlls/shlwapi/tests/istream.c
View file @
428543d9
...
...
@@ -192,7 +192,7 @@ static void test_SHCreateStreamOnFileA(DWORD mode)
ULONG
refcount
;
static
const
char
*
test_file
=
"c:
\\
test.txt"
;
printf
(
"SHCreateStreamOnFileA: testing mode %d
\n
"
,
mode
);
trace
(
"SHCreateStreamOnFileA: testing mode %d
\n
"
,
mode
);
/* invalid arguments */
...
...
@@ -287,7 +287,7 @@ static void test_SHCreateStreamOnFileW(DWORD mode)
ULONG
refcount
;
static
const
WCHAR
test_file
[]
=
{
'c'
,
':'
,
'\\'
,
't'
,
'e'
,
's'
,
't'
,
'.'
,
't'
,
'x'
,
't'
};
printf
(
"SHCreateStreamOnFileW: testing mode %d
\n
"
,
mode
);
trace
(
"SHCreateStreamOnFileW: testing mode %d
\n
"
,
mode
);
/* invalid arguments */
...
...
@@ -384,7 +384,7 @@ static void test_SHCreateStreamOnFileEx(DWORD mode, DWORD stgm)
ULONG
refcount
;
static
const
WCHAR
test_file
[]
=
{
'c'
,
':'
,
'\\'
,
't'
,
'e'
,
's'
,
't'
,
'.'
,
't'
,
'x'
,
't'
};
printf
(
"SHCreateStreamOnFileEx: testing mode %d, STGM flags %08x
\n
"
,
mode
,
stgm
);
trace
(
"SHCreateStreamOnFileEx: testing mode %d, STGM flags %08x
\n
"
,
mode
,
stgm
);
/* invalid arguments */
...
...
@@ -415,7 +415,7 @@ static void test_SHCreateStreamOnFileEx(DWORD mode, DWORD stgm)
"SHCreateStreamOnFileEx: expected E_INVALIDARG or HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), got 0x%08x
\n
"
,
ret
);
if
(
ret
==
E_INVALIDARG
)
{
printf
(
"SHCreateStreamOnFileEx: STGM_TRANSACTED not supported in this configuration... skipping
.
\n
"
);
skip
(
"SHCreateStreamOnFileEx: STGM_TRANSACTED not supported in this configuration
.
\n
"
);
return
;
}
}
else
{
...
...
@@ -554,13 +554,13 @@ START_TEST(istream)
pSHCreateStreamOnFileEx
=
(
void
*
)
GetProcAddress
(
hShlwapi
,
"SHCreateStreamOnFileEx"
);
if
(
!
pSHCreateStreamOnFileA
)
printf
(
"SHCreateStreamOnFileA not found... those tests will be skippe
d.
\n
"
);
skip
(
"SHCreateStreamOnFileA not foun
d.
\n
"
);
if
(
!
pSHCreateStreamOnFileW
)
printf
(
"SHCreateStreamOnFileW not found... those tests will be skippe
d.
\n
"
);
skip
(
"SHCreateStreamOnFileW not foun
d.
\n
"
);
if
(
!
pSHCreateStreamOnFileEx
)
printf
(
"SHCreateStreamOnFileEx not found... those tests will be skippe
d.
\n
"
);
skip
(
"SHCreateStreamOnFileEx not foun
d.
\n
"
);
for
(
i
=
0
;
i
!=
sizeof
(
stgm_access
)
/
sizeof
(
stgm_access
[
0
]);
i
++
)
{
if
(
pSHCreateStreamOnFileA
)
...
...
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