summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/itest
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-03-16 12:50:58 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-03-16 12:50:58 +0000
commitf0d84f946b1ce94cba6c082cad881708b5d8eaa4 (patch)
tree2fca50962c6094627b00a4c82aea924182fefaba /sca-java-2.x/trunk/itest
parent14b7ccbd76177d1ba90c4151ac3d86a6d00a5df7 (diff)
Correct test name and simplify contribution location
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@923715 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/itest/ws/endpoints/pom.xml4
-rw-r--r--sca-java-2.x/trunk/itest/ws/endpoints/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/AbstractHelloWorldOMTestCase.java4
2 files changed, 3 insertions, 5 deletions
diff --git a/sca-java-2.x/trunk/itest/ws/endpoints/pom.xml b/sca-java-2.x/trunk/itest/ws/endpoints/pom.xml
index 67cd717080..84da8f9ab6 100644
--- a/sca-java-2.x/trunk/itest/ws/endpoints/pom.xml
+++ b/sca-java-2.x/trunk/itest/ws/endpoints/pom.xml
@@ -26,8 +26,8 @@
<relativePath>../pom.xml</relativePath>
</parent>
- <artifactId>itest-ws-om-endpoints</artifactId>
- <name>Apache Tuscany SCA iTest WS OM Endpoints</name>
+ <artifactId>itest-ws-endpoints</artifactId>
+ <name>Apache Tuscany SCA iTest WS Endpoints</name>
<dependencies>
diff --git a/sca-java-2.x/trunk/itest/ws/endpoints/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/AbstractHelloWorldOMTestCase.java b/sca-java-2.x/trunk/itest/ws/endpoints/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/AbstractHelloWorldOMTestCase.java
index bee9a8bdb2..bad94bbbc3 100644
--- a/sca-java-2.x/trunk/itest/ws/endpoints/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/AbstractHelloWorldOMTestCase.java
+++ b/sca-java-2.x/trunk/itest/ws/endpoints/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/AbstractHelloWorldOMTestCase.java
@@ -28,7 +28,6 @@ import org.apache.axiom.om.OMFactory;
import org.apache.axiom.om.OMText;
import org.apache.tuscany.sca.binding.ws.axis2.HelloWorldOM;
import org.apache.tuscany.sca.node.Contribution;
-import org.apache.tuscany.sca.node.ContributionLocationHelper;
import org.apache.tuscany.sca.node.Node;
import org.apache.tuscany.sca.node.NodeFactory;
@@ -39,8 +38,7 @@ public abstract class AbstractHelloWorldOMTestCase extends TestCase {
@Override
protected void setUp() throws Exception {
- String contribution = ContributionLocationHelper.getContributionLocation(getClass());
- contribution = contribution.replace("test-classes", "classes");
+ String contribution = "target/classes";
node = NodeFactory.newInstance().createNode(getCompositeName(), new Contribution("test", contribution));
node.start();
helloWorld = node.getService(HelloWorldOM.class, "HelloWorldComponent");