]> git.argeo.org Git - gpl/argeo-slc.git/blob - legacy/integration-tests/org.argeo.slc.it.webapp/src/test/resources-old/org/argeo/slc/ant/nonDepContext.xml
07f09b00cc757e151e39af63e87370062fe9ae7f
[gpl/argeo-slc.git] / legacy / integration-tests / org.argeo.slc.it.webapp / src / test / resources-old / org / argeo / slc / ant / nonDepContext.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4 Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17
18 -->
19
20 <beans xmlns="http://www.springframework.org/schema/beans"
21 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
23
24 <import
25 resource="classpath:/org/argeo/slc/core/test/spring/applicationContext.xml" />
26
27 <bean name="testDef"
28 class="org.argeo.slc.core.test.BasicTestDefinition" scope="prototype" />
29
30 <bean name="testData1"
31 class="org.argeo.slc.core.test.BasicTestData">
32 <property name="expected">
33 <value>toto</value>
34 </property>
35 <property name="reached">
36 <value>toto</value>
37 </property>
38 </bean>
39
40 <bean id="testData.context1" parent="context.template">
41 <property name="values">
42 <map>
43 <entry key="reference" value="20" />
44 <entry key="varIntern" value="60" />
45 </map>
46 </property>
47 <property name="expectedValues">
48 <map>
49 <entry key="reference" value="21" />
50 <entry key="varIntern" value="60" />
51 </map>
52 </property>
53 </bean>
54
55 <bean id="context.template"
56 class="org.argeo.slc.core.test.context.DefaultContextTestData"
57 abstract="true">
58 </bean>
59
60 </beans>