This is an automated email from the ASF dual-hosted git repository.
pjfanning 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 2a0faf2cda upgrade license headers (#2893)
2a0faf2cda is described below
commit 2a0faf2cdabfc0936e066407cebfa68d9155562e
Author: PJ Fanning <[email protected]>
AuthorDate: Thu Apr 23 20:54:58 2026 +0200
upgrade license headers (#2893)
---
.../typed/javadsl/LogCapturingExtension.scala | 4 ++
.../javadsl/JUnit5IntegrationExampleTest.java | 59 ----------------------
.../JUnitJupiterIntegrationExampleTest.java | 4 ++
.../javadsl/ActorTestKitJUnitJupiterTest.java | 4 ++
.../actor/testkit/typed/scaladsl/GreeterMain.scala | 4 ++
.../ddata/ReplicatorWildcardSubscriptionSpec.scala | 4 ++
6 files changed, 20 insertions(+), 59 deletions(-)
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 0025a2d5fd..4caaa8ddb8 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
@@ -7,6 +7,10 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
+/*
+ * Copyright (C) 2019-2022 Lightbend Inc. <https://www.lightbend.com>
+ */
+
package org.apache.pekko.actor.testkit.typed.javadsl
import java.lang.reflect.Method
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
deleted file mode 100644
index af4597a47f..0000000000
---
a/actor-testkit-typed/src/test/java/jdocs/org/apache/pekko/actor/testkit/typed/javadsl/JUnit5IntegrationExampleTest.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * license agreements; and to You under the Apache License, version 2.0:
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * This file is part of the Apache Pekko project, which was derived from Akka.
- */
-
-package jdocs.org.apache.pekko.actor.testkit.typed.javadsl;
-
-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.JUnitJupiterTestKit;
-import org.apache.pekko.actor.testkit.typed.javadsl.*;
-import org.apache.pekko.actor.typed.ActorRef;
-import org.junit.jupiter.api.DisplayName;
-import org.junit.jupiter.api.Test;
-import org.junit.jupiter.api.extension.ExtendWith;
-
-// #junit5-integration
-@DisplayName("JUnit5")
-@ExtendWith(TestKitJUnitJupiterExtension.class)
-class JUnit5IntegrationExampleTest {
-
- @JUnitJupiterTestKit public ActorTestKit testKit = new
JUnitJupiterTestKitBuilder().build();
-
- @Test
- void junit5Test() {
- Address address = testKit.system().address();
- assertNotNull(address);
- }
-
- @Test
- void testSomething() {
-
- ActorRef<AsyncTestingExampleTest.Echo.Ping> pinger =
- testKit.spawn(AsyncTestingExampleTest.Echo.create(), "ping");
- TestProbe<AsyncTestingExampleTest.Echo.Pong> probe =
testKit.createTestProbe();
- pinger.tell(new AsyncTestingExampleTest.Echo.Ping("hello", probe.ref()));
- AsyncTestingExampleTest.Echo.Pong pong =
- probe.expectMessage(new AsyncTestingExampleTest.Echo.Pong("hello"));
- assertEquals("hello", pong.message);
- }
-
- @Test
- void testSomething2() {
- ActorRef<AsyncTestingExampleTest.Echo.Ping> pinger2 =
- testKit.spawn(AsyncTestingExampleTest.Echo.create(), "ping2");
- TestProbe<AsyncTestingExampleTest.Echo.Pong> probe2 =
testKit.createTestProbe();
- pinger2.tell(new AsyncTestingExampleTest.Echo.Ping("hello", probe2.ref()));
- AsyncTestingExampleTest.Echo.Pong pong =
- probe2.expectMessage(new AsyncTestingExampleTest.Echo.Pong("hello"));
- assertEquals("hello", pong.message);
- }
-}
-// #junit5-integration
diff --git
a/actor-testkit-typed/src/test/java/jdocs/org/apache/pekko/actor/testkit/typed/javadsl/JUnitJupiterIntegrationExampleTest.java
b/actor-testkit-typed/src/test/java/jdocs/org/apache/pekko/actor/testkit/typed/javadsl/JUnitJupiterIntegrationExampleTest.java
index b6efa97f92..b18dde8118 100644
---
a/actor-testkit-typed/src/test/java/jdocs/org/apache/pekko/actor/testkit/typed/javadsl/JUnitJupiterIntegrationExampleTest.java
+++
b/actor-testkit-typed/src/test/java/jdocs/org/apache/pekko/actor/testkit/typed/javadsl/JUnitJupiterIntegrationExampleTest.java
@@ -7,6 +7,10 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
+/*
+ * Copyright (C) 2009-2022 Lightbend Inc. <https://www.lightbend.com>
+ */
+
package jdocs.org.apache.pekko.actor.testkit.typed.javadsl;
import static org.junit.jupiter.api.Assertions.assertEquals;
diff --git
a/actor-testkit-typed/src/test/java/org/apache/pekko/actor/testkit/typed/javadsl/ActorTestKitJUnitJupiterTest.java
b/actor-testkit-typed/src/test/java/org/apache/pekko/actor/testkit/typed/javadsl/ActorTestKitJUnitJupiterTest.java
index aa0b4d9492..ec0ca4b6f9 100644
---
a/actor-testkit-typed/src/test/java/org/apache/pekko/actor/testkit/typed/javadsl/ActorTestKitJUnitJupiterTest.java
+++
b/actor-testkit-typed/src/test/java/org/apache/pekko/actor/testkit/typed/javadsl/ActorTestKitJUnitJupiterTest.java
@@ -7,6 +7,10 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
+/*
+ * Copyright (C) 2018-2022 Lightbend Inc. <https://www.lightbend.com>
+ */
+
package org.apache.pekko.actor.testkit.typed.javadsl;
import static org.apache.pekko.Done.done;
diff --git
a/actor-testkit-typed/src/test/scala/org/apache/pekko/actor/testkit/typed/scaladsl/GreeterMain.scala
b/actor-testkit-typed/src/test/scala/org/apache/pekko/actor/testkit/typed/scaladsl/GreeterMain.scala
index 456298d330..e1aea1103e 100644
---
a/actor-testkit-typed/src/test/scala/org/apache/pekko/actor/testkit/typed/scaladsl/GreeterMain.scala
+++
b/actor-testkit-typed/src/test/scala/org/apache/pekko/actor/testkit/typed/scaladsl/GreeterMain.scala
@@ -7,6 +7,10 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
+/*
+ * Copyright (C) 2014-2022 Lightbend Inc. <https://www.lightbend.com>
+ */
+
package org.apache.pekko.actor.testkit.typed.scaladsl
import org.apache.pekko
diff --git
a/distributed-data/src/test/scala/org/apache/pekko/cluster/ddata/ReplicatorWildcardSubscriptionSpec.scala
b/distributed-data/src/test/scala/org/apache/pekko/cluster/ddata/ReplicatorWildcardSubscriptionSpec.scala
index 5cc8d10993..11816597b9 100644
---
a/distributed-data/src/test/scala/org/apache/pekko/cluster/ddata/ReplicatorWildcardSubscriptionSpec.scala
+++
b/distributed-data/src/test/scala/org/apache/pekko/cluster/ddata/ReplicatorWildcardSubscriptionSpec.scala
@@ -7,6 +7,10 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
+/*
+ * Copyright (C) 2009-2022 Lightbend Inc. <https://www.lightbend.com>
+ */
+
package org.apache.pekko.cluster.ddata
import scala.concurrent.duration._
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]