mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
4cab2aaa65
(automates comparisons) fixed some unit tests caused by copy constructor removal git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7302 b45a01b8-16f6-495d-af2f-9b41ad6348cc
27 lines
521 B
C++
27 lines
521 B
C++
/*
|
|
* rsgxsnetservice_test.cc
|
|
*
|
|
* Created on: 11 Jul 2012
|
|
* Author: crispy
|
|
*/
|
|
|
|
#include <gtest/gtest.h>
|
|
|
|
#include "nxsgrpsync_test.h"
|
|
#include "nxstesthub.h"
|
|
|
|
TEST(libretroshare_gxs, gxs_grp_sync)
|
|
{
|
|
rs_nxs_test::NxsTestScenario::pointer gsync_test = rs_nxs_test::NxsTestScenario::pointer(
|
|
new rs_nxs_test::NxsGrpSync());
|
|
rs_nxs_test::NxsTestHub tHub(gsync_test);
|
|
tHub.StartTest();
|
|
|
|
// wait for ten seconds
|
|
rs_nxs_test::NxsTestHub::Wait(15);
|
|
|
|
tHub.EndTest();
|
|
|
|
ASSERT_TRUE(tHub.testsPassed());
|
|
}
|