1.0.0

org.eclipse.soda.dk.testcontroller.service
Interface TestSessionService

All Known Implementing Classes:
TestSession

public interface TestSessionService

Since:
1.0
Version:
1.2.0

Method Summary
 void addGlobalTestRunListener(TestRunListenerService globalRunListener)
          Registers a TestRunListener
 void close()
          Close.
 TestConfigurationService getTestConfigurationService()
          Gets the test configuration service value.
 void interrupt()
          Interrupt.
 boolean isInterrupted()
          Gets the interrupted (boolean) value.
 void removeGlobalTestRunListener(TestRunListenerService globalRunListener)
          Unregisters a TestListener
 void runMultipleTests(java.lang.String actionId, java.lang.String runId, java.lang.String filter, java.lang.String className, java.util.Dictionary properties, TestRunListenerService runListener)
          Run multiple tests with the specified run id, filter, class name, properties and run listener parameters.
 void runSingleTest(java.lang.String actionId, java.lang.String runId, java.lang.String filter, java.lang.String className, java.util.Dictionary properties, TestRunListenerService runListener)
          Run single test with the specified run id, filter, class name, properties and run listener parameters.
 

Method Detail

addGlobalTestRunListener

void addGlobalTestRunListener(TestRunListenerService globalRunListener)
                              throws java.io.IOException
Registers a TestRunListener

Parameters:
globalRunListener - The global run listener (TestRunListenerService) parameter.
Throws:
java.io.IOException - IOException.
See Also:
removeGlobalTestRunListener(TestRunListenerService)

close

void close()
           throws java.io.IOException
Close.

Throws:
java.io.IOException - IOException.

getTestConfigurationService

TestConfigurationService getTestConfigurationService()
                                                     throws java.io.IOException
Gets the test configuration service value.

Returns:
The test configuration service (TestConfigurationService) value.
Throws:
java.io.IOException - IOException.

interrupt

void interrupt()
               throws java.io.IOException
Interrupt.

Throws:
java.io.IOException - IOException.

isInterrupted

boolean isInterrupted()
                      throws java.io.IOException
Gets the interrupted (boolean) value.

Returns:
the interrupted status
Throws:
java.io.IOException - IOException.

removeGlobalTestRunListener

void removeGlobalTestRunListener(TestRunListenerService globalRunListener)
                                 throws java.io.IOException
Unregisters a TestListener

Parameters:
globalRunListener - The global run listener (TestRunListenerService) parameter.
Throws:
java.io.IOException - IOException.
See Also:
addGlobalTestRunListener(TestRunListenerService)

runMultipleTests

void runMultipleTests(java.lang.String actionId,
                      java.lang.String runId,
                      java.lang.String filter,
                      java.lang.String className,
                      java.util.Dictionary properties,
                      TestRunListenerService runListener)
                      throws InvalidSyntaxException,
                             java.io.IOException
Run multiple tests with the specified run id, filter, class name, properties and run listener parameters.

Parameters:
actionId - The action id (String) parameter.
runId - The run id (String) parameter.
filter - The filter (String) parameter.
className - The class name (String) parameter.
properties - The properties (Dictionary) parameter.
runListener - The run listener (TestRunListenerService) parameter.
Throws:
InvalidSyntaxException - Invalid Syntax Exception.
java.io.IOException - IOException.

runSingleTest

void runSingleTest(java.lang.String actionId,
                   java.lang.String runId,
                   java.lang.String filter,
                   java.lang.String className,
                   java.util.Dictionary properties,
                   TestRunListenerService runListener)
                   throws InvalidSyntaxException,
                          java.io.IOException
Run single test with the specified run id, filter, class name, properties and run listener parameters.

Parameters:
actionId - The action id (String) parameter.
runId - The run id (String) parameter.
filter - The filter (String) parameter.
className - The class name (String) parameter.
properties - The properties (Dictionary) parameter.
runListener - The run listener (TestRunListenerService) parameter.
Throws:
InvalidSyntaxException - Invalid Syntax Exception.
java.io.IOException - IOException.

1.0.0

Copyright (c) 2007, 2009 IBM