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
50948335
Commit
50948335
authored
Aug 29, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Aug 31, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Get rid of duplicated winetest helpers.
parent
e3b2cfed
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
5 deletions
+6
-5
dinput_test.h
dlls/dinput/tests/dinput_test.h
+0
-2
driver_bus.c
dlls/dinput/tests/driver_bus.c
+4
-3
driver_hid.c
dlls/dinput/tests/driver_hid.c
+1
-0
driver_hid.h
dlls/dinput/tests/driver_hid.h
+0
-0
driver_hid_poll.c
dlls/dinput/tests/driver_hid_poll.c
+1
-0
No files found.
dlls/dinput/tests/dinput_test.h
View file @
50948335
...
...
@@ -39,8 +39,6 @@
#include "ddk/hidsdi.h"
#include "ddk/hidport.h"
#include "wine/test.h"
#include "driver_hid.h"
#define EXPECT_VIDPID MAKELONG( 0x1209, 0x0001 )
...
...
dlls/dinput/tests/driver_bus.c
View file @
50948335
...
...
@@ -33,6 +33,7 @@
#include "wine/list.h"
#define WINE_DRIVER_TEST
#include "initguid.h"
#include "driver_hid.h"
...
...
@@ -246,8 +247,8 @@ static void expect_queue_next( struct expect_queue *queue, ULONG code, HID_XFER_
tmp
=
queue
->
pos
;
while
(
tmp
<
queue
->
end
)
{
if
(
running_under
_wine
&&
!
tmp
->
todo
)
break
;
if
(
!
running_under
_wine
&&
!
tmp
->
broken
&&
!
tmp
->
wine_only
)
break
;
if
(
winetest_platform_is
_wine
&&
!
tmp
->
todo
)
break
;
if
(
!
winetest_platform_is
_wine
&&
!
tmp
->
broken
&&
!
tmp
->
wine_only
)
break
;
if
(
tmp
->
code
==
code
&&
tmp
->
report_id
==
id
&&
tmp
->
report_len
==
len
&&
(
!
compare_buf
||
RtlCompareMemory
(
tmp
->
report_buf
,
buf
,
len
)
==
len
))
break
;
...
...
@@ -260,7 +261,7 @@ static void expect_queue_next( struct expect_queue *queue, ULONG code, HID_XFER_
while
(
queue
->
pos
<
queue
->
end
)
{
if
(
running_under
_wine
||
!
queue
->
pos
->
wine_only
)
break
;
if
(
winetest_platform_is
_wine
||
!
queue
->
pos
->
wine_only
)
break
;
queue
->
pos
++
;
}
...
...
dlls/dinput/tests/driver_hid.c
View file @
50948335
...
...
@@ -32,6 +32,7 @@
#include "wine/list.h"
#define WINE_DRIVER_TEST
#include "initguid.h"
#include "driver_hid.h"
...
...
dlls/dinput/tests/driver_hid.h
View file @
50948335
This diff is collapsed.
Click to expand it.
dlls/dinput/tests/driver_hid_poll.c
View file @
50948335
...
...
@@ -32,6 +32,7 @@
#include "wine/list.h"
#define WINE_DRIVER_TEST
#include "initguid.h"
#include "driver_hid.h"
...
...
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