Interface IIntegrationTestLifecycleListener

  • All Superinterfaces:
    de.xima.e2e.test_harness_selenium.common.interaction.IContainerLifecycleListener, Serializable
    All Known Implementing Classes:
    IntegrationTestLifecycleListener

    public interface IIntegrationTestLifecycleListener
    extends de.xima.e2e.test_harness_selenium.common.interaction.IContainerLifecycleListener
    • Method Detail

      • onTestExecutionBegin

        default ServerTestSetupResult onTestExecutionBegin​(ServerTestSetupParams initData)
                                                    throws de.xima.e2e.test_harness_selenium.common.interaction.FatalLifecycleListenerException
        Parameters:
        initData - Data to prepare the test case.
        Returns:
        Data that will be passed on to onTestExecutionEnd(ServerTestCleanupParams) and may be used for cleanup.
        Throws:
        de.xima.e2e.test_harness_selenium.common.interaction.FatalLifecycleListenerException - When the test case could not be prepared. This indicates that the test case should not be run.
      • onTestExecutionEnd

        default void onTestExecutionEnd​(ServerTestCleanupParams beginData)
                                 throws de.xima.e2e.test_harness_selenium.common.interaction.FatalLifecycleListenerException
        Parameters:
        beginData - Value that was returned by onTestExecutionBegin(ServerTestSetupParams)
        Throws:
        de.xima.e2e.test_harness_selenium.common.interaction.FatalLifecycleListenerException - When the action could not be performed.
      • onUpdateApplication

        default void onUpdateApplication​(ServerUpdateAppParams params)
                                  throws de.xima.e2e.test_harness_selenium.common.interaction.FatalLifecycleListenerException
        When the servlet container was started and it is time to update the application, such as the license.
        Parameters:
        params - Data for the update.
        Throws:
        de.xima.e2e.test_harness_selenium.common.interaction.FatalLifecycleListenerException - When the action could not be performed.