summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/client.cpp')
-rw-r--r--TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/client.cpp40
1 files changed, 40 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/client.cpp b/TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/client.cpp
new file mode 100644
index 00000000000..3397a80f770
--- /dev/null
+++ b/TAO/orbsvcs/tests/InterfaceRepo/IDL3_Test/client.cpp
@@ -0,0 +1,40 @@
+// -*- C++ -*-
+// $Id$
+
+#include "idl3_client.h"
+
+ACE_RCSID (Application_Test,
+ client,
+ "$Id$")
+
+int
+main (int argc, char *argv[])
+{
+ IDL3_Client client;
+
+ try
+ {
+ if (client.init (argc,
+ argv)
+ == -1)
+ {
+ return 1;
+ }
+ else
+ {
+ int status = client.run ();
+
+ if (status == -1)
+ {
+ return 1;
+ }
+ }
+ }
+ catch (const CORBA::Exception& ex)
+ {
+ ex._tao_print_exception ("Client Exception");
+ return -1;
+ }
+
+ return 0;
+}