From 6acbfc42b0acf5343b5d5098ae74c14f9cf32683 Mon Sep 17 00:00:00 2001 From: slaws Date: Thu, 24 Jul 2008 09:58:24 +0000 Subject: Extend TUSCANY-2324 to ensure that interface contracts are copied down alongside bindings in the multiplicity > 1 case. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@679334 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/tuscany/sca/itest/builder/BuilderTestCase.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'branches/sca-java-1.3/itest/builder/src/test/java') diff --git a/branches/sca-java-1.3/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/BuilderTestCase.java b/branches/sca-java-1.3/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/BuilderTestCase.java index e19ed92b42..f3ffd44cdb 100644 --- a/branches/sca-java-1.3/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/BuilderTestCase.java +++ b/branches/sca-java-1.3/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/BuilderTestCase.java @@ -50,7 +50,7 @@ public class BuilderTestCase extends TestCase { protected void tearDown() throws Exception { } - + // Scenario 1: on outer composite service CompositeA/Service1 public void testScenario1() throws Exception { System.out.println("====>Running testScenario1"); @@ -779,7 +779,7 @@ public class BuilderTestCase extends TestCase { componentRef = reference; assertTrue(reference.getBindings().size() == 2); assertTrue(reference.getBindings().get(0) instanceof SCABinding); - assertTrue(reference.getBindings().get(1) instanceof SCABinding); + assertTrue(reference.getBindings().get(1) instanceof WebServiceBinding); } } assertTrue(componentRef != null); -- cgit v1.2.3