You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/11/05 14:41:05 UTC
(commons-lang) branch master updated: Update ReflectionDiffBuilderTest.TypeTestClass
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push:
new 8343062fa Update ReflectionDiffBuilderTest.TypeTestClass
8343062fa is described below
commit 8343062fa49a88bac3179463ed94dc02178aeea9
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Nov 5 09:41:00 2024 -0500
Update ReflectionDiffBuilderTest.TypeTestClass
- Add a BigDecimal field
- Add a BigInteger field
---
.../org/apache/commons/lang3/builder/ReflectionDiffBuilderTest.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/test/java/org/apache/commons/lang3/builder/ReflectionDiffBuilderTest.java b/src/test/java/org/apache/commons/lang3/builder/ReflectionDiffBuilderTest.java
index 1582d3ade..35545ae2a 100644
--- a/src/test/java/org/apache/commons/lang3/builder/ReflectionDiffBuilderTest.java
+++ b/src/test/java/org/apache/commons/lang3/builder/ReflectionDiffBuilderTest.java
@@ -19,6 +19,9 @@ package org.apache.commons.lang3.builder;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+
import org.apache.commons.lang3.AbstractLangTest;
import org.junit.jupiter.api.Test;
@@ -52,6 +55,8 @@ public class ReflectionDiffBuilderTest extends AbstractLangTest {
private final Object objectField = null;
private final Object[] objectArrayField = { null };
private transient String transientField;
+ private final BigDecimal bigDecimal = BigDecimal.valueOf(2.0);
+ private final BigInteger bigInteger = BigInteger.valueOf(2);
@DiffExclude
private String annotatedField = "a";
private String excludedField = "a";