tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sl...@apache.org
Subject svn commit: r801586 - /tuscany/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java
Date Thu, 06 Aug 2009 09:57:38 GMT
Author: slaws
Date: Thu Aug  6 09:57:38 2009
New Revision: 801586

URL: http://svn.apache.org/viewvc?rev=801586&view=rev
Log:
Update to use string version of endpoint and endpoint reference without hash codes

Modified:
    tuscany/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java

Modified: tuscany/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java?rev=801586&r1=801585&r2=801586&view=diff
==============================================================================
--- tuscany/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java
(original)
+++ tuscany/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java
Thu Aug  6 09:57:38 2009
@@ -43,6 +43,8 @@
 import org.apache.tuscany.sca.assembly.Implementation;
 import org.apache.tuscany.sca.assembly.Reference;
 import org.apache.tuscany.sca.assembly.Service;
+import org.apache.tuscany.sca.assembly.impl.EndpointImpl;
+import org.apache.tuscany.sca.assembly.impl.EndpointReferenceImpl;
 import org.apache.tuscany.sca.binding.ws.WebServiceBinding;
 import org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor;
 import org.apache.tuscany.sca.monitor.Monitor;
@@ -229,12 +231,12 @@
             
             for (Service service : component.getServices()){
                 for (Endpoint endpoint : service.getEndpoints()){
-                    structure += indent + endpoint + " " + endpoint.getBinding().getClass().getName()
+ "\n";
+                    structure += indent + ((EndpointImpl)endpoint).toStringWithoutHash()
+ " " + endpoint.getBinding().getClass().getName() + "\n";
                 }
             }
             for (Reference reference : component.getReferences()){
                 for (EndpointReference endpointReference : reference.getEndpointReferences()){
-                    structure += indent + endpointReference + " " + endpointReference.getBinding().getClass().getName()
+ "\n";
+                    structure += indent + ((EndpointReferenceImpl)endpointReference).toStringWithoutHash()
+ " " + endpointReference.getBinding().getClass().getName() + "\n";
                 }
             }
         }



Mime
View raw message