- <bean id="second" parent="slcTemplate.simpleFlow" scope="prototype">\r
- <constructor-arg>\r
- <bean parent="slcTemplate.simpleSpec">\r
- <property name="attributes">\r
- <map>\r
- <entry key="testKey">\r
- <bean parent="specAttr.primitive" p:value="second" />\r
- </entry>\r
- </map>\r
- </property>\r
- </bean>\r
- </constructor-arg> \r
- <property name="executables">\r
- <list>\r
- <ref local="echo1" />\r
- <bean class="org.argeo.slc.core.test.SimpleTestRun">\r
- <property name="testDefinition" ref="basic.testDef" />\r
- <property name="testData" ref="basic.testData" />\r
- <property name="testResult" ref="basicTestResult"/>\r
- </bean> \r
- </list>\r
+ <bean id="myTestResult" class="org.argeo.slc.core.test.SimpleTestResult" />\r
+\r
+ <bean id="myTestDef" class="org.argeo.slc.core.test.BasicTestDefinition" />\r
+\r
+ <bean id="myTestRunTemplate" class="org.argeo.slc.core.test.SimpleTestRun" abstract="true">\r
+ <property name="testDefinition" ref="myTestDef" />\r
+ <property name="testResult" ref="myTestResult"/>\r
+ </bean> \r
+ \r
+ <bean id="spec1" parent="slcTemplate.simpleSpec">\r
+ <property name="attributes">\r
+ <map>\r
+ <entry key="testedComponentId">\r
+ <bean parent="specAttr.primitive" p:isParameter="true"\r
+ p:type="integer" />\r
+ </entry>\r
+ <entry key="testData1">\r
+ <bean parent="specAttr.ref" p:targetClass="org.argeo.slc.core.test.BasicTestData"\r
+ p:isParameter="true" p:isFrozen="true" />\r
+ </entry>\r
+ </map>\r