summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.3/itest/builder/src/test/java
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2008-07-24 09:58:24 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2008-07-24 09:58:24 +0000
commit6acbfc42b0acf5343b5d5098ae74c14f9cf32683 (patch)
tree78a223785cf671aab6b4825be79d71f1c3ed4680 /branches/sca-java-1.3/itest/builder/src/test/java
parenta20cf1bd69e078b875244b81594964566ed45cec (diff)
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
Diffstat (limited to 'branches/sca-java-1.3/itest/builder/src/test/java')
-rw-r--r--branches/sca-java-1.3/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/BuilderTestCase.java4
1 files changed, 2 insertions, 2 deletions
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: <binding.ws> 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);