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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterAll(org.junit.jupiter.api.extension.ExtensionContext context)
     
    void
    afterEach(org.junit.jupiter.api.extension.ExtensionContext context)
     
    void
    beforeAll(org.junit.jupiter.api.extension.ExtensionContext context)
     
    void
    beforeEach(org.junit.jupiter.api.extension.ExtensionContext extensionContext)
     

    Methods inherited from class org.jboss.weld.junit5.WeldJunit5Extension

    resolveParameter, supportsParameter

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LuteceWeldJunit5Extension

      public LuteceWeldJunit5Extension()
  • Method Details

    • beforeAll

      public void beforeAll(org.junit.jupiter.api.extension.ExtensionContext context)
      Specified by:
      beforeAll in interface org.junit.jupiter.api.extension.BeforeAllCallback
      Overrides:
      beforeAll in class org.jboss.weld.junit5.WeldJunit5Extension
    • beforeEach

      public void beforeEach(org.junit.jupiter.api.extension.ExtensionContext extensionContext)
      Specified by:
      beforeEach in interface org.junit.jupiter.api.extension.BeforeEachCallback
      Overrides:
      beforeEach in class org.jboss.weld.junit5.WeldJunit5Extension
    • afterEach

      public void afterEach(org.junit.jupiter.api.extension.ExtensionContext context)
      Specified by:
      afterEach in interface org.junit.jupiter.api.extension.AfterEachCallback
      Overrides:
      afterEach in class org.jboss.weld.junit5.WeldJunit5Extension
    • afterAll

      public void afterAll(org.junit.jupiter.api.extension.ExtensionContext context)
      Specified by:
      afterAll in interface org.junit.jupiter.api.extension.AfterAllCallback
      Overrides:
      afterAll in class org.jboss.weld.junit5.WeldJunit5Extension