You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by na...@apache.org on 2009/09/11 23:38:46 UTC

svn commit: r814040 - in /tuscany/sandbox/travelsample/launchers/interaction: pom.xml src/test/ src/test/java/ src/test/java/scatours/ src/test/java/scatours/InteractionTestCase.java

Author: nash
Date: Fri Sep 11 21:38:42 2009
New Revision: 814040

URL: http://svn.apache.org/viewvc?rev=814040&view=rev
Log:
Add unit test and clean up the pom

Added:
    tuscany/sandbox/travelsample/launchers/interaction/src/test/
    tuscany/sandbox/travelsample/launchers/interaction/src/test/java/
    tuscany/sandbox/travelsample/launchers/interaction/src/test/java/scatours/
    tuscany/sandbox/travelsample/launchers/interaction/src/test/java/scatours/InteractionTestCase.java
Modified:
    tuscany/sandbox/travelsample/launchers/interaction/pom.xml

Modified: tuscany/sandbox/travelsample/launchers/interaction/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/launchers/interaction/pom.xml?rev=814040&r1=814039&r2=814040&view=diff
==============================================================================
--- tuscany/sandbox/travelsample/launchers/interaction/pom.xml (original)
+++ tuscany/sandbox/travelsample/launchers/interaction/pom.xml Fri Sep 11 21:38:42 2009
@@ -34,19 +34,6 @@
             <artifactId>tuscany-node-api</artifactId>
             <version>1.6-SNAPSHOT</version>
         </dependency>
-        
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node-launcher</artifactId>
-            <version>1.6-SNAPSHOT</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-domain-manager</artifactId>
-            <version>1.6-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
 
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
@@ -64,41 +51,6 @@
 
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-implementation-widget-runtime</artifactId>
-            <version>1.6-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-implementation-resource-runtime</artifactId>
-            <version>1.6-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-atom-abdera</artifactId>
-            <version>1.6-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-jsonrpc-runtime</artifactId>
-            <version>1.6-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-http-runtime</artifactId>
-            <version>1.6-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
             <artifactId>tuscany-binding-ws-axis2</artifactId>
             <version>1.6-SNAPSHOT</version>
             <scope>runtime</scope>
@@ -106,39 +58,17 @@
 
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-sca-axis2</artifactId>
+            <artifactId>tuscany-host-jetty</artifactId>
             <version>1.6-SNAPSHOT</version>
             <scope>runtime</scope>
         </dependency>
 
         <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-binding-ejb-runtime</artifactId>
-            <version>1.6-SNAPSHOT</version>
-            <scope>runtime</scope>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.5</version>
+            <scope>test</scope>
         </dependency>
-
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-implementation-ejb</artifactId>
-            <version>1.6-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>
-        
-        <dependency>
-            <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-implementation-bpel-ode</artifactId>
-            <version>1.6-SNAPSHOT</version>
-            <scope>runtime</scope>
-        </dependency>        
-
-        <dependency>
-            <groupId>org.apache.derby</groupId>
-            <artifactId>derby</artifactId>
-            <version>10.3.1.4</version>
-            <scope>runtime</scope>
-        </dependency>
-
     </dependencies>
     
     <build>

Added: tuscany/sandbox/travelsample/launchers/interaction/src/test/java/scatours/InteractionTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/launchers/interaction/src/test/java/scatours/InteractionTestCase.java?rev=814040&view=auto
==============================================================================
--- tuscany/sandbox/travelsample/launchers/interaction/src/test/java/scatours/InteractionTestCase.java (added)
+++ tuscany/sandbox/travelsample/launchers/interaction/src/test/java/scatours/InteractionTestCase.java Fri Sep 11 21:38:42 2009
@@ -0,0 +1,42 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package scatours;
+
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+
+/**
+ * Tests the launcher
+ */
+public class InteractionTestCase {
+
+    @Before
+    public void startServer() throws Exception {
+    }
+
+    @Test
+    public void testLauncher() throws Exception {
+        InteractionLauncher.main(null);
+    }
+    
+    @After
+    public void stopServer() throws Exception {
+    }
+}