2014-04-05 03:27:18 -04:00
|
|
|
/*
|
|
|
|
* rsgxsnetservice_test.cc
|
|
|
|
*
|
|
|
|
* Created on: 11 Jul 2012
|
|
|
|
* Author: crispy
|
|
|
|
*/
|
|
|
|
|
2014-04-13 17:52:53 -04:00
|
|
|
#include <gtest/gtest.h>
|
2014-04-05 03:27:18 -04:00
|
|
|
|
2014-04-13 17:52:53 -04:00
|
|
|
#include "nxsgrpsync_test.h"
|
|
|
|
#include "nxstesthub.h"
|
2014-04-05 03:27:18 -04:00
|
|
|
|
|
|
|
|
2014-04-13 17:52:53 -04:00
|
|
|
TEST(libretroshare_gxs, gxs_grp_sync)
|
2014-04-05 03:27:18 -04:00
|
|
|
{
|
2014-04-13 17:52:53 -04:00
|
|
|
NxsGrpSync* gsync_test = new NxsGrpSync();
|
|
|
|
rs_nxs_test::NxsTestHub tHub(gsync_test);
|
|
|
|
tHub.StartTest();
|
|
|
|
rs_nxs_test::NxsTestHub::wait(10);
|
|
|
|
tHub.EndTest();
|
2014-04-05 03:27:18 -04:00
|
|
|
|
2014-04-13 17:52:53 -04:00
|
|
|
ASSERT_TRUE(tHub.testsPassed());
|
2014-04-05 03:27:18 -04:00
|
|
|
}
|