diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-10-06 18:44:29 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-10-06 18:44:29 +0000 |
commit | 1b831959fd4094bc1b1cd40b4ad0a3715a64c658 (patch) | |
tree | ad4e8f90fd368eaf299f74a0120944b18016ee75 | |
parent | 87d9452d54adb596440c49729eee2f9c1973835c (diff) | |
download | ATCD-1b831959fd4094bc1b1cd40b4ad0a3715a64c658.tar.gz |
Mon Oct 6 18:43:45 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r-- | TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/Collocated_Test.cpp | 16 | ||||
-rw-r--r-- | TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/client_main.cpp | 8 |
2 files changed, 12 insertions, 12 deletions
diff --git a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/Collocated_Test.cpp b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/Collocated_Test.cpp index f3731621106..8f90b86c2f0 100644 --- a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/Collocated_Test.cpp +++ b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/Collocated_Test.cpp @@ -12,8 +12,8 @@ const ACE_TCHAR *output = ACE_TEXT("test.ior"); const ACE_TCHAR *input = ACE_TEXT("file://test.ior"); -ACE_CString server_proc_mode_str; -ACE_CString client_proc_mode_str; +ACE_TString server_proc_mode_str; +ACE_TString client_proc_mode_str; ACE_CString server_orb; ACE_CString client_orb; @@ -23,8 +23,8 @@ parse_args (int argc, ACE_TCHAR *argv[]) ACE_Get_Opt get_opts (argc, argv, ACE_TEXT("s:c:k:o")); int c; - server_proc_mode_str.set ("LOCAL_AND_REMOTE"); - client_proc_mode_str.set ("LOCAL_AND_REMOTE"); + server_proc_mode_str.set (ACE_TEXT("LOCAL_AND_REMOTE")); + client_proc_mode_str.set (ACE_TEXT("LOCAL_AND_REMOTE")); while ((c = get_opts ()) != -1) { @@ -73,13 +73,13 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) PortableInterceptor::ProcessingMode client_proc_mode = PortableInterceptor::LOCAL_AND_REMOTE; - if (client_proc_mode_str == "LOCAL_ONLY") + if (client_proc_mode_str == ACE_TEXT("LOCAL_ONLY")) { client_proc_mode = PortableInterceptor::LOCAL_ONLY; ACE_DEBUG((LM_DEBUG, "Using LOCAL_ONLY for client-side ProcessingMode.\n")); } - else if (client_proc_mode_str == "REMOTE_ONLY") + else if (client_proc_mode_str == ACE_TEXT("REMOTE_ONLY")) { client_proc_mode = PortableInterceptor::REMOTE_ONLY; ACE_DEBUG((LM_DEBUG, @@ -100,13 +100,13 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) PortableInterceptor::ProcessingMode server_proc_mode = PortableInterceptor::LOCAL_AND_REMOTE; - if (server_proc_mode_str == "LOCAL_ONLY") + if (server_proc_mode_str == ACE_TEXT("LOCAL_ONLY")) { server_proc_mode = PortableInterceptor::LOCAL_ONLY; ACE_DEBUG((LM_DEBUG, "Using LOCAL_ONLY for server-side ProcessingMode.\n")); } - else if (server_proc_mode_str == "REMOTE_ONLY") + else if (server_proc_mode_str == ACE_TEXT("REMOTE_ONLY")) { server_proc_mode = PortableInterceptor::REMOTE_ONLY; ACE_DEBUG((LM_DEBUG, diff --git a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/client_main.cpp b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/client_main.cpp index 17b81ba364e..83088e5deb6 100644 --- a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/client_main.cpp +++ b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/client_main.cpp @@ -10,7 +10,7 @@ const ACE_TCHAR *input = ACE_TEXT("file://test.ior"); -ACE_CString proc_mode_str; +ACE_TString proc_mode_str; int parse_args (int argc, ACE_TCHAR *argv[]) @@ -18,7 +18,7 @@ parse_args (int argc, ACE_TCHAR *argv[]) ACE_Get_Opt get_opts (argc, argv, ACE_TEXT("p:k:")); int c; - proc_mode_str.set ("LOCAL_AND_REMOTE"); + proc_mode_str.set (ACE_TEXT("LOCAL_AND_REMOTE")); while ((c = get_opts ()) != -1) { @@ -57,7 +57,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) PortableInterceptor::ProcessingMode proc_mode = PortableInterceptor::LOCAL_AND_REMOTE; - if (proc_mode_str == "LOCAL_ONLY") + if (proc_mode_str == ACE_TEXT("LOCAL_ONLY")) { proc_mode = PortableInterceptor::LOCAL_ONLY; ACE_DEBUG((LM_DEBUG, @@ -69,7 +69,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) // client interceptor. expected_interceptor_check = 0; } - else if (proc_mode_str == "REMOTE_ONLY") + else if (proc_mode_str == ACE_TEXT("REMOTE_ONLY")) { proc_mode = PortableInterceptor::REMOTE_ONLY; ACE_DEBUG((LM_DEBUG, |