tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r643539 - in /incubator/tuscany/java/sca/itest/oneway/src: main/resources/OneWayContribution/META-INF/sca-deployables/ test/java/org/apache/tuscany/sca/itest/oneway/
Date Tue, 01 Apr 2008 19:49:41 GMT
Author: nash
Date: Tue Apr  1 12:49:38 2008
New Revision: 643539

URL: http://svn.apache.org/viewvc?rev=643539&view=rev
Log:
Get itest/oneway working

Added:
    incubator/tuscany/java/sca/itest/oneway/src/test/java/org/apache/tuscany/sca/itest/oneway/OneWayTestCase.java
      - copied, changed from r643491, incubator/tuscany/java/sca/itest/oneway/src/test/java/org/apache/tuscany/sca/itest/oneway/OneWayTestCaseFIXME.java
Removed:
    incubator/tuscany/java/sca/itest/oneway/src/test/java/org/apache/tuscany/sca/itest/oneway/OneWayTestCaseFIXME.java
Modified:
    incubator/tuscany/java/sca/itest/oneway/src/main/resources/OneWayContribution/META-INF/sca-deployables/oneWay.composite

Modified: incubator/tuscany/java/sca/itest/oneway/src/main/resources/OneWayContribution/META-INF/sca-deployables/oneWay.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/oneway/src/main/resources/OneWayContribution/META-INF/sca-deployables/oneWay.composite?rev=643539&r1=643538&r2=643539&view=diff
==============================================================================
--- incubator/tuscany/java/sca/itest/oneway/src/main/resources/OneWayContribution/META-INF/sca-deployables/oneWay.composite
(original)
+++ incubator/tuscany/java/sca/itest/oneway/src/main/resources/OneWayContribution/META-INF/sca-deployables/oneWay.composite
Tue Apr  1 12:49:38 2008
@@ -18,6 +18,7 @@
  * under the License.
 -->
 <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+           targetNamespace="http://oneway"
 	       name="OneWayITest">
  	      
     <component name="OneWayClientComponent">

Copied: incubator/tuscany/java/sca/itest/oneway/src/test/java/org/apache/tuscany/sca/itest/oneway/OneWayTestCase.java
(from r643491, incubator/tuscany/java/sca/itest/oneway/src/test/java/org/apache/tuscany/sca/itest/oneway/OneWayTestCaseFIXME.java)
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/oneway/src/test/java/org/apache/tuscany/sca/itest/oneway/OneWayTestCase.java?p2=incubator/tuscany/java/sca/itest/oneway/src/test/java/org/apache/tuscany/sca/itest/oneway/OneWayTestCase.java&p1=incubator/tuscany/java/sca/itest/oneway/src/test/java/org/apache/tuscany/sca/itest/oneway/OneWayTestCaseFIXME.java&r1=643491&r2=643539&rev=643539&view=diff
==============================================================================
--- incubator/tuscany/java/sca/itest/oneway/src/test/java/org/apache/tuscany/sca/itest/oneway/OneWayTestCaseFIXME.java
(original)
+++ incubator/tuscany/java/sca/itest/oneway/src/test/java/org/apache/tuscany/sca/itest/oneway/OneWayTestCase.java
Tue Apr  1 12:49:38 2008
@@ -19,6 +19,8 @@
 
 package org.apache.tuscany.sca.itest.oneway;
 
+import javax.xml.namespace.QName;
+
 import junit.framework.Assert;
 
 import org.apache.tuscany.sca.domain.SCADomain;
@@ -30,7 +32,7 @@
 import org.junit.Before;
 import org.junit.Test;
 
-public class OneWayTestCaseFIXME {
+public class OneWayTestCase {
 
     private SCADomain domain;
 
@@ -38,7 +40,8 @@
     public void setUp() throws Exception {
         SCANode node = SCANodeFactory.newInstance().createSCANode(null, null);
         node.addContribution("mycontribution",
-                             OneWayTestCaseFIXME.class.getResource("/OneWayContribution/."));
+                             OneWayTestCase.class.getClassLoader().getResource("OneWayContribution/"));
+        node.addToDomainLevelComposite(new QName("http://oneway", "OneWayITest"));
         node.start();
         domain = node.getDomain();
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message