Skip to content

Commit

Permalink
Disable #4436 tests temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Mar 22, 2024
1 parent c96bfcb commit fe42cf7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
package com.fasterxml.jackson.databind.deser.jdk;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.json.JsonMapper;
import java.math.BigDecimal;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

import java.math.BigDecimal;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.json.JsonMapper;

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

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

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

// Disabled until [databind#4435 fixed]
@Disabled
@Test
public void testNumberStartingWithDot() throws Exception
{
Expand All @@ -31,6 +35,8 @@ public void testNumberStartingWithDot() throws Exception
assertEquals(new BigDecimal(num), w.number);
}

// Disabled until [databind#4435 fixed]
@Disabled
@Test
public void testNumberStartingWithMinusDot() throws Exception
{
Expand All @@ -39,6 +45,8 @@ public void testNumberStartingWithMinusDot() throws Exception
assertEquals(new BigDecimal(num), w.number);
}

// Disabled until [databind#4435 fixed]
@Disabled
@Test
public void testNumberStartingWithPlusDot() throws Exception
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
import com.fasterxml.jackson.databind.*;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.exc.MismatchedInputException;
import com.fasterxml.jackson.databind.testutil.DatabindTestUtil;

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

import static com.fasterxml.jackson.databind.testutil.DatabindTestUtil.*;

public class JDKNumberDeserTest
extends DatabindTestUtil
{
/*
/**********************************************************************
Expand Down Expand Up @@ -104,7 +104,7 @@ public MyBeanValue deserialize(JsonParser jp, DeserializationContext ctxt)
/**********************************************************************
*/

final ObjectMapper MAPPER = new ObjectMapper();
private final ObjectMapper MAPPER = new ObjectMapper();

@Test
public void testNaN() throws Exception
Expand Down

0 comments on commit fe42cf7

Please sign in to comment.