You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by pk...@apache.org on 2022/09/28 11:08:18 UTC

[logging-log4j2] 09/10: Bump junitJupiterVersion from 5.8.2 to 5.9.0

This is an automated email from the ASF dual-hosted git repository.

pkarwasz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit 5342da62f8a11214199905b2578cf21ac6582072
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Wed Jul 27 10:02:05 2022 +0000

    Bump junitJupiterVersion from 5.8.2 to 5.9.0
    
    Bumps `junitJupiterVersion` from 5.8.2 to 5.9.0.
    
    Updates `junit-jupiter-engine` from 5.8.2 to 5.9.0
    - [Release notes](https://github.com/junit-team/junit5/releases)
    - [Commits](https://github.com/junit-team/junit5/compare/r5.8.2...r5.9.0)
    
    Updates `junit-jupiter-api` from 5.8.2 to 5.9.0
    - [Release notes](https://github.com/junit-team/junit5/releases)
    - [Commits](https://github.com/junit-team/junit5/compare/r5.8.2...r5.9.0)
    
    Updates `junit-jupiter-migrationsupport` from 5.8.2 to 5.9.0
    - [Release notes](https://github.com/junit-team/junit5/releases)
    - [Commits](https://github.com/junit-team/junit5/compare/r5.8.2...r5.9.0)
    
    Updates `junit-jupiter-params` from 5.8.2 to 5.9.0
    - [Release notes](https://github.com/junit-team/junit5/releases)
    - [Commits](https://github.com/junit-team/junit5/compare/r5.8.2...r5.9.0)
    
    Updates `junit-vintage-engine` from 5.8.2 to 5.9.0
    - [Release notes](https://github.com/junit-team/junit5/releases)
    - [Commits](https://github.com/junit-team/junit5/compare/r5.8.2...r5.9.0)
    
    ---
    updated-dependencies:
    - dependency-name: org.junit.jupiter:junit-jupiter-engine
      dependency-type: direct:production
      update-type: version-update:semver-minor
    - dependency-name: org.junit.jupiter:junit-jupiter-api
      dependency-type: direct:development
      update-type: version-update:semver-minor
    - dependency-name: org.junit.jupiter:junit-jupiter-migrationsupport
      dependency-type: direct:development
      update-type: version-update:semver-minor
    - dependency-name: org.junit.jupiter:junit-jupiter-params
      dependency-type: direct:production
      update-type: version-update:semver-minor
    - dependency-name: org.junit.vintage:junit-vintage-engine
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <su...@github.com>
---
 .../java/org/apache/logging/log4j/util/StackLocatorUtilTest.java    | 6 +++---
 pom.xml                                                             | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/log4j-api-test/src/test/java/org/apache/logging/log4j/util/StackLocatorUtilTest.java b/log4j-api-test/src/test/java/org/apache/logging/log4j/util/StackLocatorUtilTest.java
index 2b9eeffe7b..23ee4990c7 100644
--- a/log4j-api-test/src/test/java/org/apache/logging/log4j/util/StackLocatorUtilTest.java
+++ b/log4j-api-test/src/test/java/org/apache/logging/log4j/util/StackLocatorUtilTest.java
@@ -24,7 +24,7 @@ import java.util.ArrayDeque;
 import java.util.Deque;
 
 import org.junit.jupiter.api.Test;
-import org.junit.jupiter.engine.execution.ExecutableInvoker;
+import org.junit.jupiter.engine.execution.InterceptingExecutableInvoker;
 import org.junit.jupiter.engine.execution.InvocationInterceptorChain;
 
 public class StackLocatorUtilTest {
@@ -90,7 +90,7 @@ public class StackLocatorUtilTest {
 
     @Test
     public void testGetCallerClassViaName() throws Exception {
-        final Class<?> expected = ExecutableInvoker.class;
+        final Class<?> expected = InterceptingExecutableInvoker.class;
         final Class<?> actual = StackLocatorUtil.getCallerClass("org.junit.jupiter.engine.execution.InvocationInterceptorChain");
         // if this test fails in the future, it's probably because of a JUnit upgrade; check the new stack trace and
         // update this test accordingly
@@ -99,7 +99,7 @@ public class StackLocatorUtilTest {
 
     @Test
     public void testGetCallerClassViaAnchorClass() throws Exception {
-        final Class<?> expected = ExecutableInvoker.class;
+        final Class<?> expected = InterceptingExecutableInvoker.class;
         final Class<?> actual = StackLocatorUtil.getCallerClass(InvocationInterceptorChain.class);
         // if this test fails in the future, it's probably because of a JUnit upgrade; check the new stack trace and
         // update this test accordingly
diff --git a/pom.xml b/pom.xml
index 132d2a011e..7278eaba7b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -286,7 +286,7 @@
     <minSeverity>info</minSeverity>
     <jctoolsVersion>3.3.0</jctoolsVersion>
     <junitVersion>4.13.2</junitVersion>
-    <junitJupiterVersion>5.8.2</junitJupiterVersion>
+    <junitJupiterVersion>5.9.0</junitJupiterVersion>
     <junitPioneerVersion>1.5.0</junitPioneerVersion>
     <mockitoVersion>4.2.0</mockitoVersion>
     <byteBuddyVersion>1.11.0</byteBuddyVersion>