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
cd9202d0
Commit
cd9202d0
authored
Jun 30, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Jun 30, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi/tests: Add trailing '\n's to ok() calls.
parent
8f143f19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
devinst.c
dlls/setupapi/tests/devinst.c
+3
-3
No files found.
dlls/setupapi/tests/devinst.c
View file @
cd9202d0
...
...
@@ -44,7 +44,7 @@ static void test_Device_Info_List(void)
error
=
GetLastError
();
ok
(
devlist
==
INVALID_HANDLE_VALUE
,
"SetupDiCreateDeviceInfoListExW failed : %p %ld (expected %p)
\n
"
,
devlist
,
error
,
INVALID_HANDLE_VALUE
);
ok
(
error
==
ERROR_INVALID_PARAMETER
,
"GetLastError returned wrong value : %ld, (expected %d)"
,
error
,
ERROR_INVALID_PARAMETER
);
ok
(
error
==
ERROR_INVALID_PARAMETER
,
"GetLastError returned wrong value : %ld, (expected %d)
\n
"
,
error
,
ERROR_INVALID_PARAMETER
);
SetLastError
(
0xdeadbeef
);
/* create empty DeviceInfoList, but set MachineName to something */
...
...
@@ -52,7 +52,7 @@ static void test_Device_Info_List(void)
error
=
GetLastError
();
ok
(
devlist
==
INVALID_HANDLE_VALUE
,
"SetupDiCreateDeviceInfoListExW failed : %p %ld (expected %p)
\n
"
,
devlist
,
error
,
INVALID_HANDLE_VALUE
);
ok
(
error
==
ERROR_INVALID_MACHINENAME
,
"GetLastError returned wrong value : %ld, (expected %d)"
,
error
,
ERROR_INVALID_MACHINENAME
);
ok
(
error
==
ERROR_INVALID_MACHINENAME
,
"GetLastError returned wrong value : %ld, (expected %d)
\n
"
,
error
,
ERROR_INVALID_MACHINENAME
);
/* create empty DeviceInfoList */
devlist
=
SetupDiCreateDeviceInfoListExW
(
NULL
,
NULL
,
NULL
,
NULL
);
...
...
@@ -60,7 +60,7 @@ static void test_Device_Info_List(void)
/* destroy DeviceInfoList */
ret
=
SetupDiDestroyDeviceInfoList
(
devlist
);
ok
(
ret
,
"SetupDiDestroyDeviceInfoList failed : %ld"
,
error
);
ok
(
ret
,
"SetupDiDestroyDeviceInfoList failed : %ld
\n
"
,
error
);
}
START_TEST
(
devinst
)
...
...
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