]>
git.argeo.org Git - gpl/argeo-slc.git/blob - listSetMap.xml
4f22d27631a76d674adee7c55028a03f0ced182a
1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <beans xmlns=
"http://www.springframework.org/schema/beans"
3 xmlns:
p=
"http://www.springframework.org/schema/p" xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance"
4 xmlns:
aop=
"http://www.springframework.org/schema/aop"
5 xsi:
schemaLocation=
"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
6 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
8 <import resource=
"imports.xml" />
10 <bean id=
"myTestRunTemplate" class=
"org.argeo.slc.core.test.SimpleTestRun" abstract=
"true">
11 <property name=
"testDefinition" ref=
"basic.testDef" />
12 <property name=
"testResult" ref=
"myTestResult"/>
15 <bean id=
"myFlow" parent=
"slcTemplate.simpleFlow">
17 <bean parent=
"slcTemplate.simpleSpec">
18 <property name=
"attributes">
21 <bean parent=
"specAttr.primitive" p:
value=
"myValue" />
27 <property name=
"executables">
30 <bean parent=
"myTestRunTemplate">
31 <property name=
"testData" ref=
"simpleMap.testData" />
33 <bean parent=
"myTestRunTemplate">
34 <property name=
"testData" ref=
"cascadingMap.testData" />
37 <bean parent=
"myTestRunTemplate">
38 <property name=
"testData" ref=
"simpleList.testData" />
40 <bean parent=
"myTestRunTemplate">
41 <property name=
"testData" ref=
"cascadingList.testData" />
44 <bean parent=
"myTestRunTemplate">
45 <property name=
"testData" ref=
"simpleSet.testData" />
47 <bean parent=
"myTestRunTemplate">
48 <property name=
"testData" ref=
"cascadingSet.testData" />
51 <bean parent=
"myTestRunTemplate">
52 <property name=
"testData" ref=
"cascadingListMap.testData" />
54 <bean parent=
"myTestRunTemplate">
55 <property name=
"testData" ref=
"cascadingSetMap.testData" />
57 <bean parent=
"myTestRunTemplate">
58 <property name=
"testData" ref=
"cascadingComplex.testData" />
66 <bean id=
"simpleMap.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
67 <property name=
"expected">
69 <entry key=
"key1" value=
"myValue_myValue" />
72 <property name=
"reached">
74 <entry key=
"key1" value=
"@{testKey}_@{testKey}" />
79 <bean id=
"cascadingMap.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
80 <property name=
"expected">
86 <entry key=
"key1" value=
"myValue" />
89 <entry key=
"key2bis" value=
"myValue" />
94 <property name=
"reached">
100 <entry key=
"key1" value=
"@{testKey}" />
103 <entry key=
"key2bis" value=
"@{testKey}" />
110 <bean id=
"simpleList.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
111 <property name=
"expected">
113 <value>myValue
</value>
114 <value>_myValue_
</value>
117 <property name=
"reached">
119 <value>@{testKey}
</value>
120 <value>_@{testKey}_
</value>
125 <bean id=
"cascadingList.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
126 <property name=
"expected">
129 <value>myValue
</value>
130 <value>_myValue_
</value>
132 <value>myValue
</value>
135 <property name=
"reached">
138 <value>@{testKey}
</value>
139 <value>_@{testKey}_
</value>
141 <value>@{testKey}
</value>
146 <bean id=
"simpleSet.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
147 <property name=
"expected">
149 <value>myValue
</value>
150 <value>_myValue_
</value>
153 <property name=
"reached">
155 <value>@{testKey}
</value>
156 <value>_@{testKey}_
</value>
161 <bean id=
"cascadingSet.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
162 <property name=
"expected">
165 <value>myValue
</value>
166 <value>_myValue_
</value>
168 <value>myValue
</value>
171 <property name=
"reached">
174 <value>@{testKey}
</value>
175 <value>_@{testKey}_
</value>
177 <value>@{testKey}
</value>
182 <bean id=
"cascadingListMap.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
183 <property name=
"expected">
186 <entry key=
"key1" value=
"myValue" />
190 <property name=
"reached">
193 <entry key=
"key1" value=
"@{testKey}" />
199 <bean id=
"cascadingSetMap.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
200 <property name=
"expected">
203 <entry key=
"key1" value=
"myValue" />
207 <property name=
"reached">
210 <entry key=
"key1" value=
"@{testKey}" />
216 <bean id=
"cascadingComplex.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
217 <property name=
"expected">
220 <entry key=
"key1" value=
"myValue" />
224 <entry key=
"key1" value=
"myValue" />
228 <value>myValue
</value>
229 <value>_myValue_
</value>
232 <value>myValue
</value>
233 <value>_myValue_
</value>
235 <value>myValue
</value>
238 <value>myValue
</value>
243 <entry key=
"key1" value=
"myValue" />
248 <property name=
"reached">
251 <entry key=
"key1" value=
"@{testKey}" />
255 <entry key=
"key1" value=
"@{testKey}" />
259 <value>@{testKey}
</value>
260 <value>_@{testKey}_
</value>
263 <value>@{testKey}
</value>
264 <value>_@{testKey}_
</value>
266 <value>@{testKey}
</value>
269 <value>@{testKey}
</value>
274 <entry key=
"key1" value=
"@{testKey}" />
281 <bean id=
"basic.testDef" class=
"org.argeo.slc.core.test.BasicTestDefinition">
285 <bean id=
"echo1" parent=
"task.echo" scope=
"prototype">
286 <property name=
"message"
287 value=
"testKey=@{testKey}" />
290 <bean id=
"myTestResult" class=
"org.argeo.slc.core.test.SimpleTestResult" />