/* * nxsmsgsync_test.h * * Created on: 13 Apr 2014 * Author: crispy */ #ifndef NXSMSGSYNC_TEST_H_ #define NXSMSGSYNC_TEST_H_ #include "nxsmsgtestscenario.h" namespace rs_nxs_test { class NxsMsgSync : public NxsMsgTestScenario { public: NxsMsgSync(); void getPeers(std::list& peerIds); RsGeneralDataService* getDataService(const RsPeerId& peerId); RsNxsNetMgr* getDummyNetManager(const RsPeerId& peerId); RsGcxs* getDummyCircles(const RsPeerId& peerId); RsGixsReputation* getDummyReputations(const RsPeerId& peerId); uint16_t getServiceType(); RsServiceInfo getServiceInfo(); protected: const ExpectedMap& getExpectedMap(); private: std::list mPeerIds; typedef std::map DataMap; DataMap mDataServices; std::map mNxsNetMgrs; RsGixsReputation* mRep; RsGcxs* mCircles; RsServiceInfo mServInfo; NxsMsgTestScenario::ExpectedMap mExpectedResult; uint16_t mServType; }; } #endif /* NXSMSGSYNC_TEST_H_ */