From f0d84f946b1ce94cba6c082cad881708b5d8eaa4 Mon Sep 17 00:00:00 2001 From: slaws Date: Tue, 16 Mar 2010 12:50:58 +0000 Subject: Correct test name and simplify contribution location git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@923715 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/binding/ws/axis2/AbstractHelloWorldOMTestCase.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sca-java-2.x/trunk/itest/ws/endpoints/src/test/java') 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"); -- cgit v1.2.3