JAVA-6298: Enable spring-mybatis module (#11074)
* JAVA-6298: Enable spring-mybatis module * JAVA-6298: Rename to unit tests
This commit is contained in:
parent
ef23c27c9e
commit
3ff0ae10d0
|
@ -87,7 +87,7 @@
|
|||
<module>spring-jpa-2</module>
|
||||
<module>spring-jdbc</module>
|
||||
<module>spring-jooq</module>
|
||||
<!-- <module>spring-mybatis</module> --> <!-- needs fixing in BAEL-9021 -->
|
||||
<module>spring-mybatis</module>
|
||||
<module>spring-persistence-simple</module>
|
||||
</modules>
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
|
||||
<properties>
|
||||
<!-- Spring -->
|
||||
<org.springframework.version>5.1.8.RELEASE</org.springframework.version>
|
||||
<org.springframework.version>5.3.8</org.springframework.version>
|
||||
<!-- persistence -->
|
||||
<spring-mybatis.version>2.0.2</spring-mybatis.version>
|
||||
<mybatis.version>3.5.2</mybatis.version>
|
||||
|
|
|
@ -8,6 +8,6 @@ import org.springframework.test.context.junit4.SpringRunner;
|
|||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest
|
||||
@ContextConfiguration(classes = PersistenceAutoConfig.class)
|
||||
public class ArticleMapperBootIntegrationTest extends ArticleMapperCommonTest {
|
||||
public class ArticleMapperBootUnitTest extends ArticleMapperCommonUnitTest {
|
||||
|
||||
}
|
|
@ -5,7 +5,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
class ArticleMapperCommonTest {
|
||||
class ArticleMapperCommonUnitTest {
|
||||
|
||||
@Autowired
|
||||
ArticleMapper articleMapper;
|
|
@ -6,6 +6,6 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
|||
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@ContextConfiguration(classes = PersistenceConfig.class)
|
||||
public class ArticleMapperIntegrationTest extends ArticleMapperCommonTest {
|
||||
public class ArticleMapperUnitTest extends ArticleMapperCommonUnitTest {
|
||||
|
||||
}
|
|
@ -6,6 +6,6 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
|||
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@ContextConfiguration(locations = "classpath:/beans.xml")
|
||||
public class ArticleMapperXMLIntegrationTest extends ArticleMapperCommonTest {
|
||||
public class ArticleMapperXMLUnitTest extends ArticleMapperCommonUnitTest {
|
||||
|
||||
}
|
Loading…
Reference in New Issue