public abstract class AbstractInputProcessor extends java.lang.Object implements DriverInterface
Modifier and Type | Field and Description |
---|---|
protected AutoItComponent |
autoitComponentCommands
This allows us to provide local support AutoIt CF test records.
|
protected UniqueStringCounterInfo |
counterInfo |
protected java.lang.String |
description
The description of this driver
|
protected DriverInterface |
driver
The parent DriverInterface app running the test.
|
protected java.util.List<EngineInterface> |
embeddedEngines |
protected FlowControlInterface |
localFlowControlInterface
This allows us to provide per test table error recovery blockIDs
instead of the globally applied blockID values stored in the Driver.
|
static boolean |
PREFERRED_ENGINES_OVERRIDE
Allow preferred engines to override internal process commands.
|
protected java.lang.String |
productName
The version of this driver
|
static boolean |
RESOLVE_SKIPPED_RECORDS
By default, SKIPPED records (S) do get processed by resolveExpressions.
|
protected StatusCounter |
statusCounter
Pass/Fail info for a single instance of an Input processor.
|
protected TestRecordHelper |
testRecordData
Stores input record information for the driver and some engines.
|
protected TIDComponent |
tidComponentCommands
This allows us to provide local support for non-GUI CF test records.
|
protected TIDDriverCommands |
tidDriverCommands
This allows us to provide per table error recovery blockIDs
instead of the globally applied blockID values stored in the Driver.
|
protected java.lang.String |
version
The version of this driver
|
DRIVER_CONTROL_POF_VAR, DRIVER_CONTROL_POW_VAR, DRIVER_CONTROL_VAR
Constructor and Description |
---|
AbstractInputProcessor(DriverInterface driver)
Constructor for AbstractInputProcessor
|
Modifier and Type | Method and Description |
---|---|
void |
addEmbeddedEngine(EngineInterface embeddedEngine) |
StatusInterface |
addStatusCounts(StatusInterface incstatus) |
void |
clearEnginePreferences() |
void |
endEnginePreference(java.lang.String key) |
EngineInterface |
getAutoItComponentSupport()
We provide AutoIt Component Function support.
|
java.lang.String |
getBenchDir() |
ConfigureInterface |
getConfigureInterface() |
CountersInterface |
getCountersInterface() |
long |
getCycleLogMode() |
java.lang.String |
getCycleLogName() |
java.lang.String |
getCycleSeparator() |
java.lang.String |
getCycleSuffix() |
java.lang.String |
getDatapoolDir() |
DebugInterface |
getDebugInterface() |
java.lang.String |
getDescription()
The description of the version-able object
|
java.lang.String |
getDifDir() |
java.lang.String |
getDriverName() |
java.lang.String |
getDriverRootDir() |
java.util.List<EngineInterface> |
getEmbeddedEngines() |
java.util.ListIterator |
getEnginePreferences() |
java.util.ListIterator |
getEngines() |
FlowControlInterface |
getFlowControlInterface(java.lang.String testlevel)
We provide our own local FlowControlInterface object if per/table flow control is enabled.
|
InputInterface |
getInputInterface() |
EngineInterface |
getIPDriverCommands() |
java.lang.String |
getLogLevel() |
java.lang.String |
getLogsDir() |
LogsInterface |
getLogsInterface() |
MapsInterface |
getMapsInterface() |
int |
getMillisBetweenRecords() |
EngineInterface |
getPreferredEngine(java.lang.String key) |
java.lang.String |
getProductName()
The name of the version-able object
|
java.lang.String |
getProjectRootDir() |
java.lang.String |
getRootVerifyDir() |
StatusInterface |
getStatusInterface() |
long |
getStepLogMode() |
java.lang.String |
getStepLogName() |
java.lang.String |
getStepSeparator() |
java.lang.String |
getStepSuffix() |
long |
getSuiteLogMode() |
java.lang.String |
getSuiteLogName() |
java.lang.String |
getSuiteSeparator() |
java.lang.String |
getSuiteSuffix() |
java.lang.String |
getTestDir() |
java.lang.String |
getTestLevel() |
java.lang.String |
getTestName() |
TestRecordData |
getTestRecordData()
Retrieves our stored TestRecordData.
|
EngineInterface |
getTIDDriverCommands()
We override the Driver's TIDDriverCommands object and provide our own instance
since the InputProcessor instance needs to override some values the TIDDriverCommands
object may query.
|
EngineInterface |
getTIDGUIlessComponentSupport()
We provide generic support for certain Component Function commands that don't actually
operate on any GUI objects.
|
VarsInterface |
getVarsInterface() |
java.lang.String |
getVersion()
The version number
|
boolean |
hasEnginePreferences() |
void |
incrementGeneralStatus(int status)
Increment General (not Test) record counts.
|
void |
incrementTestStatus(int status)
Increment Test Record counts.
|
boolean |
isExitCycle() |
boolean |
isExitSuite() |
boolean |
isExpressionsEnabled() |
boolean |
isPerTableFlowControl() |
boolean |
isPreferredEngine(EngineInterface engine) |
boolean |
isPreferredEngine(java.lang.String key) |
long |
setBenchDir(java.lang.String absolute_path) |
long |
setDatapoolDir(java.lang.String absolute_path) |
void |
setDescription(java.lang.String desc)
set the description of the version-able object
|
long |
setDifDir(java.lang.String absolute_path) |
void |
setExitCycle(boolean enabled) |
void |
setExitSuite(boolean enabled) |
void |
setExpressionsEnabled(boolean enabled) |
long |
setLogsDir(java.lang.String absolute_path) |
void |
setMillisBetweenRecords(int millisBetweenRecords) |
void |
setPerTableFlowControl(boolean enabled) |
void |
setProductName(java.lang.String productName)
set the name of the version-able object
|
long |
setProjectRootDir(java.lang.String absolute_path) |
long |
setRootVerifyDir(java.lang.String absolute_path) |
long |
setTestDir(java.lang.String absolute_path) |
void |
setVersion(java.lang.String version)
set the version number
|
void |
startEnginePreference(java.lang.String key) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCoreInterface, logMessage
public static boolean RESOLVE_SKIPPED_RECORDS
public static boolean PREFERRED_ENGINES_OVERRIDE
protected DriverInterface driver
protected StatusCounter statusCounter
protected UniqueStringCounterInfo counterInfo
protected TestRecordHelper testRecordData
protected FlowControlInterface localFlowControlInterface
protected TIDDriverCommands tidDriverCommands
protected TIDComponent tidComponentCommands
protected AutoItComponent autoitComponentCommands
protected java.lang.String productName
protected java.lang.String version
protected java.lang.String description
protected java.util.List<EngineInterface> embeddedEngines
public AbstractInputProcessor(DriverInterface driver)
public int getMillisBetweenRecords()
getMillisBetweenRecords
in interface DriverInterface
DriverInterface.getMillisBetweenRecords()
public void setMillisBetweenRecords(int millisBetweenRecords)
setMillisBetweenRecords
in interface DriverInterface
DriverInterface.setMillisBetweenRecords(int)
public boolean isExitSuite()
isExitSuite
in interface DriverInterface
DriverInterface.isExitSuite()
public void setExitSuite(boolean enabled)
setExitSuite
in interface DriverInterface
DriverInterface.setExitSuite(boolean)
public boolean isExitCycle()
isExitCycle
in interface DriverInterface
DriverInterface.isExitCycle()
public void setExitCycle(boolean enabled)
setExitCycle
in interface DriverInterface
DriverInterface.setExitCycle(boolean)
public void setPerTableFlowControl(boolean enabled)
setPerTableFlowControl
in interface DriverInterface
DriverInterface#setPerTableFlowControl()
public boolean isPerTableFlowControl()
isPerTableFlowControl
in interface DriverInterface
DriverInterface.isPerTableFlowControl()
public ConfigureInterface getConfigureInterface()
getConfigureInterface
in interface DriverInterface
DriverInterface.getConfigureInterface()
public InputInterface getInputInterface()
getInputInterface
in interface DriverInterface
DriverInterface.getInputInterface()
public MapsInterface getMapsInterface()
getMapsInterface
in interface DriverInterface
DriverInterface.getMapsInterface()
public VarsInterface getVarsInterface()
getVarsInterface
in interface DriverInterface
DriverInterface.getVarsInterface()
public LogsInterface getLogsInterface()
getLogsInterface
in interface DriverInterface
DriverInterface.getLogsInterface()
public CountersInterface getCountersInterface()
getCountersInterface
in interface DriverInterface
DriverInterface.getCountersInterface()
public DebugInterface getDebugInterface()
getDebugInterface
in interface DriverInterface
DriverInterface.getDebugInterface()
public FlowControlInterface getFlowControlInterface(java.lang.String testlevel)
getFlowControlInterface
in interface DriverInterface
DriverInterface#getFlowControlInterface()
public StatusInterface getStatusInterface()
getStatusInterface
in interface DriverInterface
DriverInterface.getStatusInterface()
public StatusInterface addStatusCounts(StatusInterface incstatus)
addStatusCounts
in interface DriverInterface
DriverInterface.addStatusCounts(StatusInterface)
public java.util.ListIterator getEngines()
getEngines
in interface DriverInterface
DriverInterface.getEngines()
public boolean hasEnginePreferences()
hasEnginePreferences
in interface DriverInterface
DriverInterface.hasEnginePreferences()
public java.util.ListIterator getEnginePreferences()
getEnginePreferences
in interface DriverInterface
DriverInterface.getEnginePreferences()
public void startEnginePreference(java.lang.String key) throws java.lang.IllegalArgumentException
startEnginePreference
in interface DriverInterface
java.lang.IllegalArgumentException
DriverInterface.startEnginePreference(String)
public void endEnginePreference(java.lang.String key) throws java.lang.IllegalArgumentException
endEnginePreference
in interface DriverInterface
java.lang.IllegalArgumentException
DriverInterface.endEnginePreference(String)
public void clearEnginePreferences()
clearEnginePreferences
in interface DriverInterface
DriverInterface.clearEnginePreferences()
public boolean isPreferredEngine(java.lang.String key) throws java.lang.IllegalArgumentException
isPreferredEngine
in interface DriverInterface
java.lang.IllegalArgumentException
DriverInterface.isPreferredEngine(String)
public boolean isPreferredEngine(EngineInterface engine) throws java.lang.IllegalArgumentException
isPreferredEngine
in interface DriverInterface
java.lang.IllegalArgumentException
DriverInterface.isPreferredEngine(String)
public EngineInterface getPreferredEngine(java.lang.String key) throws java.lang.IllegalArgumentException
getPreferredEngine
in interface DriverInterface
java.lang.IllegalArgumentException
DriverInterface.getPreferredEngine(String)
public TestRecordData getTestRecordData()
public java.lang.String getDriverName()
getDriverName
in interface DriverInterface
DriverInterface.getDriverName()
public EngineInterface getTIDDriverCommands()
getTIDDriverCommands
in interface DriverInterface
DriverInterface.getTIDDriverCommands()
public EngineInterface getAutoItComponentSupport()
getAutoItComponentSupport
in interface DriverInterface
DriverInterface.getAutoItComponentSupport()
public EngineInterface getTIDGUIlessComponentSupport()
getTIDGUIlessComponentSupport
in interface DriverInterface
DriverInterface.getTIDGUIlessComponentSupport()
public EngineInterface getIPDriverCommands()
getIPDriverCommands
in interface DriverInterface
DriverInterface.getIPDriverCommands()
public java.lang.String getDriverRootDir()
getDriverRootDir
in interface DriverInterface
getDriverRootDir
in interface PathInterface
DriverInterface.getDriverRootDir()
public java.lang.String getProjectRootDir()
getProjectRootDir
in interface DriverInterface
getProjectRootDir
in interface PathInterface
DriverInterface.getProjectRootDir()
public java.lang.String getDatapoolDir()
getDatapoolDir
in interface DriverInterface
getDatapoolDir
in interface PathInterface
DriverInterface.getDatapoolDir()
public java.lang.String getBenchDir()
getBenchDir
in interface DriverInterface
getBenchDir
in interface PathInterface
DriverInterface.getBenchDir()
public java.lang.String getDifDir()
getDifDir
in interface DriverInterface
getDifDir
in interface PathInterface
DriverInterface.getDifDir()
public java.lang.String getLogsDir()
getLogsDir
in interface DriverInterface
getLogsDir
in interface PathInterface
DriverInterface.getLogsDir()
public java.lang.String getTestDir()
getTestDir
in interface DriverInterface
getTestDir
in interface PathInterface
DriverInterface.getTestDir()
public java.lang.String getTestName()
getTestName
in interface DriverInterface
DriverInterface.getTestName()
public java.lang.String getTestLevel()
getTestLevel
in interface DriverInterface
DriverInterface.getTestLevel()
public java.lang.String getCycleSuffix()
getCycleSuffix
in interface DriverInterface
DriverInterface.getCycleSuffix()
public java.lang.String getCycleSeparator()
getCycleSeparator
in interface DriverInterface
DriverInterface.getCycleSeparator()
public java.lang.String getSuiteSuffix()
getSuiteSuffix
in interface DriverInterface
DriverInterface.getSuiteSuffix()
public java.lang.String getSuiteSeparator()
getSuiteSeparator
in interface DriverInterface
DriverInterface.getSuiteSeparator()
public java.lang.String getStepSuffix()
getStepSuffix
in interface DriverInterface
DriverInterface.getStepSuffix()
public java.lang.String getStepSeparator()
getStepSeparator
in interface DriverInterface
DriverInterface.getStepSeparator()
public java.lang.String getLogLevel()
getLogLevel
in interface DriverInterface
DriverInterface.getLogLevel()
public java.lang.String getCycleLogName()
getCycleLogName
in interface DriverInterface
DriverInterface.getCycleLogName()
public long getCycleLogMode()
getCycleLogMode
in interface DriverInterface
DriverInterface.getCycleLogMode()
public java.lang.String getSuiteLogName()
getSuiteLogName
in interface DriverInterface
DriverInterface.getSuiteLogName()
public long getSuiteLogMode()
getSuiteLogMode
in interface DriverInterface
DriverInterface.getSuiteLogMode()
public java.lang.String getStepLogName()
getStepLogName
in interface DriverInterface
DriverInterface.getStepLogName()
public long getStepLogMode()
getStepLogMode
in interface DriverInterface
DriverInterface.getStepLogMode()
public boolean isExpressionsEnabled()
isExpressionsEnabled
in interface DriverInterface
DriverInterface.isExpressionsEnabled()
public void setExpressionsEnabled(boolean enabled)
setExpressionsEnabled
in interface DriverInterface
DriverInterface.setExpressionsEnabled(boolean)
public long setProjectRootDir(java.lang.String absolute_path)
setProjectRootDir
in interface DriverInterface
DriverInterface.setProjectRootDir(String)
public long setDatapoolDir(java.lang.String absolute_path)
setDatapoolDir
in interface DriverInterface
DriverInterface.setDatapoolDir(String)
public long setBenchDir(java.lang.String absolute_path)
setBenchDir
in interface DriverInterface
DriverInterface.setBenchDir(String)
public long setTestDir(java.lang.String absolute_path)
setTestDir
in interface DriverInterface
DriverInterface.setTestDir(String)
public long setDifDir(java.lang.String absolute_path)
setDifDir
in interface DriverInterface
DriverInterface.setDifDir(String)
public long setLogsDir(java.lang.String absolute_path)
setLogsDir
in interface DriverInterface
DriverInterface.setLogsDir(String)
public java.lang.String getRootVerifyDir()
getRootVerifyDir
in interface DriverInterface
DriverInterface.getRootVerifyDir()
public long setRootVerifyDir(java.lang.String absolute_path)
setRootVerifyDir
in interface DriverInterface
DriverInterface.setRootVerifyDir(String)
public void incrementGeneralStatus(int status)
incrementGeneralStatus
in interface DriverInterface
status
- StatusCodes
public void incrementTestStatus(int status)
incrementTestStatus
in interface DriverInterface
status
- StatusCodes
public void setProductName(java.lang.String productName)
Versionable
setProductName
in interface Versionable
public void setVersion(java.lang.String version)
Versionable
setVersion
in interface Versionable
public void setDescription(java.lang.String desc)
Versionable
setDescription
in interface Versionable
public java.lang.String getProductName()
Versionable
getProductName
in interface Versionable
public java.lang.String getVersion()
Versionable
getVersion
in interface Versionable
public java.lang.String getDescription()
Versionable
getDescription
in interface Versionable
public java.util.List<EngineInterface> getEmbeddedEngines()
getEmbeddedEngines
in interface DriverInterface
public void addEmbeddedEngine(EngineInterface embeddedEngine)
addEmbeddedEngine
in interface DriverInterface
Copyright © SAS Institute. All Rights Reserved.