blob: 94f5b14a56880293a51df82c5b19be8952f2b99f (
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
|
#include "../lib/Driver.h"
#include "ace/OS_main.h"
int
ACE_TMAIN(int argc, ACE_TCHAR *argv[])
{
TAO_Notify_Tests_Driver driver;
try
{
int result = driver.init (argc, argv);
if (result == -1)
ACE_ERROR_RETURN ((LM_ERROR,
ACE_TEXT("Failed to initialize the Notify Testing Driver.\n")),
1);
driver.run ();
}
catch (const CORBA::Exception& ex)
{
ex._tao_print_exception (ACE_TEXT("Error:\n"));
return 1;
}
return 0;
}
|