summaryrefslogtreecommitdiff
path: root/AudioManagerCore/test/MockIAmCommandSend.h
diff options
context:
space:
mode:
authorMartin Koch <51775589+mkoch-aditg@users.noreply.github.com>2020-02-10 07:58:37 +0100
committerGitHub <noreply@github.com>2020-02-10 07:58:37 +0100
commit86963abab32af54f7fe1244a727d3340ddeb5450 (patch)
tree752b600be063bd3938e7e8fc7b304ac46f53ef1d /AudioManagerCore/test/MockIAmCommandSend.h
parentce501a931e9eeb20013406373156bf70fb007cda (diff)
parentc1e284360ec02b06ccb0a97a00fed05ef0bb2c60 (diff)
downloadaudiomanager-86963abab32af54f7fe1244a727d3340ddeb5450.tar.gz
Merge pull request #49 from GENIVI/PluralProperties
Add plural form of set/get ..SoundProperty() and ..SystemProperty() to allow for simultaneous handling of multible, possibly interrelated attributes.
Diffstat (limited to 'AudioManagerCore/test/MockIAmCommandSend.h')
-rw-r--r--AudioManagerCore/test/MockIAmCommandSend.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/AudioManagerCore/test/MockIAmCommandSend.h b/AudioManagerCore/test/MockIAmCommandSend.h
index 36bc1cb..f7cb9bb 100644
--- a/AudioManagerCore/test/MockIAmCommandSend.h
+++ b/AudioManagerCore/test/MockIAmCommandSend.h
@@ -59,8 +59,12 @@ class MockIAmCommandSend : public IAmCommandSend {
void(const am_mainConnectionID_t connectionID, const am_ConnectionState_e connectionState));
MOCK_METHOD2(cbMainSinkSoundPropertyChanged,
void(const am_sinkID_t sinkID, const am_MainSoundProperty_s& soundProperty));
+ MOCK_METHOD2(cbMainSinkSoundPropertiesChanged,
+ void(const am_sinkID_t sinkID, const std::vector<am_MainSoundProperty_s>& listSoundProperties));
MOCK_METHOD2(cbMainSourceSoundPropertyChanged,
void(const am_sourceID_t sourceID, const am_MainSoundProperty_s& soundProperty));
+ MOCK_METHOD2(cbMainSourceSoundPropertiesChanged,
+ void(const am_sourceID_t sourcekID, const std::vector<am_MainSoundProperty_s>& listSoundProperties));
MOCK_METHOD2(cbSinkAvailabilityChanged,
void(const am_sinkID_t sinkID, const am_Availability_s& availability));
MOCK_METHOD2(cbSourceAvailabilityChanged,
@@ -71,6 +75,8 @@ class MockIAmCommandSend : public IAmCommandSend {
void(const am_sinkID_t sinkID, const am_MuteState_e muteState));
MOCK_METHOD1(cbSystemPropertyChanged,
void(const am_SystemProperty_s& systemProperty));
+ MOCK_METHOD1(cbSystemPropertiesChanged,
+ void(const std::vector<am_SystemProperty_s>& listSystemProperties));
MOCK_METHOD2(cbTimingInformationChanged,
void(const am_mainConnectionID_t mainConnectionID, const am_timeSync_t time));
MOCK_METHOD3(cbSinkUpdated,