diff options
Diffstat (limited to 'cpp/test/Ice/optional/Server.cpp')
-rw-r--r-- | cpp/test/Ice/optional/Server.cpp | 4 |
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; } |