RetroShare/tests/unittests/libretroshare/gxs/nxs_test/nxstestscenario.h
chrisparker126 e916299ceb - reviving nxs tests for gtest framework
- removed double update bug thunder found

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7275 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-13 21:52:53 +00:00

40 lines
911 B
C++

/*
* nxstestscenario.h
*
* Created on: 10 Jul 2012
* Author: crispy
*/
#ifndef NXSTESTSCENARIO_H_
#define NXSTESTSCENARIO_H_
#include <map>
#include "retroshare/rstypes.h"
#include "gxs/rsdataservice.h"
#include "gxs/rsnxsobserver.h"
namespace rs_nxs_test
{
/*!
* This scenario module provides data resources
*/
class NxsTestScenario
{
public:
virtual ~NxsTestScenario() {}
virtual void getPeers(std::list<RsPeerId>& peerIds) = 0;
virtual RsGeneralDataService* getDataService(const RsPeerId& peerId) = 0;
virtual bool checkTestPassed() = 0;
virtual RsNxsNetMgr* getDummyNetManager(const RsPeerId& peerId) = 0;
virtual RsGcxs* getDummyCircles(const RsPeerId& peerId) = 0;
virtual RsGixsReputation* getDummyReputations(const RsPeerId& peerId) = 0;
virtual uint16_t getServiceType() = 0;
virtual RsServiceInfo getServiceInfo() = 0;
};
}
#endif /* NXSTESTSCENARIO_H_ */