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
9cc82dd6
Commit
9cc82dd6
authored
May 25, 2012
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
May 25, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Fix some typos in the tEXt metadata test.
parent
630560ea
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
metadata.c
dlls/windowscodecs/tests/metadata.c
+5
-5
No files found.
dlls/windowscodecs/tests/metadata.c
View file @
9cc82dd6
...
...
@@ -205,8 +205,8 @@ static void test_metadata_tEXt(void)
ok
(
schema
.
vt
==
VT_EMPTY
,
"unexpected vt: %i
\n
"
,
schema
.
vt
);
ok
(
id
.
vt
==
VT_LPSTR
,
"unexpected vt: %i
\n
"
,
id
.
vt
);
ok
(
!
strcmp
(
U
(
id
).
pszVal
,
"winetest"
),
"unexpected id: %s
\n
"
,
U
(
id
).
pszVal
);
ok
(
value
.
vt
==
VT_LPSTR
,
"unexpected vt: %i
\n
"
,
id
.
vt
);
ok
(
!
strcmp
(
U
(
value
).
pszVal
,
"value"
),
"unexpected value: %s
\n
"
,
U
(
id
).
pszVal
);
ok
(
value
.
vt
==
VT_LPSTR
,
"unexpected vt: %i
\n
"
,
value
.
vt
);
ok
(
!
strcmp
(
U
(
value
).
pszVal
,
"value"
),
"unexpected value: %s
\n
"
,
U
(
value
).
pszVal
);
PropVariantClear
(
&
schema
);
PropVariantClear
(
&
id
);
...
...
@@ -240,7 +240,7 @@ static void test_metadata_tEXt(void)
hr
=
IWICMetadataReader_GetValue
(
reader
,
&
schema
,
&
id
,
&
value
);
ok
(
hr
==
S_OK
,
"GetValue failed, hr=%x
\n
"
,
hr
);
ok
(
value
.
vt
==
VT_LPSTR
,
"unexpected vt: %i
\n
"
,
id
.
vt
);
ok
(
!
strcmp
(
U
(
value
).
pszVal
,
"value"
),
"unexpected value: %s
\n
"
,
U
(
id
).
pszVal
);
ok
(
!
strcmp
(
U
(
value
).
pszVal
,
"value"
),
"unexpected value: %s
\n
"
,
U
(
value
).
pszVal
);
PropVariantClear
(
&
value
);
strcpy
(
U
(
id
).
pszVal
,
"test"
);
...
...
@@ -265,8 +265,8 @@ static void test_metadata_tEXt(void)
hr
=
IWICMetadataReader_GetValueByIndex
(
reader
,
0
,
NULL
,
NULL
,
&
value
);
ok
(
hr
==
S_OK
,
"GetValueByIndex failed, hr=%x
\n
"
,
hr
);
ok
(
value
.
vt
==
VT_LPSTR
,
"unexpected vt: %i
\n
"
,
id
.
vt
);
ok
(
!
strcmp
(
U
(
value
).
pszVal
,
"value"
),
"unexpected value: %s
\n
"
,
U
(
id
).
pszVal
);
ok
(
value
.
vt
==
VT_LPSTR
,
"unexpected vt: %i
\n
"
,
value
.
vt
);
ok
(
!
strcmp
(
U
(
value
).
pszVal
,
"value"
),
"unexpected value: %s
\n
"
,
U
(
value
).
pszVal
);
PropVariantClear
(
&
value
);
hr
=
IWICMetadataReader_GetValueByIndex
(
reader
,
1
,
NULL
,
NULL
,
NULL
);
...
...
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