Skip to content

Commit

Permalink
Remove remaining unintended direct JUnit 4 usage
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jan 10, 2025
1 parent 3ad9182 commit b07f0f1
Show file tree
Hide file tree
Showing 28 changed files with 150 additions and 400 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import java.util.Optional;
import java.util.TimeZone;

import org.junit.jupiter.api.Test;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

Expand Down Expand Up @@ -35,6 +37,7 @@ static class ContextualOptionals
/**********************************************************
*/

@Test
public void testContextualOptionals() throws Exception
{
SimpleDateFormat df = new SimpleDateFormat("yyyy/MM/dd");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

import java.util.Optional;

import org.junit.jupiter.api.Test;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

Expand Down Expand Up @@ -38,6 +40,7 @@ public CreatorWithOptionalStrings(@JsonProperty("a") Optional<String> a,
/**
* Test to ensure that creator parameters use defaulting
*/
@Test
public void testCreatorWithOptional() throws Exception
{
CreatorWithOptionalStrings bean = MAPPER.readValue(
Expand Down
Loading

0 comments on commit b07f0f1

Please sign in to comment.