Renaming TypeUtilTest.TestClass to .ExampleClass to avoid junit picking it up

This commit is contained in:
Joakim Erdfelt 2023-01-09 09:42:40 -06:00
parent f14c0a5002
commit ebd45ebb74
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
2 changed files with 4 additions and 3 deletions

View File

@ -19,7 +19,7 @@ import java.util.stream.Stream;
import org.eclipse.jetty.util.resource.Resource;
import org.eclipse.jetty.util.resource.ResourceFactory;
import org.eclipse.jetty.util.test10.TestClass;
import org.eclipse.jetty.util.test10.ExampleClass;
import org.hamcrest.Matchers;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
@ -243,7 +243,7 @@ public class TypeUtilTest
{
return Stream.of(
Arguments.of(TypeUtilTest.class, "oeju.TypeUtilTest"),
Arguments.of(TestClass.class, "oejut10.TestClass")
Arguments.of(ExampleClass.class, "oejut10.TestClass")
);
}

View File

@ -13,6 +13,7 @@
package org.eclipse.jetty.util.test10;
public class TestClass
public class ExampleClass
{
// Class used by TypeUtilTest
}