summaryrefslogtreecommitdiff
path: root/TAO/tests/Collocation/Collocation.cpp
blob: 4aca6d01fcd07818b65b0cc33699c82927072516 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// $Id$

#include "ace/streams.h"
#include "ace/Get_Opt.h"
#include "Coll_Tester.h"
#include "tao/Strategies/advanced_resource.h"

ACE_RCSID(Collocation, main, "$Id$")

int main (int argc, char *argv[])
{
  ACE_TRY_NEW_ENV
    {
      Collocation_Test coll_test;

      coll_test.init (argc, argv, ACE_TRY_ENV);
      ACE_TRY_CHECK;

      coll_test.run (ACE_TRY_ENV);
      ACE_TRY_CHECK;

      coll_test.shutdown (ACE_TRY_ENV);
      ACE_TRY_CHECK;
    }
  ACE_CATCHANY
    {
      ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Uncaught exception: ");
    }
  ACE_ENDTRY;

  return 0;
}