summaryrefslogtreecommitdiffstats
path: root/java/sca/itest/builder
diff options
context:
space:
mode:
Diffstat (limited to 'java/sca/itest/builder')
-rw-r--r--java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java b/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java
index c7f2dad2c4..fc18012a61 100644
--- a/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java
+++ b/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java
@@ -256,9 +256,9 @@ public class TestUtils {
buffer += indent + " EndpointReference - Component: " + endpointReference.getComponent().getName() +"\n";
buffer += indent + " Reference: " + endpointReference.getReference().getName() +"\n";
- if (endpointReference.getTargetName() != null){
+ if (endpointReference.getTargetEndpoint() != null){
buffer += indent + " Wired: " +"\n";
- buffer += indent + " Target: " + endpointReference.getTargetName()+"\n";
+ buffer += indent + " Target: " + endpointReference.getTargetEndpoint().getComponent().getName()+"\n";
if (endpointReference.getTargetEndpoint() != null &&
endpointReference.getTargetEndpoint().isUnresolved() == false){
buffer += indent + " Binding: " + endpointReference.getBinding().getName() +"\n";