rename test

This commit is contained in:
DOHA 2016-10-25 14:11:39 +02:00
parent 48f3f0b834
commit 4bae45370d
8 changed files with 15 additions and 15 deletions

View File

@ -1,9 +1,9 @@
package org.baeldung.persistence;
import org.baeldung.persistence.query.JPACriteriaQueryTest;
import org.baeldung.persistence.query.JPAQuerydslTest;
import org.baeldung.persistence.query.JPASpecificationTest;
import org.baeldung.persistence.query.RsqlTest;
import org.baeldung.persistence.query.JPACriteriaQueryIntegrationTest;
import org.baeldung.persistence.query.JPAQuerydslIntegrationTest;
import org.baeldung.persistence.query.JPASpecificationIntegrationTest;
import org.baeldung.persistence.query.RsqlIntegrationTest;
import org.baeldung.persistence.service.FooServicePersistenceIntegrationTest;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@ -11,11 +11,11 @@ import org.junit.runners.Suite;
@RunWith(Suite.class)
@Suite.SuiteClasses({
// @formatter:off
RsqlTest.class
,JPASpecificationTest.class
RsqlIntegrationTest.class
,JPASpecificationIntegrationTest.class
,FooServicePersistenceIntegrationTest.class
,JPAQuerydslTest.class
,JPACriteriaQueryTest.class
,JPAQuerydslIntegrationTest.class
,JPACriteriaQueryIntegrationTest.class
}) //
public class PersistenceTestSuite {

View File

@ -24,7 +24,7 @@ import org.springframework.transaction.annotation.Transactional;
@ContextConfiguration(classes = { PersistenceConfig.class })
@Transactional
@Rollback
public class JPACriteriaQueryTest {
public class JPACriteriaQueryIntegrationTest {
@Autowired
private IUserDAO userApi;

View File

@ -23,7 +23,7 @@ import org.springframework.transaction.annotation.Transactional;
@ContextConfiguration(classes = { PersistenceConfig.class })
@Transactional
@Rollback
public class JPAQuerydslTest {
public class JPAQuerydslIntegrationTest {
@Autowired
private MyUserRepository repo;

View File

@ -26,7 +26,7 @@ import org.springframework.transaction.annotation.Transactional;
@ContextConfiguration(classes = { PersistenceConfig.class })
@Transactional
@Rollback
public class JPASpecificationTest {
public class JPASpecificationIntegrationTest {
@Autowired
private UserRepository repository;

View File

@ -27,7 +27,7 @@ import cz.jirutka.rsql.parser.ast.Node;
@ContextConfiguration(classes = { PersistenceConfig.class })
@Transactional
@Rollback
public class RsqlTest {
public class RsqlIntegrationTest {
@Autowired
private UserRepository repository;

View File

@ -23,7 +23,7 @@ import org.springframework.web.context.WebApplicationContext;
@WebAppConfiguration
@Transactional
@ContextConfiguration(classes = { SecurityWithoutCsrfConfig.class, PersistenceConfig.class, WebConfig.class })
public class LoggerInterceptorTest {
public class LoggerInterceptorIntegrationTest {
@Autowired
WebApplicationContext wac;

View File

@ -28,7 +28,7 @@ import org.springframework.web.context.WebApplicationContext;
@Transactional
@ContextConfiguration(classes = { SecurityWithoutCsrfConfig.class, PersistenceConfig.class, WebConfig.class })
@WithMockUser(username = "admin", roles = { "USER", "ADMIN" })
public class SessionTimerInterceptorTest {
public class SessionTimerInterceptorIntegrationTest {
@Autowired
WebApplicationContext wac;

View File

@ -25,7 +25,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
@Transactional
@ContextConfiguration(classes = { SecurityWithoutCsrfConfig.class, PersistenceConfig.class, WebConfig.class })
@WithMockUser(username = "admin", roles = { "USER", "ADMIN" })
public class UserInterceptorTest {
public class UserInterceptorIntegrationTest {
@Autowired
WebApplicationContext wac;