Edit Javadoc; Optimize imports.
This commit is contained in:
@@ -21,12 +21,12 @@ import java.util.concurrent.atomic.AtomicBoolean;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.apache.geode.cache.Region;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import org.apache.geode.cache.Region;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport;
|
||||
@@ -41,11 +41,13 @@ import example.app.caching.inline.service.CalculatorService;
|
||||
* Integration Tests for Calculator Application.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.util.concurrent.atomic.AtomicBoolean
|
||||
* @see org.junit.Test
|
||||
* @see org.apache.geode.cache.Region
|
||||
* @see org.springframework.boot.test.context.SpringBootTest
|
||||
* @see org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport
|
||||
* @see org.springframework.test.context.junit4.SpringRunner
|
||||
* @see example.app.caching.inline.model.Operator
|
||||
* @see example.app.caching.inline.model.ResultHolder
|
||||
* @see example.app.caching.inline.repo.CalculatorRepository
|
||||
* @see example.app.caching.inline.service.CalculatorService
|
||||
@@ -54,6 +56,7 @@ import example.app.caching.inline.service.CalculatorService;
|
||||
// tag::class[]
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest
|
||||
@SuppressWarnings("unused")
|
||||
public class CalculatorApplicationIntegrationTests extends IntegrationTestsSupport {
|
||||
|
||||
private static final AtomicBoolean runOnce = new AtomicBoolean(false);
|
||||
|
||||
@@ -20,9 +20,11 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.apache.geode.cache.Region;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport;
|
||||
|
||||
@@ -31,9 +31,9 @@ import org.springframework.data.gemfire.tests.integration.ForkingClientServerInt
|
||||
import org.springframework.test.context.ActiveProfiles;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
import example.app.caching.near.client.model.Person;
|
||||
import example.app.caching.near.client.service.YellowPagesService;
|
||||
import example.app.caching.near.server.BootGeodeNearCachingCacheServerApplication;
|
||||
import example.app.caching.near.client.model.Person;
|
||||
|
||||
/**
|
||||
* Integration Tests for the Spring Boot, {@link ClientCache} application example for {@literal Near Caching}.
|
||||
@@ -44,14 +44,15 @@ import example.app.caching.near.client.model.Person;
|
||||
* @see org.springframework.data.gemfire.tests.integration.ForkingClientServerIntegrationTestsSupport
|
||||
* @see org.springframework.test.context.ActiveProfiles
|
||||
* @see org.springframework.test.context.junit4.SpringRunner
|
||||
* @see Person
|
||||
* @see YellowPagesService
|
||||
* @see BootGeodeNearCachingCacheServerApplication
|
||||
* @see example.app.caching.near.client.model.Person
|
||||
* @see example.app.caching.near.client.service.YellowPagesService
|
||||
* @see example.app.caching.near.server.BootGeodeNearCachingCacheServerApplication
|
||||
* @since 1.1.0
|
||||
*/
|
||||
@ActiveProfiles("client")
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.MOCK)
|
||||
@SuppressWarnings("unused")
|
||||
public class BootGeodeNearCachingClientCacheApplicationIntegrationTests
|
||||
extends ForkingClientServerIntegrationTestsSupport {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user