Skip to content

HHH-19516 Upgrade to JUnit 5.13.0 #10279

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor;
import org.junit.jupiter.engine.descriptor.ClassTestDescriptor;
import org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor;
import org.junit.jupiter.engine.descriptor.LauncherStoreFacade;
import org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor;
import org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor;
import org.junit.jupiter.engine.execution.JupiterEngineExecutionContext;
Expand Down Expand Up @@ -215,7 +216,8 @@ private Method findMethodReplacement(ClassTestDescriptor updated, Method testMet
protected JupiterEngineExecutionContext createExecutionContext(ExecutionRequest request) {
return new JupiterEngineExecutionContext(
request.getEngineExecutionListener(),
this.getJupiterConfiguration( request )
this.getJupiterConfiguration( request ),
new LauncherStoreFacade( request.getStore() )
);
}

Expand Down Expand Up @@ -272,6 +274,11 @@ public boolean isParallelExecutionEnabled() {
return configuration.isParallelExecutionEnabled();
}

@Override
public boolean isClosingStoredAutoCloseablesEnabled() {
return configuration.isClosingStoredAutoCloseablesEnabled();
}

@Override
public boolean isExtensionAutoDetectionEnabled() {
return configuration.isExtensionAutoDetectionEnabled();
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ dependencyResolutionManagement {
library( "xjc", "org.glassfish.jaxb", "jaxb-xjc" ).versionRef( xjcVersion )
}
testLibs {
def junit5Version = version "junit5", "5.12.0"
def junit5Version = version "junit5", "5.13.0"
def junit4Version = version "junit4", "4.13.2"
def junit5LauncherVersion = version "junit5Launcher", "1.12.0"

Expand Down