Skip to content

Commit fe42cf7

Browse files
committed
Disable #4436 tests temporarily
1 parent c96bfcb commit fe42cf7

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

src/test/java/com/fasterxml/jackson/databind/deser/jdk/BigDecimalDeser4435Test.java

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
package com.fasterxml.jackson.databind.deser.jdk;
22

3-
import com.fasterxml.jackson.databind.ObjectMapper;
4-
import com.fasterxml.jackson.databind.json.JsonMapper;
3+
import java.math.BigDecimal;
4+
5+
import org.junit.jupiter.api.Disabled;
56
import org.junit.jupiter.api.Test;
67

7-
import java.math.BigDecimal;
8+
import com.fasterxml.jackson.databind.ObjectMapper;
9+
import com.fasterxml.jackson.databind.json.JsonMapper;
810

911
import static org.junit.jupiter.api.Assertions.assertEquals;
1012

@@ -23,6 +25,8 @@ static class BigDecimalWrapper {
2325

2426
private final ObjectMapper MAPPER = JsonMapper.builder().build();
2527

28+
// Disabled until [databind#4435 fixed]
29+
@Disabled
2630
@Test
2731
public void testNumberStartingWithDot() throws Exception
2832
{
@@ -31,6 +35,8 @@ public void testNumberStartingWithDot() throws Exception
3135
assertEquals(new BigDecimal(num), w.number);
3236
}
3337

38+
// Disabled until [databind#4435 fixed]
39+
@Disabled
3440
@Test
3541
public void testNumberStartingWithMinusDot() throws Exception
3642
{
@@ -39,6 +45,8 @@ public void testNumberStartingWithMinusDot() throws Exception
3945
assertEquals(new BigDecimal(num), w.number);
4046
}
4147

48+
// Disabled until [databind#4435 fixed]
49+
@Disabled
4250
@Test
4351
public void testNumberStartingWithPlusDot() throws Exception
4452
{

src/test/java/com/fasterxml/jackson/databind/deser/jdk/JDKNumberDeserTest.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
import com.fasterxml.jackson.databind.*;
1717
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
1818
import com.fasterxml.jackson.databind.exc.MismatchedInputException;
19+
import com.fasterxml.jackson.databind.testutil.DatabindTestUtil;
1920

2021
import static org.junit.jupiter.api.Assertions.*;
2122

22-
import static com.fasterxml.jackson.databind.testutil.DatabindTestUtil.*;
23-
2423
public class JDKNumberDeserTest
24+
extends DatabindTestUtil
2525
{
2626
/*
2727
/**********************************************************************
@@ -104,7 +104,7 @@ public MyBeanValue deserialize(JsonParser jp, DeserializationContext ctxt)
104104
/**********************************************************************
105105
*/
106106

107-
final ObjectMapper MAPPER = new ObjectMapper();
107+
private final ObjectMapper MAPPER = new ObjectMapper();
108108

109109
@Test
110110
public void testNaN() throws Exception

0 commit comments

Comments
 (0)