minor testing work
This commit is contained in:
parent
890d4348cd
commit
1e9eefc833
|
@ -1,20 +1,20 @@
|
|||
package org.baeldung.persistence;
|
||||
|
||||
import org.baeldung.persistence.hibernate.FooPaginationPersistenceIntegrationTest;
|
||||
import org.baeldung.persistence.hibernate.FooSortingPersistenceServiceTest;
|
||||
import org.baeldung.persistence.service.FooServiceBasicPersistenceIntegrationTest;
|
||||
import org.baeldung.persistence.service.FooServicePaginationPersistenceIntegrationTest;
|
||||
import org.baeldung.persistence.service.FooServicePersistenceIntegrationTest;
|
||||
import org.baeldung.persistence.service.ParentServicePersistenceIntegrationTest;
|
||||
import org.baeldung.persistence.test.FooSortingServiceTest;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses({// @formatter:off
|
||||
FooServiceBasicPersistenceIntegrationTest.class
|
||||
,FooServicePaginationPersistenceIntegrationTest.class
|
||||
,FooPaginationPersistenceIntegrationTest.class
|
||||
,FooServicePersistenceIntegrationTest.class
|
||||
,ParentServicePersistenceIntegrationTest.class
|
||||
,FooSortingServiceTest.class
|
||||
,FooSortingPersistenceServiceTest.class
|
||||
}) // @formatter:on
|
||||
public class IntegrationTestSuite {
|
||||
//
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung.persistence.service;
|
||||
package org.baeldung.persistence.hibernate;
|
||||
|
||||
import static org.apache.commons.lang3.RandomStringUtils.randomAlphabetic;
|
||||
import static org.hamcrest.Matchers.hasSize;
|
||||
|
@ -31,7 +31,7 @@ import com.google.common.collect.Lists;
|
|||
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@ContextConfiguration(classes = { PersistenceConfig.class }, loader = AnnotationConfigContextLoader.class)
|
||||
public class FooServicePaginationPersistenceIntegrationTest {
|
||||
public class FooPaginationPersistenceIntegrationTest {
|
||||
|
||||
@Autowired
|
||||
private SessionFactory sessionFactory;
|
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung.persistence.test;
|
||||
package org.baeldung.persistence.hibernate;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
@ -21,7 +21,7 @@ import org.springframework.test.context.support.AnnotationConfigContextLoader;
|
|||
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@ContextConfiguration(classes = { PersistenceConfig.class }, loader = AnnotationConfigContextLoader.class)
|
||||
public class FooSortingServiceTest {
|
||||
public class FooSortingPersistenceServiceTest {
|
||||
private SessionFactory sf;
|
||||
private Session sess;
|
||||
|
Loading…
Reference in New Issue