summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-10-08 15:52:23 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2016-10-08 15:52:23 +0100
commitc5f494f3d7d63341c03751942f7d90441682f2da (patch)
treedcdbadbfb96c779ddf793f11af007ef61c70df2f
parentUse a single implementation for parsing www form url encoded data in post and... (diff)
downloadicespider-c5f494f3d7d63341c03751942f7d90441682f2da.tar.bz2
icespider-c5f494f3d7d63341c03751942f7d90441682f2da.tar.xz
icespider-c5f494f3d7d63341c03751942f7d90441682f2da.zip
Clean test app class
-rw-r--r--icespider/unittests/testApp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/icespider/unittests/testApp.cpp b/icespider/unittests/testApp.cpp
index 5f37f62..67cec50 100644
--- a/icespider/unittests/testApp.cpp
+++ b/icespider/unittests/testApp.cpp
@@ -180,12 +180,13 @@ class TestApp : public Core {
adp(communicator->createObjectAdapterWithEndpoints("test", "default"))
{
adp->activate();
- communicator->proxyToString(adp->add(new TestSerice(), communicator->stringToIdentity("Test")));
+ adp->add(new TestSerice(), communicator->stringToIdentity("Test"));
}
~TestApp()
{
adp->deactivate();
+ adp->destroy();
}
Ice::ObjectAdapterPtr adp;