]>
git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.support.simple/src/test/resources/org/argeo/slc/core/execution/test.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=
"second" parent=
"slcTemplate.simpleFlow">
11 <property name=
"executionSpec">
12 <bean parent=
"slcTemplate.simpleSpec">
13 <property name=
"attributes">
16 <bean parent=
"specAttr.primitive" p:
value=
"second" />
22 <property name=
"executables">
25 <bean class=
"org.argeo.slc.core.test.SimpleTestRun">
26 <property name=
"testDefinition" ref=
"basic.testDef" />
27 <property name=
"testData" ref=
"basic.testData" />
28 <property name=
"testResult" ref=
"basicTestResult"/>
35 <bean id=
"first" parent=
"slcTemplate.simpleFlow">
36 <property name=
"executionSpec">
37 <bean parent=
"slcTemplate.simpleSpec">
38 <property name=
"attributes">
41 <bean parent=
"specAttr.primitive" p:
value=
"first" />
47 <property name=
"executables">
49 <ref local=
"second" />
54 <bean id=
"basic.testData" class=
"org.argeo.slc.core.test.BasicTestData" scope=
"execution">
56 <property name=
"expected" value=
"first" />
57 <property name=
"reached" value=
"@{testKey}" />
60 <bean id=
"basic.testDef" class=
"org.argeo.slc.core.test.BasicTestDefinition">
65 <bean id=
"echo1" parent=
"task.echo" scope=
"execution">
66 <property name=
"message"
67 value=
"testKey=@{testKey}" />
71 <bean id=
"basicTestResult" class=
"org.argeo.slc.core.test.SimpleTestResult" />