summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2001-03-03 20:21:15 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2001-03-03 20:21:15 +0000
commit20f5c890235d3c4eaa54b4eb31d77303a62e7a1b (patch)
treea7c313a8e01401d0d8e0fb6cc8f88d1b877b7e25
parentb1eb233526ccd8bee75727f6564ae59b3420663a (diff)
downloadATCD-20f5c890235d3c4eaa54b4eb31d77303a62e7a1b.tar.gz
ChangeLogTag:Sat Mar 03 12:18:12 2001 Ossama Othman <ossama@uci.edu>
-rw-r--r--TAO/ChangeLogs/ChangeLog-02a12
-rw-r--r--TAO/tests/Codec/README32
-rw-r--r--TAO/tests/Codec/client.cpp26
3 files changed, 51 insertions, 19 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a
index a6d4d39e810..c1ce79299cf 100644
--- a/TAO/ChangeLogs/ChangeLog-02a
+++ b/TAO/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,15 @@
+Sat Mar 03 12:18:12 2001 Ossama Othman <ossama@uci.edu>
+
+ * tests/Codec/client.cpp (verify_data):
+
+ Cleaned up test output so that it is HTML friendly (i.e. no tab
+ characters). The output in our HTML build logs was slightly
+ confusing.
+
+ * tests/Codec/README:
+
+ Updated expected test output.
+
Sat Mar 03 11:46:36 2001 Ossama Othman <ossama@uci.edu>
* tests/Portable_Interceptors/ForwardRequest/server.bor:
diff --git a/TAO/tests/Codec/README b/TAO/tests/Codec/README
index f2619024adc..b0a66a30062 100644
--- a/TAO/tests/Codec/README
+++ b/TAO/tests/Codec/README
@@ -16,18 +16,30 @@ Expected output follows:
==== Running Codec test
Testing CDR encapsulation Codec encode()/decode()
=================================================
-Original Extracted
--------- ---------
-I need a standing ovation! I need a standing ovation!
--3427 -3427
-I'm Batman. I'm Batman.
+Original
+--------
+I want a standing ovation!
+-3427
+I'm Batman.
+
+Extracted
+---------
+I want a standing ovation!
+-3427
+I'm Batman.
Testing CDR encapsulation Codec encode_value()/decode_value()
=============================================================
-Original Extracted
--------- ---------
-I need a standing ovation! I need a standing ovation!
--3427 -3427
-I'm Batman. I'm Batman.
+Original
+--------
+I want a standing ovation!
+-3427
+I'm Batman.
+
+Extracted
+---------
+I want a standing ovation!
+-3427
+I'm Batman.
Codec test passed.
diff --git a/TAO/tests/Codec/client.cpp b/TAO/tests/Codec/client.cpp
index 49af9a52219..d70e9172f54 100644
--- a/TAO/tests/Codec/client.cpp
+++ b/TAO/tests/Codec/client.cpp
@@ -11,14 +11,22 @@ int
verify_data (Foo::Bar *original, Foo::Bar *extracted)
{
ACE_DEBUG ((LM_DEBUG,
- "Original\t\t\tExtracted\n"
- "--------\t\t\t---------\n"
- "%s\t%s\n"
- "%d\t\t\t\t%d\n"
- "%s\t\t\t%s\n\n",
- original->A.in (), extracted->A.in (),
- original->B, extracted->B,
- original->C.in (), extracted->C.in ()));
+ "Original\n"
+ "--------\n"
+ "%s\n"
+ "%d\n"
+ "%s\n\n"
+ "Extracted\n"
+ "---------\n"
+ "%s\n"
+ "%d\n"
+ "%s\n\n",
+ original->A.in (),
+ original->B,
+ original->C.in (),
+ extracted->A.in (),
+ extracted->B,
+ extracted->C.in ()));
if (ACE_OS_String::strcmp (original->A, extracted->A) != 0
|| original->B != extracted->B
@@ -65,7 +73,7 @@ main (int argc, char *argv[])
// ----------------------------------------------------------
// Test values to be placed in the test structure.
- const char A[] = "I need a standing ovation!";
+ const char A[] = "I want a standing ovation!";
CORBA::Long B = -3427;
const char C[] = "I'm Batman.";