summaryrefslogtreecommitdiff
path: root/CIAO/connectors/ami4ccm/tests/Exceptions
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2010-09-17 08:35:19 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2010-09-17 08:35:19 +0000
commite8cc76aad5f556c77963836aacfe813876795059 (patch)
tree17bf4f2a5f6e2e7edc70e8d4744da31f8b5478df /CIAO/connectors/ami4ccm/tests/Exceptions
parent1ce487d19726093c9362b63847f773cb1f4e6f2a (diff)
downloadATCD-e8cc76aad5f556c77963836aacfe813876795059.tar.gz
Remove trailing whitespaces
Diffstat (limited to 'CIAO/connectors/ami4ccm/tests/Exceptions')
-rw-r--r--CIAO/connectors/ami4ccm/tests/Exceptions/Base/ExceptionT.idl2
-rw-r--r--CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/ExceptionT_Receiver_exec.cpp2
-rw-r--r--CIAO/connectors/ami4ccm/tests/Exceptions/Sender/ExceptionT_Sender_exec.cpp20
3 files changed, 12 insertions, 12 deletions
diff --git a/CIAO/connectors/ami4ccm/tests/Exceptions/Base/ExceptionT.idl b/CIAO/connectors/ami4ccm/tests/Exceptions/Base/ExceptionT.idl
index f02d92c3493..ba6ade291f0 100644
--- a/CIAO/connectors/ami4ccm/tests/Exceptions/Base/ExceptionT.idl
+++ b/CIAO/connectors/ami4ccm/tests/Exceptions/Base/ExceptionT.idl
@@ -24,7 +24,7 @@ module ExceptionT
raises (InternalError);
void hello (out long answer)
raises (InternalError);
-
+
attribute short rw_attrib
getraises (InternalError)
setraises (InternalError);
diff --git a/CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/ExceptionT_Receiver_exec.cpp b/CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/ExceptionT_Receiver_exec.cpp
index c7067fe0fb3..34bc57f9aa6 100644
--- a/CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/ExceptionT_Receiver_exec.cpp
+++ b/CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/ExceptionT_Receiver_exec.cpp
@@ -63,7 +63,7 @@ namespace CIAO_ExceptionT_Receiver_Impl
{
if (new_value == 0)
{
- //throw internal excep
+ //throw internal excep
ExceptionT::InternalError ex (42, "Rec.Exc.set_rw_attrib",
"thrown by receiver");
throw ex;
diff --git a/CIAO/connectors/ami4ccm/tests/Exceptions/Sender/ExceptionT_Sender_exec.cpp b/CIAO/connectors/ami4ccm/tests/Exceptions/Sender/ExceptionT_Sender_exec.cpp
index 713a1ee2c74..14498f9324d 100644
--- a/CIAO/connectors/ami4ccm/tests/Exceptions/Sender/ExceptionT_Sender_exec.cpp
+++ b/CIAO/connectors/ami4ccm/tests/Exceptions/Sender/ExceptionT_Sender_exec.cpp
@@ -8,7 +8,7 @@ namespace CIAO_ExceptionT_Sender_Impl
{
CORBA::Short nr_of_received = 0;
CORBA::Short nr_of_syn_received = 0;
-
+
void HandleException (
long id,
const char* error_string,
@@ -167,7 +167,7 @@ namespace CIAO_ExceptionT_Sender_Impl
ACE_OS::sleep (3);
if (CORBA::is_nil (my_foo_ami_))
{
- ACE_ERROR ((LM_ERROR, "ERROR Sender (ASYNCH) :\tfoo_ami is NIL !\n"));
+ ACE_ERROR ((LM_ERROR, "ERROR Sender (ASYNCH) :\tfoo_ami is NIL !\n"));
return 1;
}
else
@@ -201,11 +201,11 @@ namespace CIAO_ExceptionT_Sender_Impl
{
my_foo_ami_->foo ("Do something synchronous",
out_str.out ());
- }
+ }
catch (const ExceptionT::InternalError&)
{
ACE_ERROR ((LM_ERROR, "ERROR: synch_foo_generator::foo: "
- "Unexpected exception.\n"));
+ "Unexpected exception.\n"));
}
try
{
@@ -231,7 +231,7 @@ namespace CIAO_ExceptionT_Sender_Impl
"hello (syn)");
++nr_of_syn_received;
}
- try
+ try
{
my_foo_ami_->rw_attrib ();
}
@@ -242,7 +242,7 @@ namespace CIAO_ExceptionT_Sender_Impl
"get_rw_attrib (syn)");
++nr_of_syn_received;
}
- try
+ try
{
my_foo_ami_->rw_attrib (0);
}
@@ -253,7 +253,7 @@ namespace CIAO_ExceptionT_Sender_Impl
"set_rw_attrib (syn)");
++nr_of_syn_received;
}
- try
+ try
{
my_foo_ami_->ro_attrib ();
}
@@ -332,20 +332,20 @@ namespace CIAO_ExceptionT_Sender_Impl
ACE_ERROR ((LM_ERROR, "ERROR: not received the expected number of"
" exceptions for asynchronous calls"
"Expected: 5, Received: %u.\n",
- nr_of_asyn));
+ nr_of_asyn));
}
if (nr_of_syn_received != 5)
{
ACE_ERROR ((LM_ERROR, "ERROR: not received the expected number of"
" exceptions for synchronous calls"
"Expected: 5, Received: %u.\n",
- nr_of_syn_received));
+ nr_of_syn_received));
}
if ((nr_of_asyn == 5) && (nr_of_syn_received == 5))
{
ACE_DEBUG ((LM_DEBUG, "OK: Receieved the expected number of"
" exceptions for asynchronous and "
- "synchronous calls\n"));
+ "synchronous calls\n"));
}
}