summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjp4 <jp4@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-10 22:46:22 +0000
committerjp4 <jp4@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-10 22:46:22 +0000
commit6c74d240c74b981f869cbf315bb0202752241e6d (patch)
treefc75b294532b420ce7eb6bf006edceb607507511
parentd2a90cf2d0808fdf09a400cf9573dc76454e17cd (diff)
downloadATCD-6c74d240c74b981f869cbf315bb0202752241e6d.tar.gz
*** empty log message ***
-rw-r--r--TAO/tests/Param_Test/bd_long_seq.cpp9
-rw-r--r--TAO/tests/Param_Test/bd_short_seq.cpp9
-rw-r--r--TAO/tests/Param_Test/bd_str_seq.cpp11
-rw-r--r--TAO/tests/Param_Test/ub_long_seq.cpp9
-rw-r--r--TAO/tests/Param_Test/ub_short_seq.cpp9
-rw-r--r--TAO/tests/Param_Test/ub_str_seq.cpp14
6 files changed, 14 insertions, 47 deletions
diff --git a/TAO/tests/Param_Test/bd_long_seq.cpp b/TAO/tests/Param_Test/bd_long_seq.cpp
index c55ab12b666..512b52a5113 100644
--- a/TAO/tests/Param_Test/bd_long_seq.cpp
+++ b/TAO/tests/Param_Test/bd_long_seq.cpp
@@ -134,13 +134,8 @@ Test_Bounded_Long_Sequence::check_validity (CORBA::Request_ptr req)
{
CORBA::Environment env;
- Param_Test::Bounded_Long_Seq *out, *ret;
-
- *req->arguments ()->item (2, env)->value () >>= out;
- *req->result ()->value () >>= ret;
-
- this->out_ = out;
- this->ret_ = ret;
+ *req->arguments ()->item (2, env)->value () >>= this->out_.out ();
+ *req->result ()->value () >>= this->ret_.out ();
return this->check_validity ();
}
diff --git a/TAO/tests/Param_Test/bd_short_seq.cpp b/TAO/tests/Param_Test/bd_short_seq.cpp
index 4fa347c1332..6bdf8c99340 100644
--- a/TAO/tests/Param_Test/bd_short_seq.cpp
+++ b/TAO/tests/Param_Test/bd_short_seq.cpp
@@ -137,13 +137,8 @@ Test_Bounded_Short_Sequence::check_validity (CORBA::Request_ptr req)
{
CORBA::Environment env;
- Param_Test::Bounded_Short_Seq *out, *ret;
-
- *req->arguments ()->item (2, env)->value () >>= out;
- *req->result ()->value () >>= ret;
-
- this->out_ = out;
- this->ret_ = ret;
+ *req->arguments ()->item (2, env)->value () >>= this->out_.out ();
+ *req->result ()->value () >>= this->ret_.out ();
return this->check_validity ();
}
diff --git a/TAO/tests/Param_Test/bd_str_seq.cpp b/TAO/tests/Param_Test/bd_str_seq.cpp
index 9dec556bea6..470c7d8b2f7 100644
--- a/TAO/tests/Param_Test/bd_str_seq.cpp
+++ b/TAO/tests/Param_Test/bd_str_seq.cpp
@@ -145,17 +145,10 @@ Test_Bounded_String_Sequence::check_validity (void)
CORBA::Boolean
Test_Bounded_String_Sequence::check_validity (CORBA::Request_ptr req)
{
-#if 0
CORBA::Environment env;
- Param_Test::Bounded_StrSeq *out, *ret;
-
- *req->arguments ()->item (2, env)->value () >>= out;
- *req->result ()->value () >>= ret;
-
- this->out_ = out;
- this->ret_ = ret;
-#endif
+ *req->arguments ()->item (2, env)->value () >>= this->out_.out ();
+ *req->result ()->value () >>= this->ret_.out ();
return this->check_validity ();
}
diff --git a/TAO/tests/Param_Test/ub_long_seq.cpp b/TAO/tests/Param_Test/ub_long_seq.cpp
index 7876dd03488..bfca9e1a137 100644
--- a/TAO/tests/Param_Test/ub_long_seq.cpp
+++ b/TAO/tests/Param_Test/ub_long_seq.cpp
@@ -136,13 +136,8 @@ Test_Long_Sequence::check_validity (CORBA::Request_ptr req)
{
CORBA::Environment env;
- Param_Test::Long_Seq *out, *ret;
-
- *req->arguments ()->item (2, env)->value () >>= out;
- *req->result ()->value () >>= ret;
-
- this->out_ = out;
- this->ret_ = ret;
+ *req->arguments ()->item (2, env)->value () >>= this->out_.out ();
+ *req->result ()->value () >>= this->ret_.out ();
return this->check_validity ();
}
diff --git a/TAO/tests/Param_Test/ub_short_seq.cpp b/TAO/tests/Param_Test/ub_short_seq.cpp
index 4c539b9f4af..6f164a0c1ba 100644
--- a/TAO/tests/Param_Test/ub_short_seq.cpp
+++ b/TAO/tests/Param_Test/ub_short_seq.cpp
@@ -139,13 +139,8 @@ Test_Short_Sequence::check_validity (CORBA::Request_ptr req)
{
CORBA::Environment env;
- Param_Test::Short_Seq *out, *ret;
-
- *req->arguments ()->item (2, env)->value () >>= out;
- *req->result ()->value () >>= ret;
-
- this->out_ = out;
- this->ret_ = ret;
+ *req->arguments ()->item (2, env)->value () >>= this->out_.out ();
+ *req->result ()->value () >>= this->ret_.out ();
return this->check_validity ();
}
diff --git a/TAO/tests/Param_Test/ub_str_seq.cpp b/TAO/tests/Param_Test/ub_str_seq.cpp
index f79788f4d6b..1655358c54f 100644
--- a/TAO/tests/Param_Test/ub_str_seq.cpp
+++ b/TAO/tests/Param_Test/ub_str_seq.cpp
@@ -1,3 +1,4 @@
+
// $Id$
// ============================================================================
@@ -119,7 +120,7 @@ Test_String_Sequence::add_args (CORBA::NVList_ptr &param_list,
// add return value type
(void)retval->item (0, env)->value ()->replace (Param_Test::_tc_StrSeq,
0,
- 0, // does not own
+ CORBA::B_FALSE, // does not own
env);
return 0;
}
@@ -149,18 +150,11 @@ Test_String_Sequence::check_validity (void)
CORBA::Boolean
Test_String_Sequence::check_validity (CORBA::Request_ptr req)
{
-#if 0
CORBA::Environment env;
- Param_Test::StrSeq *out, *ret;
-
- *req->arguments ()->item (2, env)->value () >>= out;
- *req->result ()->value () >>= ret;
-
- this->out_ = out;
- this->ret_ = ret;
+ *req->arguments ()->item (2, env)->value () >>= this->out_.out ();
+ *req->result ()->value () >>= this->ret_.out ();
-#endif
return this->check_validity ();
}