]>
git.argeo.org Git - gpl/argeo-slc.git/blob - modules/org.argeo.slc.demo.detached/META-INF/spring/detached.xml
1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <beans xmlns=
"http://www.springframework.org/schema/beans"
3 xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance" xmlns:
p=
"http://www.springframework.org/schema/p"
4 xmlns:
aop=
"http://www.springframework.org/schema/aop"
6 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
7 http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd
8 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
10 <bean id=
"detachedTest" parent=
"slcTemplate.simpleFlow">
11 <property name=
"path" value=
"/detached" />
12 <property name=
"executables">
14 <bean parent=
"task.echo" scope=
"execution">
15 <property name=
"message" value=
"Executing step" />
19 <bean parent=
"detachedAdminTask">
20 <property name=
"action" value=
"slcDefault.detached.admin.openSession" />
21 <property name=
"properties">
23 <prop key=
"slc.detached.refreshedBundles">org.argeo.slc.demo.det
29 <bean parent=
"stepTestRun">
30 <property name=
"testDefinition">
31 <bean parent=
"detachedTestDef">
32 <property name=
"stepRef" value=
"step.mirror" />
35 <property name=
"testData" ref=
"detached.data.dummy" />
39 <bean parent=
"detachedAdminTask">
40 <property name=
"action" value=
"slcDefault.detached.admin.closeSession" />
46 <bean id=
"stepTestRun" class=
"org.argeo.slc.core.test.SimpleTestRun">
47 <property name=
"testResult">
48 <bean parent=
"slcDefault.test.basicTreeTestResult">
49 <property name=
"listeners">
51 <bean class=
"org.argeo.slc.core.test.tree.TreeTestResultLogger" />
59 <bean id=
"detachedTestDef" parent=
"slcTemplate.detached.testDefinition"
61 <property name=
"client" ref=
"driver.runtime" />
64 <bean id=
"detachedAdminTask" class=
"org.argeo.slc.lib.detached.DetachedAdminTask"
66 <property name=
"client" ref=
"driver.runtime" />
69 <bean id=
"driver.runtime" class=
"org.argeo.slc.detached.drivers.FileDriver"
70 init-method=
"cleanPreviousRuns">
71 <property name=
"baseDir" value=
"${user.dir}/local/detached" />
72 <property name=
"xmlConverter" ref=
"slcDefault.detached.xmlConverterCastor" />
75 <bean id=
"detached.data.dummy" class=
"org.argeo.slc.lib.detached.DetachedTestData"
77 <property name=
"values">
79 <entry key=
"label" value=
"tata" />
82 <property name=
"expectedValues">
84 <entry key=
"label" value=
"tata" />