Skip to content

Commit f120a90

Browse files
marko-bekhtabeikov
authored andcommitted
HHH-19516 Upgrade to JUnit 5.13.0
1 parent 94acfa3 commit f120a90

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
@@ -40,6 +40,7 @@
4040
import org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor;
4141
import org.junit.jupiter.engine.descriptor.ClassTestDescriptor;
4242
import org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor;
43+
import org.junit.jupiter.engine.descriptor.LauncherStoreFacade;
4344
import org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor;
4445
import org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor;
4546
import org.junit.jupiter.engine.execution.JupiterEngineExecutionContext;
@@ -212,7 +213,8 @@ private Method findMethodReplacement(ClassTestDescriptor updated, Method testMet
212213
protected JupiterEngineExecutionContext createExecutionContext(ExecutionRequest request) {
213214
return new JupiterEngineExecutionContext(
214215
request.getEngineExecutionListener(),
215-
this.getJupiterConfiguration( request )
216+
this.getJupiterConfiguration( request ),
217+
new LauncherStoreFacade( request.getStore() )
216218
);
217219
}
218220

@@ -264,6 +266,11 @@ public boolean isParallelExecutionEnabled() {
264266
return configuration.isParallelExecutionEnabled();
265267
}
266268

269+
@Override
270+
public boolean isClosingStoredAutoCloseablesEnabled() {
271+
return configuration.isClosingStoredAutoCloseablesEnabled();
272+
}
273+
267274
@Override
268275
public boolean isExtensionAutoDetectionEnabled() {
269276
return configuration.isExtensionAutoDetectionEnabled();

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ dependencyResolutionManagement {
173173
library( "el", "org.glassfish.expressly", "expressly" ).versionRef( elVersion )
174174
}
175175
testLibs {
176-
def junit5Version = version "junit5", "5.10.2"
176+
def junit5Version = version "junit5", "5.13.0"
177177
def junit4Version = version "junit4", "4.13.2"
178178
def junit5LauncherVersion = version "junit5Launcher", "1.10.2"
179179

0 commit comments

Comments
 (0)