mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-21 05:44:29 -05:00
50 lines
2.1 KiB
C++
50 lines
2.1 KiB
C++
/*******************************************************************************
|
|
* unittests/libretroshare/gxs/gen_exchange/gxspublishgrouptest.h *
|
|
* *
|
|
* Copyright (C) 2013, Crispy <retroshare.team@gmailcom> *
|
|
* *
|
|
* This program is free software: you can redistribute it and/or modify *
|
|
* it under the terms of the GNU Affero General Public License as *
|
|
* published by the Free Software Foundation, either version 3 of the *
|
|
* License, or (at your option) any later version. *
|
|
* *
|
|
* This program is distributed in the hope that it will be useful, *
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
* GNU Lesser General Public License for more details. *
|
|
* *
|
|
* You should have received a copy of the GNU Lesser General Public License *
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
|
|
* *
|
|
******************************************************************************/
|
|
|
|
#ifndef GXSPUBLISHGROUPTEST_H_
|
|
#define GXSPUBLISHGROUPTEST_H_
|
|
|
|
#include "genexchangetester.h"
|
|
|
|
class GxsPublishGroupTest : public GenExchangeTest {
|
|
public:
|
|
|
|
GxsPublishGroupTest(GenExchangeTestService* const testService,
|
|
RsGeneralDataService* dataService);
|
|
virtual ~GxsPublishGroupTest();
|
|
|
|
void runTests();
|
|
|
|
private:
|
|
|
|
// group tests
|
|
bool testGrpSubmissionRetrieval();
|
|
bool testSpecificGrpRetrieval();
|
|
bool testGrpIdRetrieval();
|
|
bool testGrpMetaRetrieval();
|
|
bool testUpdateGroup();
|
|
|
|
|
|
private:
|
|
|
|
};
|
|
|
|
#endif /* GXSPUBLISHGROUPTEST_H_ */
|