summaryrefslogtreecommitdiff
path: root/TAO/tests/Any/Recursive/client.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-03-06 08:16:18 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-03-06 08:16:18 +0000
commita0665dcee8655bdcce35279f57772b9faad37233 (patch)
tree0c2b30f3d190db15ab5da68a4d7984518e60448c /TAO/tests/Any/Recursive/client.cpp
parent4f8ce86d7b3f82d6c08cf2a14812752fa8d1e25a (diff)
downloadATCD-a0665dcee8655bdcce35279f57772b9faad37233.tar.gz
Tue Mar 6 08:15:32 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tests/Any/Recursive/client.cpp')
-rw-r--r--TAO/tests/Any/Recursive/client.cpp20
1 files changed, 12 insertions, 8 deletions
diff --git a/TAO/tests/Any/Recursive/client.cpp b/TAO/tests/Any/Recursive/client.cpp
index e98636c0bfb..42c4fd71a27 100644
--- a/TAO/tests/Any/Recursive/client.cpp
+++ b/TAO/tests/Any/Recursive/client.cpp
@@ -182,10 +182,16 @@ nested_recursive_struct_test (CORBA::ORB_ptr /* orb */,
CORBA::Any the_any;
the_any <<= foo;
- ::perform_invocation<Test::NestedRecursiveStruct> (hello,
- the_any);
+ ::perform_invocation<Test::NestedRecursiveStruct> (hello, the_any);
+
+ Test::NestedRecursiveStruct5 foo5;
+
+ the_any <<= foo;
+
+ ::perform_invocation<Test::NestedRecursiveStruct5> (hello, the_any);
}
+
void
recursive_union_test (CORBA::ORB_ptr /* orb */,
Test::Hello_ptr hello)
@@ -202,8 +208,7 @@ recursive_union_test (CORBA::ORB_ptr /* orb */,
foo_enum.i (test_long);
the_any <<= foo_enum;
- ::perform_invocation<Test::EnumUnion> (hello,
- the_any);
+ ::perform_invocation<Test::EnumUnion> (hello, the_any);
// Non-recursive member case.
Test::RecursiveUnion foo;
@@ -211,8 +216,7 @@ recursive_union_test (CORBA::ORB_ptr /* orb */,
the_any <<= foo;
- ::perform_invocation<Test::RecursiveUnion> (hello,
- the_any);
+ ::perform_invocation<Test::RecursiveUnion> (hello, the_any);
Test::RecursiveUnion2 foo2;
foo2.i (test_long);
@@ -466,11 +470,11 @@ main (int argc, char *argv[])
static test_func const tests[] =
{
- recursive_union_test
- , recursive_struct_test
+ recursive_struct_test
, nested_recursive_struct_test
, indirectly_recursive_valuetype_test
, directly_recursive_valuetype_test
+ , recursive_union_test
#if TAO_HAS_MINIMUM_CORBA == 0
, recursive_struct_typecodefactory_test
, recursive_union_typecodefactory_test