@@ -82,44 +82,44 @@ class AVInputTest : public ::testing::Test {
82
82
p_wrapsImplMock = new NiceMock <WrapsImplMock>;
83
83
Wraps::setImpl (p_wrapsImplMock);
84
84
85
- ON_CALL (*p_avInputMock, Register (::testing::_ ))
85
+ ON_CALL (*p_avInputMock, Register (::testing::Matcher<Exchange::IAVInput::IDevicesChangedNotification*>(::testing::_) ))
86
86
.WillByDefault (::testing::Invoke (
87
- [&](Exchange::IDevicesChangedNotification::OnDevicesChangedNotification *notification){
87
+ [&](Exchange::IAVInput::IDevicesChangedNotification *notification){
88
88
OnDevicesChangedNotification = notification;
89
89
return Core::ERROR_NONE;;
90
90
}));
91
91
92
- ON_CALL (*p_avInputMock, Register (::testing::_ ))
92
+ ON_CALL (*p_avInputMock, Register (::testing::Matcher<Exchange::IAVInput::ISignalChangedNotification*>(::testing::_) ))
93
93
.WillByDefault (::testing::Invoke (
94
- [&](Exchange::ISignalChangedNotification *notification){
94
+ [&](Exchange::IAVInput:: ISignalChangedNotification *notification){
95
95
OnSignalChangedNotification = notification;
96
96
return Core::ERROR_NONE;;
97
97
}));
98
98
99
- ON_CALL (*p_avInputMock, Register (::testing::_ ))
99
+ ON_CALL (*p_avInputMock, Register (::testing::Matcher<Exchange::IAVInput::IInputStatusChangedNotification*>(::testing::_) ))
100
100
.WillByDefault (::testing::Invoke (
101
- [&](Exchange::IInputStatusChangedNotification *notification){
101
+ [&](Exchange::IAVInput:: IInputStatusChangedNotification *notification){
102
102
OnInputStatusChangedNotification = notification;
103
103
return Core::ERROR_NONE;;
104
104
}));
105
105
106
- ON_CALL (*p_avInputMock, Register (::testing::_ ))
106
+ ON_CALL (*p_avInputMock, Register (::testing::Matcher<Exchange::IAVInput::IVideoStreamInfoUpdateNotification*>(::testing::_) ))
107
107
.WillByDefault (::testing::Invoke (
108
- [&](Exchange::IVideoStreamInfoUpdateNotification *notification){
108
+ [&](Exchange::IAVInput:: IVideoStreamInfoUpdateNotification *notification){
109
109
OnVideoStreamInfoUpdateNotification = notification;
110
110
return Core::ERROR_NONE;;
111
111
}));
112
112
113
- ON_CALL (*p_avInputMock, Register (::testing::_ ))
113
+ ON_CALL (*p_avInputMock, Register (::testing::Matcher<Exchange::IAVInput::IGameFeatureStatusUpdateNotification*>(::testing::_) ))
114
114
.WillByDefault (::testing::Invoke (
115
- [&](Exchange::IGameFeatureStatusUpdateNotification *notification){
115
+ [&](Exchange::IAVInput:: IGameFeatureStatusUpdateNotification *notification){
116
116
OnGameFeatureStatusUpdateNotification = notification;
117
117
return Core::ERROR_NONE;;
118
118
}));
119
119
120
- ON_CALL (*p_avInputMock, Register (::testing::_ ))
120
+ ON_CALL (*p_avInputMock, Register (::testing::Matcher<Exchange::IAVInput::IHdmiContentTypeUpdateNotification*>(::testing::_) ))
121
121
.WillByDefault (::testing::Invoke (
122
- [&](Exchange::IHdmiContentTypeUpdateNotification *notification){
122
+ [&](Exchange::IAVInput:: IHdmiContentTypeUpdateNotification *notification){
123
123
OnHdmiContentTypeUpdateNotification = notification;
124
124
return Core::ERROR_NONE;;
125
125
}));
0 commit comments