Package io.mats3.test.jupiter
Class MatsTest.Extension_MatsRegistration
- java.lang.Object
-
- io.mats3.test.jupiter.MatsTest.Extension_MatsRegistration
-
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterAllCallback,org.junit.jupiter.api.extension.BeforeAllCallback,org.junit.jupiter.api.extension.Extension
- Enclosing class:
- MatsTest
public static class MatsTest.Extension_MatsRegistration extends java.lang.Object implements org.junit.jupiter.api.extension.Extension, org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.AfterAllCallbackExtension to create and register theExtension_Matsinto the test context.Since the normal
Extension_Matsdoes not have a no-args constructor, this extension is instead used to register theExtension_Matsextension into a test context.Note, this is a part of
MatsTest, and should not be used directly.
-
-
Constructor Summary
Constructors Constructor Description Extension_MatsRegistration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterAll(org.junit.jupiter.api.extension.ExtensionContext context)voidbeforeAll(org.junit.jupiter.api.extension.ExtensionContext context)
-
-
-
Method Detail
-
beforeAll
public void beforeAll(org.junit.jupiter.api.extension.ExtensionContext context) throws java.lang.ReflectiveOperationException- Specified by:
beforeAllin interfaceorg.junit.jupiter.api.extension.BeforeAllCallback- Throws:
java.lang.ReflectiveOperationException
-
afterAll
public void afterAll(org.junit.jupiter.api.extension.ExtensionContext context)
- Specified by:
afterAllin interfaceorg.junit.jupiter.api.extension.AfterAllCallback
-
-