From 26c7d87982e6eb53ff3f5b394b06af135395824b Mon Sep 17 00:00:00 2001 From: antelder Date: Wed, 6 Oct 2010 13:54:26 +0000 Subject: Copy itest and compliance test to be under testing folder git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1005039 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/itest/imports/HelloworldImpl.java | 30 ++++++++++++++++++++++ .../src/main/resources/Helloworld.composite | 29 +++++++++++++++++++++ .../main/resources/META-INF/sca-contribution.xml | 24 +++++++++++++++++ 3 files changed, 83 insertions(+) create mode 100644 sca-java-2.x/trunk/testing/itest/import-export/imports/src/main/java/org/apache/tuscany/sca/itest/imports/HelloworldImpl.java create mode 100644 sca-java-2.x/trunk/testing/itest/import-export/imports/src/main/resources/Helloworld.composite create mode 100644 sca-java-2.x/trunk/testing/itest/import-export/imports/src/main/resources/META-INF/sca-contribution.xml (limited to 'sca-java-2.x/trunk/testing/itest/import-export/imports/src') diff --git a/sca-java-2.x/trunk/testing/itest/import-export/imports/src/main/java/org/apache/tuscany/sca/itest/imports/HelloworldImpl.java b/sca-java-2.x/trunk/testing/itest/import-export/imports/src/main/java/org/apache/tuscany/sca/itest/imports/HelloworldImpl.java new file mode 100644 index 0000000000..4c7bc92b4f --- /dev/null +++ b/sca-java-2.x/trunk/testing/itest/import-export/imports/src/main/java/org/apache/tuscany/sca/itest/imports/HelloworldImpl.java @@ -0,0 +1,30 @@ +/* + * 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 org.apache.tuscany.sca.itest.imports; + +import org.apache.tuscany.sca.itest.exports.Helloworld; + +public class HelloworldImpl implements Helloworld { + + public String sayHello(String name) { + return "Hello " + name; + } + +} diff --git a/sca-java-2.x/trunk/testing/itest/import-export/imports/src/main/resources/Helloworld.composite b/sca-java-2.x/trunk/testing/itest/import-export/imports/src/main/resources/Helloworld.composite new file mode 100644 index 0000000000..b4e2ff8868 --- /dev/null +++ b/sca-java-2.x/trunk/testing/itest/import-export/imports/src/main/resources/Helloworld.composite @@ -0,0 +1,29 @@ + + + + + + + + + diff --git a/sca-java-2.x/trunk/testing/itest/import-export/imports/src/main/resources/META-INF/sca-contribution.xml b/sca-java-2.x/trunk/testing/itest/import-export/imports/src/main/resources/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..c136923ab4 --- /dev/null +++ b/sca-java-2.x/trunk/testing/itest/import-export/imports/src/main/resources/META-INF/sca-contribution.xml @@ -0,0 +1,24 @@ + + + + + + -- cgit v1.2.3