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
19fb59eb
Commit
19fb59eb
authored
Jan 02, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Jan 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput/tests: Reduce tests verbosity.
parent
4b09ed14
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
force_feedback.c
dlls/dinput/tests/force_feedback.c
+6
-6
hotplug.c
dlls/dinput/tests/hotplug.c
+7
-7
joystick8.c
dlls/dinput/tests/joystick8.c
+2
-2
No files found.
dlls/dinput/tests/force_feedback.c
View file @
19fb59eb
...
@@ -4588,7 +4588,7 @@ static HRESULT WINAPI controller_handler_QueryInterface( IEventHandler_RawGameCo
...
@@ -4588,7 +4588,7 @@ static HRESULT WINAPI controller_handler_QueryInterface( IEventHandler_RawGameCo
return
S_OK
;
return
S_OK
;
}
}
trace
(
"%s not implemented, returning E_NOINTERFACE.
\n
"
,
debugstr_guid
(
iid
)
);
if
(
winetest_debug
>
1
)
trace
(
"%s not implemented, returning E_NOINTERFACE.
\n
"
,
debugstr_guid
(
iid
)
);
*
out
=
NULL
;
*
out
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
@@ -4608,7 +4608,7 @@ static HRESULT WINAPI controller_handler_Invoke( IEventHandler_RawGameController
...
@@ -4608,7 +4608,7 @@ static HRESULT WINAPI controller_handler_Invoke( IEventHandler_RawGameController
{
{
struct
controller_handler
*
impl
=
impl_from_IEventHandler_RawGameController
(
iface
);
struct
controller_handler
*
impl
=
impl_from_IEventHandler_RawGameController
(
iface
);
trace
(
"iface %p, sender %p, controller %p
\n
"
,
iface
,
sender
,
controller
);
if
(
winetest_debug
>
1
)
trace
(
"iface %p, sender %p, controller %p
\n
"
,
iface
,
sender
,
controller
);
ok
(
sender
==
NULL
,
"got sender %p
\n
"
,
sender
);
ok
(
sender
==
NULL
,
"got sender %p
\n
"
,
sender
);
impl
->
invoked
=
TRUE
;
impl
->
invoked
=
TRUE
;
...
@@ -4756,7 +4756,7 @@ static HRESULT WINAPI bool_async_handler_QueryInterface( IAsyncOperationComplete
...
@@ -4756,7 +4756,7 @@ static HRESULT WINAPI bool_async_handler_QueryInterface( IAsyncOperationComplete
return
S_OK
;
return
S_OK
;
}
}
trace
(
"%s not implemented, returning E_NOINTERFACE.
\n
"
,
debugstr_guid
(
iid
)
);
if
(
winetest_debug
>
1
)
trace
(
"%s not implemented, returning E_NOINTERFACE.
\n
"
,
debugstr_guid
(
iid
)
);
*
out
=
NULL
;
*
out
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
@@ -4776,7 +4776,7 @@ static HRESULT WINAPI bool_async_handler_Invoke( IAsyncOperationCompletedHandler
...
@@ -4776,7 +4776,7 @@ static HRESULT WINAPI bool_async_handler_Invoke( IAsyncOperationCompletedHandler
{
{
struct
bool_async_handler
*
impl
=
impl_from_IAsyncOperationCompletedHandler_boolean
(
iface
);
struct
bool_async_handler
*
impl
=
impl_from_IAsyncOperationCompletedHandler_boolean
(
iface
);
trace
(
"iface %p, async %p, status %u
\n
"
,
iface
,
async
,
status
);
if
(
winetest_debug
>
1
)
trace
(
"iface %p, async %p, status %u
\n
"
,
iface
,
async
,
status
);
ok
(
!
impl
->
invoked
,
"invoked twice
\n
"
);
ok
(
!
impl
->
invoked
,
"invoked twice
\n
"
);
impl
->
invoked
=
TRUE
;
impl
->
invoked
=
TRUE
;
...
@@ -4841,7 +4841,7 @@ static HRESULT WINAPI result_async_handler_QueryInterface( IAsyncOperationComple
...
@@ -4841,7 +4841,7 @@ static HRESULT WINAPI result_async_handler_QueryInterface( IAsyncOperationComple
return
S_OK
;
return
S_OK
;
}
}
trace
(
"%s not implemented, returning E_NOINTERFACE.
\n
"
,
debugstr_guid
(
iid
)
);
if
(
winetest_debug
>
1
)
trace
(
"%s not implemented, returning E_NOINTERFACE.
\n
"
,
debugstr_guid
(
iid
)
);
*
out
=
NULL
;
*
out
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
@@ -4861,7 +4861,7 @@ static HRESULT WINAPI result_async_handler_Invoke( IAsyncOperationCompletedHandl
...
@@ -4861,7 +4861,7 @@ static HRESULT WINAPI result_async_handler_Invoke( IAsyncOperationCompletedHandl
{
{
struct
result_async_handler
*
impl
=
impl_from_IAsyncOperationCompletedHandler_ForceFeedbackLoadEffectResult
(
iface
);
struct
result_async_handler
*
impl
=
impl_from_IAsyncOperationCompletedHandler_ForceFeedbackLoadEffectResult
(
iface
);
trace
(
"iface %p, async %p, status %u
\n
"
,
iface
,
async
,
status
);
if
(
winetest_debug
>
1
)
trace
(
"iface %p, async %p, status %u
\n
"
,
iface
,
async
,
status
);
ok
(
!
impl
->
invoked
,
"invoked twice
\n
"
);
ok
(
!
impl
->
invoked
,
"invoked twice
\n
"
);
impl
->
invoked
=
TRUE
;
impl
->
invoked
=
TRUE
;
...
...
dlls/dinput/tests/hotplug.c
View file @
19fb59eb
...
@@ -513,7 +513,7 @@ static HRESULT WINAPI controller_handler_QueryInterface( IEventHandler_RawGameCo
...
@@ -513,7 +513,7 @@ static HRESULT WINAPI controller_handler_QueryInterface( IEventHandler_RawGameCo
return
S_OK
;
return
S_OK
;
}
}
trace
(
"%s not implemented, returning E_NOINTERFACE.
\n
"
,
debugstr_guid
(
iid
)
);
if
(
winetest_debug
>
1
)
trace
(
"%s not implemented, returning E_NOINTERFACE.
\n
"
,
debugstr_guid
(
iid
)
);
*
out
=
NULL
;
*
out
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
@@ -533,7 +533,7 @@ static HRESULT WINAPI controller_handler_Invoke( IEventHandler_RawGameController
...
@@ -533,7 +533,7 @@ static HRESULT WINAPI controller_handler_Invoke( IEventHandler_RawGameController
{
{
struct
controller_handler
*
impl
=
impl_from_IEventHandler_RawGameController
(
iface
);
struct
controller_handler
*
impl
=
impl_from_IEventHandler_RawGameController
(
iface
);
trace
(
"iface %p, sender %p, controller %p
\n
"
,
iface
,
sender
,
controller
);
if
(
winetest_debug
>
1
)
trace
(
"iface %p, sender %p, controller %p
\n
"
,
iface
,
sender
,
controller
);
ok
(
sender
==
NULL
,
"got sender %p
\n
"
,
sender
);
ok
(
sender
==
NULL
,
"got sender %p
\n
"
,
sender
);
impl
->
invoked
=
TRUE
;
impl
->
invoked
=
TRUE
;
...
@@ -720,7 +720,7 @@ static HRESULT WINAPI input_sink_OnInputResumed( IGameControllerInputSink *iface
...
@@ -720,7 +720,7 @@ static HRESULT WINAPI input_sink_OnInputResumed( IGameControllerInputSink *iface
{
{
struct
custom_controller
*
impl
=
impl_from_IGameControllerInputSink
(
iface
);
struct
custom_controller
*
impl
=
impl_from_IGameControllerInputSink
(
iface
);
trace
(
"iface %p, timestamp %I64u
\n
"
,
iface
,
timestamp
);
if
(
winetest_debug
>
1
)
trace
(
"iface %p, timestamp %I64u
\n
"
,
iface
,
timestamp
);
ok
(
!
controller_added
.
invoked
,
"controller added handler invoked
\n
"
);
ok
(
!
controller_added
.
invoked
,
"controller added handler invoked
\n
"
);
ok
(
!
impl
->
on_input_resumed_called
,
"OnInputResumed already called
\n
"
);
ok
(
!
impl
->
on_input_resumed_called
,
"OnInputResumed already called
\n
"
);
...
@@ -733,7 +733,7 @@ static HRESULT WINAPI input_sink_OnInputSuspended( IGameControllerInputSink *ifa
...
@@ -733,7 +733,7 @@ static HRESULT WINAPI input_sink_OnInputSuspended( IGameControllerInputSink *ifa
{
{
struct
custom_controller
*
impl
=
impl_from_IGameControllerInputSink
(
iface
);
struct
custom_controller
*
impl
=
impl_from_IGameControllerInputSink
(
iface
);
trace
(
"iface %p, timestamp %I64u
\n
"
,
iface
,
timestamp
);
if
(
winetest_debug
>
1
)
trace
(
"iface %p, timestamp %I64u
\n
"
,
iface
,
timestamp
);
ok
(
!
controller_removed
.
invoked
,
"controller removed handler invoked
\n
"
);
ok
(
!
controller_removed
.
invoked
,
"controller removed handler invoked
\n
"
);
ok
(
!
impl
->
on_input_suspended_called
,
"OnInputSuspended already called
\n
"
);
ok
(
!
impl
->
on_input_suspended_called
,
"OnInputSuspended already called
\n
"
);
...
@@ -851,7 +851,7 @@ static HRESULT WINAPI custom_factory_CreateGameController( ICustomGameController
...
@@ -851,7 +851,7 @@ static HRESULT WINAPI custom_factory_CreateGameController( ICustomGameController
{
{
struct
custom_factory
*
impl
=
impl_from_ICustomGameControllerFactory
(
iface
);
struct
custom_factory
*
impl
=
impl_from_ICustomGameControllerFactory
(
iface
);
trace
(
"iface %p, provider %p, value %p
\n
"
,
iface
,
provider
,
value
);
if
(
winetest_debug
>
1
)
trace
(
"iface %p, provider %p, value %p
\n
"
,
iface
,
provider
,
value
);
ok
(
!
controller_added
.
invoked
,
"controller added handler invoked
\n
"
);
ok
(
!
controller_added
.
invoked
,
"controller added handler invoked
\n
"
);
ok
(
!
impl
->
create_controller_called
,
"unexpected call
\n
"
);
ok
(
!
impl
->
create_controller_called
,
"unexpected call
\n
"
);
...
@@ -875,7 +875,7 @@ static HRESULT WINAPI custom_factory_OnGameControllerAdded( ICustomGameControlle
...
@@ -875,7 +875,7 @@ static HRESULT WINAPI custom_factory_OnGameControllerAdded( ICustomGameControlle
{
{
struct
custom_factory
*
impl
=
impl_from_ICustomGameControllerFactory
(
iface
);
struct
custom_factory
*
impl
=
impl_from_ICustomGameControllerFactory
(
iface
);
trace
(
"iface %p, value %p
\n
"
,
iface
,
value
);
if
(
winetest_debug
>
1
)
trace
(
"iface %p, value %p
\n
"
,
iface
,
value
);
ok
(
controller_added
.
invoked
,
"controller added handler not invoked
\n
"
);
ok
(
controller_added
.
invoked
,
"controller added handler not invoked
\n
"
);
ok
(
impl
->
create_controller_called
,
"CreateGameController not called
\n
"
);
ok
(
impl
->
create_controller_called
,
"CreateGameController not called
\n
"
);
...
@@ -894,7 +894,7 @@ static HRESULT WINAPI custom_factory_OnGameControllerRemoved( ICustomGameControl
...
@@ -894,7 +894,7 @@ static HRESULT WINAPI custom_factory_OnGameControllerRemoved( ICustomGameControl
{
{
struct
custom_factory
*
impl
=
impl_from_ICustomGameControllerFactory
(
iface
);
struct
custom_factory
*
impl
=
impl_from_ICustomGameControllerFactory
(
iface
);
trace
(
"iface %p, value %p
\n
"
,
iface
,
value
);
if
(
winetest_debug
>
1
)
trace
(
"iface %p, value %p
\n
"
,
iface
,
value
);
ok
(
controller_removed
.
invoked
,
"controller removed handler invoked
\n
"
);
ok
(
controller_removed
.
invoked
,
"controller removed handler invoked
\n
"
);
ok
(
custom_controller
.
on_input_suspended_called
,
"OnInputSuspended not called
\n
"
);
ok
(
custom_controller
.
on_input_suspended_called
,
"OnInputSuspended not called
\n
"
);
...
...
dlls/dinput/tests/joystick8.c
View file @
19fb59eb
...
@@ -3770,7 +3770,7 @@ static HRESULT WINAPI controller_handler_QueryInterface( IEventHandler_RawGameCo
...
@@ -3770,7 +3770,7 @@ static HRESULT WINAPI controller_handler_QueryInterface( IEventHandler_RawGameCo
return
S_OK
;
return
S_OK
;
}
}
trace
(
"%s not implemented, returning E_NOINTERFACE.
\n
"
,
debugstr_guid
(
iid
)
);
if
(
winetest_debug
>
1
)
trace
(
"%s not implemented, returning E_NOINTERFACE.
\n
"
,
debugstr_guid
(
iid
)
);
*
out
=
NULL
;
*
out
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
@@ -3790,7 +3790,7 @@ static HRESULT WINAPI controller_handler_Invoke( IEventHandler_RawGameController
...
@@ -3790,7 +3790,7 @@ static HRESULT WINAPI controller_handler_Invoke( IEventHandler_RawGameController
{
{
struct
controller_handler
*
impl
=
impl_from_IEventHandler_RawGameController
(
iface
);
struct
controller_handler
*
impl
=
impl_from_IEventHandler_RawGameController
(
iface
);
trace
(
"iface %p, sender %p, controller %p
\n
"
,
iface
,
sender
,
controller
);
if
(
winetest_debug
>
1
)
trace
(
"iface %p, sender %p, controller %p
\n
"
,
iface
,
sender
,
controller
);
ok
(
sender
==
NULL
,
"got sender %p
\n
"
,
sender
);
ok
(
sender
==
NULL
,
"got sender %p
\n
"
,
sender
);
impl
->
invoked
=
TRUE
;
impl
->
invoked
=
TRUE
;
...
...
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