diff options
Diffstat (limited to 'sandbox/old/contrib/implementation-spring/integration-test/core/src/test/resources')
3 files changed, 71 insertions, 0 deletions
diff --git a/sandbox/old/contrib/implementation-spring/integration-test/core/src/test/resources/applicationContext.xml b/sandbox/old/contrib/implementation-spring/integration-test/core/src/test/resources/applicationContext.xml new file mode 100644 index 0000000000..6f0f3cfb56 --- /dev/null +++ b/sandbox/old/contrib/implementation-spring/integration-test/core/src/test/resources/applicationContext.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:sca="http://www.springframework.org/schema/sca" + xsi:schemaLocation=" +http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd +http://www.springframework.org/schema/sca http://www.springframework.org/schema/sca/spring-sca.xsd"> + + <bean id="TestBean" class="org.apache.tuscany.sca.extensions.spring.TestBeanImpl"/> + +</beans> diff --git a/sandbox/old/contrib/implementation-spring/integration-test/core/src/test/resources/itest.scdl b/sandbox/old/contrib/implementation-spring/integration-test/core/src/test/resources/itest.scdl new file mode 100644 index 0000000000..c15c7c3579 --- /dev/null +++ b/sandbox/old/contrib/implementation-spring/integration-test/core/src/test/resources/itest.scdl @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * 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. +--> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0" + xmlns:system="http://tuscany.apache.org/xmlns/system/1.0-SNAPSHOT" + name="SpecTestHarnessComposite" + autowire="true"> + + <include scdlResource="META-INF/sca/spring.composite.scdl"/> + + <component name="WiringTestComponent"> + <tuscany:junit class="org.apache.tuscany.sca.extensions.spring.WiringTestComponentImpl"/> + <reference name="bean" target="SpringComposite/TestBean"/> + </component> + +</composite> diff --git a/sandbox/old/contrib/implementation-spring/integration-test/core/src/test/resources/system.scdl b/sandbox/old/contrib/implementation-spring/integration-test/core/src/test/resources/system.scdl new file mode 100644 index 0000000000..9735a1a228 --- /dev/null +++ b/sandbox/old/contrib/implementation-spring/integration-test/core/src/test/resources/system.scdl @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * 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. + --> +<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" + xmlns:system="http://tuscany.apache.org/xmlns/system/1.0-SNAPSHOT" + name="SpringCoreIntegrationTestSystemComposite"> + + <include name="MavenSystemComposite" scdlResource="META-INF/tuscany/embeddedMaven.scdl"/> + <include name="SpringSystemComposite" scdlResource="META-INF/sca/spring.system.scdl"/> + +</composite>
\ No newline at end of file |