1.0.0

org.eclipse.soda.dk.testcontroller
Class TestGroupRunner

java.lang.Object
  extended by org.eclipse.soda.dk.testcontroller.TestGroupRunner

public class TestGroupRunner
extends java.lang.Object

Since:
1.0
Version:
1.2.0

Constructor Summary
TestGroupRunner(java.lang.String actionId, java.lang.String runId, TestAgentService[] agents, java.util.Dictionary properties, TestSynchronizationService syncService, TestRunListenerService[] runListeners)
          Constructs an instance of this class from the specified run id, agents, properties, sync service and run listeners parameters.
 
Method Summary
 void addError(Test test, java.lang.Throwable t)
          Add error with the specified test and t parameters.
 void addFailure(Test test, AssertionFailedError t)
          Add failure with the specified test and t parameters.
 void endTest(Test test)
          End test with the specified test parameter.
 java.lang.Thread getRunnerThread()
          Gets the runner thread (Thread) value.
 void init()
          Init before run.
 void runTests()
          Run tests.
 void startTest(Test test)
          Start test with the specified test parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestGroupRunner

public TestGroupRunner(java.lang.String actionId,
                       java.lang.String runId,
                       TestAgentService[] agents,
                       java.util.Dictionary properties,
                       TestSynchronizationService syncService,
                       TestRunListenerService[] runListeners)
Constructs an instance of this class from the specified run id, agents, properties, sync service and run listeners parameters.

Parameters:
actionId - The action id (String) parameter.
runId - The run id (String) parameter.
agents - The agents (TestAgentService) parameter.
properties - The properties (Dictionary) parameter.
syncService - The sync service (TestSynchronizationService) parameter.
runListeners - The run listeners (TestRunListenerService[]) parameter.
Method Detail

addError

public void addError(Test test,
                     java.lang.Throwable t)
Add error with the specified test and t parameters.

Parameters:
test - The test (Test) parameter.
t - The t (Throwable) parameter.

addFailure

public void addFailure(Test test,
                       AssertionFailedError t)
Add failure with the specified test and t parameters.

Parameters:
test - The test (Test) parameter.
t - The t (AssertionFailedError) parameter.

endTest

public void endTest(Test test)
End test with the specified test parameter.

Parameters:
test - The test (Test) parameter.
See Also:
startTest(Test)

getRunnerThread

public java.lang.Thread getRunnerThread()
Gets the runner thread (Thread) value.

Returns:
The thread (Thread) value.

init

public void init()
Init before run.


runTests

public void runTests()
Run tests.


startTest

public void startTest(Test test)
Start test with the specified test parameter.

Parameters:
test - The test (Test) parameter.
See Also:
endTest(Test)

1.0.0

Copyright (c) 2007, 2009 IBM