From fa1d086b7a8082709038d4fce9b9488c19424583 Mon Sep 17 00:00:00 2001 From: Robert Scholte Date: Sun, 22 Oct 2023 12:13:58 +0200 Subject: [PATCH] Fix unittests --- .../qdox/model/JavaWildcardTypeTest.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/test/java/com/thoughtworks/qdox/model/JavaWildcardTypeTest.java b/src/test/java/com/thoughtworks/qdox/model/JavaWildcardTypeTest.java index 246da352..d9a02377 100644 --- a/src/test/java/com/thoughtworks/qdox/model/JavaWildcardTypeTest.java +++ b/src/test/java/com/thoughtworks/qdox/model/JavaWildcardTypeTest.java @@ -2,24 +2,22 @@ import com.thoughtworks.qdox.library.ClassLibrary; import com.thoughtworks.qdox.library.SortedClassLibraryBuilder; -import com.thoughtworks.qdox.model.impl.DefaultJavaType; import com.thoughtworks.qdox.model.impl.DefaultJavaWildcardType; import com.thoughtworks.qdox.type.TypeResolver; -import org.junit.Before; -import org.junit.Test; -import java.lang.reflect.Field; +import static org.junit.jupiter.api.Assertions.assertEquals; + import java.util.ArrayList; -import java.util.Collections; import java.util.List; -import static org.junit.Assert.assertEquals; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; public abstract class JavaWildcardTypeTest { private TypeResolver typeResolver; - @Before + @BeforeEach public void setUp() { ClassLibrary classLibrary = new SortedClassLibraryBuilder().appendDefaultClassLoaders().getClassLibrary(); List typeList = new ArrayList();