public class SAFSROBOTJTest extends SAFSDRIVER
As is required for the Configurable initialization, there must be a valid ConfigureInterface from which to extract configuration information. That is why we subclass the SAFSDRIVER.class, and override its run() method.
See SAFSROBOTJ
for info on config file options.
This test has some STAF setup requirements:
Sample invocation:
java -Dsafs.project.config=path2/aconfig.ini _ org.safs.tools.enignes.test.SAFSROBOTJTest
Modifier and Type | Field and Description |
---|---|
(package private) SAFSROBOTJ |
engine |
(package private) DCTestRecordHelper |
testRecordData |
cycleLog, cycleStack, driverConfigPath, engineObjects, enginePreference, engines, locator, projectConfigPath, safsmonitor, status, stepLog, stepStack, suiteLog, suiteStack
benchSource, configInfo, core, counts, cycleflowcontrol, cycleLinkedFac, cycleLogMode, cycleLogName, cycleSeparator, cycleSuffix, datapoolSource, debug, difSource, driverName, driverRootDir, exitCycle, exitSuite, expressionsOn, input, ipcommands, logLevel, logs, logsSource, maps, millisBetweenRecords, perTableFlowControl, projectRootDir, statuscounts, stepflowcontrol, stepLinkedFac, stepLogMode, stepLogName, stepSeparator, stepSuffix, suiteflowcontrol, suiteLinkedFac, suiteLogMode, suiteLogName, suiteSeparator, suiteSuffix, testLevel, testName, testSource, tidcommands, tidcomponent, vars, verifySource
DRIVER_CONTROL_POF_VAR, DRIVER_CONTROL_POW_VAR, DRIVER_CONTROL_VAR
Constructor and Description |
---|
SAFSROBOTJTest() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
protected void |
process(java.lang.String inputrecord) |
void |
run()
Bootstrap a newly instanced driver.
|
processTest
_resetModifiedProperties, addConfigureInterfaceSource, clearEnginePreferences, closeTestLogs, endEnginePreference, getConfigureLocator, getEngineInterface, getEnginePreferences, getEngines, getFullEngineClass, getGenericInterface, getLogID, getParameterValue, getPreferredEngine, getPreferredEngineIndex, getProjectDirectoryInfo, getRootDirectoryInfo, getTestLevelSeparator, hasEnginePreferences, initializeMiscConfigInfo, initializePresetVariables, initializeRuntimeEngines, initializeRuntimeInterface, initLog, insertConfigureInterfaceSource, isModifiedConfig, isModifiedRoot, isPreferredEngine, isPreferredEngine, launchSAFSMonitor, openTestLogs, parseLogMode, shutdownRuntimeEngines, shutdownRuntimeInterface, startEnginePreference, validateLogParameters, validateRootConfigureParameters, validateTestParameters
addStatusCounts, getBenchDir, getConfigureInterface, getCoreInterface, getCountersInterface, getCycleLogMode, getCycleLogName, getCycleSeparator, getCycleSuffix, getDatapoolDir, getDebugInterface, getDifDir, getDriverName, getDriverRootDir, getFlowControlInterface, getInputInterface, getIPDriverCommands, getLogLevel, getLogsDir, getLogsInterface, getMapsInterface, getMillisBetweenRecords, getProjectRootDir, getRootVerifyDir, getStatusInterface, getStepLogMode, getStepLogName, getStepSeparator, getStepSuffix, getSuiteLogMode, getSuiteLogName, getSuiteSeparator, getSuiteSuffix, getTestDir, getTestLevel, getTestName, getTIDDriverCommands, getTIDGUIlessComponentSupport, getVarsInterface, isExitCycle, isExitSuite, isExpressionsEnabled, isPerTableFlowControl, setBenchDir, setDatapoolDir, setDifDir, setExitCycle, setExitSuite, setExpressionsEnabled, setLogsDir, setMillisBetweenRecords, setPerTableFlowControl, setProjectRootDir, setRootVerifyDir, setTestDir
SAFSROBOTJ engine
DCTestRecordHelper testRecordData
protected void process(java.lang.String inputrecord)
public void run()
DefaultDriver
The model for overall driver operation is that any command-line arguments or configuration file arguments that prevent normal execution will generate an IllegalArgumentException. Those IllegalArgumentExceptions are caught here and sent to stderr output. We then return immediately from this function.
DefaultDriver.validateRootConfigureParameters()
DefaultDriver.validateTestParameters()
DefaultDriver.validateLogParameters()
DefaultDriver.initializeRuntimeInterface()
DefaultDriver.launchSAFSMonitor()
DefaultDriver.initializePresetVariables()
DefaultDriver.initializeMiscConfigInfo()
DefaultDriver.initializeRuntimeEngines()
DefaultDriver.openTestLogs()
AbstractDriver.processTest()
DefaultDriver.closeTestLogs()
DefaultDriver.shutdownRuntimeEngines()
DefaultDriver.shutdownRuntimeInterface()
SAFSMonitorFrame.dispose()
run
in class DefaultDriver
SAFSDRIVER.main(String[])
public static void main(java.lang.String[] args)