summaryrefslogtreecommitdiff
path: root/trunk/TAO/tests/Smart_Proxies/Collocation/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/tests/Smart_Proxies/Collocation/main.cpp')
-rw-r--r--trunk/TAO/tests/Smart_Proxies/Collocation/main.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/trunk/TAO/tests/Smart_Proxies/Collocation/main.cpp b/trunk/TAO/tests/Smart_Proxies/Collocation/main.cpp
new file mode 100644
index 00000000000..dff11cb451f
--- /dev/null
+++ b/trunk/TAO/tests/Smart_Proxies/Collocation/main.cpp
@@ -0,0 +1,27 @@
+// $Id$
+
+#include "Coll_Tester.h"
+#include "tao/Strategies/advanced_resource.h"
+
+ACE_RCSID(Collocation, main, "$Id$")
+
+int main (int argc, char *argv[])
+{
+ Collocation_Test coll_test;
+
+ ACE_TRY_NEW_ENV
+ {
+ coll_test.init (argc, argv ACE_ENV_ARG_PARAMETER);
+ ACE_TRY_CHECK;
+
+ coll_test.run (ACE_ENV_SINGLE_ARG_PARAMETER);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCHANY
+ {
+ ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Uncaught exception: ");
+ }
+ ACE_ENDTRY;
+
+ return 0;
+}