From 9f4c15a8e89d798077ca3edf7f786dbc740aa176 Mon Sep 17 00:00:00 2001 From: christian mueller Date: Wed, 1 Feb 2012 10:50:15 +0100 Subject: * implemented peeksinkclassIDs and peeksourceclassIDs * changed interface of both from const to non-const * corrected include headers to c++ style, eg. * corrected sendChangedData return type to void * implemented tests for sinkclass and sourceclass peeking * fixed bug in sockethandler (FD could not be removed) thanks to Frank --- PluginRoutingInterfaceAsync/test/mocklnterfaces.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'PluginRoutingInterfaceAsync/test') diff --git a/PluginRoutingInterfaceAsync/test/mocklnterfaces.h b/PluginRoutingInterfaceAsync/test/mocklnterfaces.h index c3caa46..328d416 100644 --- a/PluginRoutingInterfaceAsync/test/mocklnterfaces.h +++ b/PluginRoutingInterfaceAsync/test/mocklnterfaces.h @@ -82,9 +82,9 @@ class MockRoutingReceiveInterface : public RoutingReceiveInterface { MOCK_METHOD1(deregisterCrossfader, am_Error_e(const am_crossfaderID_t crossfaderID)); MOCK_METHOD2(peekSourceClassID, - am_Error_e(const std::string& name, const am_sourceClass_t& sourceClassID)); + am_Error_e(const std::string& name, am_sourceClass_t& sourceClassID)); MOCK_METHOD2(peekSinkClassID, - am_Error_e(const std::string& name, const am_sinkClass_t& sinkClassID)); + am_Error_e(const std::string& name, am_sinkClass_t& sinkClassID)); MOCK_METHOD2(hookInterruptStatusChange, void(const am_sourceID_t sourceID, const am_InterruptState_e interruptState)); MOCK_METHOD1(hookDomainRegistrationComplete, @@ -98,7 +98,7 @@ class MockRoutingReceiveInterface : public RoutingReceiveInterface { MOCK_METHOD2(hookTimingInformationChanged, void(const am_connectionID_t connectionID, const am_timeSync_t delay)); MOCK_METHOD1(sendChangedData, - am_Error_e(const std::vector& earlyData)); + void(const std::vector& earlyData)); MOCK_CONST_METHOD1(getDBusConnectionWrapper, am_Error_e(DBusWrapper*& dbusConnectionWrapper)); MOCK_CONST_METHOD1(getSocketHandler, -- cgit v1.2.1