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

hepin 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 32b265eaa0 switch some tests over to using junit-jupiter naming (#2729)
32b265eaa0 is described below

commit 32b265eaa073a82304163e2acbc9be41b16b9677
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Mar 16 04:21:23 2026 +0100

    switch some tests over to using junit-jupiter naming (#2729)
    
    * switch some tests over to using junit-jupiter naming
    
    * compile issue
---
 .../actor/testkit/typed/javadsl/JUnit5IntegrationExampleTest.java   | 6 +++---
 .../pekko/actor/testkit/typed/javadsl/ActorTestKitJUnit5Test.java   | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/actor-testkit-typed/src/test/java/jdocs/org/apache/pekko/actor/testkit/typed/javadsl/JUnit5IntegrationExampleTest.java
 
b/actor-testkit-typed/src/test/java/jdocs/org/apache/pekko/actor/testkit/typed/javadsl/JUnit5IntegrationExampleTest.java
index 0e727d4c89..af4597a47f 100644
--- 
a/actor-testkit-typed/src/test/java/jdocs/org/apache/pekko/actor/testkit/typed/javadsl/JUnit5IntegrationExampleTest.java
+++ 
b/actor-testkit-typed/src/test/java/jdocs/org/apache/pekko/actor/testkit/typed/javadsl/JUnit5IntegrationExampleTest.java
@@ -13,7 +13,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertNotNull;
 
 import org.apache.pekko.actor.Address;
-import org.apache.pekko.actor.testkit.typed.annotations.JUnit5TestKit;
+import org.apache.pekko.actor.testkit.typed.annotations.JUnitJupiterTestKit;
 import org.apache.pekko.actor.testkit.typed.javadsl.*;
 import org.apache.pekko.actor.typed.ActorRef;
 import org.junit.jupiter.api.DisplayName;
@@ -22,10 +22,10 @@ import org.junit.jupiter.api.extension.ExtendWith;
 
 // #junit5-integration
 @DisplayName("JUnit5")
-@ExtendWith(TestKitJUnit5Extension.class)
+@ExtendWith(TestKitJUnitJupiterExtension.class)
 class JUnit5IntegrationExampleTest {
 
-  @JUnit5TestKit public ActorTestKit testKit = new 
JUnit5TestKitBuilder().build();
+  @JUnitJupiterTestKit public ActorTestKit testKit = new 
JUnitJupiterTestKitBuilder().build();
 
   @Test
   void junit5Test() {
diff --git 
a/actor-testkit-typed/src/test/java/org/apache/pekko/actor/testkit/typed/javadsl/ActorTestKitJUnit5Test.java
 
b/actor-testkit-typed/src/test/java/org/apache/pekko/actor/testkit/typed/javadsl/ActorTestKitJUnit5Test.java
index c9b8669c57..00f2a6013a 100644
--- 
a/actor-testkit-typed/src/test/java/org/apache/pekko/actor/testkit/typed/javadsl/ActorTestKitJUnit5Test.java
+++ 
b/actor-testkit-typed/src/test/java/org/apache/pekko/actor/testkit/typed/javadsl/ActorTestKitJUnit5Test.java
@@ -17,7 +17,7 @@ import java.util.HashMap;
 import java.util.concurrent.CompletableFuture;
 import java.util.concurrent.TimeUnit;
 import org.apache.pekko.Done;
-import org.apache.pekko.actor.testkit.typed.annotations.JUnit5TestKit;
+import org.apache.pekko.actor.testkit.typed.annotations.JUnitJupiterTestKit;
 import org.apache.pekko.actor.typed.javadsl.Behaviors;
 import org.junit.jupiter.api.DisplayName;
 import org.junit.jupiter.api.Test;
@@ -25,11 +25,11 @@ import org.junit.jupiter.api.extension.ExtendWith;
 import org.scalatestplus.junit.JUnitSuite;
 
 @DisplayName("ActorTestKitTestJUnit5")
-@ExtendWith(TestKitJUnit5Extension.class)
+@ExtendWith(TestKitJUnitJupiterExtension.class)
 @ExtendWith(LogCapturingExtension.class)
 class ActorTestKitJUnit5Test extends JUnitSuite {
 
-  @JUnit5TestKit public ActorTestKit testKit = new 
JUnit5TestKitBuilder().build();
+  @JUnitJupiterTestKit public ActorTestKit testKit = new 
JUnitJupiterTestKitBuilder().build();
 
   @Test
   void systemNameShouldComeFromTestClassViaJunitResource() {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to