repo.or.cz
/
ACE_TAO.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git]
/
TAO
/
tests
/
Bug_3632_Regression
/
test.cpp
blob
3cba4b3845742d078514ce69f6de2e783f4a7735
1
#include
"testC.h"
2
3
int
4
ACE_TMAIN
(
int
,
ACE_TCHAR
*[])
5
{
6
try
7
{
8
Test
::
bounded_string_seq seq
;
9
seq
.
length
(
11
);
10
ACE_TEST_ASSERT
(
seq
.
maximum
() ==
10
);
11
}
12
catch
(::
CORBA
::
BAD_PARAM
const
&)
13
{
14
// ignore this exception since it's expected.
15
}
16
catch
(::
CORBA
::
Exception
const
&)
17
{
18
return
1
;
19
}
20
21
return
0
;
22
}