]>
git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.support.simple/src/test/resources/org/argeo/slc/core/execution/listSetMapMultipleFlow.xml
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=
"abstractFlow" parent=
"slcTemplate.simpleFlow" abstract=
"true">
16 <property name=
"executables">
19 <bean parent=
"myTestRunTemplate">
20 <property name=
"testData" ref=
"simpleMap.testData" />
22 <bean parent=
"myTestRunTemplate">
23 <property name=
"testData" ref=
"cascadingMap.testData" />
26 <bean parent=
"myTestRunTemplate">
27 <property name=
"testData" ref=
"simpleList.testData" />
29 <bean parent=
"myTestRunTemplate">
30 <property name=
"testData" ref=
"cascadingList.testData" />
33 <bean parent=
"myTestRunTemplate">
34 <property name=
"testData" ref=
"simpleSet.testData" />
36 <bean parent=
"myTestRunTemplate">
37 <property name=
"testData" ref=
"cascadingSet.testData" />
40 <bean parent=
"myTestRunTemplate">
41 <property name=
"testData" ref=
"cascadingListMap.testData" />
43 <bean parent=
"myTestRunTemplate">
44 <property name=
"testData" ref=
"cascadingSetMap.testData" />
46 <bean parent=
"myTestRunTemplate">
47 <property name=
"testData" ref=
"cascadingComplex.testData" />
54 <bean id=
"flow1" parent=
"abstractFlow" scope=
"prototype">
56 <bean parent=
"slcTemplate.simpleSpec">
57 <property name=
"attributes">
60 <bean parent=
"specAttr.primitive" p:
value=
"myValue" />
68 <bean id=
"flow2" parent=
"abstractFlow" scope=
"prototype">
70 <bean parent=
"slcTemplate.simpleSpec">
71 <property name=
"attributes">
74 <bean parent=
"specAttr.primitive" p:
value=
"myValue2" />
83 <bean id=
"simpleMap.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
84 <property name=
"expected">
86 <entry key=
"key1" value=
"myValue_myValue" />
89 <property name=
"reached">
91 <entry key=
"key1" value=
"@{testKey}_@{testKey}" />
96 <bean id=
"cascadingMap.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
97 <property name=
"expected">
103 <entry key=
"key1" value=
"myValue" />
106 <entry key=
"key2bis" value=
"myValue" />
111 <property name=
"reached">
117 <entry key=
"key1" value=
"@{testKey}" />
120 <entry key=
"key2bis" value=
"@{testKey}" />
127 <bean id=
"simpleList.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
128 <property name=
"expected">
130 <value>myValue
</value>
131 <value>_myValue_
</value>
134 <property name=
"reached">
136 <value>@{testKey}
</value>
137 <value>_@{testKey}_
</value>
142 <bean id=
"cascadingList.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
143 <property name=
"expected">
146 <value>myValue
</value>
147 <value>_myValue_
</value>
149 <value>myValue
</value>
152 <property name=
"reached">
155 <value>@{testKey}
</value>
156 <value>_@{testKey}_
</value>
158 <value>@{testKey}
</value>
163 <bean id=
"simpleSet.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
164 <property name=
"expected">
166 <value>myValue
</value>
167 <value>_myValue_
</value>
170 <property name=
"reached">
172 <value>@{testKey}
</value>
173 <value>_@{testKey}_
</value>
178 <bean id=
"cascadingSet.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
179 <property name=
"expected">
182 <value>myValue
</value>
183 <value>_myValue_
</value>
185 <value>myValue
</value>
188 <property name=
"reached">
191 <value>@{testKey}
</value>
192 <value>_@{testKey}_
</value>
194 <value>@{testKey}
</value>
199 <bean id=
"cascadingListMap.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=
"cascadingSetMap.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
217 <property name=
"expected">
220 <entry key=
"key1" value=
"myValue" />
224 <property name=
"reached">
227 <entry key=
"key1" value=
"@{testKey}" />
233 <bean id=
"cascadingComplex.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"prototype">
234 <property name=
"expected">
237 <entry key=
"key1" value=
"myValue" />
241 <entry key=
"key1" value=
"myValue" />
245 <value>myValue
</value>
246 <value>_myValue_
</value>
249 <value>myValue
</value>
250 <value>_myValue_
</value>
252 <value>myValue
</value>
255 <value>myValue
</value>
260 <entry key=
"key1" value=
"myValue" />
265 <property name=
"reached">
268 <entry key=
"key1" value=
"@{testKey}" />
272 <entry key=
"key1" value=
"@{testKey}" />
276 <value>@{testKey}
</value>
277 <value>_@{testKey}_
</value>
280 <value>@{testKey}
</value>
281 <value>_@{testKey}_
</value>
283 <value>@{testKey}
</value>
286 <value>@{testKey}
</value>
291 <entry key=
"key1" value=
"@{testKey}" />
298 <bean id=
"basic.testDef" class=
"org.argeo.slc.core.test.BasicTestDefinition">
302 <bean id=
"echo1" parent=
"task.echo" scope=
"prototype">
303 <property name=
"message"
304 value=
"testKey=@{testKey}" />
307 <bean id=
"myTestResult" class=
"org.argeo.slc.core.test.SimpleTestResult" />