geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dschnei...@apache.org
Subject [geode] 01/01: fixed the test to use the other AutoSerializer constructor
Date Mon, 18 Nov 2019 23:01:31 GMT
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 <dschneider@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();


Mime
View raw message