Skip to content

Commit

Permalink
Test refactoring to try to isolate tests relying on non-base JDK modules
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jan 11, 2025
1 parent 060d129 commit bbf7b10
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 11 deletions.
12 changes: 12 additions & 0 deletions src/main/java/tools/jackson/databind/ext/sql/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/**
Package that contains handlers specific to SQL datatypes. While these
already existed in Jackson 2.x, in 3.x they are moved to a separate package
within databind.
<p>
Note that this package depends on <code>java.sql</code> and
<code>java.sql.rowset</code> modules.
@since 3.0
*/

package tools.jackson.databind.ext.sql;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package tools.jackson.databind.ext;
package tools.jackson.databind.deser.jdk;

import java.nio.file.Path;
import java.nio.file.Paths;
Expand All @@ -11,7 +11,7 @@

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

public class TestJava7Types extends DatabindTestUtil
public class Java7TypesTest extends DatabindTestUtil
{
private boolean isWindows() {
return System.getProperty("os.name").contains("Windows");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package tools.jackson.databind.deser.creators;
package tools.jackson.databind.ext.desktop;

import java.beans.ConstructorProperties;
import java.util.*;
Expand All @@ -16,7 +16,7 @@

import static tools.jackson.databind.testutil.DatabindTestUtil.*;

public class CreatorPropertiesTest
public class ConstructorPropertiesAnnotationTest
{
static class Issue905Bean {
// 08-Nov-2015, tatu: Note that in real code we would most likely use same
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package tools.jackson.databind.introspect;
package tools.jackson.databind.ext.desktop;

import java.beans.Transient;
import java.io.Serializable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package tools.jackson.databind.ext;
package tools.jackson.databind.ext.sql;

import java.sql.Blob;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package tools.jackson.databind.ext;
package tools.jackson.databind.ext.sql;

import java.util.Calendar;
import java.util.TimeZone;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package tools.jackson.databind.ext;
package tools.jackson.databind.ext.sql;

import java.util.Calendar;
import java.util.Date;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package tools.jackson.databind.ext;
package tools.jackson.databind.ext.sql;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package tools.jackson.databind.ext;
package tools.jackson.databind.ext.xml;

import java.io.StringReader;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package tools.jackson.databind.ext;
package tools.jackson.databind.ext.xml;

import javax.xml.datatype.*;
import javax.xml.namespace.QName;
Expand Down

0 comments on commit bbf7b10

Please sign in to comment.