public interface AbstractJavaTestPluginInterface
Modifier and Type | Interface and Description |
---|---|
static interface |
AbstractJavaTestPluginInterface.PluginResourceFiles
Additional files which are required to execute the plug-in, such as jar-files and configuration files.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
onDeconstruct(AbstractJavaTestPluginContext pluginContext,
java.util.List<java.lang.String> inputValues)
Called when the plug-in is deconstructed.
|
java.util.List<java.lang.String> |
onExecute(AbstractJavaTestPluginContext pluginContext,
java.util.List<java.lang.String> inputValues)
Called when the plug-in is executed.
|
java.util.List<java.lang.String> |
onInitialize(AbstractJavaTest javaTest,
AbstractJavaTestPluginContext pluginContext,
java.util.List<java.lang.String> inputValues)
Called when the plug-in is initialized.
|
void |
setLog(LogAdapterInterface log)
Called by environment when the instance is created.
|
void setLog(LogAdapterInterface log)
log
- the log adapterjava.util.List<java.lang.String> onInitialize(AbstractJavaTest javaTest, AbstractJavaTestPluginContext pluginContext, java.util.List<java.lang.String> inputValues) throws AbstractJavaTestPluginSessionFailedException, AbstractJavaTestPluginUserFailedException, AbstractJavaTestPluginTestFailedException, java.lang.Exception
javaTest
- the reference to the executed test program, or null if no such information is available (in debugger environment)pluginContext
- the plug-in contextinputValues
- the list of input valuesAbstractJavaTestPluginTestFailedException
- if the plug-in signals that the test has to be terminatedAbstractJavaTestPluginUserFailedException
- if the plug-in signals that the user has to be terminatedAbstractJavaTestPluginSessionFailedException
- if the plug-in signals that the 'user session' has to be aborted (abort current session - continue next session)java.lang.Exception
- if an error occurs in the implementation of this methodjava.util.List<java.lang.String> onExecute(AbstractJavaTestPluginContext pluginContext, java.util.List<java.lang.String> inputValues) throws AbstractJavaTestPluginSessionFailedException, AbstractJavaTestPluginUserFailedException, AbstractJavaTestPluginTestFailedException, java.lang.Exception
pluginContext
- the plug-in contextinputValues
- the list of input valuesAbstractJavaTestPluginTestFailedException
- if the plug-in signals that the test has to be terminatedAbstractJavaTestPluginUserFailedException
- if the plug-in signals that the user has to be terminatedAbstractJavaTestPluginSessionFailedException
- if the plug-in signals that the 'user session' has to be aborted (abort current session - continue next session)java.lang.Exception
- if an error occurs in the implementation of this methodjava.util.List<java.lang.String> onDeconstruct(AbstractJavaTestPluginContext pluginContext, java.util.List<java.lang.String> inputValues) throws java.lang.Exception
pluginContext
- the plug-in contextinputValues
- the list of input valuesjava.lang.Exception
- if an error occurs in the implementation of this method