Class SpringContextGrabbingTestExecutionListener

java.lang.Object
org.springframework.test.context.support.AbstractTestExecutionListener
ca.uhn.fhir.test.utilities.server.SpringContextGrabbingTestExecutionListener
All Implemented Interfaces:
org.springframework.core.Ordered, org.springframework.test.context.TestExecutionListener

public class SpringContextGrabbingTestExecutionListener extends org.springframework.test.context.support.AbstractTestExecutionListener
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterTestClass(org.springframework.test.context.TestContext theTestContext)
     
    void
    beforeTestClass(org.springframework.test.context.TestContext theTestContext)
     
    static org.springframework.context.ApplicationContext
     

    Methods inherited from class org.springframework.test.context.support.AbstractTestExecutionListener

    afterTestExecution, afterTestMethod, beforeTestExecution, beforeTestMethod, getOrder, prepareTestInstance

    Methods inherited from class java.lang.Object

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

  • Method Details

    • beforeTestClass

      public void beforeTestClass(org.springframework.test.context.TestContext theTestContext)
      Specified by:
      beforeTestClass in interface org.springframework.test.context.TestExecutionListener
      Overrides:
      beforeTestClass in class org.springframework.test.context.support.AbstractTestExecutionListener
    • afterTestClass

      public void afterTestClass(org.springframework.test.context.TestContext theTestContext)
      Specified by:
      afterTestClass in interface org.springframework.test.context.TestExecutionListener
      Overrides:
      afterTestClass in class org.springframework.test.context.support.AbstractTestExecutionListener
    • getApplicationContext

      public static org.springframework.context.ApplicationContext getApplicationContext()