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
604b874b
Commit
604b874b
authored
Dec 16, 2019
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 16, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmime/tests: Use wide-char string literals.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9d03ce02
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
dmime.c
dlls/dmime/tests/dmime.c
+2
-4
No files found.
dlls/dmime/tests/dmime.c
View file @
604b874b
...
@@ -956,8 +956,6 @@ static void test_parsedescriptor(void)
...
@@ -956,8 +956,6 @@ static void test_parsedescriptor(void)
HRESULT
hr
;
HRESULT
hr
;
DWORD
valid
;
DWORD
valid
;
unsigned
int
i
;
unsigned
int
i
;
const
WCHAR
s_unam
[]
=
{
'U'
,
'N'
,
'A'
,
'M'
,
'\0'
};
const
WCHAR
s_inam
[]
=
{
'I'
,
'\0'
};
/* fourcc ~0 will be replaced later on */
/* fourcc ~0 will be replaced later on */
FOURCC
alldesc
[]
=
FOURCC
alldesc
[]
=
{
{
...
@@ -1092,7 +1090,7 @@ static void test_parsedescriptor(void)
...
@@ -1092,7 +1090,7 @@ static void test_parsedescriptor(void)
"Got version %u.%u, expected 5.8
\n
"
,
desc
.
vVersion
.
dwVersionMS
,
"Got version %u.%u, expected 5.8
\n
"
,
desc
.
vVersion
.
dwVersionMS
,
desc
.
vVersion
.
dwVersionLS
);
desc
.
vVersion
.
dwVersionLS
);
if
(
forms
[
i
].
form
!=
mmioFOURCC
(
'W'
,
'A'
,
'V'
,
'E'
))
if
(
forms
[
i
].
form
!=
mmioFOURCC
(
'W'
,
'A'
,
'V'
,
'E'
))
ok
(
!
memcmp
(
desc
.
wszName
,
s_unam
,
sizeof
(
s_unam
)
),
"Got name '%s', expected 'UNAM'
\n
"
,
ok
(
!
lstrcmpW
(
desc
.
wszName
,
L"UNAM"
),
"Got name '%s', expected 'UNAM'
\n
"
,
wine_dbgstr_w
(
desc
.
wszName
));
wine_dbgstr_w
(
desc
.
wszName
));
IStream_Release
(
stream
);
IStream_Release
(
stream
);
...
@@ -1130,7 +1128,7 @@ static void test_parsedescriptor(void)
...
@@ -1130,7 +1128,7 @@ static void test_parsedescriptor(void)
valid
|=
DMUS_OBJ_NAME
;
valid
|=
DMUS_OBJ_NAME
;
ok
(
desc
.
dwValidData
==
valid
,
"Got valid data %#x, expected %#x
\n
"
,
desc
.
dwValidData
,
valid
);
ok
(
desc
.
dwValidData
==
valid
,
"Got valid data %#x, expected %#x
\n
"
,
desc
.
dwValidData
,
valid
);
if
(
forms
[
i
].
form
==
mmioFOURCC
(
'W'
,
'A'
,
'V'
,
'E'
))
if
(
forms
[
i
].
form
==
mmioFOURCC
(
'W'
,
'A'
,
'V'
,
'E'
))
ok
(
!
memcmp
(
desc
.
wszName
,
s_inam
,
sizeof
(
s_inam
)
),
"Got name '%s', expected 'I'
\n
"
,
ok
(
!
lstrcmpW
(
desc
.
wszName
,
L"I"
),
"Got name '%s', expected 'I'
\n
"
,
wine_dbgstr_w
(
desc
.
wszName
));
wine_dbgstr_w
(
desc
.
wszName
));
IStream_Release
(
stream
);
IStream_Release
(
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