Class AbstractAllOrEachExtension

java.lang.Object
com.linecorp.armeria.testing.junit5.common.AbstractAllOrEachExtension
All Implemented Interfaces:
AfterAllCallback, AfterEachCallback, BeforeAllCallback, BeforeEachCallback, Extension
Direct Known Subclasses:
EventLoopExtension, EventLoopGroupExtension, SelfSignedCertificateExtension, ServerExtension

public abstract class AbstractAllOrEachExtension
extends Object
implements BeforeAllCallback, AfterAllCallback, BeforeEachCallback, AfterEachCallback
A base class for JUnit5 extensions that allows implementations to control whether the callbacks are run around the entire class, like BeforeAll or AfterAll, or around each test method, like BeforeEach or AfterEach. By default, the extension will run around the entire class - implementations that want to run around each test method instead should override runForEachTest().