2 //=============================================================================
4 * @file ub_struct_seq.h
6 * Tests unbounded struct sequence
8 * @author Aniruddha Gokhale
10 //=============================================================================
13 #ifndef ALT_MAPPING_TEST_UNBOUNED_STRUCT_SEQUENCE_H
14 #define ALT_MAPPING_TEST_UNBOUNED_STRUCT_SEQUENCE_H
16 #include "alt_mappingC.h"
18 // =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
19 // test unbounded sequence of structs
20 // =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
22 class Test_Unbounded_Struct_Sequence
26 Test_Unbounded_Struct_Sequence ();
29 ~Test_Unbounded_Struct_Sequence ();
32 int run_sii_test (Alt_Mapping_ptr objref
);
34 /// return operation name
35 const char *opname () const;
37 /// set values for parameters
38 int init_parameters (Alt_Mapping_ptr objref
);
40 /// reset values for CORBA
41 int reset_parameters ();
43 /// check if results are valid
44 CORBA::Boolean
check_validity ();
46 /// print all the values
51 CORBA::Boolean
compare (const Alt_Mapping::StructSeq
&s1
,
52 const Alt_Mapping::StructSeq
&s2
);
54 /// print individual sequence
55 void print_sequence (const Alt_Mapping::StructSeq
&s
);
60 Alt_Mapping::StructSeq in_
;
62 Alt_Mapping::StructSeq inout_
;
64 Alt_Mapping::StructSeq out_
;
66 Alt_Mapping::StructSeq ret_
;
69 #endif /* ALT_MAPPING_TEST_UNBOUNED_STRUCT_SEQUENCE_H */