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
494ea810
Commit
494ea810
authored
Aug 16, 2004
by
Ferenc Wagner
Committed by
Alexandre Julliard
Aug 16, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Terminate test loop on the first error to avoid excessive log volume.
parent
225c8e6c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
prop.c
dlls/mapi32/tests/prop.c
+11
-6
No files found.
dlls/mapi32/tests/prop.c
View file @
494ea810
...
...
@@ -656,13 +656,14 @@ static void test_ScCountProps(void)
GUID
iids
[
4
],
*
iid
=
iids
;
SCODE
res
;
ULONG
pt
,
exp
,
ulRet
;
int
success
=
1
;
pScCountProps
=
(
void
*
)
GetProcAddress
(
hMapi32
,
"ScCountProps@12"
);
if
(
!
pScCountProps
)
return
;
for
(
pt
=
0
;
pt
<
PROP_ID_INVALID
;
pt
++
)
for
(
pt
=
0
;
pt
<
PROP_ID_INVALID
&&
success
;
pt
++
)
{
SPropValue
pv
;
...
...
@@ -771,12 +772,16 @@ static void test_ScCountProps(void)
ulRet
=
0xffffffff
;
res
=
pScCountProps
(
1
,
&
pv
,
&
ulRet
);
if
(
!
exp
)
ok
(
res
==
MAPI_E_INVALID_PARAMETER
&&
ulRet
==
0xffffffff
,
"pt= %ld: Expected failure, got %ld, ret=0x%08lX
\n
"
,
pt
,
ulRet
,
res
);
else
ok
(
res
==
S_OK
&&
ulRet
==
exp
,
"pt= %ld: Expected %ld, got %ld, ret=0x%08lX
\n
"
,
if
(
!
exp
)
{
success
=
res
==
MAPI_E_INVALID_PARAMETER
&&
ulRet
==
0xffffffff
;
ok
(
success
,
"pt= %ld: Expected failure, got %ld, ret=0x%08lX
\n
"
,
pt
,
ulRet
,
res
);
}
else
{
success
=
res
==
S_OK
&&
ulRet
==
exp
;
ok
(
success
,
"pt= %ld: Expected %ld, got %ld, ret=0x%08lX
\n
"
,
pt
,
exp
,
ulRet
,
res
);
}
}
}
...
...
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