configure integration test
This commit is contained in:
@@ -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";
|
||||
Reference in New Issue
Block a user