public interface TestRecordParametersInterface
Example: There may be a pre-defined "Logon" StepTestTable that takes two parameters; userid and password. To invoke this StepTestTable will require a test record line like:
T, Logon, , ^userid="userid", ^password="password"
This interface defines the method needed to get that line from the StepTestTable instance. The same interface is used for commands, as well.
Modifier and Type | Method and Description |
---|---|
void |
addParameter(java.lang.String parameter)
Add a parameter to be used with this test record.
|
void |
addParameters(java.lang.String[] parameters)
Add an array of parameters to be used with this test record.
|
java.lang.StringBuffer |
appendParametersToTestRecord(java.lang.StringBuffer buffer,
java.lang.String fieldSeparator)
Append the stored test record parameters during an export operation.
|
java.lang.String |
exportTestRecord(java.lang.String fieldSeparator)
Export a properly formatted test record.
|
java.util.List |
getParameters()
Return the list of parameters for this test record.
|
java.lang.String exportTestRecord(java.lang.String fieldSeparator)
fieldSeparator
- -- separates fields in the test recordjava.util.List getParameters()
void addParameter(java.lang.String parameter)
parameter
- -- might be null or zero-lengthvoid addParameters(java.lang.String[] parameters)
parameters
- -- non-null array of parameters to be addedjava.lang.StringBuffer appendParametersToTestRecord(java.lang.StringBuffer buffer, java.lang.String fieldSeparator)
buffer
- -- StringBuffer holding the test record being exportedfieldSeparator
- -- separator used to delimit parametersCopyright © SAS Institute. All Rights Reserved.