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
f42e5070
Commit
f42e5070
authored
Feb 06, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Feb 06, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fusion/tests: Fix some tests failures on .NET 1.1 (and Win98).
parent
09fc4e80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
asmname.c
dlls/fusion/tests/asmname.c
+11
-6
No files found.
dlls/fusion/tests/asmname.c
View file @
f42e5070
...
@@ -362,12 +362,17 @@ static void test_assembly_name_props_line(IAssemblyName *name,
...
@@ -362,12 +362,17 @@ static void test_assembly_name_props_line(IAssemblyName *name,
hr
=
IAssemblyName_GetProperty
(
name
,
i
,
str
,
&
size
);
hr
=
IAssemblyName_GetProperty
(
name
,
i
,
str
,
&
size
);
to_multibyte
(
val
,
str
);
to_multibyte
(
val
,
str
);
if
(
i
==
ASM_NAME_PUBLIC_KEY_TOKEN
)
ok
(
hr
==
vals
[
i
].
hr
||
lstrcpyA
((
LPSTR
)
expect
,
vals
[
i
].
val
);
broken
(
i
>=
ASM_NAME_CONFIG_MASK
&&
hr
==
E_INVALIDARG
),
/* .NET 1.1 */
"%d: prop %d: Expected %08x, got %08x
\n
"
,
line
,
i
,
vals
[
i
].
hr
,
hr
);
ok
(
hr
==
vals
[
i
].
hr
,
"%d: prop %d: Expected %08x, got %08x
\n
"
,
line
,
i
,
vals
[
i
].
hr
,
hr
);
if
(
hr
!=
E_INVALIDARG
)
ok
(
!
lstrcmpW
(
str
,
expect
),
"%d: prop %d: Expected
\"
%s
\"
, got
\"
%s
\"\n
"
,
line
,
i
,
vals
[
i
].
val
,
val
);
{
ok
(
size
==
vals
[
i
].
size
,
"%d: prop %d: Expected %d, got %d
\n
"
,
line
,
i
,
vals
[
i
].
size
,
size
);
if
(
i
==
ASM_NAME_PUBLIC_KEY_TOKEN
)
ok
(
!
memcmp
(
vals
[
i
].
val
,
str
,
size
),
"Expected a correct ASM_NAME_PUBLIC_KEY_TOKEN
\n
"
);
else
ok
(
!
lstrcmpA
(
vals
[
i
].
val
,
val
),
"%d: prop %d: Expected
\"
%s
\"
, got
\"
%s
\"\n
"
,
line
,
i
,
vals
[
i
].
val
,
val
);
ok
(
size
==
vals
[
i
].
size
,
"%d: prop %d: Expected %d, got %d
\n
"
,
line
,
i
,
vals
[
i
].
size
,
size
);
}
}
}
}
}
...
...
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