summaryrefslogtreecommitdiff
path: root/TAO/tests/OBV
diff options
context:
space:
mode:
authormsmit <msmit@remedy.nl>2010-07-24 07:38:30 +0000
committermsmit <msmit@remedy.nl>2010-07-24 07:38:30 +0000
commit3bbeaabcbb7c027af0d4c8ff5936a50ae604650d (patch)
treede2c63b66ed4830aa819a3457cdc744cfd812be1 /TAO/tests/OBV
parent8f7805b751af31b6364c3592cb98d8716077e76f (diff)
downloadATCD-3bbeaabcbb7c027af0d4c8ff5936a50ae604650d.tar.gz
Sat Jul 24 07:35:12 UTC 2010 Marcel Smit <msmit@remedy.nl>
* tests/OBV/ValueBox/vb_struct.idl: Removed anonymous constructs from test IDL and modified test code accordingly.
Diffstat (limited to 'TAO/tests/OBV')
-rw-r--r--TAO/tests/OBV/ValueBox/vb_struct.idl7
1 files changed, 4 insertions, 3 deletions
diff --git a/TAO/tests/OBV/ValueBox/vb_struct.idl b/TAO/tests/OBV/ValueBox/vb_struct.idl
index 318653e5009..e25a207a2f0 100644
--- a/TAO/tests/OBV/ValueBox/vb_struct.idl
+++ b/TAO/tests/OBV/ValueBox/vb_struct.idl
@@ -35,21 +35,22 @@ union Union1 switch(long)
};
typedef sequence<long> LongSeq;
-
+typedef octet oct_array[10];
+typedef sequence <Pet> PetSeq;
// Use all possible types inside a struct
struct Variable_Struct2
{
long len; // predefined type
any whatever; // predefined type
Pet apet; // enum
- octet octet_array[10]; // array
+ oct_array octet_array; // array
short_array td_array; // typedefed array
Interface1 intf1; // interface
InterfaceFwd intf2; // interface fwd
string str; // string
wstring wstr; // string
LongSeq ls; // typedef sequence
- sequence <Pet> sqq; // sequence
+ PetSeq sqq; // sequence
struct NestedStruct1 { short s; string str2; } ns1; // structure
Variable_Struct1 NestedStruct2;
TDvariable_struct1 NestedStruct3;