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
698fac49
Commit
698fac49
authored
Jul 08, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Jul 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Fix a few failing tests in win9x.
parent
e59b3fa8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
vartest.c
dlls/oleaut32/tests/vartest.c
+10
-3
No files found.
dlls/oleaut32/tests/vartest.c
View file @
698fac49
...
...
@@ -2085,7 +2085,12 @@ static void test_VarSub(void)
leftvt
==
VT_RECORD
||
rightvt
==
VT_RECORD
)
{
if
(
leftvt
==
VT_RECORD
&&
rightvt
==
VT_I8
)
expectedhres
=
DISP_E_TYPEMISMATCH
;
{
if
(
HAVE_OLEAUT32_I8
)
expectedhres
=
DISP_E_TYPEMISMATCH
;
else
expectedhres
=
DISP_E_BADVARTYPE
;
}
else
if
(
leftvt
<
VT_UI1
&&
rightvt
==
VT_RECORD
)
expectedhres
=
DISP_E_TYPEMISMATCH
;
else
if
(
leftvt
>=
VT_UI1
&&
rightvt
==
VT_RECORD
)
...
...
@@ -5412,7 +5417,8 @@ static void test_VarCat(void)
hres
=
VarCat
(
&
left
,
&
right
,
&
result
);
ok
(
hres
==
S_OK
,
"VarCat failed with error 0x%08x
\n
"
,
hres
);
hres
=
VarCmp
(
&
result
,
&
expected
,
lcid
,
0
);
ok
(
hres
==
VARCMP_EQ
,
"Expected VARCMP_EQ, got %08x
\n
"
,
hres
);
ok
(
hres
==
VARCMP_EQ
||
broken
(
hres
==
VARCMP_GT
),
"Expected VARCMP_EQ, got %08x
\n
"
,
hres
);
VariantClear
(
&
left
);
VariantClear
(
&
right
);
...
...
@@ -5428,7 +5434,8 @@ static void test_VarCat(void)
hres
=
VarCat
(
&
left
,
&
right
,
&
result
);
ok
(
hres
==
S_OK
,
"VarCat failed with error 0x%08x
\n
"
,
hres
);
hres
=
VarCmp
(
&
result
,
&
expected
,
lcid
,
0
);
ok
(
hres
==
VARCMP_EQ
,
"Expected VARCMP_EQ, got %08x
\n
"
,
hres
);
ok
(
hres
==
VARCMP_EQ
||
broken
(
hres
==
VARCMP_GT
),
"Expected VARCMP_EQ, got %08x
\n
"
,
hres
);
VariantClear
(
&
left
);
VariantClear
(
&
right
);
...
...
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