Extend o.s.d.g.tests.integration.IntegrationTestsSupport.

This commit is contained in:
John Blum
2019-03-21 20:36:03 -07:00
parent 802bc61227
commit a7c3bf2344
2 changed files with 6 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.gemfire.config.annotation.EnableMemcachedServer;
import org.springframework.data.gemfire.config.annotation.EnableSsl;
import org.springframework.data.gemfire.server.SubscriptionEvictionPolicy;
import org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport;
import org.springframework.data.gemfire.tests.mock.annotation.EnableGemFireMockObjects;
import org.springframework.geode.boot.autoconfigure.ContinuousQueryAutoConfiguration;
import org.springframework.geode.boot.autoconfigure.configuration.support.CacheProperties;
@@ -58,6 +59,7 @@ import org.springframework.test.context.junit4.SpringRunner;
* @see org.springframework.boot.autoconfigure.SpringBootApplication
* @see org.springframework.boot.test.context.SpringBootTest
* @see org.springframework.data.gemfire.tests.mock.annotation.EnableGemFireMockObjects
* @see org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport
* @see org.springframework.geode.boot.autoconfigure.GemFirePropertiesAutoConfiguration
* @see org.springframework.geode.boot.autoconfigure.configuration.GemFireProperties
* @see org.springframework.test.context.junit4.SpringRunner
@@ -67,7 +69,7 @@ import org.springframework.test.context.junit4.SpringRunner;
@ActiveProfiles("gemfire-config-test")
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE)
@SuppressWarnings("unused")
public class GemFirePropertiesIntegrationTests {
public class GemFirePropertiesIntegrationTests extends IntegrationTestsSupport {
@Autowired
private GemFireProperties gemfireProperties;

View File

@@ -34,6 +34,7 @@ import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.context.annotation.Bean;
import org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport;
import org.springframework.data.gemfire.tests.mock.annotation.EnableGemFireMockObjects;
import org.springframework.geode.boot.autoconfigure.ContinuousQueryAutoConfiguration;
import org.springframework.geode.boot.autoconfigure.PdxSerializationAutoConfiguration;
@@ -50,6 +51,7 @@ import org.springframework.test.context.junit4.SpringRunner;
* @see org.springframework.boot.test.context.SpringBootTest
* @see org.springframework.geode.boot.autoconfigure.configuration.SpringSessionProperties
* @see org.springframework.data.gemfire.tests.mock.annotation.EnableGemFireMockObjects
* @see org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport
* @see org.springframework.test.context.junit4.SpringRunner
* @since 1.0.0
*/
@@ -57,7 +59,7 @@ import org.springframework.test.context.junit4.SpringRunner;
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.MOCK)
@ActiveProfiles("session-config-test")
@SuppressWarnings("unused")
public class SpringSessionPropertiesIntegrationTests {
public class SpringSessionPropertiesIntegrationTests extends IntegrationTestsSupport {
@Autowired
private ClientCache clientCache;