mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
34 lines
691 B
C
34 lines
691 B
C
|
/*
|
||
|
* nxsmsgtestscenario.h
|
||
|
*
|
||
|
* Created on: 26 Apr 2014
|
||
|
* Author: crispy
|
||
|
*/
|
||
|
|
||
|
#ifndef NXSMSGTESTSCENARIO_H_
|
||
|
#define NXSMSGTESTSCENARIO_H_
|
||
|
|
||
|
#include "nxstestscenario.h"
|
||
|
|
||
|
namespace rs_nxs_test {
|
||
|
|
||
|
class NxsMsgTestScenario : public NxsTestScenario {
|
||
|
public:
|
||
|
NxsMsgTestScenario();
|
||
|
virtual ~NxsMsgTestScenario();
|
||
|
|
||
|
typedef std::map<RsGxsGroupId, RsGxsMessageId::std_vector> ExpectedMsgs;
|
||
|
typedef std::map<RsPeerId, ExpectedMsgs> ExpectedMap;
|
||
|
|
||
|
bool checkTestPassed();
|
||
|
bool checkDeepTestPassed();
|
||
|
|
||
|
protected:
|
||
|
|
||
|
RsDataService* createDataStore(const RsPeerId& peerId);
|
||
|
virtual const ExpectedMap& getExpectedMap() = 0;
|
||
|
};
|
||
|
|
||
|
} /* namespace rs_nxs_test */
|
||
|
#endif /* NXSMSGTESTSCENARIO_H_ */
|