tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r956197 - in /tuscany/otest/newlayout/tuscany-ws-ri-test-runner: ./ pom.xml src/test/resources/tuscany-oasis-sca-tests-errors.properties src/test/tjava/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java
Date Sat, 19 Jun 2010 08:24:22 GMT
Author: antelder
Date: Sat Jun 19 08:24:22 2010
New Revision: 956197

URL: http://svn.apache.org/viewvc?rev=956197&view=rev
Log:
Add a JAXWS RI based WS otest suite runner

Added:
    tuscany/otest/newlayout/tuscany-ws-ri-test-runner/
      - copied from r956196, tuscany/otest/newlayout/tuscany-ws-test-runner/
Modified:
    tuscany/otest/newlayout/tuscany-ws-ri-test-runner/pom.xml
    tuscany/otest/newlayout/tuscany-ws-ri-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties
    tuscany/otest/newlayout/tuscany-ws-ri-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java

Modified: tuscany/otest/newlayout/tuscany-ws-ri-test-runner/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/otest/newlayout/tuscany-ws-ri-test-runner/pom.xml?rev=956197&r1=956196&r2=956197&view=diff
==============================================================================
--- tuscany/otest/newlayout/tuscany-ws-ri-test-runner/pom.xml (original)
+++ tuscany/otest/newlayout/tuscany-ws-ri-test-runner/pom.xml Sat Jun 19 08:24:22 2010
@@ -25,70 +25,17 @@
         <version>2.0-SNAPSHOT</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
-    <artifactId>tuscany-otests-sca-ws-tests</artifactId>
-    <name>Apache Tuscany SCA Specification Tests for WS Binding</name>
+    <artifactId>tuscany-otests-sca-ws-ri-tests</artifactId>
+    <name>Apache Tuscany SCA Specification Tests for JAX-WS RI based WS Binding</name>
 
     <dependencies>
         <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node-impl</artifactId>
+            <groupId>org.apache.tuscany.sca.shades</groupId>
+            <artifactId>tuscany-base</artifactId>
             <version>2.0-SNAPSHOT</version>
         </dependency>
 
         <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node-launcher-equinox</artifactId>
-            <version>2.0-SNAPSHOT</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-deployment</artifactId>
-            <version>2.0-SNAPSHOT</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-implementation-java-runtime</artifactId>
-            <version>2.0-SNAPSHOT</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
-            <version>2.0-SNAPSHOT</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-jms-runtime</artifactId>
-            <version>2.0-SNAPSHOT</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.activemq</groupId>
-            <artifactId>activemq-all</artifactId>
-            <version>5.2.0</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-host-jetty</artifactId>
-            <version>2.0-SNAPSHOT</version>
-        </dependency>
-
-        <dependency>
-            <groupId>javax.servlet</groupId>
-            <artifactId>servlet-api</artifactId>
-            <version>2.5</version>
-        </dependency>
-
-        <dependency>
-            <groupId>com.sun.xml.ws</groupId>
-            <artifactId>jaxws-rt</artifactId>
-            <version>2.1.7</version>
-        </dependency>
-
-        <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
             <version>4.5</version>

Modified: tuscany/otest/newlayout/tuscany-ws-ri-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties
URL: http://svn.apache.org/viewvc/tuscany/otest/newlayout/tuscany-ws-ri-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties?rev=956197&r1=956196&r2=956197&view=diff
==============================================================================
--- tuscany/otest/newlayout/tuscany-ws-ri-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties
(original)
+++ tuscany/otest/newlayout/tuscany-ws-ri-test-runner/src/test/resources/tuscany-oasis-sca-tests-errors.properties
Sat Jun 19 08:24:22 2010
@@ -15,17 +15,19 @@
 # specific language governing permissions and limitations
 # under the License. 
 
-BWS_2001=unknown message
-BWS_2002=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BWS_2002, Artifact: Test_BWS_2002.composite]
- Invalid WebService binding wsdlElement attribute: http://test.sca.oasisopen.org/#wsdl.port(NonExistentPortName)
-BWS_2003=unknown message
-BWS_2005=org.oasisopen.sca.ServiceRuntimeException: [] - Exception while generating WSDL
for TEST_BWS_2005Component1/Reference1 exception was: null
-BWS_2007=unknown message
-BWS_2011=unknown message
-BWS_2013=unknown message
-BWS_2015=unknown message
-BWS_2016=unknown message
-BWS_2017=unknown message
-BWS_2018=unknown message
-BWS_2019=org.oasisopen.sca.ServiceRuntimeException: [Contribution: BWS_2019, Artifact: Test_BWS_2019.composite]
- XMLSchema validation error occured in: Test_BWS_2019.composite ,line = 36, column = 10,
Message = cvc-complex-type.3.2.2: Attribute 'invalidAttribute' is not allowed to appear in
element 'binding.ws'.
-BWS_2020=unknown message
-BWS_2022=unknown message
\ No newline at end of file
+BWS_2015=*
+BWS_2020=*
+BWS_3001=*
+BWS_4008=*
+BWS_2007=*
+BWS_2013=*
+BWS_2018=*
+BWS_2005=*
+BWS_2011=*
+BWS_2001=*
+BWS_2022=*
+BWS_2017=*
+BWS_2002=*
+BWS_2019=*
+BWS_2003=*
+BWS_2016=*

Modified: tuscany/otest/newlayout/tuscany-ws-ri-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java
URL: http://svn.apache.org/viewvc/tuscany/otest/newlayout/tuscany-ws-ri-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java?rev=956197&r1=956196&r2=956197&view=diff
==============================================================================
--- tuscany/otest/newlayout/tuscany-ws-ri-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java
(original)
+++ tuscany/otest/newlayout/tuscany-ws-ri-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java
Sat Jun 19 08:24:22 2010
@@ -60,7 +60,10 @@ public class TuscanyRuntimeBridge implem
     public boolean startContribution(String compositeName, String contributionLocation, String[]
contributionNames) throws Exception {
         try {
             // Tuscany specific code which starts the contribution(s) holding the test
-            launcher = NodeFactory.newInstance();
+            Properties ps = new Properties();
+            ps.setProperty("defaultScheme", "vm");
+            ps.setProperty("org.apache.tuscany.sca.binding.ws.jaxws.ri.JAXWSBindingProviderFactory.defaultPort",
"8080");
+            launcher = NodeFactory.newInstance(ps);
 
             Contribution[] contributions = new Contribution[contributionNames.length];
             String[] contributionURIs = getContributionURIs(contributionLocation, contributionNames);



Mime
View raw message