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 Object
implements org.junit.jupiter.api.extension.AfterAllCallback, org.junit.jupiter.api.extension.BeforeTestExecutionCallback
Deprecated.
Use TestKitJUnitJupiterExtension instead. Since 2.0.0.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterAll(org.junit.jupiter.api.extension.ExtensionContext context) Deprecated.Shutdown testKitvoidbeforeTestExecution(org.junit.jupiter.api.extension.ExtensionContext context) Deprecated.Get a reference to the field annotated with@JUnit5TestKitscala.Option<ActorTestKit>testKit()Deprecated.voidtestKit_$eq(scala.Option<ActorTestKit> x$1) Deprecated.
-
Constructor Details
-
TestKitJUnit5Extension
public TestKitJUnit5Extension()Deprecated.
-
-
Method Details
-
afterAll
public void afterAll(org.junit.jupiter.api.extension.ExtensionContext context) Deprecated.Shutdown testKit- Specified by:
afterAllin interfaceorg.junit.jupiter.api.extension.AfterAllCallback
-
beforeTestExecution
public void beforeTestExecution(org.junit.jupiter.api.extension.ExtensionContext context) Deprecated.Get a reference to the field annotated with@JUnit5TestKit- Specified by:
beforeTestExecutionin interfaceorg.junit.jupiter.api.extension.BeforeTestExecutionCallback
-
testKit
Deprecated. -
testKit_$eq
Deprecated.
-