From 8db9f39e512b432fbb670ee785e1c14219db7abb Mon Sep 17 00:00:00 2001 From: John Blum Date: Wed, 9 Jun 2021 13:35:31 -0700 Subject: [PATCH] Edit Javadoc. --- ...sAndJavaSerializationIntegrationTests.java | 8 ++++---- ...alizationDeltasAndPdxIntegrationTests.java | 20 ++++++++++++++++--- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/spring-session-data-geode/src/integration-test/java/org/springframework/session/data/gemfire/serialization/data/SessionSerializationWithDataSerializationDeltasAndJavaSerializationIntegrationTests.java b/spring-session-data-geode/src/integration-test/java/org/springframework/session/data/gemfire/serialization/data/SessionSerializationWithDataSerializationDeltasAndJavaSerializationIntegrationTests.java index 48c72ed..9866ab3 100644 --- a/spring-session-data-geode/src/integration-test/java/org/springframework/session/data/gemfire/serialization/data/SessionSerializationWithDataSerializationDeltasAndJavaSerializationIntegrationTests.java +++ b/spring-session-data-geode/src/integration-test/java/org/springframework/session/data/gemfire/serialization/data/SessionSerializationWithDataSerializationDeltasAndJavaSerializationIntegrationTests.java @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.springframework.session.data.gemfire.serialization.data; import static org.assertj.core.api.Assertions.assertThat; @@ -51,6 +50,7 @@ import lombok.ToString; * de/serialized using Java Serialization. * * @author John Blum + * @see java.io.Serializable * @see org.apache.geode.cache.client.ClientCache * @see org.springframework.context.annotation.AnnotationConfigApplicationContext * @see org.springframework.data.gemfire.config.annotation.CacheServerApplication @@ -60,6 +60,7 @@ import lombok.ToString; * @see org.springframework.session.data.gemfire.AbstractGemFireIntegrationTests * @see org.springframework.session.data.gemfire.config.annotation.web.http.EnableGemFireHttpSession * @see org.springframework.session.data.gemfire.config.annotation.web.http.GemFireHttpSessionConfiguration + * @see org.springframework.test.context.ContextConfiguration * @see org.springframework.test.context.junit4.SpringRunner * @since 2.1.3 */ @@ -69,7 +70,7 @@ import lombok.ToString; ) @SuppressWarnings("unused") public class SessionSerializationWithDataSerializationDeltasAndJavaSerializationIntegrationTests - extends AbstractGemFireIntegrationTests{ + extends AbstractGemFireIntegrationTests { private static final String GEMFIRE_LOG_LEVEL = "error"; private static final String SESSIONS_REGION_NAME = "Sessions"; @@ -133,7 +134,7 @@ public class SessionSerializationWithDataSerializationDeltasAndJavaSerialization @ClientCacheApplication(logLevel = GEMFIRE_LOG_LEVEL, subscriptionEnabled = true) @EnableGemFireHttpSession( poolName = "DEFAULT", - regionName = SESSIONS_REGION_NAME, + regionName = SESSIONS_REGION_NAME, sessionSerializerBeanName = GemFireHttpSessionConfiguration.SESSION_DATA_SERIALIZER_BEAN_NAME ) static class GemFireClientConfiguration { } @@ -158,7 +159,6 @@ public class SessionSerializationWithDataSerializationDeltasAndJavaSerialization @ToString @EqualsAndHashCode @RequiredArgsConstructor(staticName = "newCustomer") - //static class Customer { static class Customer implements Serializable { @NonNull diff --git a/spring-session-data-geode/src/integration-test/java/org/springframework/session/data/gemfire/serialization/data/SessionSerializationWithDataSerializationDeltasAndPdxIntegrationTests.java b/spring-session-data-geode/src/integration-test/java/org/springframework/session/data/gemfire/serialization/data/SessionSerializationWithDataSerializationDeltasAndPdxIntegrationTests.java index 0a076ab..9a3eaf6 100644 --- a/spring-session-data-geode/src/integration-test/java/org/springframework/session/data/gemfire/serialization/data/SessionSerializationWithDataSerializationDeltasAndPdxIntegrationTests.java +++ b/spring-session-data-geode/src/integration-test/java/org/springframework/session/data/gemfire/serialization/data/SessionSerializationWithDataSerializationDeltasAndPdxIntegrationTests.java @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.springframework.session.data.gemfire.serialization.data; import static org.assertj.core.api.Assertions.assertThat; @@ -48,10 +47,25 @@ import lombok.NonNull; import lombok.RequiredArgsConstructor; /** - * The SessionSerializationWithDataSerializationDeltasAndPdxIntegrationTests class... + * Integration test testing the serialization of a {@link Session} object containing application domain object types + * de/serialized using PDX. * * @author John Blum - * @since 1.0.0 + * @see org.junit.Test + * @see org.springframework.context.annotation.AnnotationConfigApplicationContext + * @see org.springframework.context.annotation.Bean + * @see org.springframework.data.gemfire.config.annotation.CacheServerApplication + * @see org.springframework.data.gemfire.config.annotation.ClientCacheApplication + * @see org.springframework.data.gemfire.config.annotation.EnablePdx + * @see org.springframework.data.gemfire.config.annotation.PeerCacheConfigurer + * @see org.springframework.data.gemfire.mapping.MappingPdxSerializer + * @see org.springframework.session.Session + * @see org.springframework.session.data.gemfire.AbstractGemFireIntegrationTests + * @see org.springframework.session.data.gemfire.config.annotation.web.http.EnableGemFireHttpSession + * @see org.springframework.session.data.gemfire.config.annotation.web.http.GemFireHttpSessionConfiguration + * @see org.springframework.test.context.ContextConfiguration + * @see org.springframework.test.context.junit4.SpringRunner + * @since 2.1.3 */ @SuppressWarnings("unused") @RunWith(SpringRunner.class)