]>
git.argeo.org Git - gpl/argeo-slc.git/blob - listSetMap.xml
9c2224e6f5ab4e4a3645d1da442fb373819e5c70
1 <?xml version=
"1.0" encoding=
"UTF-8"?>
4 Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
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
10 http://www.apache.org/licenses/LICENSE-2.0
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.
20 <beans xmlns=
"http://www.springframework.org/schema/beans"
21 xmlns:
p=
"http://www.springframework.org/schema/p" xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance"
22 xmlns:
aop=
"http://www.springframework.org/schema/aop"
23 xsi:
schemaLocation=
"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
24 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
26 <import resource=
"imports.xml" />
28 <bean id=
"myTestRunTemplate" class=
"org.argeo.slc.core.test.SimpleTestRun" abstract=
"true">
29 <property name=
"testDefinition" ref=
"basic.testDef" />
30 <property name=
"testResult" ref=
"myTestResult"/>
33 <bean id=
"myFlow" parent=
"slcTemplate.simpleFlow">
35 <bean parent=
"slcTemplate.simpleSpec">
36 <property name=
"attributes">
39 <bean parent=
"specAttr.primitive" p:
value=
"myValue" />
45 <property name=
"executables">
48 <bean parent=
"myTestRunTemplate">
49 <property name=
"testData" ref=
"simpleMap.testData" />
51 <bean parent=
"myTestRunTemplate">
52 <property name=
"testData" ref=
"cascadingMap.testData" />
55 <bean parent=
"myTestRunTemplate">
56 <property name=
"testData" ref=
"simpleList.testData" />
58 <bean parent=
"myTestRunTemplate">
59 <property name=
"testData" ref=
"cascadingList.testData" />
62 <bean parent=
"myTestRunTemplate">
63 <property name=
"testData" ref=
"simpleSet.testData" />
65 <bean parent=
"myTestRunTemplate">
66 <property name=
"testData" ref=
"cascadingSet.testData" />
69 <bean parent=
"myTestRunTemplate">
70 <property name=
"testData" ref=
"cascadingListMap.testData" />
72 <bean parent=
"myTestRunTemplate">
73 <property name=
"testData" ref=
"cascadingSetMap.testData" />
75 <bean parent=
"myTestRunTemplate">
76 <property name=
"testData" ref=
"cascadingComplex.testData" />
84 <bean id=
"simpleMap.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
85 <property name=
"expected">
87 <entry key=
"key1" value=
"myValue_myValue" />
90 <property name=
"reached">
92 <entry key=
"key1" value=
"@{testKey}_@{testKey}" />
97 <bean id=
"cascadingMap.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
98 <property name=
"expected">
104 <entry key=
"key1" value=
"myValue" />
107 <entry key=
"key2bis" value=
"myValue" />
112 <property name=
"reached">
118 <entry key=
"key1" value=
"@{testKey}" />
121 <entry key=
"key2bis" value=
"@{testKey}" />
128 <bean id=
"simpleList.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
129 <property name=
"expected">
131 <value>myValue
</value>
132 <value>_myValue_
</value>
135 <property name=
"reached">
137 <value>@{testKey}
</value>
138 <value>_@{testKey}_
</value>
143 <bean id=
"cascadingList.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
144 <property name=
"expected">
147 <value>myValue
</value>
148 <value>_myValue_
</value>
150 <value>myValue
</value>
153 <property name=
"reached">
156 <value>@{testKey}
</value>
157 <value>_@{testKey}_
</value>
159 <value>@{testKey}
</value>
164 <bean id=
"simpleSet.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
165 <property name=
"expected">
167 <value>myValue
</value>
168 <value>_myValue_
</value>
171 <property name=
"reached">
173 <value>@{testKey}
</value>
174 <value>_@{testKey}_
</value>
179 <bean id=
"cascadingSet.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
180 <property name=
"expected">
183 <value>myValue
</value>
184 <value>_myValue_
</value>
186 <value>myValue
</value>
189 <property name=
"reached">
192 <value>@{testKey}
</value>
193 <value>_@{testKey}_
</value>
195 <value>@{testKey}
</value>
200 <bean id=
"cascadingListMap.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
201 <property name=
"expected">
204 <entry key=
"key1" value=
"myValue" />
208 <property name=
"reached">
211 <entry key=
"key1" value=
"@{testKey}" />
217 <bean id=
"cascadingSetMap.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
218 <property name=
"expected">
221 <entry key=
"key1" value=
"myValue" />
225 <property name=
"reached">
228 <entry key=
"key1" value=
"@{testKey}" />
234 <bean id=
"cascadingComplex.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
235 <property name=
"expected">
238 <entry key=
"key1" value=
"myValue" />
242 <entry key=
"key1" value=
"myValue" />
246 <value>myValue
</value>
247 <value>_myValue_
</value>
250 <value>myValue
</value>
251 <value>_myValue_
</value>
253 <value>myValue
</value>
256 <value>myValue
</value>
261 <entry key=
"key1" value=
"myValue" />
266 <property name=
"reached">
269 <entry key=
"key1" value=
"@{testKey}" />
273 <entry key=
"key1" value=
"@{testKey}" />
277 <value>@{testKey}
</value>
278 <value>_@{testKey}_
</value>
281 <value>@{testKey}
</value>
282 <value>_@{testKey}_
</value>
284 <value>@{testKey}
</value>
287 <value>@{testKey}
</value>
292 <entry key=
"key1" value=
"@{testKey}" />
299 <bean id=
"basic.testDef" class=
"org.argeo.slc.core.test.BasicTestDefinition">
303 <bean id=
"echo1" parent=
"task.echo" scope=
"prototype">
304 <property name=
"message"
305 value=
"testKey=@{testKey}" />
308 <bean id=
"myTestResult" class=
"org.argeo.slc.core.test.SimpleTestResult" />