diff options
-rw-r--r-- | TAO/CIAO/DAnCE/ChangeLog | 7 | ||||
-rw-r--r-- | TAO/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client.cpp | 7 |
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 = |