summaryrefslogtreecommitdiff
path: root/cpp/test/IcePack/deployer/Client.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2005-10-10 20:51:09 +0000
committerMark Spruiell <mes@zeroc.com>2005-10-10 20:51:09 +0000
commit5c820414d32245f8f23ad323787b72fb94f2782b (patch)
tree7b00c76b0c76606ed30740849b83e65921b8be84 /cpp/test/IcePack/deployer/Client.cpp
parentadding IceGrid (diff)
downloadice-5c820414d32245f8f23ad323787b72fb94f2782b.tar.bz2
ice-5c820414d32245f8f23ad323787b72fb94f2782b.tar.xz
ice-5c820414d32245f8f23ad323787b72fb94f2782b.zip
bug 475: remove IcePack
Diffstat (limited to 'cpp/test/IcePack/deployer/Client.cpp')
-rw-r--r--cpp/test/IcePack/deployer/Client.cpp79
1 files changed, 0 insertions, 79 deletions
diff --git a/cpp/test/IcePack/deployer/Client.cpp b/cpp/test/IcePack/deployer/Client.cpp
deleted file mode 100644
index ccd7533ff93..00000000000
--- a/cpp/test/IcePack/deployer/Client.cpp
+++ /dev/null
@@ -1,79 +0,0 @@
-// **********************************************************************
-//
-// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved.
-//
-// This copy of Ice is licensed to you under the terms described in the
-// ICE_LICENSE file included in this distribution.
-//
-// **********************************************************************
-
-#include <Ice/Ice.h>
-#include <TestCommon.h>
-#include <Test.h>
-
-using namespace std;
-
-int
-run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
-{
- bool withTarget = false;
- if(argc > 1)
- {
- int i = 1;
- while(i < argc)
- {
- if(strcmp(argv[i], "-t") == 0)
- {
- withTarget = true;
- break;
- }
- i++;
- }
- }
-
- if(!withTarget)
- {
- void allTests(const Ice::CommunicatorPtr&);
- allTests(communicator);
- }
- else
- {
- void allTestsWithTarget(const Ice::CommunicatorPtr&);
- allTestsWithTarget(communicator);
- }
-
- return EXIT_SUCCESS;
-}
-
-int
-main(int argc, char* argv[])
-{
- int status;
- Ice::CommunicatorPtr communicator;
-
- try
- {
- communicator = Ice::initialize(argc, argv);
- status = run(argc, argv, communicator);
- }
- catch(const Ice::Exception& ex)
- {
- cerr << ex << endl;
- status = EXIT_FAILURE;
- }
-
- if(communicator)
- {
- try
- {
- communicator->destroy();
- }
- catch(const Ice::Exception& ex)
- {
- cerr << ex << endl;
- status = EXIT_FAILURE;
- }
- }
-
- return status;
-}