public class EmbeddedDCHookDriver extends EmbeddedHookDriver
This is primarily a proof-of-concept at this time. Users would use a subclass of this class for runtime execution inside the DriverCommands engine.
The class has the same config requirements as JSAFSDriver:
-Dsafs.project.config=pathTo\test.ini
Example:
%SAFSDIR%\jre\bin\java.exe -Dsafs.project.config=fullPath\to\test.ini org.safs.EmbeddedDCHookDriver
EmbeddedHookDriver,
JSAFSDriver| Modifier and Type | Field and Description |
|---|---|
(package private) static boolean |
enableLogs |
static java.lang.String |
SAFS_DRIVER_COMMANDS |
HOOK_DRIVER_NAME, SAFS_PROJECT_CONFIG, TEST_INI_DEFAULT, TESTDESIGNER_PROJECT_CONFIGdata, DEBUG_MESSAGE, errorText, FAILED_MESSAGE, FAILED_OK_MESSAGE, GENERIC_ERROR, GENERIC_MESSAGE, helper, hookconfig, log, PASSED_MESSAGE, PAUSE_EXECUTION, PAUSE_SWITCH_OFF, PAUSE_SWITCH_ON, process_name, processor, REQUEST_PROCEED_TESTING, REQUEST_USER_STOPPED_SCRIPT_REQUEST, RUNNING_EXECUTION, semaphore_name, SHUTDOWN_RECORD, STAF_ERROR, STEP_EXECUTION, STEP_RETRY_EXECUTION, STEPPING_EXECUTION, STEPPING_RETRY_EXECUTION, trd_name, utils, WARNING_MESSAGE, WARNING_OK_MESSAGE| Constructor and Description |
|---|
EmbeddedDCHookDriver()
Constructor for DCJavaHook
|
| Modifier and Type | Method and Description |
|---|---|
TestRecordHelper |
getTRDData()
Instantiates a default DCTestRecordHelper for this engine.
|
static void |
main(java.lang.String[] args)
The class has the same config requirements as JSAFSDriver:
|
allowSystemExit, config, evaluateRuntimeException, getEngineDriverCommandProcessor, getEngineEngineCommandProcessor, getEngineTestStepProcessor, getGUIUtilities, getLogUtilities, getRequestProcessor, initConfigPaths, initialize, jsafs, run, setHelper, setProcessName, shutdown, startcheckConfiguration, driverShutdownRequest, getHelper, getProcessName, getSemaphoreName, getTRDName, hook_shutdown, instantiateHookConfig, setGUIUtilities, setLogUtilities, setRequestProcessor, setSemaphoreName, setTRDData, setTRDNamestatic boolean enableLogs
public static final java.lang.String SAFS_DRIVER_COMMANDS
public TestRecordHelper getTRDData()
getTRDData in class EmbeddedHookDriverJavaHook.getTRDData(),
DCTestRecordHelperpublic static void main(java.lang.String[] args)
-Dsafs.project.config=pathTo\test.ini
Example:
%SAFSDIR%\jre\bin\java.exe -Dsafs.project.config=fullPath\to\test.ini org.safs.EmbeddedDCHookDriver
args - EmbeddedHookDriver,
JSAFSDriverCopyright © SAS Institute. All Rights Reserved.