summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/objects/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/objects/Server.cpp')
-rw-r--r--cpp/test/Ice/objects/Server.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/test/Ice/objects/Server.cpp b/cpp/test/Ice/objects/Server.cpp
index d3e1924c469..2935a81423a 100644
--- a/cpp/test/Ice/objects/Server.cpp
+++ b/cpp/test/Ice/objects/Server.cpp
@@ -8,8 +8,11 @@
// **********************************************************************
#include <Ice/Ice.h>
+#include <TestCommon.h>
#include <TestI.h>
+DEFINE_TEST("server")
+
using namespace std;
using namespace Test;
@@ -57,6 +60,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
UnexpectedObjectExceptionTestIPtr uoet = new UnexpectedObjectExceptionTestI;
adapter->add(uoet, communicator->stringToIdentity("uoet"));
adapter->activate();
+ TEST_READY
communicator->waitForShutdown();
return EXIT_SUCCESS;
}