Class TestDataListener

  • All Implemented Interfaces:
    org.springframework.test.context.TestExecutionListener

    public class TestDataListener
    extends Object
    implements org.springframework.test.context.TestExecutionListener
    Author:
    Kisel on 26.01.2016.
    • Constructor Detail

      • TestDataListener

        public TestDataListener()
    • Method Detail

      • beforeTestClass

        public void beforeTestClass​(org.springframework.test.context.TestContext testContext)
                             throws Exception
        Specified by:
        beforeTestClass in interface org.springframework.test.context.TestExecutionListener
        Throws:
        Exception
      • prepareTestInstance

        public void prepareTestInstance​(org.springframework.test.context.TestContext testContext)
                                 throws Exception
        Specified by:
        prepareTestInstance in interface org.springframework.test.context.TestExecutionListener
        Throws:
        Exception
      • beforeTestMethod

        public void beforeTestMethod​(org.springframework.test.context.TestContext testContext)
                              throws Exception
        Specified by:
        beforeTestMethod in interface org.springframework.test.context.TestExecutionListener
        Throws:
        Exception
      • afterTestMethod

        public void afterTestMethod​(org.springframework.test.context.TestContext testContext)
                             throws Exception
        Specified by:
        afterTestMethod in interface org.springframework.test.context.TestExecutionListener
        Throws:
        Exception
      • afterTestClass

        public void afterTestClass​(org.springframework.test.context.TestContext testContext)
                            throws Exception
        Specified by:
        afterTestClass in interface org.springframework.test.context.TestExecutionListener
        Throws:
        Exception