Remove 'org.apache.geode:geode-membership' and 'org.apache.geode:geode-tcp-server' provided dependency declarations.

Add Javadoc to the GemFireUtilsTests to remove use of internal Apache Geode APIs (AbstractRegion).
This commit is contained in:
John Blum
2021-10-20 16:37:19 -07:00
parent d83f8694ce
commit dde76f02f1
2 changed files with 5 additions and 3 deletions

View File

@@ -22,11 +22,10 @@ dependencies {
provided "javax.servlet:javax.servlet-api"
// TODO: Remove dependency declarations when all internal Apache Geode API usage is removed; Only required by tests!
// TODO: Remove dependency declarations when all internal Apache Geode API usage is removed; Only required by test,
// and specifically, the GemFireUtilsTests! :P
provided "org.apache.geode:geode-logging:$apacheGeodeVersion"
provided "org.apache.geode:geode-membership:$apacheGeodeVersion" // Need for Geode Serialization
provided "org.apache.geode:geode-serialization:$apacheGeodeVersion" // Need for Geode Serialization
provided "org.apache.geode:geode-tcp-server:$apacheGeodeVersion" // Need for Geode Serialization
testCompile "org.assertj:assertj-core"
testCompile "junit:junit"

View File

@@ -175,6 +175,7 @@ public class GemFireUtilsTests {
@Test
@SuppressWarnings("rawtypes")
// TODO: Remove use of Apache Geode internal API (AbstractRegion).
public void clientRegionWithServerProxyIsNonLocalClientRegion() {
ClientCache mockClientCache = mock(ClientCache.class);
@@ -198,6 +199,7 @@ public class GemFireUtilsTests {
@Test
@SuppressWarnings("rawtypes")
// TODO: Remove use of Apache Geode internal API (AbstractRegion).
public void clientRegionWithNoPoolAndNoServerProxyIsNotNonLocalClientRegion() {
ClientCache mockClientCache = mock(ClientCache.class);
@@ -242,6 +244,7 @@ public class GemFireUtilsTests {
@Test
@SuppressWarnings("rawtypes")
// TODO: Remove use of Apache Geode internal API (AbstractRegion).
public void peerRegionWithServerProxyIsNotNonLocalClientRegion() {
Cache mockPeerCache = mock(Cache.class);