From 3a1086516a5edf30b3bad6a2e138b03bc0479005 Mon Sep 17 00:00:00 2001 From: Christian Linke Date: Thu, 17 Jan 2013 12:47:00 +0100 Subject: * changes that follow the review comments from Thomas G. Signed-off-by: Christian Linke --- PluginRoutingInterfaceAsync/test/MockIAmRoutingReceive.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'PluginRoutingInterfaceAsync') diff --git a/PluginRoutingInterfaceAsync/test/MockIAmRoutingReceive.h b/PluginRoutingInterfaceAsync/test/MockIAmRoutingReceive.h index 1dafefc..d9507ab 100644 --- a/PluginRoutingInterfaceAsync/test/MockIAmRoutingReceive.h +++ b/PluginRoutingInterfaceAsync/test/MockIAmRoutingReceive.h @@ -103,21 +103,21 @@ class MockIAmRoutingReceive : public IAmRoutingReceive { MOCK_METHOD2(confirmRoutingRundown, void(const uint16_t handle, const am_Error_e error)); MOCK_METHOD4(updateGateway, - am_Error_e(const am_gatewayID_t gatewayID, std::vector listSourceFormats, const std::vector listSinkFormats, std::vector convertionMatrix)); + am_Error_e(const am_gatewayID_t gatewayID, const std::vector& listSourceFormats, const std::vector& listSinkFormats, const std::vector& convertionMatrix)); MOCK_METHOD5(updateSink, - am_Error_e(const am_sinkID_t sinkID, const am_sinkClass_t sinkClassID, const std::vector listSoundProperties, const std::vector listConnectionFormats, std::vector listMainSoundProperties)); + am_Error_e(const am_sinkID_t sinkID, const am_sinkClass_t sinkClassID, const std::vector& listSoundProperties, const std::vector& listConnectionFormats, const std::vector& listMainSoundProperties)); MOCK_METHOD5(updateSource, - am_Error_e(const am_sourceID_t sourceID, const am_sourceClass_t sourceClassID, std::vector listSoundProperties, std::vector listConnectionFormats, const std::vector listMainSoundProperties)); + am_Error_e(const am_sourceID_t sourceID, const am_sourceClass_t sourceClassID, const std::vector& listSoundProperties, const std::vector& listConnectionFormats, const std::vector& listMainSoundProperties)); MOCK_METHOD3(ackSetVolumes, - void(const am_Handle_s handle, const std::vector listvolumes, const am_Error_e error)); + void(const am_Handle_s handle, const std::vector& listvolumes, const am_Error_e error)); MOCK_METHOD2(ackSinkNotificationConfiguration, void(const am_Handle_s handle, const am_Error_e error)); MOCK_METHOD2(ackSourceNotificationConfiguration, void(const am_Handle_s handle, const am_Error_e error)); MOCK_METHOD2(hookSinkNotificationDataChange, - void(const am_sinkID_t sinkID, const am_NotificationPayload_s payload)); + void(const am_sinkID_t sinkID, const am_NotificationPayload_s& payload)); MOCK_METHOD2(hookSourceNotificationDataChange, - void(const am_sourceID_t sourceID, const am_NotificationPayload_s payload)); + void(const am_sourceID_t sourceID, const am_NotificationPayload_s& payload)); }; -- cgit v1.2.1