]>
git.argeo.org Git - gpl/argeo-slc.git/blob - multipleFlow.xml
4525aca1976ba10715f1bb9b2d6a79de2a9a5b43
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=
"fileDiff.spec" parent=
"slcTemplate.simpleSpec">
20 <property name=
"attributes">
22 <entry key=
"fileName">
23 <bean parent=
"specAttr.primitive" p:
isParameter=
"true" p:
type=
"string"
31 <bean id=
"fileDiff.flowTemplate" parent=
"slcTemplate.simpleFlow"
33 <property name=
"path" value=
"/fileDiff/testcases" />
34 <constructor-arg ref=
"fileDiff.spec" />
35 <property name=
"executables">
37 <bean parent=
"task.echo">
38 <property name=
"message" value=
"fileName=@{fileName}" />
40 <bean parent=
"myTestRunTemplate">
41 <property name=
"testData">
42 <bean class=
"org.argeo.slc.core.test.BasicTestData">
43 <property name=
"expected" value=
"file1" />
44 <property name=
"reached" value=
"@{fileName}" />
52 <bean id=
"echo" parent=
"task.echo" scope=
"prototype">
53 <property name=
"message" value=
"fileName=@{fileName}" />
56 <bean id=
"flow1" parent=
"fileDiff.flowTemplate">
59 <entry key=
"fileName" value=
"file1" />
64 <bean id=
"flow2" parent=
"fileDiff.flowTemplate">
67 <entry key=
"fileName" value=
"file2" />
74 <bean id="flow1" parent="slcTemplate.simpleFlow">
75 <property name="path" value="/fileDiff/testcases" />
76 <constructor-arg ref="fileDiff.spec" />
79 <entry key="fileName" value="file1" />
82 <property name="executables">
84 <bean parent="task.echo" scope="execution">
85 <property name="message" value="fileName=@{fileName}" />
92 <bean id="flow2" parent="slcTemplate.simpleFlow">
93 <property name="path" value="/fileDiff/testcases" />
94 <constructor-arg ref="fileDiff.spec" />
97 <entry key="fileName" value="file2" />
100 <property name="executables">
102 <bean parent="task.echo" scope="execution">
103 <property name="message" value="fileName=@{fileName}" />
111 <bean id="main" parent="slcTemplate.simpleFlow">
112 <property name="executables">