|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.testmanager.action.AbstractAction
org.eclipse.soda.dk.testmanager.action.TestAction
public abstract class TestAction
| Constructor Summary | |
|---|---|
protected |
TestAction(java.lang.String id)
Constructs an instance of this class. |
| Method Summary | |
|---|---|
void |
add(Action action)
Add with the specified action parameter. |
void |
addCounts(TestStatisticsService testStatistics)
Add counts with the specified test script parameter. |
void |
addTest(java.lang.String id,
java.lang.String controllerId,
java.lang.String filter,
java.lang.String className,
java.lang.String match,
java.util.Dictionary properties)
Add test with the specified run id, filter, class name, match and properties parameters. |
protected abstract void |
execute(TestScriptService testScript,
TestTemplate template)
Execute with the specified test script and template parameters and return the int result. |
protected void |
executeTemplateOrAction(TestScriptService testScript,
java.lang.Object templateOrAction)
Execute template or action with the specified test script and template or action parameters. |
java.lang.String |
getDescription()
Gets the description (String) value. |
protected java.lang.String |
getMatchDescription(java.lang.String filter,
java.lang.String className)
Get match description with the specified filter and class name parameters and return the String result. |
protected abstract java.lang.String |
getName()
Gets the name (String) value. |
protected TestSessionService |
getTestSession(TestScriptService testScript,
java.lang.String controllerId)
Get test session with the specified test script and controller id parameters and return the TestSessionService result. |
protected java.util.List |
getTestTemplatesAndActions()
Gets the test templates and actions (List) value. |
| Methods inherited from class org.eclipse.soda.dk.testmanager.action.AbstractAction |
|---|
execute, getId, getParentAction, handleScriptActionError, setParentAction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.soda.dk.testmanager.action.Action |
|---|
execute |
| Constructor Detail |
|---|
protected TestAction(java.lang.String id)
id - The ID (String) parameter.| Method Detail |
|---|
public void add(Action action)
add in interface ActionContaineraction - The action (Action) parameter.public void addCounts(TestStatisticsService testStatistics)
addCounts in interface ActiontestStatistics - The test statistics (TestStatisticsService) parameter.
public void addTest(java.lang.String id,
java.lang.String controllerId,
java.lang.String filter,
java.lang.String className,
java.lang.String match,
java.util.Dictionary properties)
id - The ID (String) parameter.controllerId - The controller ID (String) parameter.filter - The filter (String) parameter.className - The class name (String) parameter.match - The match (String) parameter.properties - The properties (Dictionary) parameter.
protected abstract void execute(TestScriptService testScript,
TestTemplate template)
throws InvalidSyntaxException,
java.io.IOException,
java.lang.InterruptedException
testScript - The test script (TestScriptService) parameter.template - The template (TestTemplate) parameter.
InvalidSyntaxException - Invalid Syntax Exception.
java.io.IOException - IOException.
java.lang.InterruptedException - Interrupted Exception.
protected void executeTemplateOrAction(TestScriptService testScript,
java.lang.Object templateOrAction)
throws java.lang.InterruptedException
testScript - The test script (TestScriptService) parameter.templateOrAction - The template or action (Object) parameter.
java.lang.InterruptedException - Interrupted Exception.public java.lang.String getDescription()
getDescription in interface ActionString) value.getMatchDescription(String,String)
protected java.lang.String getMatchDescription(java.lang.String filter,
java.lang.String className)
filter - The filter (String) parameter.className - The class name (String) parameter.
String) value.protected abstract java.lang.String getName()
String) value.
protected TestSessionService getTestSession(TestScriptService testScript,
java.lang.String controllerId)
throws java.io.IOException
testScript - The test script (TestScriptService) parameter.controllerId - The controller ID (String) parameter.
TestSessionService) value.
java.io.IOException - IOException.protected java.util.List getTestTemplatesAndActions()
List) value.
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||