2014-04-13 08:21:51 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
// from librssimulator
|
|
|
|
#include "testing/SetServiceTester.h"
|
2014-04-27 09:26:14 -04:00
|
|
|
#include "gxstestservice.h"
|
2014-04-13 08:21:51 -04:00
|
|
|
|
|
|
|
class GxsPeerNode;
|
|
|
|
|
|
|
|
class GxsPairServiceTester: public SetServiceTester
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
2014-04-27 09:26:14 -04:00
|
|
|
GxsPairServiceTester(const RsPeerId &peerId1, const RsPeerId &peerId2, int testMode, bool useIdentityService);
|
2014-04-13 08:21:51 -04:00
|
|
|
~GxsPairServiceTester();
|
|
|
|
|
2014-04-27 09:26:14 -04:00
|
|
|
// Make 4 peer version.
|
|
|
|
GxsPairServiceTester(
|
|
|
|
const RsPeerId &peerId1,
|
|
|
|
const RsPeerId &peerId2,
|
|
|
|
const RsPeerId &peerId3,
|
|
|
|
const RsPeerId &peerId4,
|
|
|
|
int testMode,
|
|
|
|
bool useIdentityService);
|
2014-04-13 08:21:51 -04:00
|
|
|
|
|
|
|
GxsPeerNode *getGxsPeerNode(const RsPeerId &id);
|
2014-04-27 09:26:14 -04:00
|
|
|
void PrintCapturedPackets();
|
2014-04-13 08:21:51 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|