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
78402cfa
Commit
78402cfa
authored
Mar 12, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Mar 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fusion/tests: Fix some test failures on Win98.
parent
0a350925
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
10 deletions
+15
-10
asmenum.c
dlls/fusion/tests/asmenum.c
+15
-10
No files found.
dlls/fusion/tests/asmenum.c
View file @
78402cfa
...
@@ -442,8 +442,7 @@ static void test_enumerate_name(void)
...
@@ -442,8 +442,7 @@ static void test_enumerate_name(void)
hr
=
IAssemblyName_GetDisplayName
(
next
,
buf
,
&
size
,
0
);
hr
=
IAssemblyName_GetDisplayName
(
next
,
buf
,
&
size
,
0
);
to_multibyte
(
disp
,
buf
);
to_multibyte
(
disp
,
buf
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
ok
(
!
lstrcmpA
(
disp
,
exp
[
0
])
||
ok
(
!
lstrcmpA
(
disp
,
exp
[
0
]),
!
lstrcmpA
(
disp
,
exp
[
1
]),
"Expected
\"
%s
\"
or
\"
%s
\"
, got
\"
%s
\"\n
"
,
exp
[
0
],
exp
[
1
],
disp
);
"Expected
\"
%s
\"
or
\"
%s
\"
, got
\"
%s
\"\n
"
,
exp
[
0
],
exp
[
1
],
disp
);
IAssemblyName_Release
(
next
);
IAssemblyName_Release
(
next
);
...
@@ -458,7 +457,7 @@ static void test_enumerate_name(void)
...
@@ -458,7 +457,7 @@ static void test_enumerate_name(void)
to_multibyte
(
disp
,
buf
);
to_multibyte
(
disp
,
buf
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
ok
(
!
lstrcmpA
(
disp
,
exp
[
1
])
||
ok
(
!
lstrcmpA
(
disp
,
exp
[
1
])
||
!
lstrcmpA
(
disp
,
exp
[
2
]),
!
lstrcmpA
(
disp
,
exp
[
2
]),
/* Win98 */
"Expected
\"
%s
\"
or
\"
%s
\"
, got
\"
%s
\"\n
"
,
exp
[
1
],
exp
[
2
],
disp
);
"Expected
\"
%s
\"
or
\"
%s
\"
, got
\"
%s
\"\n
"
,
exp
[
1
],
exp
[
2
],
disp
);
IAssemblyName_Release
(
next
);
IAssemblyName_Release
(
next
);
...
@@ -472,7 +471,9 @@ static void test_enumerate_name(void)
...
@@ -472,7 +471,9 @@ static void test_enumerate_name(void)
hr
=
IAssemblyName_GetDisplayName
(
next
,
buf
,
&
size
,
0
);
hr
=
IAssemblyName_GetDisplayName
(
next
,
buf
,
&
size
,
0
);
to_multibyte
(
disp
,
buf
);
to_multibyte
(
disp
,
buf
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
ok
(
!
lstrcmpA
(
disp
,
exp
[
2
]),
"Expected
\"
%s
\"
, got
\"
%s
\"\n
"
,
exp
[
2
],
disp
);
ok
(
!
lstrcmpA
(
disp
,
exp
[
2
])
||
!
lstrcmpA
(
disp
,
exp
[
1
]),
/* Win98 */
"Expected
\"
%s
\"
or
\"
%s
\"
, got
\"
%s
\"\n
"
,
exp
[
2
],
exp
[
1
],
disp
);
IAssemblyName_Release
(
next
);
IAssemblyName_Release
(
next
);
...
@@ -506,7 +507,9 @@ static void test_enumerate_name(void)
...
@@ -506,7 +507,9 @@ static void test_enumerate_name(void)
hr
=
IAssemblyName_GetDisplayName
(
next
,
buf
,
&
size
,
0
);
hr
=
IAssemblyName_GetDisplayName
(
next
,
buf
,
&
size
,
0
);
to_multibyte
(
disp
,
buf
);
to_multibyte
(
disp
,
buf
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
ok
(
!
lstrcmpA
(
disp
,
exp
[
4
]),
"Expected
\"
%s
\"
, got
\"
%s
\"\n
"
,
exp
[
4
],
disp
);
ok
(
!
lstrcmpA
(
disp
,
exp
[
4
])
||
!
lstrcmpA
(
disp
,
exp
[
5
]),
/* Win98 */
"Expected
\"
%s
\"
or
\"
%s
\"
, got
\"
%s
\"\n
"
,
exp
[
4
],
exp
[
5
],
disp
);
IAssemblyName_Release
(
next
);
IAssemblyName_Release
(
next
);
...
@@ -519,7 +522,9 @@ static void test_enumerate_name(void)
...
@@ -519,7 +522,9 @@ static void test_enumerate_name(void)
hr
=
IAssemblyName_GetDisplayName
(
next
,
buf
,
&
size
,
0
);
hr
=
IAssemblyName_GetDisplayName
(
next
,
buf
,
&
size
,
0
);
to_multibyte
(
disp
,
buf
);
to_multibyte
(
disp
,
buf
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
ok
(
!
lstrcmpA
(
disp
,
exp
[
5
]),
"Expected
\"
%s
\"
, got
\"
%s
\"\n
"
,
exp
[
5
],
disp
);
ok
(
!
lstrcmpA
(
disp
,
exp
[
5
])
||
!
lstrcmpA
(
disp
,
exp
[
4
]),
/* Win98 */
"Expected
\"
%s
\"
or
\"
%s
\"
, got
\"
%s
\"\n
"
,
exp
[
5
],
exp
[
4
],
disp
);
IAssemblyName_Release
(
next
);
IAssemblyName_Release
(
next
);
...
@@ -614,7 +619,7 @@ static void test_enumerate_name(void)
...
@@ -614,7 +619,7 @@ static void test_enumerate_name(void)
to_multibyte
(
disp
,
buf
);
to_multibyte
(
disp
,
buf
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
ok
(
!
lstrcmpA
(
disp
,
exp
[
1
])
||
ok
(
!
lstrcmpA
(
disp
,
exp
[
1
])
||
!
lstrcmpA
(
disp
,
exp
[
2
]),
!
lstrcmpA
(
disp
,
exp
[
2
]),
/* Win98 */
"Expected
\"
%s
\"
or
\"
%s
\"
, got
\"
%s
\"\n
"
,
exp
[
1
],
exp
[
2
],
disp
);
"Expected
\"
%s
\"
or
\"
%s
\"
, got
\"
%s
\"\n
"
,
exp
[
1
],
exp
[
2
],
disp
);
IAssemblyName_Release
(
next
);
IAssemblyName_Release
(
next
);
...
@@ -628,9 +633,9 @@ static void test_enumerate_name(void)
...
@@ -628,9 +633,9 @@ static void test_enumerate_name(void)
hr
=
IAssemblyName_GetDisplayName
(
next
,
buf
,
&
size
,
0
);
hr
=
IAssemblyName_GetDisplayName
(
next
,
buf
,
&
size
,
0
);
to_multibyte
(
disp
,
buf
);
to_multibyte
(
disp
,
buf
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
ok
(
!
lstrcmpA
(
disp
,
exp
[
1
])
||
ok
(
!
lstrcmpA
(
disp
,
exp
[
2
])
||
!
lstrcmpA
(
disp
,
exp
[
2
]),
!
lstrcmpA
(
disp
,
exp
[
1
]),
/* Win98 */
"Expected
\"
%s
\"
or
\"
%s
\"
, got
\"
%s
\"\n
"
,
exp
[
1
],
exp
[
2
],
disp
);
"Expected
\"
%s
\"
or
\"
%s
\"
, got
\"
%s
\"\n
"
,
exp
[
2
],
exp
[
1
],
disp
);
IAssemblyName_Release
(
next
);
IAssemblyName_Release
(
next
);
...
...
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