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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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