Skip to content

Commit

Permalink
Merge pull request #151 from terasolunaorg/issues/147_polishing-test-…
Browse files Browse the repository at this point in the history
…context.xml

#147: Add some bean definitions at test-context.xml
  • Loading branch information
making committed Aug 1, 2015
2 parents bf4eaba + 0ea89bd commit 00520d1
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions projectName-domain/src/test/resources/test-context.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
<?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.xsd">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
">

<context:property-placeholder
location="classpath*:/META-INF/spring/*.properties" />

<bean id="exceptionLogger" class="org.terasoluna.gfw.common.exception.ExceptionLogger" />

<import resource="classpath:META-INF/spring/projectName-domain.xml" />

<bean class="org.springframework.jdbc.core.JdbcTemplate">
<property name="dataSource" ref="dataSource" />
</bean>

</beans>

0 comments on commit 00520d1

Please sign in to comment.