Class TestKitJUnit5Extension
- java.lang.Object
-
- org.apache.pekko.actor.testkit.typed.javadsl.TestKitJUnit5Extension
-
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterAllCallback
,org.junit.jupiter.api.extension.BeforeTestExecutionCallback
,org.junit.jupiter.api.extension.Extension
public final class TestKitJUnit5Extension extends java.lang.Object implements org.junit.jupiter.api.extension.AfterAllCallback, org.junit.jupiter.api.extension.BeforeTestExecutionCallback
-
-
Constructor Summary
Constructors Constructor Description TestKitJUnit5Extension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterAll(org.junit.jupiter.api.extension.ExtensionContext context)
Shutdown testKitvoid
beforeTestExecution(org.junit.jupiter.api.extension.ExtensionContext context)
Get a reference to the field annotated with @JUnit5TestkitJUnit5TestKit
scala.Option<ActorTestKit>
testKit()
void
testKit_$eq(scala.Option<ActorTestKit> x$1)
-
-
-
Method Detail
-
afterAll
public void afterAll(org.junit.jupiter.api.extension.ExtensionContext context)
Shutdown testKit- Specified by:
afterAll
in interfaceorg.junit.jupiter.api.extension.AfterAllCallback
-
beforeTestExecution
public void beforeTestExecution(org.junit.jupiter.api.extension.ExtensionContext context)
Get a reference to the field annotated with @JUnit5TestkitJUnit5TestKit
- Specified by:
beforeTestExecution
in interfaceorg.junit.jupiter.api.extension.BeforeTestExecutionCallback
-
testKit
public scala.Option<ActorTestKit> testKit()
-
testKit_$eq
public void testKit_$eq(scala.Option<ActorTestKit> x$1)
-
-