RetroShare/tests/unittests/libretroshare/gxs/nxs_test/nxsgrptestscenario.h
chrisparker126 4cab2aaa65 Added another convenience class to simplify testing
(automates comparisons)
fixed some unit tests caused by copy constructor removal


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7302 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-25 22:02:34 +00:00

34 lines
631 B
C++

/*
* nxsgrptestscenario.h
*
* Created on: 23 Apr 2014
* Author: crispy
*/
#ifndef NXSGRPTESTSCENARIO_H_
#define NXSGRPTESTSCENARIO_H_
#include "nxstestscenario.h"
namespace rs_nxs_test {
class NxsGrpTestScenario : public NxsTestScenario {
public:
typedef std::map<RsPeerId, RsGxsGroupId::std_vector > ExpectedMap;
NxsGrpTestScenario();
virtual ~NxsGrpTestScenario();
bool checkTestPassed();
bool checkDeepTestPassed();
protected:
RsDataService* createDataStore(const RsPeerId& peerId);
virtual const ExpectedMap& getExpectedMap() = 0;
};
} /* namespace rs_nxs_test */
#endif /* NXSGRPTESTSCENARIO_H_ */