summaryrefslogtreecommitdiff
path: root/TAO
diff options
context:
space:
mode:
authorjohn_c <john_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-11-02 18:21:59 +0000
committerjohn_c <john_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-11-02 18:21:59 +0000
commit66994f6920f0dbf1771fd08eacc4b8e11d3fb3c8 (patch)
tree39743414a0c5103f08a2efee9a2ebc623396b40c /TAO
parent50d4fb453474c7f222ff8d3a305521f7d47f1c9d (diff)
downloadATCD-66994f6920f0dbf1771fd08eacc4b8e11d3fb3c8.tar.gz
More of Daves ACE_USES_WCHAR fixes
Diffstat (limited to 'TAO')
-rw-r--r--TAO/orbsvcs/tests/AVStreams/Full_Profile/server.cpp1
-rw-r--r--TAO/orbsvcs/tests/AVStreams/Latency/control.cpp1
-rw-r--r--TAO/orbsvcs/tests/BiDir_CORBALOC/TimeServer.cpp1
-rw-r--r--TAO/orbsvcs/tests/Bug_1334_Regression/client.cpp1
-rw-r--r--TAO/orbsvcs/tests/Bug_1630_Regression/testclient.cpp1
-rw-r--r--TAO/orbsvcs/tests/CosEvent/Basic/Disconnect.cpp1
-rw-r--r--TAO/orbsvcs/tests/CosEvent/Basic/MT_Disconnect.cpp1
-rw-r--r--TAO/orbsvcs/tests/CosEvent/Basic/Pull_Push_Event.cpp1
-rw-r--r--TAO/orbsvcs/tests/CosEvent/Basic/Push_Event.cpp1
-rw-r--r--TAO/orbsvcs/tests/CosEvent/Basic/Shutdown.cpp1
-rw-r--r--TAO/orbsvcs/tests/EC_MT_Mcast/Consumer.cpp1
-rw-r--r--TAO/orbsvcs/tests/EC_MT_Mcast/Supplier.cpp1
-rw-r--r--TAO/orbsvcs/tests/Event/Basic/Atomic_Reconnect.cpp1
-rw-r--r--TAO/orbsvcs/tests/Event/Basic/Bitmask.cpp1
-rw-r--r--TAO/orbsvcs/tests/Event/Basic/Complex.cpp1
-rw-r--r--TAO/orbsvcs/tests/Event/Basic/Gateway.cpp1
-rw-r--r--TAO/orbsvcs/tests/Event/Basic/Negation.cpp1
-rw-r--r--TAO/orbsvcs/tests/Event/Basic/Timeout.cpp1
-rw-r--r--TAO/orbsvcs/tests/Event/Basic/Wildcard.cpp1
-rw-r--r--TAO/orbsvcs/tests/Event/Mcast/Common/Gateway_EC.cpp2
-rw-r--r--TAO/orbsvcs/tests/Event/Mcast/Complex/gateway-ec.cpp1
-rw-r--r--TAO/orbsvcs/tests/Event/lib/Driver.cpp4
-rw-r--r--TAO/orbsvcs/tests/FT_App/FT_Client.cpp1
-rw-r--r--TAO/orbsvcs/tests/FT_App/FT_Creator.cpp1
-rwxr-xr-xTAO/orbsvcs/tests/FT_App/FT_ReplicationManagerController.cpp1
-rw-r--r--TAO/orbsvcs/tests/FaultTolerance/IOGRManipulation/IOGRTest.cpp1
-rw-r--r--TAO/orbsvcs/tests/ImplRepo/NameService/test.cpp1
-rw-r--r--TAO/orbsvcs/tests/ImplRepo/airplane_server.cpp1
-rw-r--r--TAO/orbsvcs/tests/ImplRepo/nestea_client.cpp1
-rw-r--r--TAO/orbsvcs/tests/ImplRepo/nestea_server.cpp1
-rw-r--r--TAO/orbsvcs/tests/Notify/Destroy/main.cpp1
-rw-r--r--TAO/orbsvcs/tests/Notify/lib/Notify_Test_Client.cpp2
-rw-r--r--TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.cpp3
-rw-r--r--TAO/orbsvcs/tests/Sched/DynSched_Test.cpp1
-rw-r--r--TAO/orbsvcs/tests/tests_svc_loader/tests_svc_loader.cpp1
-rw-r--r--TAO/tests/CodeSets/simple/client.cpp2
-rw-r--r--TAO/tests/Exposed_Policies/Policy_Tester.cpp10
-rw-r--r--TAO/tests/Exposed_Policies/Policy_Verifier.cpp8
38 files changed, 46 insertions, 16 deletions
diff --git a/TAO/orbsvcs/tests/AVStreams/Full_Profile/server.cpp b/TAO/orbsvcs/tests/AVStreams/Full_Profile/server.cpp
index 374aa315357..4f544812221 100644
--- a/TAO/orbsvcs/tests/AVStreams/Full_Profile/server.cpp
+++ b/TAO/orbsvcs/tests/AVStreams/Full_Profile/server.cpp
@@ -1,6 +1,7 @@
// $Id$
#include "server.h"
+#include "ace/Argv_Type_Converter.h"
FTP_Server_FlowEndPoint::FTP_Server_FlowEndPoint (void)
:TAO_FlowConsumer ("Data",FTP_SERVER::instance ()->protocols (), FTP_SERVER::instance ()->format ())
diff --git a/TAO/orbsvcs/tests/AVStreams/Latency/control.cpp b/TAO/orbsvcs/tests/AVStreams/Latency/control.cpp
index d44665ee44f..380c9b1774d 100644
--- a/TAO/orbsvcs/tests/AVStreams/Latency/control.cpp
+++ b/TAO/orbsvcs/tests/AVStreams/Latency/control.cpp
@@ -8,6 +8,7 @@
#include "ace/Get_Opt.h"
#include "ace/Argv_Type_Converter.h"
#include "ace/INET_Addr.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID (Latency,
ping,
diff --git a/TAO/orbsvcs/tests/BiDir_CORBALOC/TimeServer.cpp b/TAO/orbsvcs/tests/BiDir_CORBALOC/TimeServer.cpp
index 58535a5ffd8..01c18a645e5 100644
--- a/TAO/orbsvcs/tests/BiDir_CORBALOC/TimeServer.cpp
+++ b/TAO/orbsvcs/tests/BiDir_CORBALOC/TimeServer.cpp
@@ -5,6 +5,7 @@
#include "tao/Utils/PolicyList_Destroyer.h"
#include "orbsvcs/CosNamingC.h"
#include "tao/AnyTypeCode/Any.h"
+#include "ace/Argv_Type_Converter.h"
class Time_impl :
public POA_TimeModule::Time
diff --git a/TAO/orbsvcs/tests/Bug_1334_Regression/client.cpp b/TAO/orbsvcs/tests/Bug_1334_Regression/client.cpp
index 88f1a575b63..caf397dfb63 100644
--- a/TAO/orbsvcs/tests/Bug_1334_Regression/client.cpp
+++ b/TAO/orbsvcs/tests/Bug_1334_Regression/client.cpp
@@ -2,6 +2,7 @@
// $Id$
//
#include "tao/corba.h"
+#include "ace/Argv_Type_Converter.h"
// Attempts to resolve the NameService.
// Returns:
diff --git a/TAO/orbsvcs/tests/Bug_1630_Regression/testclient.cpp b/TAO/orbsvcs/tests/Bug_1630_Regression/testclient.cpp
index 359e8a1f8ce..fb387fc28c7 100644
--- a/TAO/orbsvcs/tests/Bug_1630_Regression/testclient.cpp
+++ b/TAO/orbsvcs/tests/Bug_1630_Regression/testclient.cpp
@@ -6,6 +6,7 @@
#include "tao/IFR_Client/IFR_Client_Adapter_Impl.h"
#include "tao/AnyTypeCode/NVList.h"
#include "ace/OS_NS_string.h"
+#include "ace/Argv_Type_Converter.h"
int ACE_TMAIN (int argc, ACE_TCHAR* argv[])
{
diff --git a/TAO/orbsvcs/tests/CosEvent/Basic/Disconnect.cpp b/TAO/orbsvcs/tests/CosEvent/Basic/Disconnect.cpp
index 4da957a73f4..d8485d8ba45 100644
--- a/TAO/orbsvcs/tests/CosEvent/Basic/Disconnect.cpp
+++ b/TAO/orbsvcs/tests/CosEvent/Basic/Disconnect.cpp
@@ -6,6 +6,7 @@
#include "orbsvcs/Time_Utilities.h"
#include "orbsvcs/CosEvent/CEC_EventChannel.h"
#include "orbsvcs/CosEvent/CEC_Default_Factory.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID (CEC_Tests,
Disconnect,
diff --git a/TAO/orbsvcs/tests/CosEvent/Basic/MT_Disconnect.cpp b/TAO/orbsvcs/tests/CosEvent/Basic/MT_Disconnect.cpp
index feb7d737f06..de7a4095f71 100644
--- a/TAO/orbsvcs/tests/CosEvent/Basic/MT_Disconnect.cpp
+++ b/TAO/orbsvcs/tests/CosEvent/Basic/MT_Disconnect.cpp
@@ -3,6 +3,7 @@
#include "MT_Disconnect.h"
#include "Counting_Consumer.h"
#include "Counting_Supplier.h"
+#include "ace/Argv_Type_Converter.h"
#include "orbsvcs/CosEvent/CEC_EventChannel.h"
#include "orbsvcs/CosEvent/CEC_Default_Factory.h"
diff --git a/TAO/orbsvcs/tests/CosEvent/Basic/Pull_Push_Event.cpp b/TAO/orbsvcs/tests/CosEvent/Basic/Pull_Push_Event.cpp
index cca5eae7f43..c57760a147a 100644
--- a/TAO/orbsvcs/tests/CosEvent/Basic/Pull_Push_Event.cpp
+++ b/TAO/orbsvcs/tests/CosEvent/Basic/Pull_Push_Event.cpp
@@ -5,6 +5,7 @@
#include "orbsvcs/CosEvent/CEC_EventChannel.h"
#include "orbsvcs/CosEvent/CEC_Default_Factory.h"
#include "ace/OS_NS_unistd.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID (CEC_Tests_Basic,
Pull_Push_Event,
diff --git a/TAO/orbsvcs/tests/CosEvent/Basic/Push_Event.cpp b/TAO/orbsvcs/tests/CosEvent/Basic/Push_Event.cpp
index 1c2c0141bb8..627999a0e97 100644
--- a/TAO/orbsvcs/tests/CosEvent/Basic/Push_Event.cpp
+++ b/TAO/orbsvcs/tests/CosEvent/Basic/Push_Event.cpp
@@ -5,6 +5,7 @@
#include "orbsvcs/CosEvent/CEC_EventChannel.h"
#include "orbsvcs/CosEvent/CEC_Default_Factory.h"
#include "ace/OS_NS_unistd.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID (CEC_Tests_Basic,
Push_Event,
diff --git a/TAO/orbsvcs/tests/CosEvent/Basic/Shutdown.cpp b/TAO/orbsvcs/tests/CosEvent/Basic/Shutdown.cpp
index c24bfa7cc24..0fce694b649 100644
--- a/TAO/orbsvcs/tests/CosEvent/Basic/Shutdown.cpp
+++ b/TAO/orbsvcs/tests/CosEvent/Basic/Shutdown.cpp
@@ -4,6 +4,7 @@
#include "Counting_Supplier.h"
#include "orbsvcs/CosEvent/CEC_EventChannel.h"
#include "orbsvcs/CosEvent/CEC_Default_Factory.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID( CEC_Tests_Basic,
Shutdown,
diff --git a/TAO/orbsvcs/tests/EC_MT_Mcast/Consumer.cpp b/TAO/orbsvcs/tests/EC_MT_Mcast/Consumer.cpp
index 2ec6c650a2c..a67e826a5e6 100644
--- a/TAO/orbsvcs/tests/EC_MT_Mcast/Consumer.cpp
+++ b/TAO/orbsvcs/tests/EC_MT_Mcast/Consumer.cpp
@@ -4,6 +4,7 @@
#include "Consumer.h"
#include "orbsvcs/RtecEventChannelAdminS.h"
#include "orbsvcs/Event_Service_Constants.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID(EC_MT_Mcast,
Consumer,
diff --git a/TAO/orbsvcs/tests/EC_MT_Mcast/Supplier.cpp b/TAO/orbsvcs/tests/EC_MT_Mcast/Supplier.cpp
index 0060bd58ed5..102c098053f 100644
--- a/TAO/orbsvcs/tests/EC_MT_Mcast/Supplier.cpp
+++ b/TAO/orbsvcs/tests/EC_MT_Mcast/Supplier.cpp
@@ -4,6 +4,7 @@
#include "Supplier.h"
#include "orbsvcs/RtecEventChannelAdminS.h"
#include "orbsvcs/Event_Service_Constants.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID(EC_MT_Mcast,
Supplier,
diff --git a/TAO/orbsvcs/tests/Event/Basic/Atomic_Reconnect.cpp b/TAO/orbsvcs/tests/Event/Basic/Atomic_Reconnect.cpp
index 46b0f2e0976..3ddb3d7c466 100644
--- a/TAO/orbsvcs/tests/Event/Basic/Atomic_Reconnect.cpp
+++ b/TAO/orbsvcs/tests/Event/Basic/Atomic_Reconnect.cpp
@@ -4,6 +4,7 @@
#include "Counting_Supplier.h"
#include "ace/OS_NS_unistd.h"
+#include "ace/Argv_Type_Converter.h"
#include "orbsvcs/Time_Utilities.h"
#include "orbsvcs/Event_Utilities.h"
diff --git a/TAO/orbsvcs/tests/Event/Basic/Bitmask.cpp b/TAO/orbsvcs/tests/Event/Basic/Bitmask.cpp
index 225b737576c..4c299497b98 100644
--- a/TAO/orbsvcs/tests/Event/Basic/Bitmask.cpp
+++ b/TAO/orbsvcs/tests/Event/Basic/Bitmask.cpp
@@ -7,6 +7,7 @@
#include "orbsvcs/Event_Utilities.h"
#include "orbsvcs/Event/EC_Event_Channel.h"
#include "orbsvcs/Event/EC_Default_Factory.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID (EC_Tests,
Bitmask,
diff --git a/TAO/orbsvcs/tests/Event/Basic/Complex.cpp b/TAO/orbsvcs/tests/Event/Basic/Complex.cpp
index 96d6f5188d6..3cb84193bb9 100644
--- a/TAO/orbsvcs/tests/Event/Basic/Complex.cpp
+++ b/TAO/orbsvcs/tests/Event/Basic/Complex.cpp
@@ -6,6 +6,7 @@
#include "orbsvcs/Event_Utilities.h"
#include "orbsvcs/Event/EC_Event_Channel.h"
#include "orbsvcs/Event/EC_Default_Factory.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID (EC_Tests,
Complex,
diff --git a/TAO/orbsvcs/tests/Event/Basic/Gateway.cpp b/TAO/orbsvcs/tests/Event/Basic/Gateway.cpp
index 3cfc0ebd465..324bda69d55 100644
--- a/TAO/orbsvcs/tests/Event/Basic/Gateway.cpp
+++ b/TAO/orbsvcs/tests/Event/Basic/Gateway.cpp
@@ -7,6 +7,7 @@
#include "orbsvcs/Event/EC_Event_Channel.h"
#include "orbsvcs/Event/EC_Default_Factory.h"
#include "orbsvcs/Event/EC_Gateway_IIOP.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID (EC_Tests,
Gateway,
diff --git a/TAO/orbsvcs/tests/Event/Basic/Negation.cpp b/TAO/orbsvcs/tests/Event/Basic/Negation.cpp
index 3bb9d0e579e..8d4124d1ea7 100644
--- a/TAO/orbsvcs/tests/Event/Basic/Negation.cpp
+++ b/TAO/orbsvcs/tests/Event/Basic/Negation.cpp
@@ -7,6 +7,7 @@
#include "orbsvcs/Event_Utilities.h"
#include "orbsvcs/Event/EC_Event_Channel.h"
#include "orbsvcs/Event/EC_Default_Factory.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID (EC_Tests,
Negation,
diff --git a/TAO/orbsvcs/tests/Event/Basic/Timeout.cpp b/TAO/orbsvcs/tests/Event/Basic/Timeout.cpp
index 5c18c9af4c3..6a2f80bde09 100644
--- a/TAO/orbsvcs/tests/Event/Basic/Timeout.cpp
+++ b/TAO/orbsvcs/tests/Event/Basic/Timeout.cpp
@@ -7,6 +7,7 @@
#include "orbsvcs/Event_Utilities.h"
#include "orbsvcs/Event/EC_Event_Channel.h"
#include "orbsvcs/Event/EC_Default_Factory.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID (EC_Tests,
Timeout,
diff --git a/TAO/orbsvcs/tests/Event/Basic/Wildcard.cpp b/TAO/orbsvcs/tests/Event/Basic/Wildcard.cpp
index 8e3b9824392..05ad26f5f44 100644
--- a/TAO/orbsvcs/tests/Event/Basic/Wildcard.cpp
+++ b/TAO/orbsvcs/tests/Event/Basic/Wildcard.cpp
@@ -6,6 +6,7 @@
#include "orbsvcs/Event_Utilities.h"
#include "orbsvcs/Event/EC_Event_Channel.h"
#include "orbsvcs/Event/EC_Default_Factory.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID (EC_Tests,
Wildcard,
diff --git a/TAO/orbsvcs/tests/Event/Mcast/Common/Gateway_EC.cpp b/TAO/orbsvcs/tests/Event/Mcast/Common/Gateway_EC.cpp
index e14cf58ed0a..178d8417b90 100644
--- a/TAO/orbsvcs/tests/Event/Mcast/Common/Gateway_EC.cpp
+++ b/TAO/orbsvcs/tests/Event/Mcast/Common/Gateway_EC.cpp
@@ -91,7 +91,7 @@ Gateway_EC::run (int argc, char ** argv)
{
// Initialize ORB and POA, POA Manager, parse args.
CORBA::ORB_var orb =
- CORBA::ORB_init (convert.get_argc(), convert.get_ASCII_argv(), "" ACE_ENV_ARG_PARAMETER);
+ CORBA::ORB_init (argc, argv, "" ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
orb_destroyer.init (orb);
diff --git a/TAO/orbsvcs/tests/Event/Mcast/Complex/gateway-ec.cpp b/TAO/orbsvcs/tests/Event/Mcast/Complex/gateway-ec.cpp
index eabb9441d4c..2008a8f43aa 100644
--- a/TAO/orbsvcs/tests/Event/Mcast/Complex/gateway-ec.cpp
+++ b/TAO/orbsvcs/tests/Event/Mcast/Complex/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)
diff --git a/TAO/orbsvcs/tests/Event/lib/Driver.cpp b/TAO/orbsvcs/tests/Event/lib/Driver.cpp
index aa8162270d7..d0bd0fbd9ad 100644
--- a/TAO/orbsvcs/tests/Event/lib/Driver.cpp
+++ b/TAO/orbsvcs/tests/Event/lib/Driver.cpp
@@ -68,7 +68,7 @@ EC_Driver::run (int argc, char* argv[])
// test.
ACE_High_Res_Timer::calibrate ();
- this->run_init (convert.get_argc(), convert.get_ASCII_argv() ACE_ENV_ARG_PARAMETER);
+ this->run_init (argc, argv ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
this->execute_test (ACE_ENV_SINGLE_ARG_PARAMETER);
@@ -175,7 +175,7 @@ EC_Driver::initialize_orb_and_poa (int &argc, char* argv[]
ACE_ENV_ARG_DECL)
{
this->orb_ =
- CORBA::ORB_init (convert.get_argc(), convert.get_ASCII_argv(),, "" ACE_ENV_ARG_PARAMETER);
+ CORBA::ORB_init (convert.get_argc(), convert.get_ASCII_argv(), "" ACE_ENV_ARG_PARAMETER);
ACE_CHECK;
CORBA::Object_var poa_object =
diff --git a/TAO/orbsvcs/tests/FT_App/FT_Client.cpp b/TAO/orbsvcs/tests/FT_App/FT_Client.cpp
index 0fb925028ab..18dd45040a5 100644
--- a/TAO/orbsvcs/tests/FT_App/FT_Client.cpp
+++ b/TAO/orbsvcs/tests/FT_App/FT_Client.cpp
@@ -8,6 +8,7 @@
#include "ace/streams.h"
#include "ace/OS_NS_unistd.h"
#include "ace/OS_NS_stdio.h"
+#include "ace/Argv_Type_Converter.h"
class FTClientMain
{
diff --git a/TAO/orbsvcs/tests/FT_App/FT_Creator.cpp b/TAO/orbsvcs/tests/FT_App/FT_Creator.cpp
index e681ee0c140..d78eaefc3d0 100644
--- a/TAO/orbsvcs/tests/FT_App/FT_Creator.cpp
+++ b/TAO/orbsvcs/tests/FT_App/FT_Creator.cpp
@@ -19,6 +19,7 @@
#include <ace/Get_Opt.h>
#include <ace/OS_NS_stdio.h>
+#include "ace/Argv_Type_Converter.h"
FTAPP::FT_Creator::FT_Creator ()
: creator_ ()
diff --git a/TAO/orbsvcs/tests/FT_App/FT_ReplicationManagerController.cpp b/TAO/orbsvcs/tests/FT_App/FT_ReplicationManagerController.cpp
index 65fc2dba0f4..2a549b6aaa7 100755
--- a/TAO/orbsvcs/tests/FT_App/FT_ReplicationManagerController.cpp
+++ b/TAO/orbsvcs/tests/FT_App/FT_ReplicationManagerController.cpp
@@ -6,6 +6,7 @@
#include "ace/streams.h"
#include "ace/OS_NS_unistd.h"
#include "ace/OS_NS_stdio.h"
+#include "ace/Argv_Type_Converter.h"
// A simple class for building a client that "controls' the
// Replication Manager (right now it just shuts it down).
diff --git a/TAO/orbsvcs/tests/FaultTolerance/IOGRManipulation/IOGRTest.cpp b/TAO/orbsvcs/tests/FaultTolerance/IOGRManipulation/IOGRTest.cpp
index da5232b6467..63bd82cd46a 100644
--- a/TAO/orbsvcs/tests/FaultTolerance/IOGRManipulation/IOGRTest.cpp
+++ b/TAO/orbsvcs/tests/FaultTolerance/IOGRManipulation/IOGRTest.cpp
@@ -20,6 +20,7 @@
#include "tao/ORB.h"
#include "orbsvcs/FT_CORBA_ORBC.h"
#include "orbsvcs/FaultTolerance/FT_IOGR_Property.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID(IOGRManipluation,
IOGRTest,
diff --git a/TAO/orbsvcs/tests/ImplRepo/NameService/test.cpp b/TAO/orbsvcs/tests/ImplRepo/NameService/test.cpp
index afbba7d4507..1004fb6663b 100644
--- a/TAO/orbsvcs/tests/ImplRepo/NameService/test.cpp
+++ b/TAO/orbsvcs/tests/ImplRepo/NameService/test.cpp
@@ -3,6 +3,7 @@
//
#include "orbsvcs/CosNamingC.h"
+#include "ace/Argv_Type_Converter.h"
#include "ace/Log_Msg.h"
diff --git a/TAO/orbsvcs/tests/ImplRepo/airplane_server.cpp b/TAO/orbsvcs/tests/ImplRepo/airplane_server.cpp
index f8b6542ca25..8baba3b2ff9 100644
--- a/TAO/orbsvcs/tests/ImplRepo/airplane_server.cpp
+++ b/TAO/orbsvcs/tests/ImplRepo/airplane_server.cpp
@@ -1,6 +1,7 @@
// $Id$
#include "airplane_server_i.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID (ImplRepo,
airplane_server,
diff --git a/TAO/orbsvcs/tests/ImplRepo/nestea_client.cpp b/TAO/orbsvcs/tests/ImplRepo/nestea_client.cpp
index f28e4dca349..0c68b4ad481 100644
--- a/TAO/orbsvcs/tests/ImplRepo/nestea_client.cpp
+++ b/TAO/orbsvcs/tests/ImplRepo/nestea_client.cpp
@@ -3,6 +3,7 @@
#include "nestea_client_i.h"
#include "ace/Log_Msg.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID (ImplRepo,
nestea_client,
diff --git a/TAO/orbsvcs/tests/ImplRepo/nestea_server.cpp b/TAO/orbsvcs/tests/ImplRepo/nestea_server.cpp
index ae8600d8656..3d6803e847e 100644
--- a/TAO/orbsvcs/tests/ImplRepo/nestea_server.cpp
+++ b/TAO/orbsvcs/tests/ImplRepo/nestea_server.cpp
@@ -1,6 +1,7 @@
// $Id$
#include "nestea_server_i.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID(ImplRepo, nestea_server, "$Id$")
diff --git a/TAO/orbsvcs/tests/Notify/Destroy/main.cpp b/TAO/orbsvcs/tests/Notify/Destroy/main.cpp
index 24c32fdeb75..fd925c0b1ee 100644
--- a/TAO/orbsvcs/tests/Notify/Destroy/main.cpp
+++ b/TAO/orbsvcs/tests/Notify/Destroy/main.cpp
@@ -3,6 +3,7 @@
#include "../lib/Notify_Test_Client.h"
#include "orbsvcs/NotifyExtC.h"
#include "ace/OS_main.h"
+#include "ace/Argv_Type_Converter.h"
int
ACE_TMAIN (int argc, char *argv[])
diff --git a/TAO/orbsvcs/tests/Notify/lib/Notify_Test_Client.cpp b/TAO/orbsvcs/tests/Notify/lib/Notify_Test_Client.cpp
index 938396dabc9..30ac0894ea3 100644
--- a/TAO/orbsvcs/tests/Notify/lib/Notify_Test_Client.cpp
+++ b/TAO/orbsvcs/tests/Notify/lib/Notify_Test_Client.cpp
@@ -60,7 +60,7 @@ Notify_Test_Client::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_RETURN (-1);
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 cc27838df92..21e600ff250 100644
--- a/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.cpp
+++ b/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.cpp
@@ -150,8 +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()
- argv,
+ this->orb_ = CORBA::ORB_init (convert.get_argc(), convert.get_ASCII_argv(),
""
ACE_ENV_ARG_PARAMETER);
ACE_CHECK;
diff --git a/TAO/orbsvcs/tests/Sched/DynSched_Test.cpp b/TAO/orbsvcs/tests/Sched/DynSched_Test.cpp
index 9f3ee07f92c..68688eaabaa 100644
--- a/TAO/orbsvcs/tests/Sched/DynSched_Test.cpp
+++ b/TAO/orbsvcs/tests/Sched/DynSched_Test.cpp
@@ -2,6 +2,7 @@
#include "orbsvcs/Sched/Strategy_Scheduler.h"
#include "orbsvcs/Time_Utilities.h"
+#include "ace/Argv_Type_Converter.h"
#if defined (ACE_HAS_QUANTIFY)
# include <quantify.h>
#endif /* ACE_HAS_QUANTIFY */
diff --git a/TAO/orbsvcs/tests/tests_svc_loader/tests_svc_loader.cpp b/TAO/orbsvcs/tests/tests_svc_loader/tests_svc_loader.cpp
index c523c170efd..5a3aa8a218a 100644
--- a/TAO/orbsvcs/tests/tests_svc_loader/tests_svc_loader.cpp
+++ b/TAO/orbsvcs/tests/tests_svc_loader/tests_svc_loader.cpp
@@ -29,6 +29,7 @@
#include "ace/Service_Config.h"
#include "ace/Log_Msg.h"
#include "ace/CORBA_macros.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID (tests_svc_loader,
diff --git a/TAO/tests/CodeSets/simple/client.cpp b/TAO/tests/CodeSets/simple/client.cpp
index 8dea4079d3c..445b884b223 100644
--- a/TAO/tests/CodeSets/simple/client.cpp
+++ b/TAO/tests/CodeSets/simple/client.cpp
@@ -74,7 +74,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
}
else
{
- ACE_OS::strcpy (buf, AC_TEXT_TO_CHAR_IN(argv[1]));
+ ACE_OS::strcpy (buf, ACE_TEXT_TO_CHAR_IN(argv[1]));
}
// The first arg should be the IOR
diff --git a/TAO/tests/Exposed_Policies/Policy_Tester.cpp b/TAO/tests/Exposed_Policies/Policy_Tester.cpp
index e8c1597dc98..8918ae6cc86 100644
--- a/TAO/tests/Exposed_Policies/Policy_Tester.cpp
+++ b/TAO/tests/Exposed_Policies/Policy_Tester.cpp
@@ -69,25 +69,25 @@ Policy_Tester::init (int argc,
// Here we parse the command line paramether passed
// to the application.
- ACE_Arg_Shifter arg_shifter (argc, argv);
+ ACE_TArg_Shifter<char> arg_shifter (argc, argv);
while (arg_shifter.is_anything_left ())
{
const char *arg = 0;
// IOR File Name Option.
- if ((arg = arg_shifter.get_the_parameter (ACE_TEXT("-POAConfigFile"))))
+ if ((arg = arg_shifter.get_the_parameter ("-POAConfigFile")))
{
this->rt_poa_properties_ =
RT_Properties::read_from (arg ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (-1);
}
- else if ((arg = arg_shifter.get_the_parameter (ACE_TEXT("-ObjectConfigFile"))))
+ else if ((arg = arg_shifter.get_the_parameter ("-ObjectConfigFile")))
{
this->rt_object_properties_ =
RT_Properties::read_from (arg ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (-1);
}
- else if ((arg = arg_shifter.get_the_parameter (ACE_TEXT("-BaseObjectIOR"))))
+ else if ((arg = arg_shifter.get_the_parameter ("-BaseObjectIOR")))
{
if (this->rt_poa_properties_ == 0)
{
@@ -99,7 +99,7 @@ Policy_Tester::init (int argc,
}
this->rt_poa_properties_->ior_source (arg);
}
- else if ((arg = arg_shifter.get_the_parameter (ACE_TEXT("-OverriddenIOR"))))
+ else if ((arg = arg_shifter.get_the_parameter ("-OverriddenIOR")))
{
if (this->rt_object_properties_ == 0)
{
diff --git a/TAO/tests/Exposed_Policies/Policy_Verifier.cpp b/TAO/tests/Exposed_Policies/Policy_Verifier.cpp
index 34bb97e5187..280217d99a9 100644
--- a/TAO/tests/Exposed_Policies/Policy_Verifier.cpp
+++ b/TAO/tests/Exposed_Policies/Policy_Verifier.cpp
@@ -26,7 +26,7 @@ Policy_Verifier::init (int argc,
CORBA::ORB_init (argc, argv, "" ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (false);
- ACE_Arg_Shifter arg_shifter (argc, argv);
+ ACE_TArg_Shifter<char> arg_shifter (argc, argv);
while (arg_shifter.is_anything_left ())
{
@@ -40,13 +40,13 @@ Policy_Verifier::init (int argc,
this->priority_bands_ =
this->rt_poa_properties_->priority_bands ().length ();
}
- else if ((arg = arg_shifter.get_the_parameter (ACE_TEXT("-ObjectConfigFile"))))
+ else if ((arg = arg_shifter.get_the_parameter ("-ObjectConfigFile")))
{
this->rt_object_properties_ =
RT_Properties::read_from (arg ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (false);
}
- else if ((arg = arg_shifter.get_the_parameter (ACE_TEXT("-BaseObjectIOR"))))
+ else if ((arg = arg_shifter.get_the_parameter ("-BaseObjectIOR")))
{
if (this->rt_poa_properties_ == 0)
{
@@ -61,7 +61,7 @@ Policy_Verifier::init (int argc,
ACE_OS::strcat (this->base_object_ref_,
this->rt_poa_properties_->ior_source ());
}
- else if ((arg = arg_shifter.get_the_parameter (ACE_TEXT("-OverriddenIOR"))))
+ else if ((arg = arg_shifter.get_the_parameter ("-OverriddenIOR")))
{
if (this->rt_object_properties_ == 0)
{