diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-01-09 13:58:38 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-01-09 13:58:38 +0000 |
commit | 62d506c24aaf543f84c82e2850a05b1387e4990d (patch) | |
tree | 3d356dcef6cb64baf648119c6b61aa9afd4e450b /service/test.cpp | |
parent | Exclude api.h from tidy checks (diff) | |
download | mirrorsearch-62d506c24aaf543f84c82e2850a05b1387e4990d.tar.bz2 mirrorsearch-62d506c24aaf543f84c82e2850a05b1387e4990d.tar.xz mirrorsearch-62d506c24aaf543f84c82e2850a05b1387e4990d.zip |
Clang format
Diffstat (limited to 'service/test.cpp')
-rw-r--r-- | service/test.cpp | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/service/test.cpp b/service/test.cpp index 6d064fc..dabf8b7 100644 --- a/service/test.cpp +++ b/service/test.cpp @@ -1,28 +1,24 @@ #define BOOST_TEST_MODULE MirrorSearch #include <boost/test/unit_test.hpp> -#include <pq-mock.h> -#include <dryice.h> -#include <definedDirs.h> #include <api.h> +#include <definedDirs.h> +#include <dryice.h> +#include <pq-mock.h> class Service : DB::PluginMock<PQ::Mock>, public IceTray::DryIce { - public: - Service() : DB::PluginMock<PQ::Mock>("MirrorSearch", { - rootDir / "schema.sql", - rootDir / "data.sql" - }, "user=postgres") { } - +public: + Service() : + DB::PluginMock<PQ::Mock>("MirrorSearch", {rootDir / "schema.sql", rootDir / "data.sql"}, "user=postgres") + { + } }; class TestClient : public IceTray::DryIceClient { - public: - TestClient() : - s(getProxy<MirrorSearch::SearchPrx>("Search")) - { - } +public: + TestClient() : s(getProxy<MirrorSearch::SearchPrx>("Search")) { } - MirrorSearch::SearchPrxPtr s; + MirrorSearch::SearchPrxPtr s; }; BOOST_TEST_GLOBAL_FIXTURE(Service); @@ -90,4 +86,3 @@ BOOST_AUTO_TEST_CASE(getMatches_xtrans_lucky) } BOOST_AUTO_TEST_SUITE_END(); - |