minor testing work
This commit is contained in:
parent
a2c98ab37f
commit
890d4348cd
|
@ -30,7 +30,6 @@ public class Foo implements Serializable {
|
||||||
|
|
||||||
public Foo() {
|
public Foo() {
|
||||||
super();
|
super();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Foo(final String name) {
|
public Foo(final String name) {
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
package org.baeldung.persistence;
|
||||||
|
|
||||||
|
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
|
||||||
|
,FooServicePersistenceIntegrationTest.class
|
||||||
|
,ParentServicePersistenceIntegrationTest.class
|
||||||
|
,FooSortingServiceTest.class
|
||||||
|
}) // @formatter:on
|
||||||
|
public class IntegrationTestSuite {
|
||||||
|
//
|
||||||
|
}
|
|
@ -3,6 +3,7 @@ package org.baeldung.persistence.service;
|
||||||
import static org.apache.commons.lang3.RandomStringUtils.randomAlphabetic;
|
import static org.apache.commons.lang3.RandomStringUtils.randomAlphabetic;
|
||||||
|
|
||||||
import org.baeldung.persistence.model.Foo;
|
import org.baeldung.persistence.model.Foo;
|
||||||
|
import org.baeldung.persistence.service.IFooService;
|
||||||
import org.baeldung.spring.PersistenceConfig;
|
import org.baeldung.spring.PersistenceConfig;
|
||||||
import org.hibernate.Session;
|
import org.hibernate.Session;
|
||||||
import org.hibernate.SessionFactory;
|
import org.hibernate.SessionFactory;
|
||||||
|
|
|
@ -8,6 +8,7 @@ import static org.junit.Assert.assertThat;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.baeldung.persistence.model.Foo;
|
import org.baeldung.persistence.model.Foo;
|
||||||
|
import org.baeldung.persistence.service.IFooService;
|
||||||
import org.baeldung.spring.PersistenceConfig;
|
import org.baeldung.spring.PersistenceConfig;
|
||||||
import org.hibernate.Criteria;
|
import org.hibernate.Criteria;
|
||||||
import org.hibernate.Query;
|
import org.hibernate.Query;
|
||||||
|
|
|
@ -3,6 +3,7 @@ package org.baeldung.persistence.service;
|
||||||
import static org.apache.commons.lang3.RandomStringUtils.randomAlphabetic;
|
import static org.apache.commons.lang3.RandomStringUtils.randomAlphabetic;
|
||||||
|
|
||||||
import org.baeldung.persistence.model.Foo;
|
import org.baeldung.persistence.model.Foo;
|
||||||
|
import org.baeldung.persistence.service.IFooService;
|
||||||
import org.baeldung.spring.PersistenceConfig;
|
import org.baeldung.spring.PersistenceConfig;
|
||||||
import org.junit.Ignore;
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package org.baeldung.persistence.service;
|
package org.baeldung.persistence.test;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
Loading…
Reference in New Issue