Class IntegrationTestLifecycleListener
- java.lang.Object
-
- de.xima.fc.e2e.containerresources.lifecycle.IntegrationTestLifecycleListener
-
- All Implemented Interfaces:
de.xima.e2e.test_harness_selenium.common.interaction.IContainerLifecycleListener
,IIntegrationTestLifecycleListener
,Serializable
public final class IntegrationTestLifecycleListener extends Object implements IIntegrationTestLifecycleListener
Listeners for integration tests that are run in the context (class loader) of the FORMCYCLE webapp.- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IntegrationTestLifecycleListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerTestSetupResult
onTestExecutionBegin(ServerTestSetupParams initData)
void
onTestExecutionEnd(ServerTestCleanupParams cleanupData)
void
onUpdateApplication(ServerUpdateAppParams params)
When the servlet container was started and it is time to update the application, such as the license.
-
-
-
Method Detail
-
onUpdateApplication
public void onUpdateApplication(ServerUpdateAppParams params) throws de.xima.e2e.test_harness_selenium.common.interaction.FatalLifecycleListenerException
Description copied from interface:IIntegrationTestLifecycleListener
When the servlet container was started and it is time to update the application, such as the license.- Specified by:
onUpdateApplication
in interfaceIIntegrationTestLifecycleListener
- Parameters:
params
- Data for the update.- Throws:
de.xima.e2e.test_harness_selenium.common.interaction.FatalLifecycleListenerException
- When the action could not be performed.
-
onTestExecutionBegin
public ServerTestSetupResult onTestExecutionBegin(ServerTestSetupParams initData) throws de.xima.e2e.test_harness_selenium.common.interaction.FatalLifecycleListenerException
- Specified by:
onTestExecutionBegin
in interfaceIIntegrationTestLifecycleListener
- Parameters:
initData
- Data to prepare the test case.- Returns:
- Data that will be passed on to
IIntegrationTestLifecycleListener.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
public void onTestExecutionEnd(ServerTestCleanupParams cleanupData) throws de.xima.e2e.test_harness_selenium.common.interaction.FatalLifecycleListenerException
- Specified by:
onTestExecutionEnd
in interfaceIIntegrationTestLifecycleListener
- Parameters:
cleanupData
- Value that was returned byIIntegrationTestLifecycleListener.onTestExecutionBegin(ServerTestSetupParams)
- Throws:
de.xima.e2e.test_harness_selenium.common.interaction.FatalLifecycleListenerException
- When the action could not be performed.
-
-