More tests update
[ACE_TAO.git] / TAO / tests / Bug_2234_Regression / Test.idl
bloba6eab054a71708eff8a032cf9abca5df9474754c
1 module Test
3 struct MyNonVarStruct {
4 long val;
5 };
7 struct MyVarStruct {
8 string val;
9 };
11 union MyNonVarUnion switch(short) {
12 case 1:
13 long valLong;
14 case 2:
15 short valShort;
18 union MyVarUnion switch(short) {
19 case 1:
20 long valLong;
21 case 2:
22 string valString;
25 typedef sequence< long > MySeqOfLong;
27 typedef MySeqOfLong MyArray[2];
29 interface Foo
31 long TestLong( in long a, out long b, inout long c );
32 string TestString( in string a, out string b, inout string c );
33 MyNonVarStruct TestNonVarStruct( in MyNonVarStruct a, out MyNonVarStruct b, inout MyNonVarStruct c );
34 MyVarStruct TestVarStruct( in MyVarStruct a, out MyVarStruct b, inout MyVarStruct c );
35 MyNonVarUnion TestNonVarUnion( in MyNonVarUnion a, out MyNonVarUnion b, inout MyNonVarUnion c );
36 MyVarUnion TestVarUnion( in MyVarUnion a, out MyVarUnion b, inout MyVarUnion c );
37 MySeqOfLong TestSeqOfLong( in MySeqOfLong a, out MySeqOfLong b, inout MySeqOfLong c );
38 any TestAny( in any a, out any b, inout any c );
39 MyArray TestArray( in MyArray a, out MyArray b, inout MyArray c );
40 Object TestObject( in Object a, out Object b, inout Object c);
41 oneway void ShutdownServer();