summaryrefslogtreecommitdiff
path: root/unittests/mockDefs.cpp
blob: 78ad27053bddef44bc882d61019d5a328df1cfeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include <boost/test/test_tools.hpp>
#include "mockDefs.h"

GitFS::Test::Service::Service()
{
}

GitFS::Test::Client::Client() :
	s(getProxy<NetFS::ServicePrx>("Service"))
{
	BOOST_TEST_REQUIRE(s);
	s->ice_ping();	
}

GitFS::Test::VolumeClient::VolumeClient() :
	v(s->connect("testrepo", "testauth"))
{
	BOOST_TEST_REQUIRE(v);
	v->ice_ping();	
}

GitFS::Test::VolumeClient::~VolumeClient()
{
	v->disconnect();	
}