int ACE_TMAIN(int,ACE_TCHAR*[])
{
  int status = 0;

  try
    {
      {
        Tester<int>  tester;
        status += tester.test_all ();
      }

      {
        Tester<Foo> tester;
        status += tester.test_all ();
      }

      {
        Tester<char*>  tester;
        status += tester.test_all ();
      }
    }
  catch (const ::CORBA::Exception &ex)
    {
      ex._tao_print_exception("ERROR : unexpected CORBA exception caugth :");
      ++status;
    }

  return status;
}
示例#2
0
int ACE_TMAIN(int,ACE_TCHAR*[])
{
  int status = 0;
  try
    {
      Tester tester;
      status += tester.test_all ();

      typedef value_sequence_tester<tested_sequence,tested_allocation_traits> common;
      common tester2;
      status += tester2.test_all ();
    }
  catch (const ::CORBA::Exception &ex)
    {
      ex._tao_print_exception("ERROR : unexpected CORBA exception caugth :");
      ++status;
    }

  return status;
}