1.0.0

org.eclipse.soda.dk.testmanager
Class TestManager

java.lang.Object
  extended by ConfigurableObject
      extended by org.eclipse.soda.dk.testmanager.TestManager
All Implemented Interfaces:
TestManagerService

public class TestManager
extends ConfigurableObject
implements TestManagerService

Version:
1.0.0

Field Summary
static int ACTION_REQUIRES
          Define the action requires (int) constant.
static int ACTION_REQUIRES_FILTER
          Define the action requires filter (int) constant.
static int CANNOT_PROCESS
          Define the cannot process (int) constant.
static int COMMUNICATION_ERROR
          Define the communication error (int) constant.
static int CONFIG_CHANGES
          Define the config changes (int) constant.
static int CONFIGURATION_REQUEST
          Define the configuration request (int) constant.
static int CREATE_LC
          Define the create lc (int) constant.
static int CREATE_UC
          Define the create uc (int) constant.
static int CREATE_UPDATE
          Define the create update (int) constant.
static int CREATE_UPDATE_CONFIG
          Define the create update config (int) constant.
static int CREATE_UPDATE_ONE_WORD
          Define the create update one word (int) constant.
static int CREATING_CONFIG
          Define the creating config (int) constant.
static java.util.ResourceBundle DefaultResourceBundle
          Define the default resource bundle (ResourceBundle) field.
static int DELETE_LC
          Define the delete lc (int) constant.
static int DELETE_UC
          Define the delete uc (int) constant.
static int DELETING_CONFIGS
          Define the deleting configs (int) constant.
static int ERROR_EXECUTING
          Define the error executing (int) constant.
static int ERROR_RUNNING_SCRIPT
          Define the error running script (int) constant.
static int ERRORS
          Define the errors (int) constant.
static int INVALID_FILTER
          Define the invalid filter (int) constant.
static int INVALID_MATCH_TYPE
          Define the invalid match type (int) constant.
static int MULTIPLE_SINGLE_EXPECTED
          Define the multiple single expected (int) constant.
static int PARALLEL_LC
          Define the parallel lc (int) constant.
static int PARALLEL_UC
          Define the parallel uc (int) constant.
static int RUNNING_SCRIPT
          Define the running script (int) constant.
static int SCRIPT_ACTION_ENDED
          Define the script action ended (int) constant.
static int SCRIPT_ACTION_STARTING
          Define the script action starting (int) constant.
static int SEQUENTIAL_LC
          Define the sequential lc (int) constant.
static int SEQUENTIAL_UC
          Define the sequential uc (int) constant.
static int START_ALL_TESTS_MATCH
          Define the start all tests match (int) constant.
static int START_SINGLE_TEST_MATCH
          Define the start single test match (int) constant.
static int TEST_ACTION
          Define the test action (int) constant.
static int TEST_ACTION_W_DASH
          Define the test action w dash (int) constant.
static int TEST_CASES
          Define the test cases (int) constant.
static int TEST_COMPLETED
          Define the test completed (int) constant.
static int TEST_SCRIPT_RUNNER
          Define the test script runner (int) constant.
static int TESTS
          Define the tests (int) constant.
static int UNEXPECTED_ATTR_VALUE
          Define the unexpected attr value (int) field.
static int UNEXPECTED_XML_END
          Define the unexpected xml end (int) constant.
static int UNEXPECTED_XML_START
          Define message (int) constants.
static int UNTITLED
          Define the untitled (int) constant.
static int UPDATE_CREATE_CONFIG
          Define the update create config (int) constant.
static int UPDATE_LC
          Define the update lc (int) constant.
static int UPDATE_UC
          Define the update uc (int) constant.
static int UPDATING_CONFIG_W_FILTER
          Define the updating config w filter (int) constant.
static int UPDATING_WITH_FILTER
          Define the updating with filter (int) constant.
static int USAGE
          Define the usage (int) constant.
 
Fields inherited from interface org.eclipse.soda.dk.testmanager.service.TestManagerService
SERVICE_NAME
 
Constructor Summary
TestManager()
          Constructs an instance of this class.
 
Method Summary
 TestSessionService createTestSession(TestSynchronizationService syncService)
          Create test session with the specified sync service parameter and return the TestSessionService result.
 java.lang.String getDefaultKey()
          Gets the default key (String) value.
static void main(java.lang.String[] args)
          Main with the specified args parameter.
 TestScriptService parse(java.io.Reader in)
          Parse with the specified in parameter and return the TestScriptService result.
 void setSaxParserFactory(javax.xml.parsers.SAXParserFactory saxParserFactory)
          Sets the sax parser factory value.
 void setTestController(TestControllerService testController)
          Sets the test controller value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNEXPECTED_XML_START

public static final int UNEXPECTED_XML_START
Define message (int) constants.

See Also:
Constant Field Values

UNEXPECTED_XML_END

public static final int UNEXPECTED_XML_END
Define the unexpected xml end (int) constant.

See Also:
Constant Field Values

USAGE

public static final int USAGE
Define the usage (int) constant.

See Also:
Constant Field Values

UPDATING_WITH_FILTER

public static final int UPDATING_WITH_FILTER
Define the updating with filter (int) constant.

See Also:
Constant Field Values

UPDATE_LC

public static final int UPDATE_LC
Define the update lc (int) constant.

See Also:
Constant Field Values

UPDATE_UC

public static final int UPDATE_UC
Define the update uc (int) constant.

See Also:
Constant Field Values

SEQUENTIAL_LC

public static final int SEQUENTIAL_LC
Define the sequential lc (int) constant.

See Also:
Constant Field Values

SEQUENTIAL_UC

public static final int SEQUENTIAL_UC
Define the sequential uc (int) constant.

See Also:
Constant Field Values

PARALLEL_LC

public static final int PARALLEL_LC
Define the parallel lc (int) constant.

See Also:
Constant Field Values

PARALLEL_UC

public static final int PARALLEL_UC
Define the parallel uc (int) constant.

See Also:
Constant Field Values

START_ALL_TESTS_MATCH

public static final int START_ALL_TESTS_MATCH
Define the start all tests match (int) constant.

See Also:
Constant Field Values

START_SINGLE_TEST_MATCH

public static final int START_SINGLE_TEST_MATCH
Define the start single test match (int) constant.

See Also:
Constant Field Values

INVALID_FILTER

public static final int INVALID_FILTER
Define the invalid filter (int) constant.

See Also:
Constant Field Values

COMMUNICATION_ERROR

public static final int COMMUNICATION_ERROR
Define the communication error (int) constant.

See Also:
Constant Field Values

TEST_ACTION

public static final int TEST_ACTION
Define the test action (int) constant.

See Also:
Constant Field Values

UPDATING_CONFIG_W_FILTER

public static final int UPDATING_CONFIG_W_FILTER
Define the updating config w filter (int) constant.

See Also:
Constant Field Values

CREATING_CONFIG

public static final int CREATING_CONFIG
Define the creating config (int) constant.

See Also:
Constant Field Values

CREATE_UPDATE

public static final int CREATE_UPDATE
Define the create update (int) constant.

See Also:
Constant Field Values

UPDATE_CREATE_CONFIG

public static final int UPDATE_CREATE_CONFIG
Define the update create config (int) constant.

See Also:
Constant Field Values

CREATE_UPDATE_CONFIG

public static final int CREATE_UPDATE_CONFIG
Define the create update config (int) constant.

See Also:
Constant Field Values

CREATE_LC

public static final int CREATE_LC
Define the create lc (int) constant.

See Also:
Constant Field Values

CREATE_UC

public static final int CREATE_UC
Define the create uc (int) constant.

See Also:
Constant Field Values

CONFIGURATION_REQUEST

public static final int CONFIGURATION_REQUEST
Define the configuration request (int) constant.

See Also:
Constant Field Values

CREATE_UPDATE_ONE_WORD

public static final int CREATE_UPDATE_ONE_WORD
Define the create update one word (int) constant.

See Also:
Constant Field Values

DELETE_LC

public static final int DELETE_LC
Define the delete lc (int) constant.

See Also:
Constant Field Values

DELETE_UC

public static final int DELETE_UC
Define the delete uc (int) constant.

See Also:
Constant Field Values

TEST_ACTION_W_DASH

public static final int TEST_ACTION_W_DASH
Define the test action w dash (int) constant.

See Also:
Constant Field Values

DELETING_CONFIGS

public static final int DELETING_CONFIGS
Define the deleting configs (int) constant.

See Also:
Constant Field Values

ERRORS

public static final int ERRORS
Define the errors (int) constant.

See Also:
Constant Field Values

SCRIPT_ACTION_ENDED

public static final int SCRIPT_ACTION_ENDED
Define the script action ended (int) constant.

See Also:
Constant Field Values

ERROR_EXECUTING

public static final int ERROR_EXECUTING
Define the error executing (int) constant.

See Also:
Constant Field Values

SCRIPT_ACTION_STARTING

public static final int SCRIPT_ACTION_STARTING
Define the script action starting (int) constant.

See Also:
Constant Field Values

CONFIG_CHANGES

public static final int CONFIG_CHANGES
Define the config changes (int) constant.

See Also:
Constant Field Values

TESTS

public static final int TESTS
Define the tests (int) constant.

See Also:
Constant Field Values

TEST_CASES

public static final int TEST_CASES
Define the test cases (int) constant.

See Also:
Constant Field Values

TEST_COMPLETED

public static final int TEST_COMPLETED
Define the test completed (int) constant.

See Also:
Constant Field Values

ERROR_RUNNING_SCRIPT

public static final int ERROR_RUNNING_SCRIPT
Define the error running script (int) constant.

See Also:
Constant Field Values

UNTITLED

public static final int UNTITLED
Define the untitled (int) constant.

See Also:
Constant Field Values

INVALID_MATCH_TYPE

public static final int INVALID_MATCH_TYPE
Define the invalid match type (int) constant.

See Also:
Constant Field Values

ACTION_REQUIRES_FILTER

public static final int ACTION_REQUIRES_FILTER
Define the action requires filter (int) constant.

See Also:
Constant Field Values

ACTION_REQUIRES

public static final int ACTION_REQUIRES
Define the action requires (int) constant.

See Also:
Constant Field Values

TEST_SCRIPT_RUNNER

public static final int TEST_SCRIPT_RUNNER
Define the test script runner (int) constant.

See Also:
Constant Field Values

RUNNING_SCRIPT

public static final int RUNNING_SCRIPT
Define the running script (int) constant.

See Also:
Constant Field Values

MULTIPLE_SINGLE_EXPECTED

public static final int MULTIPLE_SINGLE_EXPECTED
Define the multiple single expected (int) constant.

See Also:
Constant Field Values

CANNOT_PROCESS

public static final int CANNOT_PROCESS
Define the cannot process (int) constant.

See Also:
Constant Field Values

UNEXPECTED_ATTR_VALUE

public static int UNEXPECTED_ATTR_VALUE
Define the unexpected attr value (int) field.


DefaultResourceBundle

public static java.util.ResourceBundle DefaultResourceBundle
Define the default resource bundle (ResourceBundle) field.

Constructor Detail

TestManager

public TestManager()
Constructs an instance of this class.

Method Detail

main

public static void main(java.lang.String[] args)
Main with the specified args parameter.

Parameters:
args - The args (String[]) parameter.

createTestSession

public TestSessionService createTestSession(TestSynchronizationService syncService)
Create test session with the specified sync service parameter and return the TestSessionService result.

Specified by:
createTestSession in interface TestManagerService
Parameters:
syncService - The sync service (TestSynchronizationService) parameter.
Returns:
Results of the create test session (TestSessionService) value.

getDefaultKey

public java.lang.String getDefaultKey()
Gets the default key (String) value.

Returns:
The default key (String) value.

parse

public TestScriptService parse(java.io.Reader in)
                        throws java.lang.Exception
Parse with the specified in parameter and return the TestScriptService result.

Specified by:
parse in interface TestManagerService
Parameters:
in - The in (Reader) parameter.
Returns:
Results of the parse (TestScriptService) value.
Throws:
java.lang.Exception

setSaxParserFactory

public void setSaxParserFactory(javax.xml.parsers.SAXParserFactory saxParserFactory)
Sets the sax parser factory value.

Specified by:
setSaxParserFactory in interface TestManagerService
Parameters:
saxParserFactory - The sax parser factory (SAXParserFactory) parameter.

setTestController

public void setTestController(TestControllerService testController)
Sets the test controller value.

Specified by:
setTestController in interface TestManagerService
Parameters:
testController - The test controller (TestControllerService) parameter.

1.0.0

Copyright (c) 2007 IBM