public class CycleTestTable extends AbstractTestTable
Once the table is created the user can commence adding Commands and SuiteTestTables to build up the test records that make up this test table.
Example:
CycleTestTable regression = new CycleTestTable("Regression");
regression.add( DDDriverCommands.setApplicationMap("MyApp.MAP"));
regression.add( new LoginWinTests() );
regression.add( new MainWinTests() );
...
_commands, CYCLE_TABLE_FILE_EXTENSION, DEFAULT_FIELD_SEPARATOR, STEP_TABLE_FILE_EXTENSION, SUITE_TABLE_FILE_EXTENSION
_parameters, BLOCKID_RECORD_TYPE, BREAKPOINT_RECORD_TYPE, COMPONENT_FUNCTION_FAILOK_RECORD_TYPE, COMPONENT_FUNCTION_RECORD_TYPE, COMPONENT_FUNCTION_WARNOK_RECORD_TYPE, DRIVER_COMMAND_FAILOK_RECORD_TYPE, DRIVER_COMMAND_RECORD_TYPE, DRIVER_COMMAND_WARNOK_RECORD_TYPE, EMPTY_PARAMETER, ENGINE_COMMAND_FAILOK_RECORD_TYPE, ENGINE_COMMAND_RECORD_TYPE, ENGINE_COMMAND_WARNOK_RECORD_TYPE, PROJECT_COMMAND_RECORD_TYPE, SKIPPED_RECORD_TYPE
Constructor and Description |
---|
CycleTestTable(java.lang.String testTableName)
Create a new instance of a CycleTestTable with the provided name.
|
Modifier and Type | Method and Description |
---|---|
void |
add(SuiteTestTable table)
Add a SuiteTestTable to the CycleTestTable just like any other valid command.
|
protected void |
validateCommand(Command command)
Called by internal routines to validate commands as they are added.
|
add, exportTestRecord, exportToCSV, getCommands, getSAFSFileName, getTestRecordFieldSeparator, getTestTableFileExtension, getTestTableName, isExported, setTestRecordFieldSeparator, setTestTableFileExtension
addParameter, addParameters, appendParametersToTestRecord, getParameters
public CycleTestTable(java.lang.String testTableName)
testTableName
- -- the name for this CycleTestTablejava.lang.IllegalArgumentException
- if the provided name is null or zero-lengthprotected void validateCommand(Command command)
validateCommand
in class AbstractTestTable
command
- -- the Command to be added to the tablejava.lang.IllegalArgumentException
- if a disallowed command is attemptedpublic void add(SuiteTestTable table)
table
- SuiteTestTable to be added\invoked just like any other command.java.lang.IllegalArgumentException
- if the table is nullCopyright © SAS Institute. All Rights Reserved.