1.0.0

org.eclipse.soda.dk.testagent.service
Interface TestAgentService

All Known Subinterfaces:
TestAgentTestService
All Known Implementing Classes:
TestAgent, TestAgentTest

public interface TestAgentService

Version:
1.0.0

Field Summary
static java.lang.String SERVICE_NAME
          Define the service name (String) constant.
 
Method Summary
 java.lang.String getDescription()
          Gets the description (String) value.
 java.lang.String getId()
          Gets the id (String) value.
 TestResult runTest(TestSynchronizationService syncService, java.util.Dictionary properties)
          Runs a test using the JUnit textui.TestRunner and return the TestResult.
 void runTest(TestSynchronizationService syncService, java.util.Dictionary properties, TestResult result)
          Runs a test and collects its result in a TestResult instance.
 void setConfigurationInformation(java.util.Dictionary configurationInformation)
          Sets the configuration information value.
 void setNotificationService(NotificationService notificationService)
          Sets the notification service value.
 

Field Detail

SERVICE_NAME

static final java.lang.String SERVICE_NAME
Define the service name (String) constant.

Method Detail

getDescription

java.lang.String getDescription()
Gets the description (String) value.

Returns:
The description (String) value.

getId

java.lang.String getId()
Gets the id (String) value.

Returns:
The id (String) value.

runTest

void runTest(TestSynchronizationService syncService,
             java.util.Dictionary properties,
             TestResult result)
Runs a test and collects its result in a TestResult instance.

Parameters:
syncService - The sync service (TestSynchronizationService) parameter.
properties - The properties (Dictionary) parameter.
result - The result (TestResult) parameter.
See Also:
runTest(TestSynchronizationService,Dictionary)

runTest

TestResult runTest(TestSynchronizationService syncService,
                   java.util.Dictionary properties)
Runs a test using the JUnit textui.TestRunner and return the TestResult.

Parameters:
syncService - The sync service (TestSynchronizationService) parameter.
properties - The properties (Dictionary) parameter.
Returns:
Results of the run test (TestResult) value.
See Also:
runTest(TestSynchronizationService,Dictionary,TestResult)

setConfigurationInformation

void setConfigurationInformation(java.util.Dictionary configurationInformation)
Sets the configuration information value. The configuration information (Dictionary) parameter.

Parameters:
configurationInformation - The configuration information (Dictionary) parameter.

setNotificationService

void setNotificationService(NotificationService notificationService)
Sets the notification service value.

Parameters:
notificationService - The notification service (NotificationService) parameter.

1.0.0

Copyright (c) 2007 IBM