Package fr.paris.lutece.test
Class LuteceWeldJunit5Extension
java.lang.Object
org.jboss.weld.junit5.WeldJunit5Extension
fr.paris.lutece.test.LuteceWeldJunit5Extension
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterAllCallback,org.junit.jupiter.api.extension.AfterEachCallback,org.junit.jupiter.api.extension.BeforeAllCallback,org.junit.jupiter.api.extension.BeforeEachCallback,org.junit.jupiter.api.extension.Extension,org.junit.jupiter.api.extension.ParameterResolver
public class LuteceWeldJunit5Extension
extends org.jboss.weld.junit5.WeldJunit5Extension
Lutece Weld5 Junit extension that allows to reuse the same Weld container throughout the tests
-
Field Summary
Fields inherited from class org.jboss.weld.junit5.WeldJunit5Extension
GLOBAL_EXPLICIT_PARAM_INJECTION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterAll(org.junit.jupiter.api.extension.ExtensionContext context) voidafterEach(org.junit.jupiter.api.extension.ExtensionContext context) voidbeforeAll(org.junit.jupiter.api.extension.ExtensionContext context) voidbeforeEach(org.junit.jupiter.api.extension.ExtensionContext extensionContext) Methods inherited from class org.jboss.weld.junit5.WeldJunit5Extension
resolveParameter, supportsParameter
-
Constructor Details
-
LuteceWeldJunit5Extension
public LuteceWeldJunit5Extension()
-
-
Method Details
-
beforeAll
public void beforeAll(org.junit.jupiter.api.extension.ExtensionContext context) - Specified by:
beforeAllin interfaceorg.junit.jupiter.api.extension.BeforeAllCallback- Overrides:
beforeAllin classorg.jboss.weld.junit5.WeldJunit5Extension
-
beforeEach
public void beforeEach(org.junit.jupiter.api.extension.ExtensionContext extensionContext) - Specified by:
beforeEachin interfaceorg.junit.jupiter.api.extension.BeforeEachCallback- Overrides:
beforeEachin classorg.jboss.weld.junit5.WeldJunit5Extension
-
afterEach
public void afterEach(org.junit.jupiter.api.extension.ExtensionContext context) - Specified by:
afterEachin interfaceorg.junit.jupiter.api.extension.AfterEachCallback- Overrides:
afterEachin classorg.jboss.weld.junit5.WeldJunit5Extension
-
afterAll
public void afterAll(org.junit.jupiter.api.extension.ExtensionContext context) - Specified by:
afterAllin interfaceorg.junit.jupiter.api.extension.AfterAllCallback- Overrides:
afterAllin classorg.jboss.weld.junit5.WeldJunit5Extension
-