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
c59e9d30
Commit
c59e9d30
authored
Oct 22, 2019
by
Vijay Kiran Kamuju
Committed by
Alexandre Julliard
Oct 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi/tests: Remove win_9x checks.
Signed-off-by:
Vijay Kiran Kamuju
<
infyquest@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0a89a699
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
diskspace.c
dlls/setupapi/tests/diskspace.c
+0
-14
No files found.
dlls/setupapi/tests/diskspace.c
View file @
c59e9d30
...
@@ -29,8 +29,6 @@
...
@@ -29,8 +29,6 @@
#include "wine/test.h"
#include "wine/test.h"
static
BOOL
is_win9x
;
static
void
test_SetupCreateDiskSpaceListA
(
void
)
static
void
test_SetupCreateDiskSpaceListA
(
void
)
{
{
HDSKSPC
ret
;
HDSKSPC
ret
;
...
@@ -152,10 +150,6 @@ static void test_SetupDuplicateDiskSpaceListA(void)
...
@@ -152,10 +150,6 @@ static void test_SetupDuplicateDiskSpaceListA(void)
{
{
HDSKSPC
handle
,
duplicate
;
HDSKSPC
handle
,
duplicate
;
if
(
is_win9x
)
win_skip
(
"SetupDuplicateDiskSpaceListA crashes with NULL disk space handle on Win9x
\n
"
);
else
{
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
duplicate
=
SetupDuplicateDiskSpaceListA
(
NULL
,
NULL
,
0
,
0
);
duplicate
=
SetupDuplicateDiskSpaceListA
(
NULL
,
NULL
,
0
,
0
);
ok
(
!
duplicate
,
"Expected SetupDuplicateDiskSpaceList to return NULL, got %p
\n
"
,
duplicate
);
ok
(
!
duplicate
,
"Expected SetupDuplicateDiskSpaceList to return NULL, got %p
\n
"
,
duplicate
);
...
@@ -179,7 +173,6 @@ static void test_SetupDuplicateDiskSpaceListA(void)
...
@@ -179,7 +173,6 @@ static void test_SetupDuplicateDiskSpaceListA(void)
ok
(
!
duplicate
,
"Expected SetupDuplicateDiskSpaceList to return NULL, got %p
\n
"
,
duplicate
);
ok
(
!
duplicate
,
"Expected SetupDuplicateDiskSpaceList to return NULL, got %p
\n
"
,
duplicate
);
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"Expected GetLastError() to return ERROR_INVALID_PARAMETER, got %u
\n
"
,
GetLastError
());
"Expected GetLastError() to return ERROR_INVALID_PARAMETER, got %u
\n
"
,
GetLastError
());
}
handle
=
SetupCreateDiskSpaceListA
(
NULL
,
0
,
0
);
handle
=
SetupCreateDiskSpaceListA
(
NULL
,
0
,
0
);
ok
(
handle
!=
NULL
,
ok
(
handle
!=
NULL
,
...
@@ -306,10 +299,6 @@ static void test_SetupQuerySpaceRequiredOnDriveA(void)
...
@@ -306,10 +299,6 @@ static void test_SetupQuerySpaceRequiredOnDriveA(void)
HDSKSPC
handle
;
HDSKSPC
handle
;
LONGLONG
space
;
LONGLONG
space
;
if
(
is_win9x
)
win_skip
(
"SetupQuerySpaceRequiredOnDriveA crashes with NULL disk space handle on Win9x
\n
"
);
else
{
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
ret
=
SetupQuerySpaceRequiredOnDriveA
(
NULL
,
NULL
,
NULL
,
NULL
,
0
);
ret
=
SetupQuerySpaceRequiredOnDriveA
(
NULL
,
NULL
,
NULL
,
NULL
,
0
);
ok
(
!
ret
,
"Expected SetupQuerySpaceRequiredOnDriveA to return FALSE, got %d
\n
"
,
ret
);
ok
(
!
ret
,
"Expected SetupQuerySpaceRequiredOnDriveA to return FALSE, got %d
\n
"
,
ret
);
...
@@ -341,7 +330,6 @@ static void test_SetupQuerySpaceRequiredOnDriveA(void)
...
@@ -341,7 +330,6 @@ static void test_SetupQuerySpaceRequiredOnDriveA(void)
ok
(
GetLastError
()
==
ERROR_INVALID_HANDLE
,
ok
(
GetLastError
()
==
ERROR_INVALID_HANDLE
,
"Expected GetLastError() to return ERROR_INVALID_HANDLE, got %u
\n
"
,
"Expected GetLastError() to return ERROR_INVALID_HANDLE, got %u
\n
"
,
GetLastError
());
GetLastError
());
}
handle
=
SetupCreateDiskSpaceListA
(
NULL
,
0
,
0
);
handle
=
SetupCreateDiskSpaceListA
(
NULL
,
0
,
0
);
ok
(
handle
!=
NULL
,
ok
(
handle
!=
NULL
,
...
@@ -474,8 +462,6 @@ static void test_SetupQuerySpaceRequiredOnDriveW(void)
...
@@ -474,8 +462,6 @@ static void test_SetupQuerySpaceRequiredOnDriveW(void)
START_TEST
(
diskspace
)
START_TEST
(
diskspace
)
{
{
is_win9x
=
!
SetupCreateDiskSpaceListW
((
void
*
)
0xdeadbeef
,
0xdeadbeef
,
0
)
&&
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
;
test_SetupCreateDiskSpaceListA
();
test_SetupCreateDiskSpaceListA
();
test_SetupCreateDiskSpaceListW
();
test_SetupCreateDiskSpaceListW
();
test_SetupDuplicateDiskSpaceListA
();
test_SetupDuplicateDiskSpaceListA
();
...
...
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