2 //=============================================================================
6 * Tests unbounded short sequence
8 * @author Aniruddha Gokhale
10 //=============================================================================
13 #ifndef PARAM_TEST_UNBOUNDED_SHORT_SEQUENCE_H
14 #define PARAM_TEST_UNBOUNDED_SHORT_SEQUENCE_H
16 #include "param_testC.h"
18 // =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
19 // test sequences of shorts
20 // =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
22 class Test_Short_Sequence
26 Test_Short_Sequence ();
29 ~Test_Short_Sequence ();
32 int run_sii_test (Param_Test_ptr objref
);
34 /// return operation name
35 const char *opname () const;
37 /// set values for parameters
38 int init_parameters (Param_Test_ptr objref
);
40 /// reset values for CORBA
41 int reset_parameters ();
43 /// check if results are valid
44 CORBA::Boolean
check_validity ();
46 /// check if results are valid. This is used for DII results
47 CORBA::Boolean
check_validity (CORBA::Request_ptr req
);
49 /// print all the values
52 /// invoke DII request with appropriate exception handling.
53 void dii_req_invoke (CORBA::Request
*);
60 CORBA::ShortSeq_var in_
;
63 CORBA::ShortSeq_var inout_
;
66 CORBA::ShortSeq_var out_
;
69 CORBA::ShortSeq_var ret_
;
72 #endif /* PARAM_TEST_UNBOUNDED_SHORT_SEQUENCE_H */