summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-03-07 18:35:52 +0000
committerjai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-03-07 18:35:52 +0000
commita67f473317787a8b96881b1cfd022830dffcf83a (patch)
treeca531f6033c80f53d35a61dce71fa4cf53b842a6
parent4ee35f082a2d7fcbe6698c2ce8def55bf7f14d63 (diff)
downloadATCD-a67f473317787a8b96881b1cfd022830dffcf83a.tar.gz
*** empty log message ***
-rw-r--r--TAO/CIAO/DAnCE/ChangeLog7
-rw-r--r--TAO/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client.cpp7
2 files changed, 12 insertions, 2 deletions
diff --git a/TAO/CIAO/DAnCE/ChangeLog b/TAO/CIAO/DAnCE/ChangeLog
index b52b82c55ab..2dce7232c03 100644
--- a/TAO/CIAO/DAnCE/ChangeLog
+++ b/TAO/CIAO/DAnCE/ChangeLog
@@ -1,3 +1,10 @@
+Mon Mar 7 12:35:04 2005 Jaiganesh B <jai@dre.vanderbilt.edu>
+
+ * tests/NodeApplicationTest/NodeApp_test_client.cpp:
+
+ Fixed the test to generate different instance names
+ for the components that are created.
+
Sun Mar 6 20:23:50 2005 Jaiganesh B <jai@dre.vanderbilt.edu>
* ciao/Swapping_Container.cpp:
diff --git a/TAO/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client.cpp b/TAO/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client.cpp
index dec9e0e3796..f0596840e1d 100644
--- a/TAO/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client.cpp
+++ b/TAO/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client.cpp
@@ -14,6 +14,7 @@
const char *ior = "file://test.ior";
int comp_number = 4;
+int count = 0;
int parse_args (int argc, char *argv[])
{
@@ -94,7 +95,8 @@ main (int argc, char *argv[])
Deployment::ComponentImplementationInfo info;
std::stringstream tmp;
- tmp << "NodeAppTest_RoundTrip:" << i;
+ tmp << "NodeAppTest_RoundTrip:" << count;
+ count = count + 1;
// Add the names and entry points of each of the DLLs
info.component_instance_name =
@@ -139,7 +141,8 @@ main (int argc, char *argv[])
Deployment::ComponentImplementationInfo info;
std::stringstream tmp;
- tmp << "NodeAppTest_RoundTrip:" << i;
+ tmp << "NodeAppTest_RoundTrip:" << count;
+ count = count + 1;
// Add the names and entry points of each of the DLLs
info.component_instance_name =