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
85605ab5
Commit
85605ab5
authored
Jun 10, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Jun 11, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Make sure Wine implements all tested APIs.
parent
e767a2c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
registry.c
dlls/advapi32/tests/registry.c
+10
-6
No files found.
dlls/advapi32/tests/registry.c
View file @
85605ab5
...
...
@@ -263,7 +263,11 @@ static void test_hkey_main_Value_W(LPCWSTR name, LPCWSTR string,
ret
=
RegQueryValueExW
(
hkey_main
,
name
,
NULL
,
&
type
,
NULL
,
&
cbData
);
GLE
=
GetLastError
();
ok
(
ret
==
ERROR_SUCCESS
,
"RegQueryValueExW failed: %d, GLE=%d
\n
"
,
ret
,
GLE
);
if
(
GLE
==
ERROR_CALL_NOT_IMPLEMENTED
)
return
;
if
(
GLE
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
win_skip
(
"RegQueryValueExW() is not implemented
\n
"
);
return
;
}
ok
(
type
==
REG_SZ
,
"RegQueryValueExW returned type %d
\n
"
,
type
);
ok
(
cbData
==
full_byte_len
,
...
...
@@ -556,7 +560,7 @@ static void test_enum_value(void)
res
=
RegSetValueExW
(
test_key
,
testW
,
0
,
REG_SZ
,
(
const
BYTE
*
)
foobarW
,
7
*
sizeof
(
WCHAR
)
);
if
(
res
==
0
&&
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
skip
(
"RegSetValueExW is not implemented
\n
"
);
win_
skip
(
"RegSetValueExW is not implemented
\n
"
);
goto
cleanup
;
}
ok
(
res
==
0
,
"RegSetValueExW failed error %d
\n
"
,
res
);
...
...
@@ -675,7 +679,7 @@ static void test_get_value(void)
if
(
!
pRegGetValueA
)
{
skip
(
"RegGetValue not available on this platform
\n
"
);
win_
skip
(
"RegGetValue not available on this platform
\n
"
);
return
;
}
...
...
@@ -1124,7 +1128,7 @@ static void test_regconnectregistry( void)
schnd
=
OpenSCManagerA
(
compName
,
NULL
,
GENERIC_READ
);
if
(
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
skip
(
"OpenSCManagerA is not implemented
\n
"
);
win_
skip
(
"OpenSCManagerA is not implemented
\n
"
);
return
;
}
...
...
@@ -1218,7 +1222,7 @@ static void test_reg_query_value(void)
ret
=
RegQueryValueW
(
subkey
,
NULL
,
valW
,
&
size
);
if
(
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
skip
(
"RegQueryValueW is not implemented
\n
"
);
win_
skip
(
"RegQueryValueW is not implemented
\n
"
);
goto
cleanup
;
}
ok
(
ret
==
ERROR_MORE_DATA
,
"Expected ERROR_MORE_DATA, got %d
\n
"
,
ret
);
...
...
@@ -1266,7 +1270,7 @@ static void test_reg_delete_tree(void)
LONG
size
,
ret
;
if
(
!
pRegDeleteTreeA
)
{
skip
(
"Skipping RegDeleteTreeA tests, function not present
\n
"
);
win_
skip
(
"Skipping RegDeleteTreeA tests, function not present
\n
"
);
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