summaryrefslogtreecommitdiff
path: root/TAO/tests/Param_Test/tests.h
diff options
context:
space:
mode:
authorgokhale <asgokhale@users.noreply.github.com>1998-01-07 18:59:50 +0000
committergokhale <asgokhale@users.noreply.github.com>1998-01-07 18:59:50 +0000
commit127ce6a0707bf77affff819010fd7292afdea1d4 (patch)
tree3cd183d49f4ce39919bf9b5db9f8bbbc2693dc15 /TAO/tests/Param_Test/tests.h
parent325cd1e647340401e6f8f14d2acdba47c4ab7eb3 (diff)
downloadATCD-127ce6a0707bf77affff819010fd7292afdea1d4.tar.gz
*** empty log message ***
Diffstat (limited to 'TAO/tests/Param_Test/tests.h')
-rw-r--r--TAO/tests/Param_Test/tests.h87
1 files changed, 75 insertions, 12 deletions
diff --git a/TAO/tests/Param_Test/tests.h b/TAO/tests/Param_Test/tests.h
index e45e7322d7c..a87eb464215 100644
--- a/TAO/tests/Param_Test/tests.h
+++ b/TAO/tests/Param_Test/tests.h
@@ -45,10 +45,11 @@ public:
const char *opname (void) const;
// return operation name
- void init_parameters (void);
+ int init_parameters (Param_Test_ptr objref,
+ CORBA::Environment &env);
// set values for parameters
- void reset_parameters (void);
+ int reset_parameters (void);
// reset values for CORBA
CORBA::Boolean check_validity (void);
@@ -101,10 +102,11 @@ public:
const char *opname (void) const;
// return operation name
- void init_parameters (void);
+ int init_parameters (Param_Test_ptr objref,
+ CORBA::Environment &env);
// set values for parameters
- void reset_parameters (void);
+ int reset_parameters (void);
// reset values for CORBA
CORBA::Boolean check_validity (void);
@@ -158,10 +160,11 @@ public:
const char *opname (void) const;
// return operation name
- void init_parameters (void);
+ int init_parameters (Param_Test_ptr objref,
+ CORBA::Environment &env);
// set values for parameters
- void reset_parameters (void);
+ int reset_parameters (void);
// reset values for CORBA
CORBA::Boolean check_validity (void);
@@ -215,10 +218,11 @@ public:
const char *opname (void) const;
// return operation name
- void init_parameters (void);
+ int init_parameters (Param_Test_ptr objref,
+ CORBA::Environment &env);
// set values for parameters
- void reset_parameters (void);
+ int reset_parameters (void);
// reset values for CORBA
CORBA::Boolean check_validity (void);
@@ -272,10 +276,11 @@ public:
const char *opname (void) const;
// return operation name
- void init_parameters (void);
+ int init_parameters (Param_Test_ptr objref,
+ CORBA::Environment &env);
// set values for parameters
- void reset_parameters (void);
+ int reset_parameters (void);
// reset values for CORBA
CORBA::Boolean check_validity (void);
@@ -330,10 +335,11 @@ public:
const char *opname (void) const;
// return operation name
- void init_parameters (void);
+ int init_parameters (Param_Test_ptr objref,
+ CORBA::Environment &env);
// set values for parameters
- void reset_parameters (void);
+ int reset_parameters (void);
// reset values for CORBA
CORBA::Boolean check_validity (void);
@@ -363,4 +369,61 @@ private:
// return value
};
+// =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
+// test objrefs
+// =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
+class Test_ObjRef
+{
+public:
+ Test_ObjRef (void);
+ // ctor
+
+ ~Test_ObjRef (void);
+ // dtor
+
+ int run_sii_test (Param_Test_ptr objref,
+ CORBA::Environment &env);
+ // run the SII test
+
+ int add_args (CORBA::NVList_ptr &nvlist,
+ CORBA::NVList_ptr &retval,
+ CORBA::Environment &env);
+ // add args to NVList for DII
+
+ const char *opname (void) const;
+ // return operation name
+
+ int init_parameters (Param_Test_ptr objref,
+ CORBA::Environment &env);
+ // set values for parameters
+
+ int reset_parameters (void);
+ // reset values for CORBA
+
+ CORBA::Boolean check_validity (void);
+ // check if results are valid
+
+ CORBA::Boolean check_validity (CORBA::Request_ptr req);
+ // check if results are valid. This is used for DII results
+
+ void print_values (void);
+ // print all the values
+
+private:
+ char *opname_;
+ // operation name
+
+ Coffee_var in_;
+ // in parameter
+
+ Coffee_var inout_;
+ // inout parameter
+
+ Coffee_var out_;
+ // out parameter
+
+ Coffee_var ret_;
+ // return value
+};
+
#endif /* if !defined */