Class UITestSpringLookupInitializer

  • All Implemented Interfaces:
    com.vaadin.flow.di.AbstractLookupInitializer , org.springframework.test.context.TestExecutionListener

    
    public class UITestSpringLookupInitializer
    extends SpringLookupInitializer implements TestExecutionListener
                        

    A SpringLookupInitializer that adapts Spring ApplicationContext to WebApplicationContext and registers it into ServletContext so that lookup can be initialized correctly. For internal use only.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void beforeTestMethod(TestContext testContext)
      void afterTestMethod(TestContext testContext)
      void initialize(VaadinContext context, Map<Class<out Object>, Collection<Class<out Object>>> services, VaadinApplicationInitializationBootstrap bootstrap)
      • Methods inherited from class org.springframework.test.context.TestExecutionListener

        afterTestClass, afterTestExecution, beforeTestClass, beforeTestExecution, prepareTestInstance
      • Methods inherited from class com.vaadin.flow.di.LookupInitializer

        getDefaultImplementations
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait