Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9517474

Browse files
committedMar 23, 2025··
Change extension to AfterTestExecutionCallback
Issue: #2816
1 parent efc2f40 commit 9517474

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎platform-tests/src/test/java/org/junit/platform/engine/support/store/NamespacedHierarchicalStoreTests.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
import org.junit.jupiter.api.BeforeEach;
3434
import org.junit.jupiter.api.Nested;
3535
import org.junit.jupiter.api.Test;
36-
import org.junit.jupiter.api.extension.AfterAllCallback;
36+
import org.junit.jupiter.api.extension.AfterTestExecutionCallback;
3737
import org.junit.jupiter.api.extension.BeforeAllCallback;
3838
import org.junit.jupiter.api.extension.ExtendWith;
3939
import org.junit.jupiter.api.extension.ExtensionContext;
@@ -635,9 +635,9 @@ public void beforeAll(ExtensionContext context) {
635635
}
636636
}
637637

638-
private static class RequestResourceCheckUsingExtension implements AfterAllCallback {
638+
private static class RequestResourceCheckUsingExtension implements AfterTestExecutionCallback {
639639
@Override
640-
public void afterAll(ExtensionContext context) {
640+
public void afterTestExecution(ExtensionContext context) {
641641
CloseTrackingResource requestResource = context //
642642
.getRequestLevelStore(ExtensionContext.Namespace.GLOBAL) //
643643
.get("requestResource", CloseTrackingResource.class);

0 commit comments

Comments
 (0)
Please sign in to comment.