Make some tests package private (#13663)

This commit is contained in:
Lauri Tulmin 2025-04-07 17:08:21 +03:00 committed by GitHub
parent cb63b098a2
commit 1aa97e2be7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ import java.util.jar.Manifest;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;
public class ExtensionClassLoaderTest {
class ExtensionClassLoaderTest {
private static final File AGENT_FILE = new File("/agent.jar");
@Test

View File

@ -18,7 +18,7 @@ import net.bytebuddy.description.type.TypeDescription;
import net.bytebuddy.implementation.bytecode.assign.Assigner;
import org.junit.jupiter.api.Test;
public class ForceDynamicallyTypedAssignReturnedFactoryTest {
class ForceDynamicallyTypedAssignReturnedFactoryTest {
@AssignReturned.ToFields(@ToField(value = "foo", index = 42))
@AssignReturned.ToArguments(@ToArgument(value = 3, index = 7))
@ -30,7 +30,7 @@ public class ForceDynamicallyTypedAssignReturnedFactoryTest {
static void testMethod() {}
@Test
public void checkTypingMadeDynamic() {
void checkTypingMadeDynamic() {
MethodDescription.InDefinedShape original =
TypeDescription.ForLoadedType.of(ForceDynamicallyTypedAssignReturnedFactoryTest.class)
.getDeclaredMethods()