/* * nxsgrpsync_test.h * * Created on: 13 Apr 2014 * Author: crispy */ #ifndef NXSGRPSYNC_TEST_H_ #define NXSGRPSYNC_TEST_H_ #include "nxstestscenario.h" namespace rs_nxs_test { class NxsGrpSync : public NxsTestScenario { public: NxsGrpSync(); ~NxsGrpSync(); void getPeers(std::list& peerIds); RsGeneralDataService* getDataService(const RsPeerId& peerId); bool checkTestPassed(); RsNxsNetMgr* getDummyNetManager(const RsPeerId& peerId); RsGcxs* getDummyCircles(const RsPeerId& peerId); RsGixsReputation* getDummyReputations(const RsPeerId& peerId); uint16_t getServiceType(); RsServiceInfo getServiceInfo(); private: std::list mPeerIds; typedef std::map DataMap; typedef std::map > ExpectedMap; DataMap mDataServices; std::map mNxsNetMgrs; RsGixsReputation* mRep; RsGcxs* mCircles; RsServiceInfo mServInfo; ExpectedMap mExpectedResult; uint16_t mServType; }; } #endif /* NXSGRPSYNC_TEST_H_ */