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
49de6359
Commit
49de6359
authored
Feb 23, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 23, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netapi32/tests: Use win_skip() to skip over unimplemented functionality.
parent
630d92b9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
access.c
dlls/netapi32/tests/access.c
+2
-2
apibuf.c
dlls/netapi32/tests/apibuf.c
+1
-1
ds.c
dlls/netapi32/tests/ds.c
+1
-1
wksta.c
dlls/netapi32/tests/wksta.c
+2
-2
No files found.
dlls/netapi32/tests/access.c
View file @
49de6359
...
@@ -74,7 +74,7 @@ static int init_access_tests(void)
...
@@ -74,7 +74,7 @@ static int init_access_tests(void)
rc
=
GetUserNameW
(
user_name
,
&
dwSize
);
rc
=
GetUserNameW
(
user_name
,
&
dwSize
);
if
(
rc
==
FALSE
&&
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
if
(
rc
==
FALSE
&&
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
{
skip
(
"GetUserNameW is not available.
\n
"
);
win_
skip
(
"GetUserNameW is not available.
\n
"
);
return
0
;
return
0
;
}
}
ok
(
rc
,
"User Name Retrieved
\n
"
);
ok
(
rc
,
"User Name Retrieved
\n
"
);
...
@@ -333,7 +333,7 @@ START_TEST(access)
...
@@ -333,7 +333,7 @@ START_TEST(access)
* if one is not available, none are.
* if one is not available, none are.
*/
*/
if
(
!
pNetApiBufferFree
)
{
if
(
!
pNetApiBufferFree
)
{
skip
(
"Needed functions are not available
\n
"
);
win_
skip
(
"Needed functions are not available
\n
"
);
FreeLibrary
(
hnetapi32
);
FreeLibrary
(
hnetapi32
);
return
;
return
;
}
}
...
...
dlls/netapi32/tests/apibuf.c
View file @
49de6359
...
@@ -98,7 +98,7 @@ START_TEST(apibuf)
...
@@ -98,7 +98,7 @@ START_TEST(apibuf)
if
(
pNetApiBufferAllocate
&&
pNetApiBufferFree
&&
pNetApiBufferReallocate
&&
pNetApiBufferSize
)
if
(
pNetApiBufferAllocate
&&
pNetApiBufferFree
&&
pNetApiBufferReallocate
&&
pNetApiBufferSize
)
run_apibuf_tests
();
run_apibuf_tests
();
else
else
skip
(
"Needed functions are not available
\n
"
);
win_
skip
(
"Needed functions are not available
\n
"
);
FreeLibrary
(
hnetapi32
);
FreeLibrary
(
hnetapi32
);
}
}
dlls/netapi32/tests/ds.c
View file @
49de6359
...
@@ -87,7 +87,7 @@ START_TEST(ds)
...
@@ -87,7 +87,7 @@ START_TEST(ds)
test_get
();
test_get
();
}
}
else
else
skip
(
"DsRoleGetPrimaryDomainInformation is not available
\n
"
);
win_
skip
(
"DsRoleGetPrimaryDomainInformation is not available
\n
"
);
FreeLibrary
(
hnetapi32
);
FreeLibrary
(
hnetapi32
);
}
}
dlls/netapi32/tests/wksta.c
View file @
49de6359
...
@@ -51,7 +51,7 @@ static int init_wksta_tests(void)
...
@@ -51,7 +51,7 @@ static int init_wksta_tests(void)
dwSize
=
sizeof
(
user_name
)
/
sizeof
(
user_name
[
0
]);
dwSize
=
sizeof
(
user_name
)
/
sizeof
(
user_name
[
0
]);
rc
=
GetUserNameW
(
user_name
,
&
dwSize
);
rc
=
GetUserNameW
(
user_name
,
&
dwSize
);
if
(
rc
==
FALSE
&&
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
if
(
rc
==
FALSE
&&
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
skip
(
"GetUserNameW is not implemented
\n
"
);
win_
skip
(
"GetUserNameW is not implemented
\n
"
);
return
0
;
return
0
;
}
}
ok
(
rc
,
"User Name Retrieved
\n
"
);
ok
(
rc
,
"User Name Retrieved
\n
"
);
...
@@ -192,7 +192,7 @@ START_TEST(wksta)
...
@@ -192,7 +192,7 @@ START_TEST(wksta)
* if one is not available, none are.
* if one is not available, none are.
*/
*/
if
(
!
pNetApiBufferFree
)
{
if
(
!
pNetApiBufferFree
)
{
skip
(
"Needed functions are not available
\n
"
);
win_
skip
(
"Needed functions are not available
\n
"
);
FreeLibrary
(
hnetapi32
);
FreeLibrary
(
hnetapi32
);
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