summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-07-06 20:43:49 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2017-07-10 16:03:41 +0100
commitdad6bfc3666679bfdc6b7839d71b8d9f4a2f4d83 (patch)
treed0835eb216095a94f8db2725b2ba137012e6e674
parentMake the logging domain a string sequence and implement log4j style domain fo... (diff)
downloadicetray-dad6bfc3666679bfdc6b7839d71b8d9f4a2f4d83.tar.bz2
icetray-dad6bfc3666679bfdc6b7839d71b8d9f4a2f4d83.tar.xz
icetray-dad6bfc3666679bfdc6b7839d71b8d9f4a2f4d83.zip
Assert Service getCurrent works
-rw-r--r--icetray/unittests/testIceTray.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/icetray/unittests/testIceTray.cpp b/icetray/unittests/testIceTray.cpp
index 48bd8f1..335b506 100644
--- a/icetray/unittests/testIceTray.cpp
+++ b/icetray/unittests/testIceTray.cpp
@@ -35,6 +35,7 @@ BOOST_FIXTURE_TEST_SUITE( client, Client );
BOOST_AUTO_TEST_CASE( services )
{
BOOST_REQUIRE(p);
+ BOOST_REQUIRE(IceTray::Service::getCurrent());
p->ice_ping();
p->method1();
p->method2(1, "test");