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
87acd402
Commit
87acd402
authored
Jan 29, 2022
by
Fabian Maurer
Committed by
Alexandre Julliard
Jan 31, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi/tests: Avoid "misleading indentation" warnings.
Signed-off-by:
Fabian Maurer
<
dark.shadow4@web.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
362802c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
devinst.c
dlls/setupapi/tests/devinst.c
+5
-5
No files found.
dlls/setupapi/tests/devinst.c
View file @
87acd402
...
...
@@ -121,7 +121,7 @@ static void test_open_class_key(void)
SetLastError
(
0xdeadbeef
);
class_key
=
SetupDiOpenClassRegKeyExA
(
&
guid
,
KEY_ALL_ACCESS
,
DIOCR_INSTALLER
,
NULL
,
NULL
);
ok
(
class_key
==
INVALID_HANDLE_VALUE
,
"Expected failure.
\n
"
);
todo_wine
todo_wine
ok
(
GetLastError
()
==
ERROR_INVALID_CLASS
,
"Got unexpected error %#x.
\n
"
,
GetLastError
());
root_key
=
SetupDiOpenClassRegKey
(
NULL
,
KEY_ALL_ACCESS
);
...
...
@@ -1567,7 +1567,7 @@ static void test_registry_property_a(void)
SetLastError
(
0xdeadbeef
);
ret
=
SetupDiSetDeviceRegistryPropertyA
(
set
,
&
device
,
-
1
,
NULL
,
0
);
ok
(
!
ret
,
"Expected failure.
\n
"
);
todo_wine
todo_wine
ok
(
GetLastError
()
==
ERROR_INVALID_REG_PROPERTY
,
"Got unexpected error %#x.
\n
"
,
GetLastError
());
ret
=
SetupDiSetDeviceRegistryPropertyA
(
set
,
&
device
,
SPDRP_FRIENDLYNAME
,
NULL
,
0
);
...
...
@@ -1592,7 +1592,7 @@ todo_wine
SetLastError
(
0xdeadbeef
);
ret
=
SetupDiGetDeviceRegistryPropertyA
(
set
,
&
device
,
-
1
,
NULL
,
NULL
,
0
,
NULL
);
ok
(
!
ret
,
"Expected failure.
\n
"
);
todo_wine
todo_wine
ok
(
GetLastError
()
==
ERROR_INVALID_REG_PROPERTY
,
"Got unexpected error %#x.
\n
"
,
GetLastError
());
ret
=
SetupDiGetDeviceRegistryPropertyA
(
set
,
&
device
,
SPDRP_FRIENDLYNAME
,
NULL
,
NULL
,
sizeof
(
"Bogus"
),
NULL
);
...
...
@@ -1727,7 +1727,7 @@ static void test_registry_property_w(void)
SetLastError
(
0xdeadbeef
);
ret
=
SetupDiSetDeviceRegistryPropertyW
(
set
,
&
device
,
-
1
,
NULL
,
0
);
ok
(
!
ret
,
"Expected failure.
\n
"
);
todo_wine
todo_wine
ok
(
GetLastError
()
==
ERROR_INVALID_REG_PROPERTY
,
"Got unexpected error %#x.
\n
"
,
GetLastError
());
ret
=
SetupDiSetDeviceRegistryPropertyW
(
set
,
&
device
,
SPDRP_FRIENDLYNAME
,
NULL
,
0
);
...
...
@@ -1752,7 +1752,7 @@ todo_wine
SetLastError
(
0xdeadbeef
);
ret
=
SetupDiGetDeviceRegistryPropertyW
(
set
,
&
device
,
-
1
,
NULL
,
NULL
,
0
,
NULL
);
ok
(
!
ret
,
"Expected failure.
\n
"
);
todo_wine
todo_wine
ok
(
GetLastError
()
==
ERROR_INVALID_REG_PROPERTY
,
"Got unexpected error %#x.
\n
"
,
GetLastError
());
ret
=
SetupDiGetDeviceRegistryPropertyW
(
set
,
&
device
,
SPDRP_FRIENDLYNAME
,
NULL
,
NULL
,
sizeof
(
buf
),
NULL
);
...
...
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