diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-04-15 13:41:38 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-04-15 13:41:38 +0100 |
commit | f3e2dd7780bb90feff6b2f7a36797752a4933ff6 (patch) | |
tree | 70b494839b379ab96cae33b01ae9ef6c1e893340 /service/test.cpp | |
parent | Add a redirect to work as a Gentoo mirror (diff) | |
download | mirrorsearch-f3e2dd7780bb90feff6b2f7a36797752a4933ff6.tar.bz2 mirrorsearch-f3e2dd7780bb90feff6b2f7a36797752a4933ff6.tar.xz mirrorsearch-f3e2dd7780bb90feff6b2f7a36797752a4933ff6.zip |
C++17 and Ice 3.7
Updates all components to be C++17 and Ice 3.7
Diffstat (limited to 'service/test.cpp')
-rw-r--r-- | service/test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/service/test.cpp b/service/test.cpp index 5be34e7..acc03e2 100644 --- a/service/test.cpp +++ b/service/test.cpp @@ -6,9 +6,9 @@ #include <definedDirs.h> #include <api.h> -class Service : PQ::Mock, public IceTray::DryIce { +class Service : DB::PluginMock<PQ::Mock>, public IceTray::DryIce { public: - Service() : PQ::Mock("user=postgres", "MirrorSearch", { + Service() : DB::PluginMock<PQ::Mock>("user=postgres", "MirrorSearch", { rootDir / "schema.sql", rootDir / "data.sql" }) { } @@ -22,7 +22,7 @@ class TestClient : public IceTray::DryIceClient { { } - MirrorSearch::SearchPrx s; + MirrorSearch::SearchPrxPtr s; }; BOOST_TEST_GLOBAL_FIXTURE(Service); |