Skip to content

Commit

Permalink
[ JSTEP-10 ] Migrate failing tests to tofix (#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
JooHyukKim authored Jan 14, 2025
1 parent ec58aab commit 3d01889
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.fasterxml.jackson.databind.SequenceWriter;
import com.fasterxml.jackson.dataformat.avro.*;
import com.fasterxml.jackson.dataformat.avro.schema.AvroSchemaGenerator;
import com.fasterxml.jackson.dataformat.avro.testutil.failure.JacksonTestFailureExpected;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
Expand All @@ -21,6 +22,7 @@
public class FileSerialization319Test extends AvroTestBase
{
// [dataformats-binary#319]
@JacksonTestFailureExpected
@Test
public void testFileSerialization() throws Exception
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import org.junit.jupiter.api.Test;

import com.fasterxml.jackson.dataformat.avro.*;
import com.fasterxml.jackson.dataformat.avro.testutil.failure.JacksonTestFailureExpected;

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

Expand All @@ -15,6 +16,7 @@ static class MyClass {

private final AvroMapper MAPPER = getMapper();

@JacksonTestFailureExpected
@Test
public void testSimpleFieldRemove() throws Exception
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.dataformat.ion.IonObjectMapper;
import com.fasterxml.jackson.dataformat.ion.testutil.failure.JacksonTestFailureExpected;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
Expand All @@ -17,6 +18,7 @@ static class Point {
public int y = 2;
}

@JacksonTestFailureExpected
@Test
public void testBasicPrettyPrintTextual() throws Exception
{
Expand Down
9 changes: 0 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,6 @@
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>com/fasterxml/jackson/**/failing/*.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import com.fasterxml.jackson.dataformat.protobuf.ProtobufMapper;
import com.fasterxml.jackson.dataformat.protobuf.ProtobufTestBase;
import com.fasterxml.jackson.dataformat.protobuf.schema.ProtobufSchema;
import com.fasterxml.jackson.dataformat.protobuf.testutil.failure.JacksonTestFailureExpected;

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

Expand All @@ -21,6 +22,7 @@ public class GenerateNestedType73Test extends ProtobufTestBase
final ProtobufMapper MAPPER = new ProtobufMapper();

// [dataformats-binary#68]
@JacksonTestFailureExpected
@Test
public void testNestedTypes() throws Exception
{
Expand Down

0 comments on commit 3d01889

Please sign in to comment.