summaryrefslogtreecommitdiff
path: root/TAO/tests/Param_Test
diff options
context:
space:
mode:
authorAbdullah Sowayan <sowayan@users.noreply.github.com>2007-06-29 01:34:03 +0000
committerAbdullah Sowayan <sowayan@users.noreply.github.com>2007-06-29 01:34:03 +0000
commitc5982b67ad295b131f6a3018321736241a17ef4f (patch)
tree04307a926b4d15576ea15d2e86d98e49e0eeb468 /TAO/tests/Param_Test
parent893ef20831727d7e4b35ca5b07d1baffeada3c70 (diff)
downloadATCD-c5982b67ad295b131f6a3018321736241a17ef4f.tar.gz
Fri Jun 29 01:27:22 UTC 2007 Abdullah Sowayan <abdullah.sowayan@lmco.com>
Diffstat (limited to 'TAO/tests/Param_Test')
-rw-r--r--TAO/tests/Param_Test/helper.cpp4
-rw-r--r--TAO/tests/Param_Test/results.cpp3
-rw-r--r--TAO/tests/Param_Test/ub_struct_seq.cpp2
-rw-r--r--TAO/tests/Param_Test/var_array.cpp2
4 files changed, 7 insertions, 4 deletions
diff --git a/TAO/tests/Param_Test/helper.cpp b/TAO/tests/Param_Test/helper.cpp
index 3018a60ed1f..260879b6ce4 100644
--- a/TAO/tests/Param_Test/helper.cpp
+++ b/TAO/tests/Param_Test/helper.cpp
@@ -18,7 +18,7 @@
// ============================================================================
#include "helper.h"
-#include "ace/os_include/os_ctype.h"
+#include "ace/OS_NS_ctype.h"
const CORBA::ULong TEST_BUFSIZE = 128;
@@ -62,7 +62,7 @@ Generator::gen_string (int max_length)
while (i < len)
{
int c = ACE_OS::rand () % 128;
- if (isprint (c) && !isspace (c))
+ if (ACE_OS::ace_isprint (c) && !ACE_OS::ace_isspace (c))
{
buf [i] = c;
i++;
diff --git a/TAO/tests/Param_Test/results.cpp b/TAO/tests/Param_Test/results.cpp
index 29299e2945e..a575b1c0bac 100644
--- a/TAO/tests/Param_Test/results.cpp
+++ b/TAO/tests/Param_Test/results.cpp
@@ -46,9 +46,12 @@ Results::print_stats (void)
if (TAO_debug_level > 0 && this->error_count_ == 0)
{
+ //FUZZ: disable check_for_lack_ACE_OS
ACE_DEBUG ((LM_DEBUG,
"Iteration\tReal time (msec)\tUser time (msec)"
"\tSystem time (msec)\n\n"));
+ //FUZZ: enable check_for_lack_ACE_OS
+
for (i = 0; i < this->call_count_; i++)
{
this->elapsed_time_[i].real_time *= ACE_ONE_SECOND_IN_MSECS;
diff --git a/TAO/tests/Param_Test/ub_struct_seq.cpp b/TAO/tests/Param_Test/ub_struct_seq.cpp
index fbe85b62655..633862bf044 100644
--- a/TAO/tests/Param_Test/ub_struct_seq.cpp
+++ b/TAO/tests/Param_Test/ub_struct_seq.cpp
@@ -368,7 +368,7 @@ Test_Unbounded_Struct_Sequence::compare (const Param_Test::PathSpec &s1,
const Param_Test::Step& vs2 = s2[i];
if (ACE_OS::strcmp (vs1.name.id.in (), vs2.name.id.in ())
- || ACE_OS:: strcmp (vs1.name.kind.in (), vs2.name.kind.in ())
+ || ACE_OS::strcmp (vs1.name.kind.in (), vs2.name.kind.in ())
|| vs1.process != vs2.process)
return 0;
}
diff --git a/TAO/tests/Param_Test/var_array.cpp b/TAO/tests/Param_Test/var_array.cpp
index 96d64aa76c9..01ba3ae9af5 100644
--- a/TAO/tests/Param_Test/var_array.cpp
+++ b/TAO/tests/Param_Test/var_array.cpp
@@ -142,7 +142,7 @@ Test_Var_Array::compare (const Param_Test::Var_Array_slice *a1,
{
for (CORBA::ULong i=0; i < Param_Test::DIM2; i++)
{
- if (strcmp (a1[i].in (), a2[i].in ()))
+ if (ACE_OS::strcmp (a1[i].in (), a2[i].in ()))
return 0;
}
return 1; // success