summaryrefslogtreecommitdiff
path: root/unittests/mockDefs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/mockDefs.cpp')
-rw-r--r--unittests/mockDefs.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/unittests/mockDefs.cpp b/unittests/mockDefs.cpp
index 1ecf11c..a257758 100644
--- a/unittests/mockDefs.cpp
+++ b/unittests/mockDefs.cpp
@@ -1,28 +1,26 @@
+#include "mockDefs.h"
#include <boost/test/test_tools.hpp>
#include <compileTimeFormatter.h>
#include <definedDirs.h>
-#include "mockDefs.h"
using namespace AdHoc::literals;
GitFS::Test::Service::Service() :
IceTray::DryIce({
- "--GitFS.testrepo.gitdir=%?"_fmt(rootDir.string()),
- "--GitFS.testrepo.authkey=testauth",
- "--GitFS.testrepo.commitish=7a0ccb40084c3ab31d9856e7f689c0514c28c930",
+ "--GitFS.testrepo.gitdir=%?"_fmt(rootDir.string()),
+ "--GitFS.testrepo.authkey=testauth",
+ "--GitFS.testrepo.commitish=7a0ccb40084c3ab31d9856e7f689c0514c28c930",
})
{
}
-GitFS::Test::Client::Client() :
- s(getProxy<NetFS::ServicePrx>("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"))
+GitFS::Test::VolumeClient::VolumeClient() : v(s->connect("testrepo", "testauth"))
{
BOOST_TEST_REQUIRE(v);
v->ice_ping();
@@ -32,4 +30,3 @@ GitFS::Test::VolumeClient::~VolumeClient()
{
v->disconnect();
}
-