]>
git.argeo.org Git - gpl/argeo-slc.git/blob - specOverriding.xml
3066b62901b9ee5274f3fe5d628d13c2f0ff0fc2
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=
"myTestResult" class=
"org.argeo.slc.core.test.SimpleTestResult" />
12 <bean id=
"myTestDef" class=
"org.argeo.slc.core.test.BasicTestDefinition" />
14 <bean id=
"myTestRunTemplate" class=
"org.argeo.slc.core.test.SimpleTestRun" abstract=
"true">
15 <property name=
"testDefinition" ref=
"myTestDef" />
16 <property name=
"testResult" ref=
"myTestResult"/>
19 <bean id=
"spec1" parent=
"slcTemplate.simpleSpec">
20 <property name=
"attributes">
22 <entry key=
"testedComponentId">
23 <bean parent=
"specAttr.primitive" p:
isParameter=
"true"
26 <entry key=
"testData1">
27 <bean parent=
"specAttr.ref" p:
targetClass=
"org.argeo.slc.core.test.BasicTestData"
28 p:
isParameter=
"true" p:
isFrozen=
"true" />
34 <bean id=
"flowTemplate1" parent=
"slcTemplate.simpleFlow"
36 <constructor-arg ref=
"spec1" />
37 <property name=
"executables">
39 <bean parent=
"task.echo" scope=
"execution">
40 <property name=
"message" value=
"From basic @{testedComponentId}" />
43 <bean parent=
"myTestRunTemplate">
44 <property name=
"testData">
45 <bean parent=
"parameterRef">
46 <constructor-arg value=
"testData1" />
54 <bean id=
"flow1" parent=
"flowTemplate1" scope=
"prototype">
57 <entry key=
"testedComponentId" value=
"200" />
58 <entry key=
"testData1">
59 <bean class=
"org.argeo.slc.core.test.BasicTestData" scope=
"execution">
61 <property name=
"expected" value=
"tata101" />
62 <property name=
"reached" value=
"tata@{testedComponentId}" />
69 <bean id=
"spec2" parent=
"slcTemplate.simpleSpec">
70 <property name=
"attributes">
72 <entry key=
"testData1">
73 <bean parent=
"specAttr.ref" p:
targetClass=
"org.argeo.slc.core.test.BasicTestData"
74 p:
isParameter=
"true" p:
isFrozen=
"true" />
80 <bean id=
"flowTemplate2" parent=
"slcTemplate.simpleFlow" abstract=
"true">
81 <constructor-arg ref=
"spec2" />
82 <property name=
"executables">
89 <bean id=
"flow2" parent=
"flowTemplate2">
92 <entry key=
"testData1">
93 <bean class=
"org.argeo.slc.core.test.BasicTestData">
94 <property name=
"expected" value=
"tata100" />
95 <property name=
"reached" value=
"tata100" />