summaryrefslogtreecommitdiff
path: root/TAO/tests/Codec
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-01-24 15:39:09 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-01-24 15:39:09 +0000
commitc801f87e59c00f72bdeb5ce7bd0d276674665bac (patch)
tree70bff03d1cf156ecf05ee4c5c338d8ce423e64ee /TAO/tests/Codec
parent98c0b37d4714ff774fc3ada8c9ee893c719af714 (diff)
downloadATCD-c801f87e59c00f72bdeb5ce7bd0d276674665bac.tar.gz
Wed Jan 24 14:00:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tests/Codec')
-rw-r--r--TAO/tests/Codec/client.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/TAO/tests/Codec/client.cpp b/TAO/tests/Codec/client.cpp
index a5d874386e6..bb4e1860336 100644
--- a/TAO/tests/Codec/client.cpp
+++ b/TAO/tests/Codec/client.cpp
@@ -111,7 +111,6 @@ test_codec (IOP::Codec_ptr codec)
// includes the TypeCode in the CDR encapsulation.
encoded_data = codec->encode (data
ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
if ((reinterpret_cast<ptrdiff_t> (encoded_data->get_buffer ())
% ACE_CDR::MAX_ALIGNMENT) == 0)
@@ -121,7 +120,6 @@ test_codec (IOP::Codec_ptr codec)
// Extract the data from the octet sequence.
decoded_data = codec->decode (encoded_data.in ()
ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
if (!(decoded_data.in() >>= extracted_value))
ACE_ERROR_RETURN ((LM_ERROR,
@@ -148,7 +146,6 @@ test_codec (IOP::Codec_ptr codec)
// *not* include the TypeCode in the CDR encapsulation.
encoded_data = codec->encode_value (data
ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
if ((reinterpret_cast<ptrdiff_t> (encoded_data->get_buffer ())
% ACE_CDR::MAX_ALIGNMENT) == 0)
@@ -161,7 +158,6 @@ test_codec (IOP::Codec_ptr codec)
decoded_data = codec->decode_value (encoded_data.in (),
Foo::_tc_Bar
ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
if (!(decoded_data.in() >>= extracted_value))
ACE_ERROR_RETURN ((LM_ERROR,
@@ -193,18 +189,15 @@ main (int argc, char *argv[])
argv,
"my_orb"
ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
// Obtain a reference to the CodecFactory.
CORBA::Object_var obj =
orb->resolve_initial_references ("CodecFactory"
ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
IOP::CodecFactory_var codec_factory =
IOP::CodecFactory::_narrow (obj.in ()
ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
// Set up a structure that contains information necessary to
// create a GIOP 1.1 CDR encapsulation Codec.
@@ -219,7 +212,6 @@ main (int argc, char *argv[])
IOP::Codec_var codec_1_2 =
codec_factory->create_codec_with_codesets (encoding_1_2
ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
retval = test_codec (codec_1_2.in ());
@@ -236,7 +228,6 @@ main (int argc, char *argv[])
IOP::Codec_var codec =
codec_factory->create_codec (encoding
ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
retval = test_codec (codec.in ());
}