Skip to content

Commit 9f9d4d3

Browse files
marko-bekhtambellade
authored andcommitted
HHH-19516 Upgrade to JUnit 5.13.0
1 parent c6f3d94 commit 9f9d4d3

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

hibernate-testing/src/main/java/org/hibernate/testing/bytecode/enhancement/extension/engine/BytecodeEnhancedTestEngine.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
import org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor;
4040
import org.junit.jupiter.engine.descriptor.ClassTestDescriptor;
4141
import org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor;
42+
import org.junit.jupiter.engine.descriptor.LauncherStoreFacade;
4243
import org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor;
4344
import org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor;
4445
import org.junit.jupiter.engine.execution.JupiterEngineExecutionContext;
@@ -215,7 +216,8 @@ private Method findMethodReplacement(ClassTestDescriptor updated, Method testMet
215216
protected JupiterEngineExecutionContext createExecutionContext(ExecutionRequest request) {
216217
return new JupiterEngineExecutionContext(
217218
request.getEngineExecutionListener(),
218-
this.getJupiterConfiguration( request )
219+
this.getJupiterConfiguration( request ),
220+
new LauncherStoreFacade( request.getStore() )
219221
);
220222
}
221223

@@ -272,6 +274,11 @@ public boolean isParallelExecutionEnabled() {
272274
return configuration.isParallelExecutionEnabled();
273275
}
274276

277+
@Override
278+
public boolean isClosingStoredAutoCloseablesEnabled() {
279+
return configuration.isClosingStoredAutoCloseablesEnabled();
280+
}
281+
275282
@Override
276283
public boolean isExtensionAutoDetectionEnabled() {
277284
return configuration.isExtensionAutoDetectionEnabled();

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ dependencyResolutionManagement {
164164
library( "xjc", "org.glassfish.jaxb", "jaxb-xjc" ).versionRef( xjcVersion )
165165
}
166166
testLibs {
167-
def junit5Version = version "junit5", "5.12.0"
167+
def junit5Version = version "junit5", "5.13.0"
168168
def junit4Version = version "junit4", "4.13.2"
169169
def junit5LauncherVersion = version "junit5Launcher", "1.12.0"
170170

0 commit comments

Comments
 (0)