mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
4cab2aaa65
(automates comparisons) fixed some unit tests caused by copy constructor removal git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7302 b45a01b8-16f6-495d-af2f-9b41ad6348cc
53 lines
1.0 KiB
C++
53 lines
1.0 KiB
C++
/*
|
|
* nxsgrpsync_test.h
|
|
*
|
|
* Created on: 13 Apr 2014
|
|
* Author: crispy
|
|
*/
|
|
|
|
#ifndef NXSGRPSYNC_TEST_H_
|
|
#define NXSGRPSYNC_TEST_H_
|
|
|
|
#include "nxsgrptestscenario.h"
|
|
|
|
namespace rs_nxs_test
|
|
{
|
|
|
|
class NxsGrpSync : public NxsGrpTestScenario
|
|
{
|
|
public:
|
|
|
|
NxsGrpSync();
|
|
~NxsGrpSync();
|
|
|
|
void getPeers(std::list<RsPeerId>& 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<RsPeerId> mPeerIds;
|
|
typedef std::map<RsPeerId, RsGeneralDataService*> DataMap;
|
|
|
|
DataMap mDataServices;
|
|
std::map<RsPeerId, RsNxsNetMgr*> mNxsNetMgrs;
|
|
RsGixsReputation* mRep;
|
|
RsGcxs* mCircles;
|
|
RsServiceInfo mServInfo;
|
|
|
|
ExpectedMap mExpectedResult;
|
|
|
|
uint16_t mServType;
|
|
};
|
|
|
|
}
|
|
#endif /* NXSGRPSYNC_TEST_H_ */
|