2014-04-05 03:27:18 -04:00
|
|
|
#ifndef RSDATASERVICE_TEST_H
|
|
|
|
#define RSDATASERVICE_TEST_H
|
|
|
|
|
|
|
|
#include "util/rsthreads.h"
|
2017-05-04 09:01:25 -04:00
|
|
|
#include "rsitems/rsnxsitems.h"
|
2014-04-05 03:27:18 -04:00
|
|
|
#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
|