This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko.git
The following commit(s) were added to refs/heads/main by this push:
new be3a411f91 Remove implicit JUnit4 dependency from
LogCapturingExtension (#2864) (#2865)
be3a411f91 is described below
commit be3a411f9167366d52e1ee0ec8cf1bf02783aa3c
Author: He-Pin(kerr) <[email protected]>
AuthorDate: Thu Apr 16 22:47:35 2026 +0800
Remove implicit JUnit4 dependency from LogCapturingExtension (#2864) (#2865)
LogCapturingExtension (a JUnit5 InvocationInterceptor) was using
classOf[LogCapturing] to initialize its logger, which resolves to
the JUnit4 TestRule class in the same package. Change to use
classOf[LogCapturingExtension] instead.
---
.../pekko/actor/testkit/typed/javadsl/LogCapturingExtension.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/javadsl/LogCapturingExtension.scala
b/actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/javadsl/LogCapturingExtension.scala
index 01586dc983..0025a2d5fd 100644
---
a/actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/javadsl/LogCapturingExtension.scala
+++
b/actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/javadsl/LogCapturingExtension.scala
@@ -24,7 +24,7 @@ final class LogCapturingExtension extends
InvocationInterceptor {
private val capturingAppender = CapturingAppender.get("")
- private val myLogger = LoggerFactory.getLogger(classOf[LogCapturing])
+ private val myLogger =
LoggerFactory.getLogger(classOf[LogCapturingExtension])
@throws[Throwable]
override def interceptTestMethod(invocation: Invocation[Void],
invocationContext: ReflectiveInvocationContext[Method],
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]