summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Trading/colocated_test.cpp
diff options
context:
space:
mode:
authorsbw1 <sbw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-01-15 19:28:51 +0000
committersbw1 <sbw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-01-15 19:28:51 +0000
commit28f9d885f095c4faa0b7efd9a3ba937647875af7 (patch)
tree543e2237cc8ea8c2406fe51b5a01fd60716e50f6 /TAO/orbsvcs/tests/Trading/colocated_test.cpp
parent61f001165b83aa1c734c9c755bc532a908a48d93 (diff)
downloadATCD-28f9d885f095c4faa0b7efd9a3ba937647875af7.tar.gz
Added the -iorfile or -i option to the export and import
test. When provided a file name, the tests read the trader ior from the file, else from standard input. Fixed some formating in the remaining files.
Diffstat (limited to 'TAO/orbsvcs/tests/Trading/colocated_test.cpp')
-rw-r--r--TAO/orbsvcs/tests/Trading/colocated_test.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/TAO/orbsvcs/tests/Trading/colocated_test.cpp b/TAO/orbsvcs/tests/Trading/colocated_test.cpp
index 5a09e5f1410..94e550f3a3f 100644
--- a/TAO/orbsvcs/tests/Trading/colocated_test.cpp
+++ b/TAO/orbsvcs/tests/Trading/colocated_test.cpp
@@ -40,7 +40,7 @@ main (int argc, char** argv)
// Initialize ORB.
CORBA::ORB_var orb = orb_manager.orb ();
-
+
// Create a Service Type Repository and a Trader Object.
TAO_Service_Type_Repository type_repos;
auto_ptr<TAO_Trader_Factory::TAO_TRADER> trader =
@@ -53,7 +53,7 @@ main (int argc, char** argv)
TAO_CHECK_ENV;
// Run the Service Type Exporter tests
- ACE_DEBUG ((LM_DEBUG, "Running the Service Type Exporter tests.\n"));
+ ACE_DEBUG ((LM_DEBUG, "*** Running the Service Type Exporter tests.\n"));
TAO_Service_Type_Exporter type_exporter
(CosTrading::Lookup::_duplicate (trd_comp.lookup_if ()),
verbose,
@@ -76,7 +76,7 @@ main (int argc, char** argv)
TAO_CHECK_ENV;
// Run the Offer Exporter tests
- ACE_DEBUG ((LM_DEBUG, "Running the Offer Exporter tests.\n"));
+ ACE_DEBUG ((LM_DEBUG, "*** Running the Offer Exporter tests.\n"));
TAO_Offer_Exporter offer_exporter
(CosTrading::Lookup::_duplicate (trd_comp.lookup_if ()),
verbose,
@@ -112,14 +112,14 @@ main (int argc, char** argv)
offer_exporter.describe_offers (TAO_TRY_ENV);
TAO_CHECK_ENV;
-
+
// Run the Offer Importer tests
- ACE_DEBUG ((LM_DEBUG, "Running the Offer Exporter tests.\n"));
+ ACE_DEBUG ((LM_DEBUG, "*** Running the Offer Importer tests.\n"));
TAO_Offer_Importer offer_importer
(CosTrading::Lookup::_duplicate (trd_comp.lookup_if ()), verbose);
-
+
offer_importer.perform_queries (TAO_TRY_ENV);
- TAO_CHECK_ENV;
+ TAO_CHECK_ENV;
}
TAO_CATCHANY
{