Package org.spongepowered.mij
package org.spongepowered.mij
A helper library to allow running JUnit tests in a ModLauncher context.
-
ClassDescriptionAn interface redirecting all method interceptions into
MethodInvocationInterceptor.interceptMethod(org.junit.jupiter.api.extension.InvocationInterceptor.Invocation<T>, org.junit.jupiter.api.extension.ReflectiveInvocationContext<java.lang.reflect.Method>, org.junit.jupiter.api.extension.ExtensionContext)
.A JUnit extension booting ModLauncher and executing tests inside the transforming class loader.ModLauncher and Mixin can only be initialized once.