|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectConfigurableObject
org.eclipse.soda.dk.testagent.TestAgent
public class TestAgent
| Field Summary | |
|---|---|
static java.util.ResourceBundle |
DefaultResourceBundle
Define the default resource bundle (ResourceBundle) field. |
static int |
FAILED_TO_INVOLE_SUITE
Define the failed to invole suite (int) constant. |
static int |
FAILED_TO_RUN_TEST
Define the failed to run test (int) constant. |
static int |
INVALID_REPLY
Define the invalid reply (int) constant. |
static int |
METHODE_SUITE_MUST_BE_STATIC
Define the methode suite must be static (int) constant. |
static int |
MISSING_CONFIGURATION
Define the missing configuration (int) constant. |
static int |
MISSING_SYNCHRONIZATION
Define the missing synchronization (int) constant. |
static int |
NO_CHAR
Define the no char (int) constant. |
static int |
NOTIFICATION_SEVICE_NOT_AVAILABLE
Define the notification sevice not available (int) constant. |
static int |
OK_CANCEL_PROMPT
Define the ok cancel prompt (int) constant. |
static int |
PROMPT
Define the prompt (int) constant. |
static int |
USAGE
Define the usage (int) constant. |
static int |
YES_CHAR
Define the yes char (int) constant. |
| Fields inherited from interface org.eclipse.soda.dk.testagent.service.TestAgentService |
|---|
SERVICE_NAME |
| Constructor Summary | |
|---|---|
TestAgent()
Constructs an instance of this class. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Gets the description (String) value. |
java.lang.String |
getId()
Gets the id (String) value. |
NotificationService |
getNotificationService()
Gets the notification service value. |
java.lang.Class |
getTestClass()
Gets the test class (Class) value. |
static TestContext |
getTestContext()
Gets the test context value. |
protected java.lang.Class |
loadTestClass()
Load test class and return the Class result. |
static void |
main(java.lang.String[] args)
Main with the specified args parameter. |
TestResult |
runTest(TestSynchronizationService syncService,
java.util.Dictionary properties)
Run test with the specified sync service and properties parameters and return the TestResult result. |
void |
runTest(TestSynchronizationService syncService,
java.util.Dictionary properties,
TestResult result)
Run test with the specified sync service, properties and result parameters. |
void |
setNotificationService(NotificationService notificationService)
Sets the notification service value. |
void |
setTestClass(java.lang.Class testClass)
Sets the test class value. |
static void |
setTestContext(TestContext context)
Sets the test context value. |
protected void |
setUp()
Sets up before testing, for example by acquiring a device. |
protected void |
tearDown()
Tears down after testing, for example by releasing a device. |
| 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.testagent.service.TestAgentService |
|---|
setConfigurationInformation |
| Field Detail |
|---|
public static final int NOTIFICATION_SEVICE_NOT_AVAILABLE
public static final int MISSING_CONFIGURATION
public static final int MISSING_SYNCHRONIZATION
public static final int METHODE_SUITE_MUST_BE_STATIC
public static final int FAILED_TO_INVOLE_SUITE
public static final int FAILED_TO_RUN_TEST
public static final int USAGE
public static final int OK_CANCEL_PROMPT
public static final int PROMPT
public static final int YES_CHAR
public static final int NO_CHAR
public static final int INVALID_REPLY
public static java.util.ResourceBundle DefaultResourceBundle
| Constructor Detail |
|---|
public TestAgent()
| Method Detail |
|---|
public static TestContext getTestContext()
TestContext) value.setTestContext(TestContext)public static void main(java.lang.String[] args)
args - The args (String[]) parameter.public static void setTestContext(TestContext context)
context - The context (TestContext) parameter.getTestContext()public java.lang.String getDescription()
getDescription in interface TestAgentServiceString) value.public java.lang.String getId()
getId in interface TestAgentServiceString) value.public NotificationService getNotificationService()
NotificationService) value.setNotificationService(NotificationService)public java.lang.Class getTestClass()
Class) value.loadTestClass(),
setTestClass(Class)protected java.lang.Class loadTestClass()
Class) value.getTestClass(),
setTestClass(Class)
public void runTest(TestSynchronizationService syncService,
java.util.Dictionary properties,
TestResult result)
runTest in interface TestAgentServicesyncService - The sync service (TestSynchronizationService) parameter.properties - The properties (Dictionary) parameter.result - The result (TestResult) parameter.runTest(TestSynchronizationService,Dictionary)
public TestResult runTest(TestSynchronizationService syncService,
java.util.Dictionary properties)
runTest in interface TestAgentServicesyncService - The sync service (TestSynchronizationService) parameter.properties - The properties (Dictionary) parameter.
TestResult) value.runTest(TestSynchronizationService,Dictionary,TestResult)public void setNotificationService(NotificationService notificationService)
setNotificationService in interface TestAgentServicenotificationService - The notification service (NotificationService) parameter.getNotificationService()public void setTestClass(java.lang.Class testClass)
testClass - The test class (Class) parameter.getTestClass(),
loadTestClass()
protected void setUp()
throws java.lang.Exception
Exception.
java.lang.Exception
protected void tearDown()
throws java.lang.Exception
Exception.
java.lang.Exception
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||