diff options
author | Abdullah Sowayan <sowayan@users.noreply.github.com> | 2007-06-29 01:34:03 +0000 |
---|---|---|
committer | Abdullah Sowayan <sowayan@users.noreply.github.com> | 2007-06-29 01:34:03 +0000 |
commit | c5982b67ad295b131f6a3018321736241a17ef4f (patch) | |
tree | 04307a926b4d15576ea15d2e86d98e49e0eeb468 /TAO/tests/DII_Collocation_Tests/twoway | |
parent | 893ef20831727d7e4b35ca5b07d1baffeada3c70 (diff) | |
download | ATCD-c5982b67ad295b131f6a3018321736241a17ef4f.tar.gz |
Fri Jun 29 01:27:22 UTC 2007 Abdullah Sowayan <abdullah.sowayan@lmco.com>
Diffstat (limited to 'TAO/tests/DII_Collocation_Tests/twoway')
-rw-r--r-- | TAO/tests/DII_Collocation_Tests/twoway/Hello.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/TAO/tests/DII_Collocation_Tests/twoway/Hello.cpp b/TAO/tests/DII_Collocation_Tests/twoway/Hello.cpp index 29862aed6d1..6122ce28dca 100644 --- a/TAO/tests/DII_Collocation_Tests/twoway/Hello.cpp +++ b/TAO/tests/DII_Collocation_Tests/twoway/Hello.cpp @@ -67,7 +67,7 @@ Hello::test_unbounded_string_arg(const char* message) ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%P|%t)Hello::test_unbounded_string_arg ") ACE_TEXT("got unbounded string: %s\n"), message)); - if (ACE_OS::strncmp (message, TEST_STR, strlen (TEST_STR) != 0)) + if (ACE_OS::strncmp (message, TEST_STR, ACE_OS::strlen (TEST_STR) != 0)) { ERROR_COUNT ("Hello::test_unbounded_string_arg") } @@ -80,7 +80,7 @@ Hello::test_unbounded_string_arg_out(const char* message, ::CORBA::String_out ou ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%P|%t)Hello::test_unbounded_string_arg_out ") ACE_TEXT("got unbounded string: %s\n"), message)); - if (ACE_OS::strncmp (message, TEST_STR, strlen (TEST_STR) != 0)) + if (ACE_OS::strncmp (message, TEST_STR, ACE_OS::strlen (TEST_STR) != 0)) { ERROR_COUNT ("Hello::test_unbounded_string_arg_out") } @@ -134,7 +134,7 @@ Hello::test_unbounded_var_size_arg(const ::Test::Unbounded_Var_Size_Arg& message if (debug) ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%P|%t)Hello::test_unbounded_var_size_arg ") ACE_TEXT("got unbounded var size arg.\n"))); - if (ACE_OS::strncmp (message.get_buffer (), TEST_STR, strlen (TEST_STR)) != 0) + if (ACE_OS::strncmp (message.get_buffer (), TEST_STR, ACE_OS::strlen (TEST_STR)) != 0) ERROR_COUNT ("Hello::test_unbounded_var_size_arg") } @@ -162,7 +162,7 @@ Hello::test_var_array_arg(const Test::Var_Array messages) if (debug) ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%P|%t)Hello::test_var_array_arg ") ACE_TEXT("messages[%d] = %s \n"), i, messages[i].in ())); - if (ACE_OS::strncmp (messages[i].in (), TEST_STR, strlen (TEST_STR)) != 0) + if (ACE_OS::strncmp (messages[i].in (), TEST_STR, ACE_OS::strlen (TEST_STR)) != 0) ERROR_COUNT ("Hello::test_var_array_arg") } } @@ -252,7 +252,7 @@ void Hello::test_args_2 ( { if (debug) ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%P|%t)Hello::test_args_2 \n"))); - if (ACE_OS::strncmp (arg1, TEST_STR, strlen (TEST_STR)) != 0 ) + if (ACE_OS::strncmp (arg1, TEST_STR, ACE_OS::strlen (TEST_STR)) != 0 ) ERROR_COUNT ("Hello::test_args_2") for (unsigned i = 0; i < ::Test::FIX_ARRAY_SIZE; i++) @@ -276,15 +276,15 @@ void Hello::test_args_3 ( { if (debug) ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%P|%t)Hello::test_args_3 \n"))); - if (ACE_OS::strncmp (arg1, TEST_STR, strlen (arg1)) != 0) + if (ACE_OS::strncmp (arg1, TEST_STR, ACE_OS::strlen (arg1)) != 0) ERROR_COUNT ("Hello::test_args_3") if (ACE_OS::strncmp (arg2.get_buffer (), TEST_STR, ::Test::BOUNDED_VAR_SIZE) != 0) ERROR_COUNT ("Hello::test_args_3") - if (ACE_OS::strncmp (arg3.get_buffer (), TEST_STR, strlen (TEST_STR)) != 0) + if (ACE_OS::strncmp (arg3.get_buffer (), TEST_STR, ACE_OS::strlen (TEST_STR)) != 0) ERROR_COUNT ("Hello::test_args_3") for (CORBA::ULong i = 0; i != ::Test::VAR_ARRAY_SIZE; i ++) { - if (ACE_OS::strncmp (arg4[i].in (), TEST_STR, strlen (TEST_STR)) != 0) + if (ACE_OS::strncmp (arg4[i].in (), TEST_STR, ACE_OS::strlen (TEST_STR)) != 0) ERROR_COUNT ("Hello::test_args_3") } } |