diff options
Diffstat (limited to 'TAO/tests')
-rw-r--r-- | TAO/tests/Param_Test/bd_long_seq.cpp | 16 | ||||
-rw-r--r-- | TAO/tests/Param_Test/bd_short_seq.cpp | 12 | ||||
-rw-r--r-- | TAO/tests/Param_Test/ub_long_seq.cpp | 16 | ||||
-rw-r--r-- | TAO/tests/Param_Test/ub_short_seq.cpp | 16 |
4 files changed, 30 insertions, 30 deletions
diff --git a/TAO/tests/Param_Test/bd_long_seq.cpp b/TAO/tests/Param_Test/bd_long_seq.cpp index b589a4799f0..5c2d43b4cf5 100644 --- a/TAO/tests/Param_Test/bd_long_seq.cpp +++ b/TAO/tests/Param_Test/bd_long_seq.cpp @@ -179,9 +179,9 @@ Test_Bounded_Long_Sequence::print_values (void) { ACE_DEBUG ((LM_DEBUG, "Element #%d\n" - "in : %s\n", + "in : %d\n", i, - this->in_[i]? (const char *)this->in_[i]:"<nul>")); + this->in_[i])); } if (!this->in_.ptr ()) ACE_DEBUG ((LM_DEBUG, "\nin sequence is NUL\n")); @@ -190,9 +190,9 @@ Test_Bounded_Long_Sequence::print_values (void) { ACE_DEBUG ((LM_DEBUG, "Element #%d\n" - "in : %s\n", + "in : %d\n", i, - (this->inout_[i]? (const char *)this->inout_[i]:"<nul>"))); + this->inout_[i])); } if (!this->inout_.ptr ()) ACE_DEBUG ((LM_DEBUG, "\ninout sequence is NUL\n")); @@ -201,9 +201,9 @@ Test_Bounded_Long_Sequence::print_values (void) { ACE_DEBUG ((LM_DEBUG, "Element #%d\n" - "in : %s\n", + "in : %d\n", i, - (this->out_[i]? (const char *)this->out_[i]:"<nul>"))); + this->out_[i])); } if (!this->out_.ptr ()) ACE_DEBUG ((LM_DEBUG, "\nout sequence is NUL\n")); @@ -212,9 +212,9 @@ Test_Bounded_Long_Sequence::print_values (void) { ACE_DEBUG ((LM_DEBUG, "Element #%d\n" - "in : %s\n", + "in : %d\n", i, - (this->ret_[i]? (const char *)this->ret_[i]:"<nul>"))); + this->ret_[i])); } if (!this->ret_.ptr ()) ACE_DEBUG ((LM_DEBUG, "\nin sequence is NUL\n")); diff --git a/TAO/tests/Param_Test/bd_short_seq.cpp b/TAO/tests/Param_Test/bd_short_seq.cpp index bde53b72a2b..8d585809a4a 100644 --- a/TAO/tests/Param_Test/bd_short_seq.cpp +++ b/TAO/tests/Param_Test/bd_short_seq.cpp @@ -181,9 +181,9 @@ Test_Bounded_Short_Sequence::print_values (void) { ACE_DEBUG ((LM_DEBUG, "Element #%d\n" - "in : %s\n", + "in : %d\n", i, - this->in_[i]? (const char *)this->in_[i]:"<nul>")); + this->in_[i])); } if (!this->in_.ptr ()) ACE_DEBUG ((LM_DEBUG, "\nin sequence is NUL\n")); @@ -192,9 +192,9 @@ Test_Bounded_Short_Sequence::print_values (void) { ACE_DEBUG ((LM_DEBUG, "Element #%d\n" - "in : %s\n", + "in : %d\n", i, - (this->inout_[i]? (const char *)this->inout_[i]:"<nul>"))); + this->inout_[i])); } if (!this->inout_.ptr ()) ACE_DEBUG ((LM_DEBUG, "\ninout sequence is NUL\n")); @@ -205,7 +205,7 @@ Test_Bounded_Short_Sequence::print_values (void) "Element #%d\n" "in : %s\n", i, - (this->out_[i]? (const char *)this->out_[i]:"<nul>"))); + this->out_[i])); } if (!this->out_.ptr ()) ACE_DEBUG ((LM_DEBUG, "\nout sequence is NUL\n")); @@ -216,7 +216,7 @@ Test_Bounded_Short_Sequence::print_values (void) "Element #%d\n" "in : %s\n", i, - (this->ret_[i]? (const char *)this->ret_[i]:"<nul>"))); + this->ret_[i])); } if (!this->ret_.ptr ()) ACE_DEBUG ((LM_DEBUG, "\nin sequence is NUL\n")); diff --git a/TAO/tests/Param_Test/ub_long_seq.cpp b/TAO/tests/Param_Test/ub_long_seq.cpp index 01ac31fc98b..87b7211e33c 100644 --- a/TAO/tests/Param_Test/ub_long_seq.cpp +++ b/TAO/tests/Param_Test/ub_long_seq.cpp @@ -169,9 +169,9 @@ Test_Long_Sequence::print_values (void) { ACE_DEBUG ((LM_DEBUG, "Element #%d\n" - "in : %s\n", + "in : %d\n", i, - this->in_[i]? (const char *)this->in_[i]:"<nul>")); + this->in_[i])); } if (!this->in_.ptr ()) ACE_DEBUG ((LM_DEBUG, "\nin sequence is NUL\n")); @@ -180,9 +180,9 @@ Test_Long_Sequence::print_values (void) { ACE_DEBUG ((LM_DEBUG, "Element #%d\n" - "in : %s\n", + "in : %d\n", i, - (this->inout_[i]? (const char *)this->inout_[i]:"<nul>"))); + this->inout_[i])); } if (!this->inout_.ptr ()) ACE_DEBUG ((LM_DEBUG, "\ninout sequence is NUL\n")); @@ -191,9 +191,9 @@ Test_Long_Sequence::print_values (void) { ACE_DEBUG ((LM_DEBUG, "Element #%d\n" - "in : %s\n", + "in : %d\n", i, - (this->out_[i]? (const char *)this->out_[i]:"<nul>"))); + this->out_[i])); } if (!this->out_.ptr ()) ACE_DEBUG ((LM_DEBUG, "\nout sequence is NUL\n")); @@ -202,9 +202,9 @@ Test_Long_Sequence::print_values (void) { ACE_DEBUG ((LM_DEBUG, "Element #%d\n" - "in : %s\n", + "in : %d\n", i, - (this->ret_[i]? (const char *)this->ret_[i]:"<nul>"))); + this->ret_[i])); } if (!this->ret_.ptr ()) ACE_DEBUG ((LM_DEBUG, "\nin sequence is NUL\n")); diff --git a/TAO/tests/Param_Test/ub_short_seq.cpp b/TAO/tests/Param_Test/ub_short_seq.cpp index 515336bbd94..bc7d7632a8c 100644 --- a/TAO/tests/Param_Test/ub_short_seq.cpp +++ b/TAO/tests/Param_Test/ub_short_seq.cpp @@ -171,9 +171,9 @@ Test_Short_Sequence::print_values (void) { ACE_DEBUG ((LM_DEBUG, "Element #%d\n" - "in : %s\n", + "in : %d\n", i, - this->in_[i]? (const char *)this->in_[i]:"<nul>")); + this->in_[i])); } if (!this->in_.ptr ()) ACE_DEBUG ((LM_DEBUG, "\nin sequence is NUL\n")); @@ -182,9 +182,9 @@ Test_Short_Sequence::print_values (void) { ACE_DEBUG ((LM_DEBUG, "Element #%d\n" - "in : %s\n", + "in : %d\n", i, - (this->inout_[i]? (const char *)this->inout_[i]:"<nul>"))); + this->inout_[i])); } if (!this->inout_.ptr ()) ACE_DEBUG ((LM_DEBUG, "\ninout sequence is NUL\n")); @@ -193,9 +193,9 @@ Test_Short_Sequence::print_values (void) { ACE_DEBUG ((LM_DEBUG, "Element #%d\n" - "in : %s\n", + "in : %d\n", i, - (this->out_[i]? (const char *)this->out_[i]:"<nul>"))); + this->out_[i])); } if (!this->out_.ptr ()) ACE_DEBUG ((LM_DEBUG, "\nout sequence is NUL\n")); @@ -204,9 +204,9 @@ Test_Short_Sequence::print_values (void) { ACE_DEBUG ((LM_DEBUG, "Element #%d\n" - "in : %s\n", + "in : %d\n", i, - (this->ret_[i]? (const char *)this->ret_[i]:"<nul>"))); + this->ret_[i])); } if (!this->ret_.ptr ()) ACE_DEBUG ((LM_DEBUG, "\nin sequence is NUL\n")); |