summaryrefslogtreecommitdiff
path: root/unittests/mockDefs.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-08-22 15:26:11 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2020-08-22 15:26:11 +0100
commitf759884235b4594c4f960ea0c587697eef717665 (patch)
tree92f3b95e99fac6688a6d9cec88b6553cb77f0c60 /unittests/mockDefs.cpp
parentUpdate to new NetFS interface (diff)
downloadnetfs-gitfs-f759884235b4594c4f960ea0c587697eef717665.tar.bz2
netfs-gitfs-f759884235b4594c4f960ea0c587697eef717665.tar.xz
netfs-gitfs-f759884235b4594c4f960ea0c587697eef717665.zip
Clang-format
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();
}
-