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
9d15067c
Commit
9d15067c
authored
Jan 18, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: Fix a dead path in test (Valgrind).
parent
d51a7940
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
safearray.c
dlls/oleaut32/tests/safearray.c
+15
-2
No files found.
dlls/oleaut32/tests/safearray.c
View file @
9d15067c
...
...
@@ -127,9 +127,11 @@ static HRESULT CALLBACK IRecordInfoImpl_GetSize(IRecordInfo *iface, ULONG* size)
{
IRecordInfoImpl
*
This
=
impl_from_IRecordInfo
(
iface
);
This
->
sizeCalled
++
;
*
size
=
17
;
if
(
fail_GetSize
)
{
*
size
=
RECORD_SIZE_FAIL
;
return
E_UNEXPECTED
;
}
*
size
=
RECORD_SIZE
;
return
S_OK
;
}
...
...
@@ -846,7 +848,10 @@ static void test_VectorCreateLockDestroy(void)
int
element
;
if
(
!
pSafeArrayCreateVector
)
{
win_skip
(
"SafeArrayCreateVector not supported
\n
"
);
return
;
}
sa
=
pSafeArrayCreateVector
(
VT_UI1
,
0
,
0
);
ok
(
sa
!=
NULL
,
"SACV with 0 elements failed.
\n
"
);
...
...
@@ -1256,7 +1261,10 @@ static void test_SafeArrayCopyData(void)
int
dimension
,
size
=
1
;
if
(
!
pSafeArrayCopyData
)
{
win_skip
(
"SafeArrayCopyData not supported
\n
"
);
return
;
}
for
(
dimension
=
0
;
dimension
<
NUM_DIMENSIONS
;
dimension
++
)
{
...
...
@@ -1342,7 +1350,10 @@ static void test_SafeArrayCreateEx(void)
int
dimension
;
if
(
!
pSafeArrayCreateEx
)
{
win_skip
(
"SafeArrayCreateEx not supported
\n
"
);
return
;
}
for
(
dimension
=
0
;
dimension
<
NUM_DIMENSIONS
;
dimension
++
)
{
...
...
@@ -1467,6 +1478,8 @@ static void test_SafeArrayCreateEx(void)
ok
(
iRec
->
clearCalled
==
sab
[
0
].
cElements
,
"Destroy->Clear called %d times
\n
"
,
iRec
->
clearCalled
);
ok
(
iRec
->
ref
==
START_REF_COUNT
,
"Wrong iRec refcount %d
\n
"
,
iRec
->
ref
);
}
else
SafeArrayDestroy
(
sa
);
}
static
void
test_SafeArrayClear
(
void
)
...
...
@@ -1672,7 +1685,6 @@ static void test_SafeArrayChangeTypeEx(void)
hres
=
VariantChangeTypeEx
(
&
v2
,
&
v
,
0
,
0
,
VT_EMPTY
);
ok
(
hres
==
DISP_E_TYPEMISMATCH
,
"CTE VT_ARRAY|VT_UI1 returned %x
\n
"
,
hres
);
VariantClear
(
&
v
);
}
static
void
test_SafeArrayDestroyData
(
void
)
...
...
@@ -1724,6 +1736,7 @@ START_TEST(safearray)
GETPTR
(
SafeArrayGetVartype
);
GETPTR
(
SafeArrayCreateEx
);
GETPTR
(
SafeArrayCreateVector
);
GETPTR
(
SafeArrayGetRecordInfo
);
check_for_VT_INT_PTR
();
test_safearray
();
...
...
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