|
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.TestAction
public abstract class TestAction
| Constructor Summary | |
|---|---|
TestAction()
Constructs an instance of this class. |
|
| Method Summary | |
|---|---|
void |
actionEnded(Action action)
Action ended with the specified action parameter. |
void |
actionStarted(Action action)
Action started with the specified action parameter. |
void |
add(Action action)
Add with the specified action parameter. |
void |
addTest(java.lang.String runId,
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. |
void |
execute(TestScriptService testScript)
Execute with the specified test script parameter. |
protected abstract int |
execute(TestScriptService testScript,
Action action,
ActionListener actionListener)
Execute with the specified test script, action and action listener parameters and return the int result. |
protected abstract int |
execute(TestScriptService testScript,
TestTemplate template)
Execute with the specified test script and template parameters and return the int result. |
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 java.util.List |
getTestTemplatesAndActions()
Gets the test templates and actions (List) value. |
void |
testEnded(java.lang.String runId,
java.lang.String testName)
Test ended with the specified run id and test name parameters. |
void |
testError(java.lang.String runId,
java.lang.String testName,
java.lang.String trace)
Test error with the specified run id, test name and trace parameters. |
void |
testFailed(java.lang.String runId,
java.lang.String testName,
java.lang.String trace)
Test failed with the specified run id, test name and trace parameters. |
void |
testRunEnded(java.lang.String runId)
Test run ended with the specified run id parameter. |
void |
testRunError(java.lang.String runId,
java.lang.String message,
java.lang.String detail)
Test run error with the specified run id, message and detail parameters. |
void |
testRunStarted(java.lang.String runId)
Test run started with the specified run id parameter. |
void |
testStarted(java.lang.String runId,
java.lang.String testName)
Test started with the specified run id and test name parameters. |
protected void |
waitForTests()
Wait for tests. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestAction()
| Method Detail |
|---|
public void actionEnded(Action action)
actionEnded in interface ActionListeneraction - The action (Action) parameter.testEnded(String,String),
testRunEnded(String)public void actionStarted(Action action)
actionStarted in interface ActionListeneraction - The action (Action) parameter.testRunStarted(String),
testStarted(String,String)public void add(Action action)
add in interface ActionContaineraction - The action (Action) parameter.
public void addTest(java.lang.String runId,
java.lang.String filter,
java.lang.String className,
java.lang.String match,
java.util.Dictionary properties)
runId - The run id (String) parameter.filter - The filter (String) parameter.className - The class name (String) parameter.match - The match (String) parameter.properties - The properties (Dictionary) parameter.
public void execute(TestScriptService testScript)
throws java.lang.InterruptedException
execute in interface ActiontestScript - The test script (TestScriptService) parameter.
java.lang.InterruptedException - Interrupted Exception.execute(TestScriptService,TestTemplate),
execute(TestScriptService,Action,ActionListener)
protected abstract int execute(TestScriptService testScript,
TestTemplate template)
throws InvalidSyntaxException,
java.io.IOException,
java.lang.InterruptedException
testScript - The test script (TestScriptService) parameter.template - The template (TestTemplate) parameter.
int) value.
InvalidSyntaxException - Invalid Syntax Exception.
java.lang.InterruptedException - Interrupted Exception.
java.io.IOExceptionexecute(TestScriptService),
execute(TestScriptService,Action,ActionListener)
protected abstract int execute(TestScriptService testScript,
Action action,
ActionListener actionListener)
throws java.lang.InterruptedException
testScript - The test script (TestScriptService) parameter.action - The action (Action) parameter.actionListener - The action listener (ActionListener) parameter.
int) value.
java.lang.InterruptedException - Interrupted Exception.execute(TestScriptService),
execute(TestScriptService,TestTemplate)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 java.util.List getTestTemplatesAndActions()
List) value.
public void testEnded(java.lang.String runId,
java.lang.String testName)
testEnded in interface TestRunListenerServicerunId - The run id (String) parameter.testName - The test name (String) parameter.actionEnded(Action),
testRunEnded(String)
public void testError(java.lang.String runId,
java.lang.String testName,
java.lang.String trace)
testError in interface TestRunListenerServicerunId - The run id (String) parameter.testName - The test name (String) parameter.trace - The trace (String) parameter.testRunError(String,String,String)
public void testFailed(java.lang.String runId,
java.lang.String testName,
java.lang.String trace)
testFailed in interface TestRunListenerServicerunId - The run id (String) parameter.testName - The test name (String) parameter.trace - The trace (String) parameter.public void testRunEnded(java.lang.String runId)
testRunEnded in interface TestRunListenerServicerunId - The run id (String) parameter.
public void testRunError(java.lang.String runId,
java.lang.String message,
java.lang.String detail)
testRunError in interface TestRunListenerServicerunId - The run id (String) parameter.message - The message (String) parameter.detail - The detail (String) parameter.public void testRunStarted(java.lang.String runId)
testRunStarted in interface TestRunListenerServicerunId - The run id (String) parameter.
public void testStarted(java.lang.String runId,
java.lang.String testName)
testStarted in interface TestRunListenerServicerunId - The run id (String) parameter.testName - The test name (String) parameter.actionStarted(Action),
testRunStarted(String)
protected void waitForTests()
throws java.lang.InterruptedException
java.lang.InterruptedException - Interrupted Exception.
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||