Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
4f412330
Commit
4f412330
authored
Mar 19, 2007
by
Kai Blin
Committed by
Alexandre Julliard
Mar 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netapi32/tests: Use skip when skipping tests.
parent
5091bd9a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
access.c
dlls/netapi32/tests/access.c
+11
-2
No files found.
dlls/netapi32/tests/access.c
View file @
4f412330
...
...
@@ -56,7 +56,10 @@ static int init_access_tests(void)
dwSize
=
sizeof
(
user_name
);
rc
=
GetUserNameW
(
user_name
,
&
dwSize
);
if
(
rc
==
FALSE
&&
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
skip
(
"netapi32 functions seem to be missing.
\n
"
);
return
0
;
}
ok
(
rc
,
"User Name Retrieved
\n
"
);
computer_name
[
0
]
=
0
;
...
...
@@ -74,13 +77,16 @@ static void run_usergetinfo_tests(void)
/* If this one is not defined then none of the others will be defined */
if
(
!
pNetUserGetInfo
)
{
skip
(
"netapi32 functions seem to be missing.
\n
"
);
return
;
}
/* Level 0 */
rc
=
pNetUserGetInfo
(
NULL
,
sAdminUserName
,
0
,
(
LPBYTE
*
)
&
ui0
);
if
(
rc
!=
NERR_Success
)
{
trace
(
"Aborting usergetinfo_tests(). NetUserGetInfo: rc=%d
\n
"
,
rc
);
return
;
skip
(
"Aborting usergetinfo_tests(). NetUserGetInfo: rc=%d
\n
"
,
rc
);
return
;
}
ok
(
!
lstrcmpW
(
sAdminUserName
,
ui0
->
usri0_name
),
"This is really user name
\n
"
);
pNetApiBufferSize
(
ui0
,
&
dwSize
);
...
...
@@ -133,7 +139,10 @@ static void run_querydisplayinformation1_tests(void)
BOOL
hasGuest
=
FALSE
;
if
(
!
pNetQueryDisplayInformation
)
{
skip
(
"netapi32 functions seem to be missing.
\n
"
);
return
;
}
do
{
...
...
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