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
323b6165
Commit
323b6165
authored
Feb 23, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 23, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mapi32/tests: Use win_skip() to skip over unimplemented functionality.
parent
33dd39c4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
imalloc.c
dlls/mapi32/tests/imalloc.c
+2
-2
prop.c
dlls/mapi32/tests/prop.c
+2
-2
util.c
dlls/mapi32/tests/util.c
+2
-2
No files found.
dlls/mapi32/tests/imalloc.c
View file @
323b6165
...
@@ -93,7 +93,7 @@ START_TEST(imalloc)
...
@@ -93,7 +93,7 @@ START_TEST(imalloc)
pScInitMapiUtil
=
(
void
*
)
GetProcAddress
(
hMapi32
,
"ScInitMapiUtil@4"
);
pScInitMapiUtil
=
(
void
*
)
GetProcAddress
(
hMapi32
,
"ScInitMapiUtil@4"
);
if
(
!
pScInitMapiUtil
)
if
(
!
pScInitMapiUtil
)
{
{
skip
(
"ScInitMapiUtil is not available
\n
"
);
win_
skip
(
"ScInitMapiUtil is not available
\n
"
);
FreeLibrary
(
hMapi32
);
FreeLibrary
(
hMapi32
);
return
;
return
;
}
}
...
@@ -102,7 +102,7 @@ START_TEST(imalloc)
...
@@ -102,7 +102,7 @@ START_TEST(imalloc)
ret
=
pScInitMapiUtil
(
0
);
ret
=
pScInitMapiUtil
(
0
);
if
((
ret
!=
S_OK
)
&&
(
GetLastError
()
==
ERROR_PROC_NOT_FOUND
))
if
((
ret
!=
S_OK
)
&&
(
GetLastError
()
==
ERROR_PROC_NOT_FOUND
))
{
{
skip
(
"ScInitMapiUtil is not implemented
\n
"
);
win_
skip
(
"ScInitMapiUtil is not implemented
\n
"
);
FreeLibrary
(
hMapi32
);
FreeLibrary
(
hMapi32
);
return
;
return
;
}
}
...
...
dlls/mapi32/tests/prop.c
View file @
323b6165
...
@@ -1362,7 +1362,7 @@ START_TEST(prop)
...
@@ -1362,7 +1362,7 @@ START_TEST(prop)
if
(
!
InitFuncPtrs
())
if
(
!
InitFuncPtrs
())
{
{
skip
(
"Needed functions are not available
\n
"
);
win_
skip
(
"Needed functions are not available
\n
"
);
return
;
return
;
}
}
...
@@ -1370,7 +1370,7 @@ START_TEST(prop)
...
@@ -1370,7 +1370,7 @@ START_TEST(prop)
ret
=
pScInitMapiUtil
(
0
);
ret
=
pScInitMapiUtil
(
0
);
if
((
ret
!=
S_OK
)
&&
(
GetLastError
()
==
ERROR_PROC_NOT_FOUND
))
if
((
ret
!=
S_OK
)
&&
(
GetLastError
()
==
ERROR_PROC_NOT_FOUND
))
{
{
skip
(
"ScInitMapiUtil is not implemented
\n
"
);
win_
skip
(
"ScInitMapiUtil is not implemented
\n
"
);
FreeLibrary
(
hMapi32
);
FreeLibrary
(
hMapi32
);
return
;
return
;
}
}
...
...
dlls/mapi32/tests/util.c
View file @
323b6165
...
@@ -180,7 +180,7 @@ START_TEST(util)
...
@@ -180,7 +180,7 @@ START_TEST(util)
if
(
!
pScInitMapiUtil
)
if
(
!
pScInitMapiUtil
)
{
{
skip
(
"ScInitMapiUtil is not available
\n
"
);
win_
skip
(
"ScInitMapiUtil is not available
\n
"
);
FreeLibrary
(
hMapi32
);
FreeLibrary
(
hMapi32
);
return
;
return
;
}
}
...
@@ -189,7 +189,7 @@ START_TEST(util)
...
@@ -189,7 +189,7 @@ START_TEST(util)
ret
=
pScInitMapiUtil
(
0
);
ret
=
pScInitMapiUtil
(
0
);
if
((
ret
!=
S_OK
)
&&
(
GetLastError
()
==
ERROR_PROC_NOT_FOUND
))
if
((
ret
!=
S_OK
)
&&
(
GetLastError
()
==
ERROR_PROC_NOT_FOUND
))
{
{
skip
(
"ScInitMapiUtil is not implemented
\n
"
);
win_
skip
(
"ScInitMapiUtil is not implemented
\n
"
);
FreeLibrary
(
hMapi32
);
FreeLibrary
(
hMapi32
);
return
;
return
;
}
}
...
...
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