Class SapcoretestSpringJUnitTest

  • Direct Known Subclasses:
    SapcoreSpringJUnitTest, SapPricingServicesSpringJunitTest

    @DirtiesContext
    @ContextConfiguration(locations={"classpath:sapcoretest-test-spring.xml","classpath:converters-spring.xml"})
    public abstract class SapcoretestSpringJUnitTest
    extends java.lang.Object
    Base test class for junit test in the hybris environment without starting the server.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.springframework.context.ApplicationContext getApplicationContext()
      Returns the Spring ApplicationContext e.g.
      void setUp()
      Standard test setUp method.
      void tearDown()
      Standard test tearDown method.
      • Methods inherited from class java.lang.Object

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

      • SapcoretestSpringJUnitTest

        public SapcoretestSpringJUnitTest()
    • Method Detail

      • setUp

        public void setUp()
        Standard test setUp method.
      • tearDown

        public void tearDown()
        Standard test tearDown method.
      • getApplicationContext

        protected org.springframework.context.ApplicationContext getApplicationContext()
        Returns the Spring ApplicationContext e.g. for getting beans
        Returns:
        ApplicationContext