mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-10 06:15:50 -05:00
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:
parent
df4cf6030e
commit
181dc9111b
9 changed files with 1214 additions and 0 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue