/* * MockInterfaces.h * * Created on: Dec 14, 2011 * Author: christian */ #ifndef MOCKINTERFACES_H_ #define MOCKINTERFACES_H_ namespace am { class MockCommandReceiveInterface : public CommandReceiveInterface { public: MOCK_METHOD3(connect, am_Error_e(const am_sourceID_t sourceID, const am_sinkID_t sinkID, am_mainConnectionID_t& mainConnectionID)); MOCK_METHOD1(disconnect, am_Error_e(const am_mainConnectionID_t mainConnectionID)); MOCK_METHOD2(setVolume, am_Error_e(const am_sinkID_t sinkID, const am_mainVolume_t volume)); MOCK_METHOD2(volumeStep, am_Error_e(const am_sinkID_t sinkID, const int16_t volumeStep)); MOCK_METHOD2(setSinkMuteState, am_Error_e(const am_sinkID_t sinkID, const am_MuteState_e muteState)); MOCK_METHOD2(setMainSinkSoundProperty, am_Error_e(const am_MainSoundProperty_s& soundProperty, const am_sinkID_t sinkID)); MOCK_METHOD2(setMainSourceSoundProperty, am_Error_e(const am_MainSoundProperty_s& soundProperty, const am_sourceID_t sourceID)); MOCK_METHOD1(setSystemProperty, am_Error_e(const am_SystemProperty_s& property)); MOCK_CONST_METHOD1(getListMainConnections, am_Error_e(std::vector& listConnections)); MOCK_CONST_METHOD1(getListMainSinks, am_Error_e(std::vector& listMainSinks)); MOCK_CONST_METHOD1(getListMainSources, am_Error_e(std::vector& listMainSources)); MOCK_CONST_METHOD2(getListMainSinkSoundProperties, am_Error_e(const am_sinkID_t sinkID, std::vector& listSoundProperties)); MOCK_CONST_METHOD2(getListMainSourceSoundProperties, am_Error_e(const am_sourceID_t sourceID, std::vector& listSourceProperties)); MOCK_CONST_METHOD1(getListSourceClasses, am_Error_e(std::vector& listSourceClasses)); MOCK_CONST_METHOD1(getListSinkClasses, am_Error_e(std::vector& listSinkClasses)); MOCK_CONST_METHOD1(getListSystemProperties, am_Error_e(std::vector& listSystemProperties)); MOCK_CONST_METHOD2(getTimingInformation, am_Error_e(const am_mainConnectionID_t mainConnectionID, am_timeSync_t& delay)); MOCK_CONST_METHOD1(getDBusConnectionWrapper, am_Error_e(DBusWrapper*& dbusConnectionWrapper)); }; } // namespace am #endif /* MOCKINTERFACES_H_ */