Added Gxs Service tests

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7267 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2014-04-12 07:24:17 +00:00
parent df4cf6030e
commit 181dc9111b
9 changed files with 1214 additions and 0 deletions

View file

@ -0,0 +1,34 @@
#pragma once
// from librssimulator
#include "testing/IsolatedServiceTester.h"
class RsGxsIdExchange;
class RsGxsCircleExchange;
class GxsTestService;
class RsGeneralDataService;
class RsGxsNetService;
class GxsIsolatedServiceTester: public IsolatedServiceTester
{
public:
GxsIsolatedServiceTester(const RsPeerId &ownId, const RsPeerId &friendId, std::list<RsPeerId> peers, int testMode);
~GxsIsolatedServiceTester();
uint32_t mTestMode;
std::string mGxsDir;
// Id and Circle Interfaces. (NULL for now).
RsGxsIdExchange *mGxsIdService;
RsGxsCircleExchange *mGxsCircles;
GxsTestService *mTestService;
RsGeneralDataService* mTestDs;
RsGxsNetService* mTestNs;
};