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
49241114
Commit
49241114
authored
Mar 03, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 03, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qwave/tests: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7eab62d3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
Makefile.in
dlls/qwave/tests/Makefile.in
+0
-1
qos.c
dlls/qwave/tests/qos.c
+5
-5
No files found.
dlls/qwave/tests/Makefile.in
View file @
49241114
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
TESTDLL
=
qwave.dll
IMPORTS
=
qwave
...
...
dlls/qwave/tests/qos.c
View file @
49241114
...
...
@@ -30,19 +30,19 @@ static void test_QOSCreateHandle(void)
SetLastError
(
0xdeadbeef
);
ret
=
QOSCreateHandle
(
NULL
,
NULL
);
ok
(
ret
==
FALSE
,
"Expected FALSE, got %d
\n
"
,
ret
);
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"Expected ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"Expected ERROR_INVALID_PARAMETER, got %
l
d
\n
"
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
ret
=
QOSCreateHandle
(
&
ver
,
NULL
);
ok
(
ret
==
FALSE
,
"Expected FALSE, got %d
\n
"
,
ret
);
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"Expected ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"Expected ERROR_INVALID_PARAMETER, got %
l
d
\n
"
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
ver
.
MajorVersion
=
0
;
ver
.
MinorVersion
=
0
;
ret
=
QOSCreateHandle
(
&
ver
,
&
h
);
ok
(
ret
==
FALSE
,
"Expected FALSE, got %d
\n
"
,
ret
);
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"Expected ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"Expected ERROR_INVALID_PARAMETER, got %
l
d
\n
"
,
GetLastError
());
ver
.
MajorVersion
=
1
;
ver
.
MinorVersion
=
0
;
...
...
@@ -54,14 +54,14 @@ static void test_QOSCreateHandle(void)
ver
.
MinorVersion
=
5
;
ret
=
QOSCreateHandle
(
&
ver
,
&
h
);
ok
(
ret
==
FALSE
,
"Expected FALSE, got %d
\n
"
,
ret
);
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"Expected ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"Expected ERROR_INVALID_PARAMETER, got %
l
d
\n
"
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
ver
.
MajorVersion
=
2
;
ver
.
MinorVersion
=
0
;
ret
=
QOSCreateHandle
(
&
ver
,
&
h
);
ok
(
ret
==
FALSE
,
"Expected FALSE, got %d
\n
"
,
ret
);
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"Expected ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"Expected ERROR_INVALID_PARAMETER, got %
l
d
\n
"
,
GetLastError
());
}
START_TEST
(
qos
)
...
...
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