configure integration test

This commit is contained in:
DOHA 2016-10-19 14:02:32 +02:00
parent 496553caaf
commit 29ae3bc010
10 changed files with 21 additions and 10 deletions

View File

@ -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>

View File

@ -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")

View File

@ -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";

View File

@ -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")

View File

@ -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")

View File

@ -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";

View File

@ -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")

View File

@ -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;

View File

@ -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";

View File

@ -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";