You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ds...@apache.org on 2019/11/18 23:01:31 UTC
[geode] 01/01: fixed the test to use the other AutoSerializer
constructor
This is an automated email from the ASF dual-hosted git repository.
dschneider pushed a commit to branch GEODE-7468
in repository https://gitbox.apache.org/repos/asf/geode.git
commit fa7f11e153ec6d5300e53faf1b893b9b93b8f551
Author: Darrel Schneider <ds...@pivotal.io>
AuthorDate: Mon Nov 18 15:00:42 2019 -0800
fixed the test to use the other AutoSerializer constructor
---
.../internal/configuration/validators/PdxValidatorTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/configuration/validators/PdxValidatorTest.java b/geode-core/src/test/java/org/apache/geode/management/internal/configuration/validators/PdxValidatorTest.java
index be6ee3a..eec4958 100644
--- a/geode-core/src/test/java/org/apache/geode/management/internal/configuration/validators/PdxValidatorTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/configuration/validators/PdxValidatorTest.java
@@ -60,7 +60,7 @@ public class PdxValidatorTest {
PdxValidator validator = new PdxValidator();
Pdx pdx = new Pdx();
- pdx.setAutoSerializer(new AutoSerializer(false, (String) null));
+ pdx.setAutoSerializer(new AutoSerializer(false, (List<String>) null));
assertThatThrownBy(() -> validator.validate(CREATE, pdx))
.isInstanceOf(IllegalArgumentException.class)
@@ -84,7 +84,7 @@ public class PdxValidatorTest {
PdxValidator validator = new PdxValidator();
Pdx pdx = new Pdx();
- pdx.setAutoSerializer(new AutoSerializer(false, (String) null));
+ pdx.setAutoSerializer(new AutoSerializer(false, (List<String>) null));
assertThatCode(() -> validator.validate(DELETE, pdx))
.doesNotThrowAnyException();
@@ -95,7 +95,7 @@ public class PdxValidatorTest {
PdxValidator validator = new PdxValidator();
Pdx pdx = new Pdx();
- pdx.setAutoSerializer(new AutoSerializer(false, (String) null));
+ pdx.setAutoSerializer(new AutoSerializer(false, (List<String>) null));
assertThatCode(() -> validator.validate(UPDATE, pdx))
.doesNotThrowAnyException();