summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/optional/Server.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2012-10-15 19:08:37 +0200
committerJose <jose@zeroc.com>2012-10-15 19:08:37 +0200
commitb686c08672e2ff3880bfc41c556c8107d16bd0ca (patch)
treeb09ffac533f008b292443a14cff909d0c9acfda5 /cpp/test/Ice/optional/Server.cpp
parentFixed Windows build (diff)
downloadice-b686c08672e2ff3880bfc41c556c8107d16bd0ca.tar.bz2
ice-b686c08672e2ff3880bfc41c556c8107d16bd0ca.tar.xz
ice-b686c08672e2ff3880bfc41c556c8107d16bd0ca.zip
WinRT fixes
Diffstat (limited to 'cpp/test/Ice/optional/Server.cpp')
-rw-r--r--cpp/test/Ice/optional/Server.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/test/Ice/optional/Server.cpp b/cpp/test/Ice/optional/Server.cpp
index 089f0e1ce00..9945edca281 100644
--- a/cpp/test/Ice/optional/Server.cpp
+++ b/cpp/test/Ice/optional/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;
@@ -20,6 +23,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter");
adapter->add(new InitialI(), communicator->stringToIdentity("initial"));
adapter->activate();
+ TEST_READY
communicator->waitForShutdown();
return EXIT_SUCCESS;
}