所以UnitTest顺畅运行, 将放在jenkinshosting.com上执行
This commit is contained in:
@@ -9,7 +9,6 @@ TODO部分:
|
||||
* 用Spring Data JPA代替BaseDao基类,清理Hibernate基类及相关
|
||||
|
||||
2.次要改动
|
||||
* 补充Showcase的utilize描述
|
||||
* 整理CSS(整理项目BBS, 整理BluePrint CSS,将JQuery Validation中的milk css替换为message.css,jquery validate input框的.error替换为将替换为hightlight)
|
||||
* 修正Selenium Test case
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<context:component-scan base-package="org.springside.examples.miniservice" />
|
||||
|
||||
<!-- 以静态变量保存ApplicationContext -->
|
||||
<bean class="org.springside.modules.utils.spring.SpringContextHolder" lazy-init="false" />
|
||||
<bean class="org.springside.modules.test.spring.SpringContextHolder" lazy-init="false" />
|
||||
|
||||
<!-- 数据源配置,在测试环境使用JDBC直接连接 -->
|
||||
<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<context:component-scan base-package="org.springside.examples.miniweb" />
|
||||
|
||||
<!-- SpringContext Holder -->
|
||||
<bean id="springContextHolder" class="org.springside.modules.utils.spring.SpringContextHolder" lazy-init="false"/>
|
||||
<bean id="springContextHolder" class="org.springside.modules.test.spring.SpringContextHolder" lazy-init="false"/>
|
||||
|
||||
|
||||
<!-- 数据源配置,在测试环境使用JDBC直接连接 -->
|
||||
|
||||
@@ -36,5 +36,15 @@
|
||||
<li>使用JConsole动态修改log4j的日志等级.(路径service:jmx:rmi:///jndi/rmi://localhost:2099/jmxrmi,名称Log4j:name=log4j)</li>
|
||||
<li>Schedule测试用例使用MockAppender校验日志输出.</li>
|
||||
</ul>
|
||||
|
||||
<h3>其他常用工具</h3>
|
||||
<p>全部演示在org.springside.examples.showcase.utilities目录</p>
|
||||
<ul>
|
||||
<li>JodaTime: 日期操作.</li>
|
||||
<li>Dozer: 不同类型的对象互相复制与转换。</li>
|
||||
<li>Apache Commons IO: IO操作。</li>
|
||||
<li>Apache Commons Lang Validate: 防御式编程,校验输入参数.</li>
|
||||
<li>Apache Commons Lang StringUtils: 字符串操作.</li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
||||
@@ -32,7 +32,7 @@
|
||||
<context:component-scan base-package="org.springside.examples.showcase" />
|
||||
|
||||
<!-- SpringContextHolder定义 -->
|
||||
<bean class="org.springside.modules.utils.spring.SpringContextHolder" lazy-init="false" />
|
||||
<bean class="org.springside.modules.test.spring.SpringContextHolder" lazy-init="false" />
|
||||
|
||||
<!-- 数据源配置,在测试环境使用JDBC直接连接 -->
|
||||
<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
<context:component-scan base-package="org.springside.examples.showcase" />
|
||||
|
||||
<!-- SpringContextHolder定义 -->
|
||||
<bean class="org.springside.modules.utils.spring.SpringContextHolder" lazy-init="false" />
|
||||
<bean class="org.springside.modules.test.spring.SpringContextHolder" lazy-init="false" />
|
||||
|
||||
<!-- 数据源配置,在测试环境使用JDBC直接连接 -->
|
||||
<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<!-- 使用annotation定义事务 -->
|
||||
<tx:annotation-driven transaction-manager="transactionManager" proxy-target-class="true" />
|
||||
|
||||
<bean id="springContextHolder" class="org.springside.modules.utils.spring.SpringContextHolder" lazy-init="false" />
|
||||
<bean id="springContextHolder" class="org.springside.modules.test.spring.SpringContextHolder" lazy-init="false" />
|
||||
|
||||
<!-- JSR303 Validator定义 -->
|
||||
<bean id="validator" class="org.springframework.validation.beanvalidation.LocalValidatorFactoryBean" />
|
||||
|
||||
@@ -71,6 +71,12 @@
|
||||
<artifactId>slf4j-log4j12</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>jcl-over-slf4j</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>log4j</groupId>
|
||||
<artifactId>log4j</artifactId>
|
||||
|
||||
@@ -8,27 +8,34 @@
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>all</id>
|
||||
<modules>
|
||||
<module>modules/parent</module>
|
||||
<module>modules/core</module>
|
||||
<module>modules/extension</module>
|
||||
<profile>
|
||||
<id>all</id>
|
||||
<modules>
|
||||
<module>modules/parent</module>
|
||||
<module>modules/core</module>
|
||||
<module>modules/extension</module>
|
||||
<module>examples/mini-service</module>
|
||||
<module>examples/mini-web</module>
|
||||
<module>examples/showcase</module>
|
||||
</modules>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>modules</id>
|
||||
<modules>
|
||||
<module>modules/parent</module>
|
||||
<module>modules/core</module>
|
||||
<module>modules/extension</module>
|
||||
</modules>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>examples</id>
|
||||
<modules>
|
||||
<module>examples/mini-service</module>
|
||||
<module>examples/mini-web</module>
|
||||
<module>examples/showcase</module>
|
||||
<module>support/maven-archetype</module>
|
||||
</modules>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>modules</id>
|
||||
<modules>
|
||||
<module>modules/parent</module>
|
||||
<module>modules/core</module>
|
||||
<module>modules/extension</module>
|
||||
<module>support/maven-archetype</module>
|
||||
</modules>
|
||||
</profile>
|
||||
</profiles>
|
||||
</modules>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
Reference in New Issue
Block a user