From e89f006b6e3c1d7ffdb6d771e8b20af16611e096 Mon Sep 17 00:00:00 2001 From: nash Date: Fri, 11 Sep 2009 21:38:42 +0000 Subject: Add unit test and clean up the pom git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814040 13f79535-47bb-0310-9956-ffa450edef68 --- sandbox/travelsample/launchers/interaction/pom.xml | 80 ++-------------------- .../test/java/scatours/InteractionTestCase.java | 42 ++++++++++++ 2 files changed, 47 insertions(+), 75 deletions(-) create mode 100644 sandbox/travelsample/launchers/interaction/src/test/java/scatours/InteractionTestCase.java (limited to 'sandbox/travelsample/launchers/interaction') diff --git a/sandbox/travelsample/launchers/interaction/pom.xml b/sandbox/travelsample/launchers/interaction/pom.xml index 9cda63c345..deb089a85d 100644 --- a/sandbox/travelsample/launchers/interaction/pom.xml +++ b/sandbox/travelsample/launchers/interaction/pom.xml @@ -34,19 +34,6 @@ tuscany-node-api 1.6-SNAPSHOT - - - org.apache.tuscany.sca - tuscany-node-launcher - 1.6-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-domain-manager - 1.6-SNAPSHOT - runtime - org.apache.tuscany.sca @@ -62,41 +49,6 @@ runtime - - org.apache.tuscany.sca - tuscany-implementation-widget-runtime - 1.6-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-implementation-resource-runtime - 1.6-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-atom-abdera - 1.6-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-jsonrpc-runtime - 1.6-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-http-runtime - 1.6-SNAPSHOT - runtime - - org.apache.tuscany.sca tuscany-binding-ws-axis2 @@ -106,39 +58,17 @@ org.apache.tuscany.sca - tuscany-binding-sca-axis2 + tuscany-host-jetty 1.6-SNAPSHOT runtime - org.apache.tuscany.sca - tuscany-binding-ejb-runtime - 1.6-SNAPSHOT - runtime + junit + junit + 4.5 + test - - - org.apache.tuscany.sca - tuscany-implementation-ejb - 1.6-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-implementation-bpel-ode - 1.6-SNAPSHOT - runtime - - - - org.apache.derby - derby - 10.3.1.4 - runtime - - diff --git a/sandbox/travelsample/launchers/interaction/src/test/java/scatours/InteractionTestCase.java b/sandbox/travelsample/launchers/interaction/src/test/java/scatours/InteractionTestCase.java new file mode 100644 index 0000000000..c674cdcd75 --- /dev/null +++ b/sandbox/travelsample/launchers/interaction/src/test/java/scatours/InteractionTestCase.java @@ -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 { + } +} -- cgit v1.2.3