summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/branches/sca-java-1.6.1/itest/spring/src/test/java/location
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-08-24 11:26:41 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-08-24 11:26:41 +0000
commitd1f056a0126252f101d108ad2952ac0eebb78cb0 (patch)
tree6d284afe78fb3af0cd721e9d7a6fe4d79818d91e /sca-java-1.x/branches/sca-java-1.6.1/itest/spring/src/test/java/location
parentde5a3e20aa493e9bfad8ea32deb2f3bd7e4ff2be (diff)
Copy 1.6 release to new 1.6.1 branch
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@988487 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/branches/sca-java-1.6.1/itest/spring/src/test/java/location')
-rw-r--r--sca-java-1.x/branches/sca-java-1.6.1/itest/spring/src/test/java/location/folder/SpringFolderLocationTestCase.java45
-rw-r--r--sca-java-1.x/branches/sca-java-1.6.1/itest/spring/src/test/java/location/folder/SpringFolderNoManifestTestCase.java45
-rw-r--r--sca-java-1.x/branches/sca-java-1.6.1/itest/spring/src/test/java/location/jar/SpringJarLocationTestCase.java45
-rw-r--r--sca-java-1.x/branches/sca-java-1.6.1/itest/spring/src/test/java/location/jar/SpringJarNoManifestTestCase.java45
4 files changed, 180 insertions, 0 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/itest/spring/src/test/java/location/folder/SpringFolderLocationTestCase.java b/sca-java-1.x/branches/sca-java-1.6.1/itest/spring/src/test/java/location/folder/SpringFolderLocationTestCase.java
new file mode 100644
index 0000000000..bd1150e99a
--- /dev/null
+++ b/sca-java-1.x/branches/sca-java-1.6.1/itest/spring/src/test/java/location/folder/SpringFolderLocationTestCase.java
@@ -0,0 +1,45 @@
+/*
+ * 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 location.folder;
+
+import org.apache.tuscany.sca.itest.spring.AbstractHelloWorldTestCase;
+
+/**
+ * A test case designed to test the implementation of Properties from a Spring application
+ * context, where the properties are explicit, through the presence of an sca:property
+ * element within the Spring application context
+ *
+ * The artifacts involved in this test are:
+ *
+ * 1) A composite containing a component with a Spring implementation
+ * 2) The <implementation.spring.../> element references an application context that
+ * uses an explicit sca:property element which is used to compute the response to an invocation
+ * of the service of the implementation
+ *
+ * @version $Rev$ $Date$
+ */
+public class SpringFolderLocationTestCase extends AbstractHelloWorldTestCase {
+ // super class does it all getting composite based on this class name
+
+ public SpringFolderLocationTestCase() {
+ super("SpringFolderLocation.composite", "location/folder");
+ }
+}
+
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/itest/spring/src/test/java/location/folder/SpringFolderNoManifestTestCase.java b/sca-java-1.x/branches/sca-java-1.6.1/itest/spring/src/test/java/location/folder/SpringFolderNoManifestTestCase.java
new file mode 100644
index 0000000000..c9876fd947
--- /dev/null
+++ b/sca-java-1.x/branches/sca-java-1.6.1/itest/spring/src/test/java/location/folder/SpringFolderNoManifestTestCase.java
@@ -0,0 +1,45 @@
+/*
+ * 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 location.folder;
+
+import org.apache.tuscany.sca.itest.spring.AbstractHelloWorldTestCase;
+
+/**
+ * A test case designed to test the implementation of Properties from a Spring application
+ * context, where the properties are explicit, through the presence of an sca:property
+ * element within the Spring application context
+ *
+ * The artifacts involved in this test are:
+ *
+ * 1) A composite containing a component with a Spring implementation
+ * 2) The <implementation.spring.../> element references an application context that
+ * uses an explicit sca:property element which is used to compute the response to an invocation
+ * of the service of the implementation
+ *
+ * @version $Rev$ $Date$
+ */
+public class SpringFolderNoManifestTestCase extends AbstractHelloWorldTestCase {
+ // super class does it all getting composite based on this class name
+
+ public SpringFolderNoManifestTestCase() {
+ super("SpringFolderNoManifest.composite", "location/folder");
+ }
+}
+
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/itest/spring/src/test/java/location/jar/SpringJarLocationTestCase.java b/sca-java-1.x/branches/sca-java-1.6.1/itest/spring/src/test/java/location/jar/SpringJarLocationTestCase.java
new file mode 100644
index 0000000000..102cd69874
--- /dev/null
+++ b/sca-java-1.x/branches/sca-java-1.6.1/itest/spring/src/test/java/location/jar/SpringJarLocationTestCase.java
@@ -0,0 +1,45 @@
+/*
+ * 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 location.jar;
+
+import org.apache.tuscany.sca.itest.spring.AbstractHelloWorldTestCase;
+
+/**
+ * A test case designed to test the implementation of Properties from a Spring application
+ * context, where the properties are explicit, through the presence of an sca:property
+ * element within the Spring application context
+ *
+ * The artifacts involved in this test are:
+ *
+ * 1) A composite containing a component with a Spring implementation
+ * 2) The <implementation.spring.../> element references an application context that
+ * uses an explicit sca:property element which is used to compute the response to an invocation
+ * of the service of the implementation
+ *
+ * @version $Rev$ $Date$
+ */
+public class SpringJarLocationTestCase extends AbstractHelloWorldTestCase {
+ // super class does it all getting composite based on this class name
+
+ public SpringJarLocationTestCase() {
+ super("SpringJarLocation.composite", "location/jar");
+ }
+}
+
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/itest/spring/src/test/java/location/jar/SpringJarNoManifestTestCase.java b/sca-java-1.x/branches/sca-java-1.6.1/itest/spring/src/test/java/location/jar/SpringJarNoManifestTestCase.java
new file mode 100644
index 0000000000..e32227cbe9
--- /dev/null
+++ b/sca-java-1.x/branches/sca-java-1.6.1/itest/spring/src/test/java/location/jar/SpringJarNoManifestTestCase.java
@@ -0,0 +1,45 @@
+/*
+ * 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 location.jar;
+
+import org.apache.tuscany.sca.itest.spring.AbstractHelloWorldTestCase;
+
+/**
+ * A test case designed to test the implementation of Properties from a Spring application
+ * context, where the properties are explicit, through the presence of an sca:property
+ * element within the Spring application context
+ *
+ * The artifacts involved in this test are:
+ *
+ * 1) A composite containing a component with a Spring implementation
+ * 2) The <implementation.spring.../> element references an application context that
+ * uses an explicit sca:property element which is used to compute the response to an invocation
+ * of the service of the implementation
+ *
+ * @version $Rev$ $Date$
+ */
+public class SpringJarNoManifestTestCase extends AbstractHelloWorldTestCase {
+ // super class does it all getting composite based on this class name
+
+ public SpringJarNoManifestTestCase() {
+ super("SpringJarNoManifest.composite", "location/jar");
+ }
+}
+