Skip to content

Commit

Permalink
Test refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Feb 5, 2024
1 parent a751f9c commit ee81e8b
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import com.fasterxml.jackson.databind.SerializationFeature;

import com.fasterxml.jackson.module.jakarta.xmlbind.ModuleTestBase;
import com.fasterxml.jackson.module.jakarta.xmlbind.introspect.TestJaxbAnnotationIntrospector.KeyValuePair;
import com.fasterxml.jackson.module.jakarta.xmlbind.introspect.JakartaXmlBindAnnotationIntrospectorTest.KeyValuePair;

/**
* Unit tests to check that {@link XmlAdapter}s also work with
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* Tests for verifying that JAXB annotation based introspector
* implementation works as expected
*/
public class TestJaxbAnnotationIntrospector
public class JakartaXmlBindAnnotationIntrospectorTest
extends ModuleTestBase
{
/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
* @author Tatu Saloranta
*/
public class TestJaxbAutoDetect extends ModuleTestBase
public class JakartaXmlBindAutoDetectTest extends ModuleTestBase
{
/*
/**********************************************************
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import com.fasterxml.jackson.module.jakarta.xmlbind.ModuleTestBase;

public class TestJaxbFieldAccess extends ModuleTestBase
public class JakartaXmlBindFieldAccessTest extends ModuleTestBase
{
/*
/**********************************************************
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* Unit tests to ensure that handling of writing of null properties (or not)
* works when using JAXB annotation introspector.
*/
public class TestJaxbNullProperties
public class NullPropertiesTest
extends ModuleTestBase
{
/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ static class MyType {

static class MyBeanDeserializerModifier extends BeanDeserializerModifier
{
private static final long serialVersionUID = 1L;

static int count = 0;

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapters({
@jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter(
type = javax.xml.namespace.QName.class,
value = com.fasterxml.jackson.module.jakarta.xmlbind.introspect.TestJaxbAnnotationIntrospector.QNameAdapter.class
value = com.fasterxml.jackson.module.jakarta.xmlbind.introspect.JakartaXmlBindAnnotationIntrospectorTest.QNameAdapter.class
)
})
package com.fasterxml.jackson.module.jakarta.xmlbind.misc;
Expand Down

0 comments on commit ee81e8b

Please sign in to comment.