configure integration test
This commit is contained in:
parent
496553caaf
commit
29ae3bc010
|
@ -86,6 +86,17 @@
|
|||
<target>1.7</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${maven-surefire-plugin.version}</version>
|
||||
<configuration>
|
||||
<excludes>
|
||||
<exclude>**/*IntegrationTest.java</exclude>
|
||||
<exclude>**/*LiveTest.java</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
@ -99,7 +110,7 @@
|
|||
<logback.version>1.1.3</logback.version>
|
||||
<org.slf4j.version>1.7.12</org.slf4j.version>
|
||||
<junit.version>4.11</junit.version>
|
||||
|
||||
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
||||
|
|
|
@ -3,7 +3,7 @@ package org.baeldung.spring.data.couchbase.service;
|
|||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Qualifier;
|
||||
|
||||
public class PersonRepositoryServiceTest extends PersonServiceTest {
|
||||
public class PersonRepositoryServiceIntegrationTest extends PersonServiceIntegrationTest {
|
||||
|
||||
@Autowired
|
||||
@Qualifier("PersonRepositoryService")
|
|
@ -20,7 +20,7 @@ import com.couchbase.client.java.CouchbaseCluster;
|
|||
import com.couchbase.client.java.document.JsonDocument;
|
||||
import com.couchbase.client.java.document.json.JsonObject;
|
||||
|
||||
public abstract class PersonServiceTest extends IntegrationTest {
|
||||
public abstract class PersonServiceIntegrationTest extends IntegrationTest {
|
||||
|
||||
static final String typeField = "_class";
|
||||
static final String john = "John";
|
|
@ -3,7 +3,7 @@ package org.baeldung.spring.data.couchbase.service;
|
|||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Qualifier;
|
||||
|
||||
public class PersonTemplateServiceTest extends PersonServiceTest {
|
||||
public class PersonTemplateServiceIntegrationTest extends PersonServiceIntegrationTest {
|
||||
|
||||
@Autowired
|
||||
@Qualifier("PersonTemplateService")
|
|
@ -3,7 +3,7 @@ package org.baeldung.spring.data.couchbase.service;
|
|||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Qualifier;
|
||||
|
||||
public class StudentRepositoryServiceTest extends StudentServiceTest {
|
||||
public class StudentRepositoryServiceIntegrationTest extends StudentServiceIntegrationTest {
|
||||
|
||||
@Autowired
|
||||
@Qualifier("StudentRepositoryService")
|
|
@ -22,7 +22,7 @@ import com.couchbase.client.java.CouchbaseCluster;
|
|||
import com.couchbase.client.java.document.JsonDocument;
|
||||
import com.couchbase.client.java.document.json.JsonObject;
|
||||
|
||||
public abstract class StudentServiceTest extends IntegrationTest {
|
||||
public abstract class StudentServiceIntegrationTest extends IntegrationTest {
|
||||
|
||||
static final String typeField = "_class";
|
||||
static final String joe = "Joe";
|
|
@ -3,7 +3,7 @@ package org.baeldung.spring.data.couchbase.service;
|
|||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Qualifier;
|
||||
|
||||
public class StudentTemplateServiceTest extends StudentServiceTest {
|
||||
public class StudentTemplateServiceIntegrationTest extends StudentServiceIntegrationTest {
|
||||
|
||||
@Autowired
|
||||
@Qualifier("StudentTemplateService")
|
|
@ -18,7 +18,7 @@ import org.springframework.data.geo.Distance;
|
|||
import org.springframework.data.geo.Metrics;
|
||||
import org.springframework.data.geo.Point;
|
||||
|
||||
public class CampusServiceImplTest extends MultiBucketIntegationTest {
|
||||
public class CampusServiceImplIntegrationTest extends MultiBucketIntegationTest {
|
||||
|
||||
@Autowired
|
||||
private CampusServiceImpl campusService;
|
|
@ -21,7 +21,7 @@ import com.couchbase.client.java.CouchbaseCluster;
|
|||
import com.couchbase.client.java.document.JsonDocument;
|
||||
import com.couchbase.client.java.document.json.JsonObject;
|
||||
|
||||
public class PersonServiceImplTest extends MultiBucketIntegationTest {
|
||||
public class PersonServiceImplIntegrationTest extends MultiBucketIntegationTest {
|
||||
|
||||
static final String typeField = "_class";
|
||||
static final String john = "John";
|
|
@ -23,7 +23,7 @@ import com.couchbase.client.java.CouchbaseCluster;
|
|||
import com.couchbase.client.java.document.JsonDocument;
|
||||
import com.couchbase.client.java.document.json.JsonObject;
|
||||
|
||||
public class StudentServiceImplTest extends MultiBucketIntegationTest {
|
||||
public class StudentServiceImplIntegrationTest extends MultiBucketIntegationTest {
|
||||
|
||||
static final String typeField = "_class";
|
||||
static final String joe = "Joe";
|
Loading…
Reference in New Issue