diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-08-08 16:03:48 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-08-08 16:03:48 +0000 |
commit | 5543b509cce44beba0c67abb30fda252c5b5f01c (patch) | |
tree | 79e360cddec4d91f5b6c88c94c500b4eef30fbfd /java/sca/itest | |
parent | 48b8512eb5e5a578b53c0bbf22969cf480a852bb (diff) |
Update the first builder test to match the current endpoint processing.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@802407 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
3 files changed, 12 insertions, 3 deletions
diff --git a/java/sca/itest/builder/pom.xml b/java/sca/itest/builder/pom.xml index 9625fd177e..0caed4e534 100644 --- a/java/sca/itest/builder/pom.xml +++ b/java/sca/itest/builder/pom.xml @@ -91,6 +91,13 @@ </dependency> <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-host-jetty</artifactId> + <version>2.0-SNAPSHOT</version> + <scope>test</scope> + </dependency> + + <dependency> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> <version>2.8.1</version> diff --git a/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/BuilderTestCase.java b/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/BuilderTestCase.java index 66dfa96bb4..89fc2a4d53 100644 --- a/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/BuilderTestCase.java +++ b/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/BuilderTestCase.java @@ -190,8 +190,8 @@ public class BuilderTestCase { " Component URI - ComponentB/ComponentD\n" + " Endpoint: URI = ComponentB/ComponentD#service-binding(Service3/Service3) org.apache.tuscany.sca.assembly.impl.SCABindingImpl\n" + " Endpoint: URI = ComponentB/ComponentD#service-binding(Service3a/Service3a) org.apache.tuscany.sca.assembly.impl.SCABindingImpl\n" + - "Endpoint: URI = ComponentB#service-binding(Service3/Service2) org.apache.tuscany.sca.binding.ws.impl.WebServiceBindingImpl\n" + - "Endpoint: URI = ComponentB#service-binding(Service3a/Service2a) org.apache.tuscany.sca.assembly.impl.SCABindingImpl\n"; + "Endpoint: URI = ComponentB#service-binding(Service2/Service2) org.apache.tuscany.sca.binding.ws.impl.WebServiceBindingImpl\n" + + "Endpoint: URI = ComponentB#service-binding(Service2a/Service2a) org.apache.tuscany.sca.assembly.impl.SCABindingImpl\n"; Assert.assertEquals(expectedStructure, structure); 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 504bf294fb..2be95adad6 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 @@ -66,7 +66,9 @@ public class TestUtils { if (problem.getCause() != null) { problem.getCause().printStackTrace(); } - problems = true; + if (problem.getSeverity() == Problem.Severity.ERROR){ + problems = true; + } } assert !problems; } |