From 25ecf5fd25c607f964959e562a8ebb4c211fe5b2 Mon Sep 17 00:00:00 2001 From: antelder Date: Mon, 23 Mar 2009 07:58:24 +0000 Subject: Remove old testing sandbox sca trunk git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@757342 13f79535-47bb-0310-9956-ffa450edef68 --- .../itest/distribution/bin-distro-unzip/build.xml | 24 ---- .../itest/distribution/bin-distro-unzip/pom.xml | 137 --------------------- .../distribution/binding-ws-calculator/build.xml | 40 ------ .../distribution/binding-ws-calculator/pom.xml | 81 ------------ .../itest/distribution/calculator-rmi/build.xml | 51 -------- .../itest/distribution/calculator-rmi/pom.xml | 81 ------------ .../implementation-java-calculator/build.xml | 40 ------ .../implementation-java-calculator/pom.xml | 81 ------------ sandbox/ant/sca/trunk/itest/distribution/pom.xml | 45 ------- .../distribution/webapp-helloworld-jsp/pom.xml | 124 ------------------- .../src/test/java/itest/HelloworldTestCase.java | 50 -------- .../distribution/webapp-helloworld-stripes/pom.xml | 124 ------------------- .../src/test/java/itest/HelloworldTestCase.java | 53 -------- .../itest/distribution/webapp-helloworld/pom.xml | 121 ------------------ 14 files changed, 1052 deletions(-) delete mode 100644 sandbox/ant/sca/trunk/itest/distribution/bin-distro-unzip/build.xml delete mode 100644 sandbox/ant/sca/trunk/itest/distribution/bin-distro-unzip/pom.xml delete mode 100644 sandbox/ant/sca/trunk/itest/distribution/binding-ws-calculator/build.xml delete mode 100644 sandbox/ant/sca/trunk/itest/distribution/binding-ws-calculator/pom.xml delete mode 100644 sandbox/ant/sca/trunk/itest/distribution/calculator-rmi/build.xml delete mode 100644 sandbox/ant/sca/trunk/itest/distribution/calculator-rmi/pom.xml delete mode 100644 sandbox/ant/sca/trunk/itest/distribution/implementation-java-calculator/build.xml delete mode 100644 sandbox/ant/sca/trunk/itest/distribution/implementation-java-calculator/pom.xml delete mode 100644 sandbox/ant/sca/trunk/itest/distribution/pom.xml delete mode 100644 sandbox/ant/sca/trunk/itest/distribution/webapp-helloworld-jsp/pom.xml delete mode 100644 sandbox/ant/sca/trunk/itest/distribution/webapp-helloworld-jsp/src/test/java/itest/HelloworldTestCase.java delete mode 100644 sandbox/ant/sca/trunk/itest/distribution/webapp-helloworld-stripes/pom.xml delete mode 100644 sandbox/ant/sca/trunk/itest/distribution/webapp-helloworld-stripes/src/test/java/itest/HelloworldTestCase.java delete mode 100644 sandbox/ant/sca/trunk/itest/distribution/webapp-helloworld/pom.xml (limited to 'sandbox/ant/sca/trunk/itest/distribution') diff --git a/sandbox/ant/sca/trunk/itest/distribution/bin-distro-unzip/build.xml b/sandbox/ant/sca/trunk/itest/distribution/bin-distro-unzip/build.xml deleted file mode 100644 index 7542fc23dd..0000000000 --- a/sandbox/ant/sca/trunk/itest/distribution/bin-distro-unzip/build.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - diff --git a/sandbox/ant/sca/trunk/itest/distribution/bin-distro-unzip/pom.xml b/sandbox/ant/sca/trunk/itest/distribution/bin-distro-unzip/pom.xml deleted file mode 100644 index b85ca30772..0000000000 --- a/sandbox/ant/sca/trunk/itest/distribution/bin-distro-unzip/pom.xml +++ /dev/null @@ -1,137 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - itest-distribution - 2.0-SNAPSHOT - ../pom.xml - - itest-bin-distro-unzip - Apache Tuscany SCA iTest Bin Distro Unzip - - - - org.apache.tuscany.sca - tuscany-distribution-all - pom - 2.0-SNAPSHOT - - - - - - - - not-sun-jdk - - - ${java.home}/../lib/tools.jar - - - - - - org.apache.maven.plugins - maven-antrun-plugin - 1.3 - - - - ant - ant-trax - 1.6.5 - - - - - - run-samples - verify - - run - - - - - - - - - - - - - - - - sun-jdk - - - ${java.home}/../lib/tools.jar - - - - - - org.apache.maven.plugins - maven-antrun-plugin - 1.3 - - - - ant - ant-trax - 1.6.5 - - - - sun.jdk - tools - 1.6 - system - ${java.home}/../lib/tools.jar - - - - - - run-samples - verify - - run - - - - - - - - - - - - - - - - - diff --git a/sandbox/ant/sca/trunk/itest/distribution/binding-ws-calculator/build.xml b/sandbox/ant/sca/trunk/itest/distribution/binding-ws-calculator/build.xml deleted file mode 100644 index bfcdfe1063..0000000000 --- a/sandbox/ant/sca/trunk/itest/distribution/binding-ws-calculator/build.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - ${JAVA_HOME} - - - - - - - - - - - diff --git a/sandbox/ant/sca/trunk/itest/distribution/binding-ws-calculator/pom.xml b/sandbox/ant/sca/trunk/itest/distribution/binding-ws-calculator/pom.xml deleted file mode 100644 index 29ef683217..0000000000 --- a/sandbox/ant/sca/trunk/itest/distribution/binding-ws-calculator/pom.xml +++ /dev/null @@ -1,81 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - itest-distribution - 2.0-SNAPSHOT - ../pom.xml - - itest-distribution-binding-ws-calculator - Apache Tuscany SCA Distribution iTest binding-ws-calculator - - - - org.apache.tuscany.sca - itest-bin-distro-unzip - pom - 2.0-SNAPSHOT - - - - - - - org.apache.maven.plugins - maven-antrun-plugin - 1.3 - - - - ant - ant-trax - 1.6.5 - - - - sun.jdk - tools - 1.6 - system - ${java.home}/../lib/tools.jar - - - - - - run-samples - verify - - run - - - - - - - - - - - - - diff --git a/sandbox/ant/sca/trunk/itest/distribution/calculator-rmi/build.xml b/sandbox/ant/sca/trunk/itest/distribution/calculator-rmi/build.xml deleted file mode 100644 index fb6f20f9c1..0000000000 --- a/sandbox/ant/sca/trunk/itest/distribution/calculator-rmi/build.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sandbox/ant/sca/trunk/itest/distribution/calculator-rmi/pom.xml b/sandbox/ant/sca/trunk/itest/distribution/calculator-rmi/pom.xml deleted file mode 100644 index e38b2205cc..0000000000 --- a/sandbox/ant/sca/trunk/itest/distribution/calculator-rmi/pom.xml +++ /dev/null @@ -1,81 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - itest-distribution - 2.0-SNAPSHOT - ../pom.xml - - itest-distribution-calculator-rmi - Apache Tuscany SCA Distribution iTest calculator-rmi - - - - org.apache.tuscany.sca - itest-bin-distro-unzip - pom - 2.0-SNAPSHOT - - - - - - - org.apache.maven.plugins - maven-antrun-plugin - 1.3 - - - - ant - ant-trax - 1.6.5 - - - - sun.jdk - tools - 1.6 - system - ${java.home}/../lib/tools.jar - - - - - - run-samples - verify - - run - - - - - - - - - - - - - diff --git a/sandbox/ant/sca/trunk/itest/distribution/implementation-java-calculator/build.xml b/sandbox/ant/sca/trunk/itest/distribution/implementation-java-calculator/build.xml deleted file mode 100644 index 3da5aace09..0000000000 --- a/sandbox/ant/sca/trunk/itest/distribution/implementation-java-calculator/build.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - ${JAVA_HOME} - - - - - - - - - - - diff --git a/sandbox/ant/sca/trunk/itest/distribution/implementation-java-calculator/pom.xml b/sandbox/ant/sca/trunk/itest/distribution/implementation-java-calculator/pom.xml deleted file mode 100644 index cfe260fac6..0000000000 --- a/sandbox/ant/sca/trunk/itest/distribution/implementation-java-calculator/pom.xml +++ /dev/null @@ -1,81 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - itest-distribution - 2.0-SNAPSHOT - ../pom.xml - - itest-distribution-implementation-java-calculator - Apache Tuscany SCA Distribution iTest implementation-java-calculator - - - - org.apache.tuscany.sca - itest-bin-distro-unzip - pom - 2.0-SNAPSHOT - - - - - - - org.apache.maven.plugins - maven-antrun-plugin - 1.3 - - - - ant - ant-trax - 1.6.5 - - - - sun.jdk - tools - 1.6 - system - ${java.home}/../lib/tools.jar - - - - - - run-samples - verify - - run - - - - - - - - - - - - - diff --git a/sandbox/ant/sca/trunk/itest/distribution/pom.xml b/sandbox/ant/sca/trunk/itest/distribution/pom.xml deleted file mode 100644 index 128d097cb2..0000000000 --- a/sandbox/ant/sca/trunk/itest/distribution/pom.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-SNAPSHOT - ../pom.xml - - pom - itest-distribution - Apache Tuscany SCA Distribution Integration Tests - - - install - - - - bin-distro-unzip - binding-ws-calculator - calculator-rmi - implementation-java-calculator - webapp-helloworld - webapp-helloworld-jsp - - - diff --git a/sandbox/ant/sca/trunk/itest/distribution/webapp-helloworld-jsp/pom.xml b/sandbox/ant/sca/trunk/itest/distribution/webapp-helloworld-jsp/pom.xml deleted file mode 100644 index a2228fdccd..0000000000 --- a/sandbox/ant/sca/trunk/itest/distribution/webapp-helloworld-jsp/pom.xml +++ /dev/null @@ -1,124 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - itest-distribution - 2.0-SNAPSHOT - ../pom.xml - - itest-distribution-webapp-helloworld-jsp - Apache Tuscany SCA Distribution iTest Webapp helloworld-jsp - - - - - org.apache.tuscany.sca - itest-bin-distro-unzip - pom - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - helloworld-jsp - war - 2.0-SNAPSHOT - - - - junit - junit - 4.5 - test - - - - htmlunit - htmlunit - 1.9 - test - - - - - - - - org.codehaus.cargo - cargo-maven2-plugin - 1.0-beta-2 - - - start-container - compile - - start - - - - stop-container - post-integration-test - - stop - - - - - false - - jetty6x - embedded - - org.apache.commons.logging.impl.SimpleLog - - - - - ${project.build.directory}/cargo-jetty - - - - 8085 - helloworld-jsp - - - - org.apache.tuscany.sca - helloworld-jsp - war - - helloworld-jsp - - - - - - - - - - diff --git a/sandbox/ant/sca/trunk/itest/distribution/webapp-helloworld-jsp/src/test/java/itest/HelloworldTestCase.java b/sandbox/ant/sca/trunk/itest/distribution/webapp-helloworld-jsp/src/test/java/itest/HelloworldTestCase.java deleted file mode 100644 index 7bcd590cf0..0000000000 --- a/sandbox/ant/sca/trunk/itest/distribution/webapp-helloworld-jsp/src/test/java/itest/HelloworldTestCase.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * 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 itest; - -import static org.junit.Assert.assertEquals; - -import java.io.IOException; -import java.net.MalformedURLException; -import java.util.Iterator; - -import org.junit.Test; - -import com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException; -import com.gargoylesoftware.htmlunit.WebClient; -import com.gargoylesoftware.htmlunit.html.HtmlPage; -import com.gargoylesoftware.htmlunit.html.HtmlParagraph; - -/** - */ -public class HelloworldTestCase { - - @Test - public void testA() throws FailingHttpStatusCodeException, MalformedURLException, IOException { - HtmlPage page = (HtmlPage)new WebClient().getPage("http://localhost:8085/helloworld-jsp"); - Iterator ss = page.getAllHtmlChildElements(); - ss.next(); - ss.next(); - ss.next(); - HtmlParagraph p = (HtmlParagraph)ss.next(); - assertEquals("Hello world", p.asText()); - } - -} diff --git a/sandbox/ant/sca/trunk/itest/distribution/webapp-helloworld-stripes/pom.xml b/sandbox/ant/sca/trunk/itest/distribution/webapp-helloworld-stripes/pom.xml deleted file mode 100644 index 956adc6166..0000000000 --- a/sandbox/ant/sca/trunk/itest/distribution/webapp-helloworld-stripes/pom.xml +++ /dev/null @@ -1,124 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - itest-distribution - 2.0-SNAPSHOT - ../pom.xml - - itest-distribution-webapp-helloworld-stripes - Apache Tuscany SCA Distribution iTest Webapp helloworld-stripes - - - - - org.apache.tuscany.sca - itest-bin-distro-unzip - pom - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - helloworld-stripes - war - 2.0-SNAPSHOT - - - - junit - junit - 4.5 - test - - - - htmlunit - htmlunit - 1.9 - test - - - - - - - - org.codehaus.cargo - cargo-maven2-plugin - 1.0-beta-2 - - - start-container - compile - - start - - - - stop-container - post-integration-test - - stop - - - - - false - - jetty6x - embedded - - org.apache.commons.logging.impl.SimpleLog - - - - - ${project.build.directory}/cargo-jetty - - - - 8085 - helloworld-stripes - - - - org.apache.tuscany.sca - helloworld-stripes - war - - helloworld-stripes - - - - - - - - - - diff --git a/sandbox/ant/sca/trunk/itest/distribution/webapp-helloworld-stripes/src/test/java/itest/HelloworldTestCase.java b/sandbox/ant/sca/trunk/itest/distribution/webapp-helloworld-stripes/src/test/java/itest/HelloworldTestCase.java deleted file mode 100644 index 4c75e312b5..0000000000 --- a/sandbox/ant/sca/trunk/itest/distribution/webapp-helloworld-stripes/src/test/java/itest/HelloworldTestCase.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * 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 itest; - -import static org.junit.Assert.assertEquals; - -import java.io.IOException; -import java.net.MalformedURLException; -import java.util.Iterator; - -import org.junit.Test; - -import com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException; -import com.gargoylesoftware.htmlunit.WebClient; -import com.gargoylesoftware.htmlunit.html.HtmlPage; -import com.gargoylesoftware.htmlunit.html.HtmlParagraph; - -/** - */ -public class HelloworldTestCase { - - @Test - public void testA() throws FailingHttpStatusCodeException, MalformedURLException, IOException { - HtmlPage page = (HtmlPage)new WebClient().getPage("http://localhost:8085/helloworld-stripes"); - Iterator ss = page.getAllHtmlChildElements(); - Object o1= ss.next(); - Object o2= ss.next(); - Object o3= ss.next(); - Object o4= ss.next(); - Object o5= ss.next(); - Object o6= ss.next(); - HtmlParagraph p = (HtmlParagraph)ss.next(); - assertEquals("sayHello returns: Hello world", p.asText()); - } - -} diff --git a/sandbox/ant/sca/trunk/itest/distribution/webapp-helloworld/pom.xml b/sandbox/ant/sca/trunk/itest/distribution/webapp-helloworld/pom.xml deleted file mode 100644 index a9d1d7b80a..0000000000 --- a/sandbox/ant/sca/trunk/itest/distribution/webapp-helloworld/pom.xml +++ /dev/null @@ -1,121 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - itest-distribution - 2.0-SNAPSHOT - ../pom.xml - - itest-distribution-webapp-helloworld - Apache Tuscany SCA Distribution iTest Webapp helloworld - - - - - org.apache.tuscany.sca - itest-bin-distro-unzip - pom - 2.0-SNAPSHOT - - - - org.apache.tuscany.sca - helloworld - war - 2.0-SNAPSHOT - - - - junit - junit - 4.5 - test - - - - httpunit - httpunit - 1.6.1 - test - - - - - - - - org.codehaus.cargo - cargo-maven2-plugin - 1.0-beta-2 - - - start-container - pre-integration-test - - start - - - - stop-container - post-integration-test - - stop - - - - - false - - jetty6x - embedded - - org.apache.commons.logging.impl.SimpleLog - - - - - ${project.build.directory}/cargo-jetty - - - - 8085 - - - - org.apache.tuscany.sca - helloworld - war - http://localhost:8085/helloworld - - - - - - - - - -- cgit v1.2.3