Add support for JVM 19+, Java 15+, Kotlin 1.7+ #36
GitHub Actions / Test Results
failed
Feb 2, 2024 in 0s
1 fail, 3 skipped, 92 pass in 9s
Annotations
Check warning on line 0 in com.replaymod.gradle.remap.misc.TestMiscJavaCode
github-actions / Test Results
remaps methods that are called on the return value of another method when using synthetic bridges that change the return type() (com.replaymod.gradle.remap.misc.TestMiscJavaCode) failed
build/test-results/test/TEST-com.replaymod.gradle.remap.misc.TestMiscJavaCode.xml [took 0s]
Raw output
org.opentest4j.AssertionFailedError: expected:<"class Test {
void test() {
final b.pkg.B value = null;
value.bGeneratedSynthetic().bGeneratedSynthetic().bGeneratedSynthetic();
}
}"> but was:<"class Test {
void test() {
final b.pkg.B value = null;
value.bGeneratedSynthetic().aGeneratedSynthetic().aGeneratedSynthetic();
}
}">
at app//com.replaymod.gradle.remap.misc.TestMiscJavaCode.remaps methods that are called on the return value of another method when using synthetic bridges that change the return type(TestMiscJavaCode.kt:29)
at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at [email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
at app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
at app//org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
at app//org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
at app//org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at app//org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
at app//org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
at app//org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
at app//org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
at app//org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32)
at app//org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
at app//org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75)
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:99)
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:79)
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:75)
at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:61)
at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at [email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:133)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:71)
at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
Check notice on line 0 in .github
github-actions / Test Results
3 skipped tests found
There are 3 skipped tests, see "Raw output" for the full list of skipped tests.
Raw output
com.replaymod.gradle.remap.imports.TestJavaAutoImports ‑ preserves star imports()
com.replaymod.gradle.remap.imports.TestJavaAutoImports ‑ should not touch static imports (yet)()
com.replaymod.gradle.remap.pattern.TestLambdaExpression ‑ should preserve bound lambda argument names()
Check notice on line 0 in .github
github-actions / Test Results
96 tests found
There are 96 tests, see "Raw output" for the full list of tests.
Raw output
com.replaymod.gradle.remap.imports.TestJavaAutoImports ‑ preserves star imports()
com.replaymod.gradle.remap.imports.TestJavaAutoImports ‑ should add new imports in empty lines()
com.replaymod.gradle.remap.imports.TestJavaAutoImports ‑ should add new imports in place of removed imports()
com.replaymod.gradle.remap.imports.TestJavaAutoImports ‑ should add unambiguous missing imports from JDK()
com.replaymod.gradle.remap.imports.TestJavaAutoImports ‑ should add unambiguous missing imports from remapped classpath()
com.replaymod.gradle.remap.imports.TestJavaAutoImports ‑ should add unambiguous missing imports from the same source set()
com.replaymod.gradle.remap.imports.TestJavaAutoImports ‑ should not add unambiguous missing imports from original classpath()
com.replaymod.gradle.remap.imports.TestJavaAutoImports ‑ should not import classes from the current package()
com.replaymod.gradle.remap.imports.TestJavaAutoImports ‑ should not import generic types()
com.replaymod.gradle.remap.imports.TestJavaAutoImports ‑ should not import java-lang package()
com.replaymod.gradle.remap.imports.TestJavaAutoImports ‑ should not import own inner classes()
com.replaymod.gradle.remap.imports.TestJavaAutoImports ‑ should not import self()
com.replaymod.gradle.remap.imports.TestJavaAutoImports ‑ should not import types that look like fields()
com.replaymod.gradle.remap.imports.TestJavaAutoImports ‑ should not import variable references()
com.replaymod.gradle.remap.imports.TestJavaAutoImports ‑ should not touch static imports (yet)()
com.replaymod.gradle.remap.imports.TestJavaAutoImports ‑ should preserve existing ambiguous imports()
com.replaymod.gradle.remap.imports.TestJavaAutoImports ‑ should remove unused imports()
com.replaymod.gradle.remap.imports.TestJavaAutoImportsFormatting ‑ should always leave line after imports()
com.replaymod.gradle.remap.imports.TestJavaAutoImportsFormatting ‑ should put imports in same line as package if required()
com.replaymod.gradle.remap.imports.TestJavaAutoImportsFormatting ‑ should put new imports in single line if necessary to preserve original line count()
com.replaymod.gradle.remap.imports.TestJavaAutoImportsFormatting ‑ should remove unused imports from end of shared lines()
com.replaymod.gradle.remap.imports.TestJavaAutoImportsFormatting ‑ should remove unused imports from shared lines()
com.replaymod.gradle.remap.imports.TestJavaAutoImportsFormatting ‑ should remove unused imports from start of shared lines()
com.replaymod.gradle.remap.imports.TestJavaAutoImportsFormatting ‑ should separate java(x) from other imports with an empty line if possible()
com.replaymod.gradle.remap.imports.TestKotlinAutoImports ‑ should not touch Kotlin files (yet)()
com.replaymod.gradle.remap.mapper.kotlin.TestKotlinGenerics ‑ remaps generic type argument with import()
com.replaymod.gradle.remap.mapper.kotlin.TestKotlinGenerics ‑ remaps generic type argument()
com.replaymod.gradle.remap.mapper.kotlin.TestKotlinGenerics ‑ remaps generic type with import()
com.replaymod.gradle.remap.mapper.kotlin.TestKotlinGenerics ‑ remaps generic type()
com.replaymod.gradle.remap.mapper.kotlin.TestKotlinImports ‑ remaps inner class import()
com.replaymod.gradle.remap.mapper.kotlin.TestKotlinImports ‑ remaps outer class of inner class import()
com.replaymod.gradle.remap.mapper.kotlin.TestKotlinImports ‑ remaps simple import()
com.replaymod.gradle.remap.mapper.kotlin.TestKotlinSyntheticProperties ‑ convert synthetic property to getter if it would be shadowed by a field with the same name()
com.replaymod.gradle.remap.mapper.kotlin.TestKotlinSyntheticProperties ‑ converts getter to synthetic property if now synthetic()
com.replaymod.gradle.remap.mapper.kotlin.TestKotlinSyntheticProperties ‑ converts setter to synthetic property if now synthetic()
com.replaymod.gradle.remap.mapper.kotlin.TestKotlinSyntheticProperties ‑ converts synthetic property to getter if no longer synthetic()
com.replaymod.gradle.remap.mapper.kotlin.TestKotlinSyntheticProperties ‑ converts synthetic property to setter if no longer synthetic()
com.replaymod.gradle.remap.mapper.kotlin.TestKotlinSyntheticProperties ‑ does convert getter to synthetic property if the field which it would be shadowed by is inaccessible()
com.replaymod.gradle.remap.mapper.kotlin.TestKotlinSyntheticProperties ‑ does not convert getter to synthetic property if it would be shadowed by a field with the same name()
com.replaymod.gradle.remap.mapper.kotlin.TestKotlinSyntheticProperties ‑ does not convert synthetic property to getter if the field which it would be shadowed by is inaccessible()
com.replaymod.gradle.remap.mapper.kotlin.TestKotlinSyntheticProperties ‑ does not replace super calls with synthetic properties()
com.replaymod.gradle.remap.mapper.kotlin.TestKotlinSyntheticProperties ‑ remaps synthetic getter()
com.replaymod.gradle.remap.mapper.kotlin.TestKotlinSyntheticProperties ‑ remaps synthetic property even when overwritten in kotlin subclass()
com.replaymod.gradle.remap.mapper.kotlin.TestKotlinSyntheticProperties ‑ remaps synthetic setter()
com.replaymod.gradle.remap.mapper.kotlin.TestKotlinTypeAliases ‑ remaps inner class alias()
com.replaymod.gradle.remap.mapper.kotlin.TestKotlinTypeAliases ‑ remaps outer class of inner class alias()
com.replaymod.gradle.remap.mapper.kotlin.TestKotlinTypeAliases ‑ remaps simple alias()
com.replaymod.gradle.remap.mapper.mixin.TestMixinAccessors ‑ does not change @Accessor method name even when it happens to be the same as a method in the target()
com.replaymod.gradle.remap.mapper.mixin.TestMixinAccessors ‑ remaps @Accessor()
com.replaymod.gradle.remap.mapper.mixin.TestMixinAccessors ‑ remaps @Invoker with non-standard method name()
com.replaymod.gradle.remap.mapper.mixin.TestMixinAccessors ‑ remaps @Invoker()
com.replaymod.gradle.remap.mapper.mixin.TestMixinAnnotation ‑ remaps with anonymous inner class target()
com.replaymod.gradle.remap.mapper.mixin.TestMixinAnnotation ‑ remaps with class target()
com.replaymod.gradle.remap.mapper.mixin.TestMixinAnnotation ‑ remaps with inner class string target separated by dollar()
com.replaymod.gradle.remap.mapper.mixin.TestMixinAnnotation ‑ remaps with inner class string target separated by dot()
com.replaymod.gradle.remap.mapper.mixin.TestMixinAnnotation ‑ remaps with string target()
com.replaymod.gradle.remap.mapper.mixin.TestMixinInjections ‑ remaps @At target in constant()
com.replaymod.gradle.remap.mapper.mixin.TestMixinInjections ‑ remaps @At target without mappings for target()
com.replaymod.gradle.remap.mapper.mixin.TestMixinInjections ‑ remaps @At target()
com.replaymod.gradle.remap.mapper.mixin.TestMixinInjections ‑ remaps @Inject method()
com.replaymod.gradle.remap.mapper.mixin.TestMixinInjections ‑ remaps @ModifyArg method()
com.replaymod.gradle.remap.mapper.mixin.TestMixinInjections ‑ remaps @ModifyArgs method()
com.replaymod.gradle.remap.mapper.mixin.TestMixinInjections ‑ remaps @ModifyConstant method()
com.replaymod.gradle.remap.mapper.mixin.TestMixinInjections ‑ remaps @ModifyVariable method()
com.replaymod.gradle.remap.mapper.mixin.TestMixinInjections ‑ remaps @Redirect method()
com.replaymod.gradle.remap.mapper.mixin.TestMixinInjections ‑ remaps constructor target()
com.replaymod.gradle.remap.mapper.mixin.TestMixinInjections ‑ remaps injection into generic method()
com.replaymod.gradle.remap.mapper.mixin.TestMixinInjections ‑ remaps injections that use @At INVOKE with an unmapped array type in the descriptor()
com.replaymod.gradle.remap.mapper.mixin.TestMixinInjections ‑ remaps method in constant()
com.replaymod.gradle.remap.mapper.mixin.TestMixinInjections ‑ remaps multiple methods()
com.replaymod.gradle.remap.mapper.mixin.TestMixinInjections ‑ remaps qualified method argument without mappings for target()
com.replaymod.gradle.remap.mapper.mixin.TestMixinInjections ‑ remaps qualified method argument()
com.replaymod.gradle.remap.mapper.mixin.TestMixinInjections ‑ remaps qualified method()
com.replaymod.gradle.remap.mapper.mixin.TestMixinInjections ‑ throws when injecting into ambiguous method()
com.replaymod.gradle.remap.mapper.mixin.TestMixinOverride ‑ remaps overridden method()
com.replaymod.gradle.remap.mapper.mixin.TestMixinShadow ‑ automatically add this(dot) for conflicts with local variables()
com.replaymod.gradle.remap.mapper.mixin.TestMixinShadow ‑ remaps local classes inside inner classes()
com.replaymod.gradle.remap.mapper.mixin.TestMixinShadow ‑ remaps shadow method and references to it()
com.replaymod.gradle.remap.mapper.mixin.TestMixinShadow ‑ remaps shadowed methods with array arguments()
com.replaymod.gradle.remap.mapper.mixin.TestMixinShadow ‑ resolve shadow names in anonymous classes()
com.replaymod.gradle.remap.misc.TestMiscJavaCode ‑ remaps methods that are called on the return value of another method when using synthetic bridges that change the return type()
com.replaymod.gradle.remap.misc.TestMiscJavaCode ‑ remaps methods that have synthetic bridges that change the return type()
com.replaymod.gradle.remap.misc.TestMiscJavaCode ‑ remaps synthetic bridges that change the return type inside inner classes inside inner classes()
com.replaymod.gradle.remap.pattern.TestChangeMerging ‑ should work when mixed with remapping()
com.replaymod.gradle.remap.pattern.TestFieldReference ‑ should match field on left side of assignment when replaced by field()
com.replaymod.gradle.remap.pattern.TestFieldReference ‑ should not match final field on left side of assignment when replaced by non-field()
com.replaymod.gradle.remap.pattern.TestLambdaExpression ‑ should find lambda expression with bound arguments()
com.replaymod.gradle.remap.pattern.TestLambdaExpression ‑ should find simply lambda expression()
com.replaymod.gradle.remap.pattern.TestLambdaExpression ‑ should preserve bound lambda argument names()
com.replaymod.gradle.remap.pattern.TestNewExpression ‑ should find inner class constructor()
com.replaymod.gradle.remap.pattern.TestNewExpression ‑ should find regular constructor()
com.replaymod.gradle.remap.pattern.TestVarArgs ‑ should allow leading argument to be added()
com.replaymod.gradle.remap.pattern.TestVarArgs ‑ should allow leading argument to be removed()
com.replaymod.gradle.remap.pattern.TestVarArgs ‑ should find varargs method with fixed leading argument()
com.replaymod.gradle.remap.pattern.TestVarArgs ‑ should find varargs method with variable leading argument()
com.replaymod.gradle.remap.pattern.TestVarArgs ‑ should find varargs method()
Loading