public abstract class Control
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
Control.HookTestRecordData |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
appMapName
if the appmapName is null, the code will search for the appmapname
list from the safsmaps service, and use the first one
|
protected TestRecordData |
data |
protected boolean |
debug |
protected java.lang.String |
delim
the Test Step delimiter
|
protected java.lang.String |
driver
driver, any of the engines, possibly SAFS/RobotJ or SAFS/DriverCommands
|
protected java.lang.String |
fac |
protected java.lang.String |
filename |
protected boolean |
firstFoundMsg |
protected boolean |
firstMapMsg |
protected STAFHelper |
helper |
protected boolean |
nodebug |
static java.lang.String |
ROBOTJ_PROCESS_NAME |
static java.lang.String |
SAFS_SHARED_TRD_PREFIX |
static java.lang.String |
SAFS_TESTLOG_MSG |
protected java.lang.String |
testLevel |
protected long |
timeout
number of seconds to allow for the driver's response.
|
Constructor and Description |
---|
Control() |
Modifier and Type | Method and Description |
---|---|
void |
callSAFSJHook()
callSAFSJHook
|
void |
fireJRequest(java.lang.String request)
Purpose: fireJRequest, execute a test steps. |
void |
getSAFSTestRecordData()
getSAFSTestRecordData
|
protected void |
initHelper() |
protected abstract void |
invokeSetInputRecord(java.lang.String request) |
TestRecordData |
prepTestRecordData(long ln)
Purpose: prepare the test record data |
void |
setSAFSTestRecordData()
setSAFSTestRecordData
|
protected abstract void |
showStatus() |
void |
testJHook(java.util.Collection c,
java.lang.String filename)
Purpose: testJHook, execute a collection of test steps |
public static final java.lang.String ROBOTJ_PROCESS_NAME
public static final java.lang.String SAFS_SHARED_TRD_PREFIX
public static final java.lang.String SAFS_TESTLOG_MSG
protected java.lang.String driver
protected long timeout
protected STAFHelper helper
protected java.lang.String delim
protected TestRecordData data
protected java.lang.String filename
protected java.lang.String appMapName
protected java.lang.String fac
protected java.lang.String testLevel
protected boolean debug
protected boolean nodebug
protected boolean firstMapMsg
protected boolean firstFoundMsg
public void setSAFSTestRecordData() throws SAFSException
DESCRIPTION: Populates the shared "SAFS/Hook/" TestRecordData in SAFSVARS This is used to pass info TO and FROM other tools (like RobotJ).
SAFSException
- Throws exception if STAF is not installed.
public void getSAFSTestRecordData() throws SAFSException
DESCRIPTION: Populates the data structure FROM shared "SAFS/Hook/" TestRecordData in SAFSVARS. This is used to pass info TO and FROM other tools (like RobotJ).
SAFSException
- Throws "Error in loading DLL" if STAF is not installed.
public void callSAFSJHook() throws SAFSException
DESCRIPTION: Perform the full event-driven exchange for Classic to invoke a driver to process a test input record.
SAFSException
- if STAF is not installed.
public TestRecordData prepTestRecordData(long ln)
public void fireJRequest(java.lang.String request) throws SAFSException
request,
- one test stepSAFSException
public void testJHook(java.util.Collection c, java.lang.String filename) throws SAFSException
filename,
- Stringc,
- Collection of Test StepsSAFSException
protected void initHelper()
protected abstract void invokeSetInputRecord(java.lang.String request)
protected abstract void showStatus()
Copyright © SAS Institute. All Rights Reserved.