Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexey Alyaev
wine
Commits
cc547444
Commit
cc547444
authored
12 years ago
by
Józef Kucia
Committed by
Alexandre Julliard
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
windowscodecs/tests: Fix the expected values in some ok() messages.
parent
43923dec
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/windowscodecs/tests/stream.c
+2
-2
2 additions, 2 deletions
dlls/windowscodecs/tests/stream.c
with
2 additions
and
2 deletions
dlls/windowscodecs/tests/stream.c
+
2
−
2
View file @
cc547444
...
...
@@ -160,7 +160,7 @@ static void test_StreamOnMemory(void)
hr
=
IWICStream_Read
(
pStream
,
MemBuf
,
12
,
&
uBytesRead
);
ok
(
hr
==
S_OK
,
"Read returned with %#x, expected %#x
\n
"
,
hr
,
S_OK
);
if
(
SUCCEEDED
(
hr
))
{
ok
(
uBytesRead
==
12
,
"Read %u bytes, expected %u
\n
"
,
uBytesRead
,
3
);
ok
(
uBytesRead
==
12
,
"Read %u bytes, expected %u
\n
"
,
uBytesRead
,
12
);
ok
(
memcmp
(
MemBuf
,
CmpMem
,
12
)
==
0
,
"Read returned invalid data!
\n
"
);
/* check whether the seek pointer has moved correctly */
...
...
@@ -506,7 +506,7 @@ static void test_StreamOnStreamRange(void)
hr
=
IWICStream_Read
(
pSubStream
,
MemBuf
,
12
,
&
uBytesRead
);
ok
(
hr
==
S_OK
,
"Read returned with %#x, expected %#x
\n
"
,
hr
,
S_OK
);
if
(
SUCCEEDED
(
hr
))
{
ok
(
uBytesRead
==
12
,
"Read %u bytes, expected %u
\n
"
,
uBytesRead
,
3
);
ok
(
uBytesRead
==
12
,
"Read %u bytes, expected %u
\n
"
,
uBytesRead
,
12
);
ok
(
memcmp
(
MemBuf
,
CmpMem
+
20
,
12
)
==
0
,
"Read returned invalid data!
\n
"
);
/* check whether the seek pointer has moved correctly */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment