1.0.0

org.eclipse.soda.dk.testmanager.service
Interface TestScriptService

All Known Implementing Classes:
TestScript

public interface TestScriptService

Version:
1.0.0

Field Summary
static java.lang.String ATTR_DESCRIPTION
          Define the attr description (String) constant.
static java.lang.String ATTR_TITLE
          Define the attr title (String) constant.
static java.lang.String ATTR_URL
          Define the attr url (String) constant.
static java.lang.String ATTR_VENDOR
          Define the attr vendor (String) constant.
static java.lang.String ATTR_VERSION
          Define the attr version (String) constant.
static java.lang.String STATS_CONFIGURATION_COUNT
          Define the stats configuration count (String) constant.
static java.lang.String STATS_CONFIGURATION_ERROR_COUNT
          Define the stats configuration error count (String) constant.
static java.lang.String STATS_SCRIPT_ERROR_COUNT
          Define the stats script error count (String) constant.
static java.lang.String STATS_TEST_CASE_COUNT
          Define the stats test case count (String) constant.
static java.lang.String STATS_TEST_CASE_ERROR_COUNT
          Define the stats test case error count (String) constant.
static java.lang.String STATS_TEST_CASE_FAILED_COUNT
          Define the stats test case failed count (String) constant.
static java.lang.String STATS_TEST_COUNT
          Define the stats test count (String) constant.
static java.lang.String STATS_TEST_ERROR_COUNT
          Define the stats test error count (String) constant.
 
Method Summary
 java.util.Map getAttributes()
          Gets the attributes (Map) value.
 ScriptRunListenerService getScriptListener()
           
 TestSessionService getTestSession()
           
 java.util.Map getTestStatistics()
           
 void incrementStatistic(java.lang.String statsKey)
          Increment statistic with the specified stats key parameter.
 void run(TestSessionService testSession, ScriptRunListenerService scriptListener, boolean asynchronous)
          Run with the specified test session, script listener and asynchronous parameters.
 

Field Detail

ATTR_TITLE

static final java.lang.String ATTR_TITLE
Define the attr title (String) constant.

See Also:
Constant Field Values

ATTR_VERSION

static final java.lang.String ATTR_VERSION
Define the attr version (String) constant.

See Also:
Constant Field Values

ATTR_VENDOR

static final java.lang.String ATTR_VENDOR
Define the attr vendor (String) constant.

See Also:
Constant Field Values

ATTR_DESCRIPTION

static final java.lang.String ATTR_DESCRIPTION
Define the attr description (String) constant.

See Also:
Constant Field Values

ATTR_URL

static final java.lang.String ATTR_URL
Define the attr url (String) constant.

See Also:
Constant Field Values

STATS_SCRIPT_ERROR_COUNT

static final java.lang.String STATS_SCRIPT_ERROR_COUNT
Define the stats script error count (String) constant.

See Also:
Constant Field Values

STATS_TEST_COUNT

static final java.lang.String STATS_TEST_COUNT
Define the stats test count (String) constant.

See Also:
Constant Field Values

STATS_TEST_ERROR_COUNT

static final java.lang.String STATS_TEST_ERROR_COUNT
Define the stats test error count (String) constant.

See Also:
Constant Field Values

STATS_CONFIGURATION_COUNT

static final java.lang.String STATS_CONFIGURATION_COUNT
Define the stats configuration count (String) constant.

See Also:
Constant Field Values

STATS_CONFIGURATION_ERROR_COUNT

static final java.lang.String STATS_CONFIGURATION_ERROR_COUNT
Define the stats configuration error count (String) constant.

See Also:
Constant Field Values

STATS_TEST_CASE_COUNT

static final java.lang.String STATS_TEST_CASE_COUNT
Define the stats test case count (String) constant.

See Also:
Constant Field Values

STATS_TEST_CASE_FAILED_COUNT

static final java.lang.String STATS_TEST_CASE_FAILED_COUNT
Define the stats test case failed count (String) constant.

See Also:
Constant Field Values

STATS_TEST_CASE_ERROR_COUNT

static final java.lang.String STATS_TEST_CASE_ERROR_COUNT
Define the stats test case error count (String) constant.

See Also:
Constant Field Values
Method Detail

getAttributes

java.util.Map getAttributes()
Gets the attributes (Map) value.

Returns:
The attributes (Map) value.

getScriptListener

ScriptRunListenerService getScriptListener()
Returns:
the scriptListener

getTestSession

TestSessionService getTestSession()
Returns:
the testSession

getTestStatistics

java.util.Map getTestStatistics()
Returns:
the testStatistics

incrementStatistic

void incrementStatistic(java.lang.String statsKey)
Increment statistic with the specified stats key parameter.

Parameters:
statsKey - The stats key (String) parameter.

run

void run(TestSessionService testSession,
         ScriptRunListenerService scriptListener,
         boolean asynchronous)
         throws java.lang.InterruptedException
Run with the specified test session, script listener and asynchronous parameters.

Parameters:
testSession - The test session (TestSessionService) parameter.
scriptListener - The script listener (ScriptRunListenerService) parameter.
asynchronous - The asynchronous (boolean) parameter.
Throws:
java.lang.InterruptedException - Interrupted Exception.

1.0.0

Copyright (c) 2007 IBM