summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgiovannd <giovannd@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-12-13 15:31:13 +0000
committergiovannd <giovannd@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-12-13 15:31:13 +0000
commit9d88025ef1adaae2d5cf6ac2bd80ade3fba64a75 (patch)
tree0cdce1460fb40211aad7384a68531617329a64dd
parent7f63da26881d49fb1cde0bb16aa935a64424b0b1 (diff)
downloadATCD-9d88025ef1adaae2d5cf6ac2bd80ade3fba64a75.tar.gz
*** empty log message ***
-rw-r--r--TAO/orbsvcs/tests/Event/Mcast/Simple/consumer.cpp1
-rw-r--r--TAO/orbsvcs/tests/Event/Mcast/Simple/gateway-ec.cpp3
-rw-r--r--TAO/orbsvcs/tests/Event/Mcast/Simple/supplier.cpp1
-rw-r--r--TAO/orbsvcs/tests/FtRtEvent/consumer.cpp6
-rw-r--r--TAO/orbsvcs/tests/FtRtEvent/supplier.cpp4
-rw-r--r--TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.cpp4
-rw-r--r--TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.h4
-rw-r--r--TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.cpp4
-rw-r--r--TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.h2
-rw-r--r--TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/main.cpp1
-rw-r--r--TAO/orbsvcs/tests/Notify/performance-tests/Throughput/Throughput.cpp2
-rw-r--r--TAO/orbsvcs/tests/Notify/performance-tests/Throughput/Throughput.h2
12 files changed, 19 insertions, 15 deletions
diff --git a/TAO/orbsvcs/tests/Event/Mcast/Simple/consumer.cpp b/TAO/orbsvcs/tests/Event/Mcast/Simple/consumer.cpp
index 1876d3e0643..81596b248fc 100644
--- a/TAO/orbsvcs/tests/Event/Mcast/Simple/consumer.cpp
+++ b/TAO/orbsvcs/tests/Event/Mcast/Simple/consumer.cpp
@@ -5,6 +5,7 @@
#include "orbsvcs/Event_Utilities.h"
#include "orbsvcs/RtecEventChannelAdminC.h"
#include "orbsvcs/RtecEventCommS.h"
+#include "ace/Argv_Type_Converter.h"
class EC_Consumer:
public POA_RtecEventComm::PushConsumer
diff --git a/TAO/orbsvcs/tests/Event/Mcast/Simple/gateway-ec.cpp b/TAO/orbsvcs/tests/Event/Mcast/Simple/gateway-ec.cpp
index 08071c8fca4..d89047ce037 100644
--- a/TAO/orbsvcs/tests/Event/Mcast/Simple/gateway-ec.cpp
+++ b/TAO/orbsvcs/tests/Event/Mcast/Simple/gateway-ec.cpp
@@ -1,6 +1,7 @@
// $Id$
#include "Gateway_EC.h"
+#include "ace/Argv_Type_Converter.h"
int
ACE_TMAIN (int argc, ACE_TCHAR ** argv)
@@ -9,7 +10,7 @@ ACE_TMAIN (int argc, ACE_TCHAR ** argv)
Gateway_EC test;
- if (test.run (argc, argv) == -1)
+ if (test.run (convert.get_argc(), convert.get_ASCII_argv()) == -1)
return 1;
return 0;
diff --git a/TAO/orbsvcs/tests/Event/Mcast/Simple/supplier.cpp b/TAO/orbsvcs/tests/Event/Mcast/Simple/supplier.cpp
index 65c779140f2..a22424715e1 100644
--- a/TAO/orbsvcs/tests/Event/Mcast/Simple/supplier.cpp
+++ b/TAO/orbsvcs/tests/Event/Mcast/Simple/supplier.cpp
@@ -5,6 +5,7 @@
#include "orbsvcs/RtecEventCommC.h"
#include "orbsvcs/RtecEventChannelAdminC.h"
#include "ace/Log_Msg.h"
+#include "ace/Argv_Type_Converter.h"
void
send_events (RtecEventChannelAdmin::ProxyPushConsumer_ptr consumer
diff --git a/TAO/orbsvcs/tests/FtRtEvent/consumer.cpp b/TAO/orbsvcs/tests/FtRtEvent/consumer.cpp
index b8b2ecccaba..3b86e717032 100644
--- a/TAO/orbsvcs/tests/FtRtEvent/consumer.cpp
+++ b/TAO/orbsvcs/tests/FtRtEvent/consumer.cpp
@@ -24,10 +24,10 @@ CORBA::ORB_var orb;
auto_ptr<TAO_FTRTEC::FTEC_Gateway> gateway;
RtecEventChannelAdmin::EventChannel_ptr
-get_event_channel(int argc, ACE_TCHAR** argv ACE_ENV_ARG_DECL)
+get_event_channel(int argc, char** argv ACE_ENV_ARG_DECL)
{
FtRtecEventChannelAdmin::EventChannel_var channel;
- ACE_Get_Arg_Opt<char> get_opt (argc, argv, ACE_TEXT("hi:n"));
+ ACE_Get_Arg_Opt<char> get_opt (argc, argv, "hi:n");
int opt;
int use_gateway = 1;
@@ -97,7 +97,7 @@ int ACE_TMAIN(int argc, ACE_TCHAR** argv)
ACE_TRY_CHECK;
RtecEventChannelAdmin::EventChannel_var channel
- = get_event_channel(argc, argv ACE_ENV_ARG_PARAMETER);
+ = get_event_channel(convert.get_argc(), convert.get_ASCII_argv() ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
diff --git a/TAO/orbsvcs/tests/FtRtEvent/supplier.cpp b/TAO/orbsvcs/tests/FtRtEvent/supplier.cpp
index f82c5a2b8fa..229e2350a3f 100644
--- a/TAO/orbsvcs/tests/FtRtEvent/supplier.cpp
+++ b/TAO/orbsvcs/tests/FtRtEvent/supplier.cpp
@@ -23,7 +23,7 @@ CORBA::ORB_var orb;
auto_ptr<TAO_FTRTEC::FTEC_Gateway> gateway;
RtecEventChannelAdmin::EventChannel_ptr
-get_event_channel(int argc, ACE_TCHAR** argv ACE_ENV_ARG_DECL)
+get_event_channel(int argc, char** argv ACE_ENV_ARG_DECL)
{
FtRtecEventChannelAdmin::EventChannel_var channel;
ACE_Get_Arg_Opt<char> get_opt (argc, argv, "hi:nt:?");
@@ -105,7 +105,7 @@ int ACE_TMAIN(int argc, ACE_TCHAR** argv)
RtecEventChannelAdmin::EventChannel_var channel
- = get_event_channel(argc, argv ACE_ENV_ARG_PARAMETER);
+ = get_event_channel(convert.get_argc(), convert.get_ASCII_argv() ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
diff --git a/TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.cpp b/TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.cpp
index a1348b3d0b6..f4396d74662 100644
--- a/TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.cpp
+++ b/TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.cpp
@@ -20,13 +20,13 @@ TAO_Notify_Tests_RT_POA_Command::~TAO_Notify_Tests_RT_POA_Command ()
{
}
-const char*
+const ACE_TCHAR*
TAO_Notify_Tests_RT_POA_Command::get_name (void)
{
return TAO_Notify_Tests_RT_POA_Command::name ();
}
-const char*
+const ACE_TCHAR*
TAO_Notify_Tests_RT_POA_Command::name (void)
{
return TAO_Notify_Tests_Name::poa_command;
diff --git a/TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.h b/TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.h
index d819fa2087c..63b8625eb44 100644
--- a/TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.h
+++ b/TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.h
@@ -48,8 +48,8 @@ public:
virtual void execute_i (ACE_ENV_SINGLE_ARG_DECL);
/// Get the command name.
- virtual const char* get_name (void);
- static const char* name (void);
+ virtual const ACE_TCHAR* get_name (void);
+ static const ACE_TCHAR* name (void);
protected:
/// Create the POA with the params parsed.
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 21e600ff250..c6228a6c1a2 100644
--- a/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.cpp
+++ b/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.cpp
@@ -84,7 +84,7 @@ RedGreen_Test::~RedGreen_Test ()
void
RedGreen_Test::init (int argc,
- ACE_TCHAR *argv[]
+ char *argv[]
ACE_ENV_ARG_DECL)
{
this->init_ORB (argc,
@@ -150,7 +150,7 @@ RedGreen_Test::init_ORB (int argc,
char *argv[]
ACE_ENV_ARG_DECL)
{
- this->orb_ = CORBA::ORB_init (convert.get_argc(), convert.get_ASCII_argv(),
+ this->orb_ = CORBA::ORB_init (argc, argv,
""
ACE_ENV_ARG_PARAMETER);
ACE_CHECK;
diff --git a/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.h b/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.h
index cccaba98a8a..a5541fef2e2 100644
--- a/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.h
+++ b/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.h
@@ -76,7 +76,7 @@ class RedGreen_Test
void dump_results (void);
void init (int argc,
- ACE_TCHAR *argv[]
+ char *argv[]
ACE_ENV_ARG_DECL);
// Initialize the Client.
diff --git a/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/main.cpp b/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/main.cpp
index 447ee2e193e..2a8b628db00 100644
--- a/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/main.cpp
+++ b/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/main.cpp
@@ -2,6 +2,7 @@
// $Id$
#include "RedGreen_Test.h"
+#include "ace/Argv_Type_Converter.h"
int
ACE_TMAIN (int argc, ACE_TCHAR *argv[])
diff --git a/TAO/orbsvcs/tests/Notify/performance-tests/Throughput/Throughput.cpp b/TAO/orbsvcs/tests/Notify/performance-tests/Throughput/Throughput.cpp
index 82418f6cc57..9d3b137620d 100644
--- a/TAO/orbsvcs/tests/Notify/performance-tests/Throughput/Throughput.cpp
+++ b/TAO/orbsvcs/tests/Notify/performance-tests/Throughput/Throughput.cpp
@@ -335,7 +335,7 @@ Notify_Throughput::parse_args(int argc, char *argv[])
{
ACE_TArg_Shifter< char > arg_shifter (argc, argv);
- const ACE_TCHAR* current_arg = 0;
+ const char* current_arg = 0;
while (arg_shifter.is_anything_left ())
{
if (arg_shifter.cur_arg_strncasecmp ("-collocated_ec") == 0)
diff --git a/TAO/orbsvcs/tests/Notify/performance-tests/Throughput/Throughput.h b/TAO/orbsvcs/tests/Notify/performance-tests/Throughput/Throughput.h
index 4feae0b87d2..a22ed8b7a2b 100644
--- a/TAO/orbsvcs/tests/Notify/performance-tests/Throughput/Throughput.h
+++ b/TAO/orbsvcs/tests/Notify/performance-tests/Throughput/Throughput.h
@@ -141,7 +141,7 @@ public:
int parse_args(int argc, char *argv[]) ;
- int init (int argc, ACE_TCHAR *argv[] ACE_ENV_ARG_DECL);
+ int init (int argc, char *argv[] ACE_ENV_ARG_DECL);
// initialization.
void run_test (ACE_ENV_SINGLE_ARG_DECL);