summaryrefslogtreecommitdiff
path: root/TAO/tests/Param_Test/var_struct.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Param_Test/var_struct.cpp')
-rw-r--r--TAO/tests/Param_Test/var_struct.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/TAO/tests/Param_Test/var_struct.cpp b/TAO/tests/Param_Test/var_struct.cpp
index 679ed7b3db3..35874446813 100644
--- a/TAO/tests/Param_Test/var_struct.cpp
+++ b/TAO/tests/Param_Test/var_struct.cpp
@@ -166,15 +166,15 @@ Test_Var_Struct::check_validity (void)
if (this->in_.dbl == this->inout_->dbl &&
this->in_.dbl == this->out_->dbl &&
this->in_.dbl == this->ret_->dbl &&
- (!ACE_OS::strcmp (this->in_.dummy1, this->inout_->dummy1)) &&
- (!ACE_OS::strcmp (this->in_.dummy1, this->out_->dummy1)) &&
- (!ACE_OS::strcmp (this->in_.dummy1, this->ret_->dummy1)) &&
+ (!ACE_OS::strcmp (this->in_.dummy1.in(), this->inout_->dummy1.in())) &&
+ (!ACE_OS::strcmp (this->in_.dummy1.in(), this->out_->dummy1.in())) &&
+ (!ACE_OS::strcmp (this->in_.dummy1.in(), this->ret_->dummy1.in())) &&
this->in_.boole == this->inout_->boole &&
this->in_.boole == this->out_->boole &&
this->in_.boole == this->ret_->boole &&
- (!ACE_OS::strcmp (this->in_.dummy2, this->inout_->dummy2)) &&
- (!ACE_OS::strcmp (this->in_.dummy2, this->out_->dummy2)) &&
- (!ACE_OS::strcmp (this->in_.dummy2, this->ret_->dummy2)) &&
+ (!ACE_OS::strcmp (this->in_.dummy2.in(), this->inout_->dummy2.in())) &&
+ (!ACE_OS::strcmp (this->in_.dummy2.in(), this->out_->dummy2.in())) &&
+ (!ACE_OS::strcmp (this->in_.dummy2.in(), this->ret_->dummy2.in())) &&
this->in_.shrt == this->inout_->shrt &&
this->in_.shrt == this->out_->shrt &&
this->in_.shrt == this->ret_->shrt &&
@@ -186,9 +186,9 @@ Test_Var_Struct::check_validity (void)
// lengths are same. Now compare the contents
for (CORBA::ULong i=0; i < this->in_.seq.length () && flag; i++)
{
- if (ACE_OS::strcmp (this->in_.seq[i], this->inout_->seq[i]) ||
- ACE_OS::strcmp (this->in_.seq[i], this->out_->seq[i]) ||
- ACE_OS::strcmp (this->in_.seq[i], this->ret_->seq[i]))
+ if (ACE_OS::strcmp (this->in_.seq[i].in(), this->inout_->seq[i].in()) ||
+ ACE_OS::strcmp (this->in_.seq[i].in(), this->out_->seq[i].in()) ||
+ ACE_OS::strcmp (this->in_.seq[i].in(), this->ret_->seq[i].in()))
// not equal
flag = 0;
}