summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests')
-rw-r--r--TAO/orbsvcs/tests/CosEvent/Basic/Random.cpp8
-rw-r--r--TAO/orbsvcs/tests/Event/Basic/BCast.cpp2
-rw-r--r--TAO/orbsvcs/tests/Event/Basic/Observer.cpp2
-rw-r--r--TAO/orbsvcs/tests/Event/Basic/Random.cpp8
-rw-r--r--TAO/orbsvcs/tests/Event/Performance/Connect.cpp4
-rw-r--r--TAO/orbsvcs/tests/Event/Performance/Inversion.cpp2
-rw-r--r--TAO/orbsvcs/tests/Event/lib/Driver.cpp2
-rw-r--r--TAO/orbsvcs/tests/Notify/Basic/AdminProperties_Test.cpp2
-rw-r--r--TAO/orbsvcs/tests/Notify/Basic/ConnectDisconnect.cpp2
-rw-r--r--TAO/orbsvcs/tests/Notify/Basic/Events_Test.cpp2
-rw-r--r--TAO/orbsvcs/tests/Notify/Basic/IdAssignment.cpp2
-rw-r--r--TAO/orbsvcs/tests/Notify/Basic/LifeCycleTest.cpp2
-rw-r--r--TAO/orbsvcs/tests/Notify/Basic/Simple.cpp2
-rw-r--r--TAO/orbsvcs/tests/Notify/Basic/Updates.cpp2
-rw-r--r--TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.cpp2
-rw-r--r--TAO/orbsvcs/tests/Notify/performance-tests/Throughput/Throughput.cpp2
-rw-r--r--TAO/orbsvcs/tests/Trading/TT_Info.cpp4
17 files changed, 25 insertions, 25 deletions
diff --git a/TAO/orbsvcs/tests/CosEvent/Basic/Random.cpp b/TAO/orbsvcs/tests/CosEvent/Basic/Random.cpp
index 661e634b344..eded9b188bf 100644
--- a/TAO/orbsvcs/tests/CosEvent/Basic/Random.cpp
+++ b/TAO/orbsvcs/tests/CosEvent/Basic/Random.cpp
@@ -55,7 +55,7 @@ RND_Driver::run (int argc, char *argv[])
while (arg_shifter.is_anything_left ())
{
- char *arg = arg_shifter.get_current ();
+ const char *arg = arg_shifter.get_current ();
if (ACE_OS::strcasecmp (arg, "-suppliers") == 0)
{
@@ -63,7 +63,7 @@ RND_Driver::run (int argc, char *argv[])
if (arg_shifter.is_parameter_next ())
{
- char* opt = arg_shifter.get_current ();
+ const char* opt = arg_shifter.get_current ();
int n = ACE_OS::atoi (opt);
if (n >= 1)
this->nsuppliers_ = n;
@@ -76,7 +76,7 @@ RND_Driver::run (int argc, char *argv[])
if (arg_shifter.is_parameter_next ())
{
- char* opt = arg_shifter.get_current ();
+ const char* opt = arg_shifter.get_current ();
int n = ACE_OS::atoi (opt);
if (n >= 1)
this->nconsumers_ = n;
@@ -89,7 +89,7 @@ RND_Driver::run (int argc, char *argv[])
if (arg_shifter.is_parameter_next ())
{
- char* opt = arg_shifter.get_current ();
+ const char* opt = arg_shifter.get_current ();
int n = ACE_OS::atoi (opt);
if (n >= 0)
this->max_recursion_ = n;
diff --git a/TAO/orbsvcs/tests/Event/Basic/BCast.cpp b/TAO/orbsvcs/tests/Event/Basic/BCast.cpp
index 7d922724794..8d723e09ebe 100644
--- a/TAO/orbsvcs/tests/Event/Basic/BCast.cpp
+++ b/TAO/orbsvcs/tests/Event/Basic/BCast.cpp
@@ -35,7 +35,7 @@ EC_BCast::parse_args (int& argc, char* argv[])
while (arg_shifter.is_anything_left ())
{
- char *arg = arg_shifter.get_current ();
+ const char *arg = arg_shifter.get_current ();
if (ACE_OS::strcmp (arg, "-port") == 0)
{
diff --git a/TAO/orbsvcs/tests/Event/Basic/Observer.cpp b/TAO/orbsvcs/tests/Event/Basic/Observer.cpp
index 5e8dc9b7e37..3a53241333a 100644
--- a/TAO/orbsvcs/tests/Event/Basic/Observer.cpp
+++ b/TAO/orbsvcs/tests/Event/Basic/Observer.cpp
@@ -196,7 +196,7 @@ EC_Master::parse_args (int &argc, char *argv [])
while (arg_shifter.is_anything_left ())
{
- char *arg = arg_shifter.get_current ();
+ const char *arg = arg_shifter.get_current ();
if (ACE_OS::strcmp (arg, "-channels") == 0)
{
diff --git a/TAO/orbsvcs/tests/Event/Basic/Random.cpp b/TAO/orbsvcs/tests/Event/Basic/Random.cpp
index e62436746f8..942b3a23fc6 100644
--- a/TAO/orbsvcs/tests/Event/Basic/Random.cpp
+++ b/TAO/orbsvcs/tests/Event/Basic/Random.cpp
@@ -62,7 +62,7 @@ RND_Driver::run (int argc, char *argv[])
while (arg_shifter.is_anything_left ())
{
- char *arg = arg_shifter.get_current ();
+ const char *arg = arg_shifter.get_current ();
if (ACE_OS::strcasecmp (arg, "-suppliers") == 0)
{
@@ -70,7 +70,7 @@ RND_Driver::run (int argc, char *argv[])
if (arg_shifter.is_parameter_next ())
{
- char* opt = arg_shifter.get_current ();
+ const char* opt = arg_shifter.get_current ();
int n = ACE_OS::atoi (opt);
if (n >= 1)
this->nsuppliers_ = n;
@@ -83,7 +83,7 @@ RND_Driver::run (int argc, char *argv[])
if (arg_shifter.is_parameter_next ())
{
- char* opt = arg_shifter.get_current ();
+ const char* opt = arg_shifter.get_current ();
int n = ACE_OS::atoi (opt);
if (n >= 1)
this->nconsumers_ = n;
@@ -96,7 +96,7 @@ RND_Driver::run (int argc, char *argv[])
if (arg_shifter.is_parameter_next ())
{
- char* opt = arg_shifter.get_current ();
+ const char* opt = arg_shifter.get_current ();
int n = ACE_OS::atoi (opt);
if (n >= 0)
this->max_recursion_ = n;
diff --git a/TAO/orbsvcs/tests/Event/Performance/Connect.cpp b/TAO/orbsvcs/tests/Event/Performance/Connect.cpp
index d9cba9424f4..351dcdbc917 100644
--- a/TAO/orbsvcs/tests/Event/Performance/Connect.cpp
+++ b/TAO/orbsvcs/tests/Event/Performance/Connect.cpp
@@ -39,7 +39,7 @@ EC_Connect::parse_args (int& argc, char* argv[])
while (arg_shifter.is_anything_left ())
{
- char *arg = arg_shifter.get_current ();
+ const char *arg = arg_shifter.get_current ();
if (ACE_OS::strcmp (arg, "-connection_order") == 0)
{
@@ -47,7 +47,7 @@ EC_Connect::parse_args (int& argc, char* argv[])
if (arg_shifter.is_parameter_next ())
{
- char* opt = arg_shifter.get_current ();
+ const char* opt = arg_shifter.get_current ();
if (ACE_OS::strcasecmp (opt, "consumers") == 0)
this->order_ = 0;
else if (ACE_OS::strcasecmp (opt, "suppliers") == 0)
diff --git a/TAO/orbsvcs/tests/Event/Performance/Inversion.cpp b/TAO/orbsvcs/tests/Event/Performance/Inversion.cpp
index d43a17b0895..cb9d8629241 100644
--- a/TAO/orbsvcs/tests/Event/Performance/Inversion.cpp
+++ b/TAO/orbsvcs/tests/Event/Performance/Inversion.cpp
@@ -31,7 +31,7 @@ EC_Inversion::parse_args (int &argc, char *argv [])
while (arg_shifter.is_anything_left ())
{
- char *arg = arg_shifter.get_current ();
+ const char *arg = arg_shifter.get_current ();
if (ACE_OS::strcmp (arg, "-same_events") == 0)
{
diff --git a/TAO/orbsvcs/tests/Event/lib/Driver.cpp b/TAO/orbsvcs/tests/Event/lib/Driver.cpp
index d68381cc654..06644290629 100644
--- a/TAO/orbsvcs/tests/Event/lib/Driver.cpp
+++ b/TAO/orbsvcs/tests/Event/lib/Driver.cpp
@@ -816,7 +816,7 @@ EC_Driver::parse_args (int &argc, char *argv [])
while (arg_shifter.is_anything_left ())
{
- char *arg = arg_shifter.get_current ();
+ const char *arg = arg_shifter.get_current ();
if (ACE_OS::strcmp (arg, "-verbose") == 0)
{
diff --git a/TAO/orbsvcs/tests/Notify/Basic/AdminProperties_Test.cpp b/TAO/orbsvcs/tests/Notify/Basic/AdminProperties_Test.cpp
index 6ec52be8691..2c9446e889d 100644
--- a/TAO/orbsvcs/tests/Notify/Basic/AdminProperties_Test.cpp
+++ b/TAO/orbsvcs/tests/Notify/Basic/AdminProperties_Test.cpp
@@ -26,7 +26,7 @@ AdminProperties_Test::parse_args(int argc, char *argv[])
{
ACE_Arg_Shifter arg_shifter (argc, argv);
- char *current_arg = 0;
+ const char *current_arg = 0;
while (arg_shifter.is_anything_left ())
{
if ((current_arg = arg_shifter.get_the_parameter ("-max_queue_length")))
diff --git a/TAO/orbsvcs/tests/Notify/Basic/ConnectDisconnect.cpp b/TAO/orbsvcs/tests/Notify/Basic/ConnectDisconnect.cpp
index 5205383b411..d2dbf62a7db 100644
--- a/TAO/orbsvcs/tests/Notify/Basic/ConnectDisconnect.cpp
+++ b/TAO/orbsvcs/tests/Notify/Basic/ConnectDisconnect.cpp
@@ -115,7 +115,7 @@ ConnectDisconnect::parse_args(int argc, char *argv[])
{
ACE_Arg_Shifter arg_shifter (argc, argv);
- char *current_arg = 0;
+ const char *current_arg = 0;
while (arg_shifter.is_anything_left ())
{
if ((current_arg = arg_shifter.get_the_parameter ("-count")))
diff --git a/TAO/orbsvcs/tests/Notify/Basic/Events_Test.cpp b/TAO/orbsvcs/tests/Notify/Basic/Events_Test.cpp
index 4382caa1a48..09c7187dc62 100644
--- a/TAO/orbsvcs/tests/Notify/Basic/Events_Test.cpp
+++ b/TAO/orbsvcs/tests/Notify/Basic/Events_Test.cpp
@@ -112,7 +112,7 @@ Events_Test::parse_args(int argc, char *argv[])
{
ACE_Arg_Shifter arg_shifter (argc, argv);
- char *current_arg = 0;
+ const char *current_arg = 0;
while (arg_shifter.is_anything_left ())
{
if ((current_arg = arg_shifter.get_the_parameter ("-events")))
diff --git a/TAO/orbsvcs/tests/Notify/Basic/IdAssignment.cpp b/TAO/orbsvcs/tests/Notify/Basic/IdAssignment.cpp
index 20169c5fd08..930b704b64a 100644
--- a/TAO/orbsvcs/tests/Notify/Basic/IdAssignment.cpp
+++ b/TAO/orbsvcs/tests/Notify/Basic/IdAssignment.cpp
@@ -25,7 +25,7 @@ IdAssignment::parse_args(int argc, char *argv[])
{
ACE_Arg_Shifter arg_shifter (argc, argv);
- char *current_arg = 0;
+ const char *current_arg = 0;
while (arg_shifter.is_anything_left ())
{
if ((current_arg = arg_shifter.get_the_parameter ("-iter")))
diff --git a/TAO/orbsvcs/tests/Notify/Basic/LifeCycleTest.cpp b/TAO/orbsvcs/tests/Notify/Basic/LifeCycleTest.cpp
index ecfa0aa81d6..48926181bba 100644
--- a/TAO/orbsvcs/tests/Notify/Basic/LifeCycleTest.cpp
+++ b/TAO/orbsvcs/tests/Notify/Basic/LifeCycleTest.cpp
@@ -24,7 +24,7 @@ LifeCycleTest::parse_args(int argc, char *argv[])
{
ACE_Arg_Shifter arg_shifter (argc, argv);
- char *current_arg = 0;
+ const char *current_arg = 0;
while (arg_shifter.is_anything_left ())
{
if ((current_arg = arg_shifter.get_the_parameter ("-count")))
diff --git a/TAO/orbsvcs/tests/Notify/Basic/Simple.cpp b/TAO/orbsvcs/tests/Notify/Basic/Simple.cpp
index 6e5a3cccc79..bc5a9d903ea 100644
--- a/TAO/orbsvcs/tests/Notify/Basic/Simple.cpp
+++ b/TAO/orbsvcs/tests/Notify/Basic/Simple.cpp
@@ -112,7 +112,7 @@ Simple_Test::parse_args(int argc, char *argv[])
{
ACE_Arg_Shifter arg_shifter (argc, argv);
- char *current_arg = 0;
+ const char *current_arg = 0;
while (arg_shifter.is_anything_left ())
{
if ((current_arg = arg_shifter.get_the_parameter ("-events")))
diff --git a/TAO/orbsvcs/tests/Notify/Basic/Updates.cpp b/TAO/orbsvcs/tests/Notify/Basic/Updates.cpp
index c0531942005..f375cbc5464 100644
--- a/TAO/orbsvcs/tests/Notify/Basic/Updates.cpp
+++ b/TAO/orbsvcs/tests/Notify/Basic/Updates.cpp
@@ -131,7 +131,7 @@ Updates::parse_args(int argc, char *argv[])
{
ACE_Arg_Shifter arg_shifter (argc, argv);
- char *current_arg = 0;
+ const char *current_arg = 0;
while (arg_shifter.is_anything_left ())
{
if ((current_arg = arg_shifter.get_the_parameter ("-updates")))
diff --git a/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.cpp b/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.cpp
index 9639e2df92e..4407eed9915 100644
--- a/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.cpp
+++ b/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.cpp
@@ -26,7 +26,7 @@ RedGreen_Test::parse_args(int argc, char *argv[])
{
ACE_Arg_Shifter arg_shifter (argc, argv);
- char *current_arg = 0;
+ const char *current_arg = 0;
while (arg_shifter.is_anything_left ())
{
if ((current_arg = arg_shifter.get_the_parameter ("-burst_size")))
diff --git a/TAO/orbsvcs/tests/Notify/performance-tests/Throughput/Throughput.cpp b/TAO/orbsvcs/tests/Notify/performance-tests/Throughput/Throughput.cpp
index aa9240f2cc5..42acc73fe89 100644
--- a/TAO/orbsvcs/tests/Notify/performance-tests/Throughput/Throughput.cpp
+++ b/TAO/orbsvcs/tests/Notify/performance-tests/Throughput/Throughput.cpp
@@ -283,7 +283,7 @@ Notify_Throughput::parse_args(int argc, char *argv[])
{
ACE_Arg_Shifter arg_shifter (argc, argv);
- char *current_arg = 0;
+ const char *current_arg = 0;
while (arg_shifter.is_anything_left ())
{
if (arg_shifter.cur_arg_strncasecmp ("-colocated_ec") == 0)
diff --git a/TAO/orbsvcs/tests/Trading/TT_Info.cpp b/TAO/orbsvcs/tests/Trading/TT_Info.cpp
index 5429f5dd272..06d39cb1576 100644
--- a/TAO/orbsvcs/tests/Trading/TT_Info.cpp
+++ b/TAO/orbsvcs/tests/Trading/TT_Info.cpp
@@ -274,7 +274,7 @@ TT_Parse_Args::TT_Parse_Args (int& argc, char** argv)
while (arg_shifter.is_anything_left ())
{
- char *current_arg = arg_shifter.get_current ();
+ const char *current_arg = arg_shifter.get_current ();
if (ACE_OS::strcmp (current_arg, "-f") == 0 ||
ACE_OS::strcmp (current_arg, "-federate") == 0)
@@ -296,7 +296,7 @@ TT_Parse_Args::TT_Parse_Args (int& argc, char** argv)
if (arg_shifter.is_parameter_next ())
{
- char* file_name = arg_shifter.get_current ();
+ const char* file_name = arg_shifter.get_current ();
ior_file = ACE_OS::fopen (file_name, "r");
if (ior_file == 0)