-<?xml version="1.0" encoding="UTF-8"?>\r
-<beans xmlns="http://www.springframework.org/schema/beans"\r
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">\r
-\r
- <import resource="runtime/default.xml" />\r
- <import resource="environments/environments.xml" />\r
-
- <import resource="test/testDatas.xml" />\r
- <import resource="test/testDefinitions.xml" />\r
- <import resource="test/contextTests.xml" />\r
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
+
+ <import resource="environments/environments.xml" />
+
+ <import resource="test/testDatas.xml" />
+ <import resource="test/testDefinitions.xml" />
+ <import resource="test/contextTests.xml" />
+
+ <bean id="defaultTestRun"
+ class="org.argeo.slc.core.test.SimpleTestRun" scope="prototype">
+ <property name="testResult" ref="testResult" />
+ <property name="deployedSystem" ref="exampleDeployedSystem" />
+ </bean>
+
+ <bean id="otherTestRun"
+ class="org.argeo.slc.core.test.SimpleTestRun" scope="prototype">
+ <property name="testResult" ref="testResult2" />
+ <property name="deployedSystem" ref="exampleDeployedSystem" />
+ </bean>
+
+
</beans>
\ No newline at end of file
<import
resource="classpath:/org/argeo/slc/core/process/spring/applicationContext.xml" />
- <bean id="defaultTestRun"
- class="org.argeo.slc.core.test.SimpleTestRun" scope="prototype">
- <property name="testResult" ref="testResult" />
- <property name="deployedSystem" ref="exampleDeployedSystem" />
- </bean>
-
- <bean id="otherTestRun"
- class="org.argeo.slc.core.test.SimpleTestRun" scope="prototype">
- <property name="testResult" ref="testResult2" />
- <property name="deployedSystem" ref="exampleDeployedSystem" />
- </bean>
-
<bean id="testResult"
class="org.argeo.slc.core.test.tree.TreeTestResult">
<property name="uuid" value="1" />
public class ExecutionTest extends TestCase {
public void testSimpleRun() {
String[] args = { "--mode", "single", "--script",
- "exampleSlcAppli/root/Category1/SubCategory2/build.xml" };
+ "exampleSlcAppli/root/Category1/SubCategory2/build.xml",
+ "--runtime", "default" };
SlcMain.main(args);
}
}