mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-30 09:56:14 -05:00
2a5854188e
ported some of the tests across. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7233 b45a01b8-16f6-495d-af2f-9b41ad6348cc
34 lines
639 B
C++
34 lines
639 B
C++
#ifndef RSDATASERVICE_TEST_H
|
|
#define RSDATASERVICE_TEST_H
|
|
|
|
#include "util/rsthreads.h"
|
|
#include "serialiser/rsnxsitems.h"
|
|
#include "gxs/rsgds.h"
|
|
|
|
void test_messageStoresAndRetrieve();
|
|
|
|
void test_groupStoreAndRetrieve();
|
|
|
|
void test_storeAndDeleteGroup();
|
|
void test_storeAndDeleteMessage();
|
|
|
|
void test_searchMsg();
|
|
void test_searchGrp();
|
|
|
|
bool operator ==(const RsGxsGrpMetaData& l, const RsGxsGrpMetaData& r);
|
|
bool operator ==(const RsGxsMsgMetaData& l, const RsGxsMsgMetaData& r);
|
|
|
|
void test_multiThreaded();
|
|
|
|
class DataReadWrite : RsThread
|
|
{
|
|
|
|
|
|
|
|
};
|
|
|
|
void test_cacheSize();
|
|
|
|
|
|
#endif // RSDATASERVICE_TEST_H
|