mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04: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
22 lines
729 B
C++
22 lines
729 B
C++
|
|
#include "support.h"
|
|
#include "libretroshare/gxs/common/data_support.h"
|
|
#include "serialiser/rsnxsitems.h"
|
|
|
|
|
|
#define NUM_BIN_OBJECTS 5
|
|
#define NUM_SYNC_MSGS 8
|
|
#define NUM_SYNC_GRPS 5
|
|
|
|
|
|
TEST(libretroshare_serialiser, RsNxsItem)
|
|
{
|
|
test_RsItem<RsNxsGrp>(RS_SERVICE_TYPE_PLUGIN_SIMPLE_FORUM);
|
|
test_RsItem<RsNxsMsg>(RS_SERVICE_TYPE_PLUGIN_SIMPLE_FORUM);
|
|
test_RsItem<RsNxsSyncGrp>(RS_SERVICE_TYPE_PLUGIN_SIMPLE_FORUM);
|
|
test_RsItem<RsNxsSyncMsg>(RS_SERVICE_TYPE_PLUGIN_SIMPLE_FORUM);
|
|
test_RsItem<RsNxsSyncGrpItem>(RS_SERVICE_TYPE_PLUGIN_SIMPLE_FORUM);
|
|
test_RsItem<RsNxsSyncMsgItem>(RS_SERVICE_TYPE_PLUGIN_SIMPLE_FORUM);
|
|
test_RsItem<RsNxsTransac>(RS_SERVICE_TYPE_PLUGIN_SIMPLE_FORUM);
|
|
}
|