Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Param_Test / except.h
blob726c7d97f4a607e16333acf5bc6509d7ec8931de
2 //=============================================================================
3 /**
4 * @file except.h
6 * Tests system and user exceptions
8 * @author Carlos O'Ryan
9 */
10 //=============================================================================
13 #ifndef PARAM_TEST_EXCEPTION_H
14 #define PARAM_TEST_EXCEPTION_H
16 #include "param_testC.h"
18 class Test_Exception
20 public:
21 /// ctor
22 Test_Exception (void);
24 /// dtor
25 ~Test_Exception (void);
27 /// run the SII test
28 int run_sii_test (Param_Test_ptr objref);
30 /// return operation name
31 const char *opname (void) const;
33 /// set values for parameters
34 int init_parameters (Param_Test_ptr objref);
36 /// reset values for CORBA
37 int reset_parameters (void);
39 /// check if results are valid
40 CORBA::Boolean check_validity (void);
42 /// check if results are valid. This is used for DII results
43 CORBA::Boolean check_validity (CORBA::Request_ptr req);
45 /// print all the values
46 void print_values (void);
48 /// invoke DII request with appropriate exception handling.
49 void dii_req_invoke (CORBA::Request *);
51 private:
52 /// operation name
53 char *opname_;
55 /// in parameter
56 CORBA::ULong in_;
58 /// inout parameter
59 CORBA::ULong inout_;
61 /// out parameter
62 CORBA::ULong out_;
64 /// return value
65 CORBA::ULong ret_;
67 /// Current iterations.
68 CORBA::ULong iterations_;
71 #endif /* PARAM_TEST_EXCEPTION_H */