blob: fd5f1ade0d93b0db3bfcadd739621ed73f460c5f (
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
|
// $Id$
#include "testC.h"
int
ACE_TMAIN (int, ACE_TCHAR *[])
{
try
{
Test::bounded_string_seq seq;
seq.length (11);
ACE_TEST_ASSERT (seq.maximum () == 10);
}
catch (::CORBA::BAD_PARAM const &)
{
// ignore this exception since it's expected.
}
catch (::CORBA::Exception const &)
{
return 1;
}
return 0;
}
|