|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.safs.tools.drivers.AbstractDriver
public abstract class AbstractDriver
The root, abstract implementation of our tool-independent Driver.
| Field Summary | |
|---|---|
protected java.lang.String |
benchSource
|
protected ConfigureInterface |
configInfo
|
protected CountersInterface |
counts
|
protected FlowControlInterface |
cycleflowcontrol
CYCLE shared flow control info used by all Driver/InputProcessors. |
protected java.lang.String |
cycleLinkedFac
|
protected long |
cycleLogMode
|
protected java.lang.String |
cycleLogName
|
protected java.lang.String |
cycleSeparator
|
protected java.lang.String |
cycleSuffix
|
protected java.lang.String |
datapoolSource
|
protected DebugInterface |
debug
|
protected java.lang.String |
difSource
|
protected java.lang.String |
driverName
Name of this Driver: Default = "SAFS/TIDriver" |
protected java.lang.String |
driverRootDir
|
protected boolean |
exitCycle
|
protected boolean |
exitSuite
|
protected boolean |
expressionsOn
|
protected InputInterface |
input
|
protected EngineInterface |
ipcommands
|
protected java.lang.String |
logLevel
|
protected LogsInterface |
logs
|
protected java.lang.String |
logsSource
|
protected MapsInterface |
maps
|
protected int |
millisBetweenRecords
|
protected boolean |
perTableFlowControl
If true then local flow control blocks can be defined for each separate test table (InputProcessor). |
protected java.lang.String |
projectRootDir
|
protected StatusInterface |
statuscounts
|
protected FlowControlInterface |
stepflowcontrol
STEP shared flow control info used by all Driver/InputProcessors. |
protected java.lang.String |
stepLinkedFac
|
protected long |
stepLogMode
|
protected java.lang.String |
stepLogName
|
protected java.lang.String |
stepSeparator
|
protected java.lang.String |
stepSuffix
|
protected FlowControlInterface |
suiteflowcontrol
SUITE shared flow control info used by all Driver/InputProcessors. |
protected java.lang.String |
suiteLinkedFac
|
protected long |
suiteLogMode
|
protected java.lang.String |
suiteLogName
|
protected java.lang.String |
suiteSeparator
|
protected java.lang.String |
suiteSuffix
|
protected java.lang.String |
testLevel
|
protected java.lang.String |
testName
|
protected java.lang.String |
testSource
|
protected EngineInterface |
tidcommands
|
protected EngineInterface |
tidcomponent
|
protected VarsInterface |
vars
|
protected java.lang.String |
verifySource
|
| Fields inherited from interface org.safs.tools.drivers.DriverInterface |
|---|
DRIVER_CONTROL_VAR |
| Constructor Summary | |
|---|---|
AbstractDriver()
|
|
| Method Summary | |
|---|---|
StatusInterface |
addStatusCounts(StatusInterface incstatus)
|
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 |
getDifDir()
|
java.lang.String |
getDriverName()
|
java.lang.String |
getDriverRootDir()
|
FlowControlInterface |
getFlowControlInterface(java.lang.String testlevel)
|
InputInterface |
getInputInterface()
|
EngineInterface |
getIPDriverCommands()
|
java.lang.String |
getLogLevel()
|
java.lang.String |
getLogsDir()
|
LogsInterface |
getLogsInterface()
|
MapsInterface |
getMapsInterface()
|
int |
getMillisBetweenRecords()
|
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()
|
EngineInterface |
getTIDDriverCommands()
|
EngineInterface |
getTIDGUIlessComponentSupport()
|
VarsInterface |
getVarsInterface()
|
boolean |
isExitCycle()
|
boolean |
isExitSuite()
|
boolean |
isExpressionsEnabled()
|
boolean |
isPerTableFlowControl()
|
protected abstract StatusInterface |
processTest()
This is the one that actually opens and loops through our tests records! Typically, DriverInterface subclasses like SAFSDRIVER will be used to provide the concrete implementation. |
long |
setBenchDir(java.lang.String absolute_path)
|
long |
setDatapoolDir(java.lang.String absolute_path)
|
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 millisBetween)
|
void |
setPerTableFlowControl(boolean enabled)
|
long |
setProjectRootDir(java.lang.String absolute_path)
|
long |
setRootVerifyDir(java.lang.String absolute_path)
|
long |
setTestDir(java.lang.String absolute_path)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.safs.tools.drivers.DriverInterface |
|---|
clearEnginePreferences, endEnginePreference, getEnginePreferences, getEngines, getPreferredEngine, hasEnginePreferences, isPreferredEngine, isPreferredEngine, startEnginePreference |
| Field Detail |
|---|
protected java.lang.String driverName
protected ConfigureInterface configInfo
protected InputInterface input
protected MapsInterface maps
protected VarsInterface vars
protected LogsInterface logs
protected CountersInterface counts
protected DebugInterface debug
protected EngineInterface tidcommands
protected EngineInterface tidcomponent
protected EngineInterface ipcommands
protected StatusInterface statuscounts
protected int millisBetweenRecords
protected FlowControlInterface cycleflowcontrol
protected FlowControlInterface suiteflowcontrol
protected FlowControlInterface stepflowcontrol
protected boolean perTableFlowControl
protected java.lang.String driverRootDir
protected java.lang.String projectRootDir
protected java.lang.String datapoolSource
protected java.lang.String verifySource
protected java.lang.String benchSource
protected java.lang.String difSource
protected java.lang.String logsSource
protected java.lang.String testSource
protected java.lang.String testName
protected java.lang.String testLevel
protected java.lang.String cycleSuffix
protected java.lang.String cycleSeparator
protected java.lang.String suiteSuffix
protected java.lang.String suiteSeparator
protected java.lang.String stepSuffix
protected java.lang.String stepSeparator
protected java.lang.String logLevel
protected java.lang.String cycleLogName
protected long cycleLogMode
protected java.lang.String cycleLinkedFac
protected java.lang.String suiteLogName
protected long suiteLogMode
protected java.lang.String suiteLinkedFac
protected java.lang.String stepLogName
protected long stepLogMode
protected java.lang.String stepLinkedFac
protected boolean expressionsOn
protected boolean exitSuite
protected boolean exitCycle
| Constructor Detail |
|---|
public AbstractDriver()
| Method Detail |
|---|
public int getMillisBetweenRecords()
getMillisBetweenRecords in interface DriverInterfaceDriverInterface.getMillisBetweenRecords()public void setMillisBetweenRecords(int millisBetween)
setMillisBetweenRecords in interface DriverInterfaceDriverInterface.setMillisBetweenRecords(int)public boolean isPerTableFlowControl()
isPerTableFlowControl in interface DriverInterfaceDriverInterface.isPerTableFlowControl()public void setPerTableFlowControl(boolean enabled)
setPerTableFlowControl in interface DriverInterfaceDriverInterface.setPerTableFlowControl(boolean)public boolean isExitSuite()
isExitSuite in interface DriverInterfaceDriverInterface.isExitSuite()public void setExitSuite(boolean enabled)
setExitSuite in interface DriverInterfaceDriverInterface.setExitSuite(boolean)public boolean isExitCycle()
isExitCycle in interface DriverInterfaceDriverInterface.isExitCycle()public void setExitCycle(boolean enabled)
setExitCycle in interface DriverInterfaceDriverInterface.setExitCycle(boolean)public ConfigureInterface getConfigureInterface()
getConfigureInterface in interface DriverInterfaceDriverInterface.getConfigureInterface()public InputInterface getInputInterface()
getInputInterface in interface DriverInterfaceDriverInterface.getInputInterface()public MapsInterface getMapsInterface()
getMapsInterface in interface DriverInterfaceDriverInterface.getMapsInterface()public VarsInterface getVarsInterface()
getVarsInterface in interface DriverInterfaceDriverInterface.getVarsInterface()public LogsInterface getLogsInterface()
getLogsInterface in interface DriverInterfaceDriverInterface.getLogsInterface()public CountersInterface getCountersInterface()
getCountersInterface in interface DriverInterfaceDriverInterface.getCountersInterface()public DebugInterface getDebugInterface()
getDebugInterface in interface DriverInterfaceDriverInterface.getDebugInterface()public FlowControlInterface getFlowControlInterface(java.lang.String testlevel)
getFlowControlInterface in interface DriverInterfaceDriverInterface.getFlowControlInterface(String)public StatusInterface getStatusInterface()
getStatusInterface in interface DriverInterfaceDriverInterface.getStatusInterface()public StatusInterface addStatusCounts(StatusInterface incstatus)
addStatusCounts in interface DriverInterfaceDriverInterface.addStatusCounts(StatusInterface)public java.lang.String getDriverName()
getDriverName in interface DriverInterfaceDriverInterface.getDriverName()public EngineInterface getTIDDriverCommands()
getTIDDriverCommands in interface DriverInterfaceDriverInterface.getTIDDriverCommands()public EngineInterface getTIDGUIlessComponentSupport()
getTIDGUIlessComponentSupport in interface DriverInterfaceDriverInterface.getTIDGUIlessComponentSupport()public EngineInterface getIPDriverCommands()
getIPDriverCommands in interface DriverInterfaceDriverInterface.getIPDriverCommands()public java.lang.String getDriverRootDir()
getDriverRootDir in interface DriverInterfacegetDriverRootDir in interface PathInterfacepublic java.lang.String getProjectRootDir()
getProjectRootDir in interface DriverInterfacegetProjectRootDir in interface PathInterfacepublic long setProjectRootDir(java.lang.String absolute_path)
setProjectRootDir in interface DriverInterfacepublic java.lang.String getRootVerifyDir()
getRootVerifyDir in interface DriverInterfacepublic long setRootVerifyDir(java.lang.String absolute_path)
setRootVerifyDir in interface DriverInterfacepublic java.lang.String getDatapoolDir()
getDatapoolDir in interface DriverInterfacegetDatapoolDir in interface PathInterfacepublic long setDatapoolDir(java.lang.String absolute_path)
setDatapoolDir in interface DriverInterfacepublic java.lang.String getBenchDir()
getBenchDir in interface DriverInterfacegetBenchDir in interface PathInterfacepublic long setBenchDir(java.lang.String absolute_path)
setBenchDir in interface DriverInterfacepublic java.lang.String getDifDir()
getDifDir in interface DriverInterfacegetDifDir in interface PathInterfacepublic long setDifDir(java.lang.String absolute_path)
setDifDir in interface DriverInterfacepublic java.lang.String getLogsDir()
getLogsDir in interface DriverInterfacegetLogsDir in interface PathInterfacepublic long setLogsDir(java.lang.String absolute_path)
setLogsDir in interface DriverInterfacepublic java.lang.String getTestDir()
getTestDir in interface DriverInterfacegetTestDir in interface PathInterfacepublic long setTestDir(java.lang.String absolute_path)
setTestDir in interface DriverInterfacepublic java.lang.String getTestName()
getTestName in interface DriverInterfaceDriverInterface.getTestName()public java.lang.String getTestLevel()
getTestLevel in interface DriverInterfaceDriverInterface.getTestLevel()public java.lang.String getCycleSuffix()
getCycleSuffix in interface DriverInterfaceDriverInterface.getCycleSuffix()public java.lang.String getCycleSeparator()
getCycleSeparator in interface DriverInterfaceDriverInterface.getCycleSeparator()public java.lang.String getSuiteSuffix()
getSuiteSuffix in interface DriverInterfaceDriverInterface.getSuiteSuffix()public java.lang.String getSuiteSeparator()
getSuiteSeparator in interface DriverInterfaceDriverInterface.getSuiteSeparator()public java.lang.String getStepSuffix()
getStepSuffix in interface DriverInterfaceDriverInterface.getStepSuffix()public java.lang.String getStepSeparator()
getStepSeparator in interface DriverInterfaceDriverInterface.getStepSeparator()public java.lang.String getLogLevel()
getLogLevel in interface DriverInterfaceDriverInterface.getLogLevel()public java.lang.String getCycleLogName()
getCycleLogName in interface DriverInterfaceDriverInterface.getCycleLogName()public long getCycleLogMode()
getCycleLogMode in interface DriverInterfaceDriverInterface.getCycleLogMode()public java.lang.String getSuiteLogName()
getSuiteLogName in interface DriverInterfaceDriverInterface.getSuiteLogName()public long getSuiteLogMode()
getSuiteLogMode in interface DriverInterfaceDriverInterface.getSuiteLogMode()public java.lang.String getStepLogName()
getStepLogName in interface DriverInterfaceDriverInterface.getStepLogName()public long getStepLogMode()
getStepLogMode in interface DriverInterfaceDriverInterface.getStepLogMode()public boolean isExpressionsEnabled()
isExpressionsEnabled in interface DriverInterfaceDriverInterface.isExpressionsEnabled()public void setExpressionsEnabled(boolean enabled)
setExpressionsEnabled in interface DriverInterfaceDriverInterface.setExpressionsEnabled(boolean)protected abstract StatusInterface processTest()
SAFSDRIVER.processTest()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||