public class SuiteTestTable extends AbstractTestTable
Once the table is created the user can commence adding Commands and StepTestTables to build up the test records that make up this test table.
Example:
SuiteTestTable loginTests = new SuiteTestTable("LoginTests");
loginTests.add( DDDriverCommands.setApplicationMap("MyApp.MAP"));
loginTests.add( new BadUserIDTest() );
loginTests.add( new BadPasswordTest() );
loginTests.add( new GoodLoginTest() );
...
_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 |
|---|
SuiteTestTable(java.lang.String testTableName)
Create a new instance of a SuiteTestTable with the provided name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(StepTestTable table)
Add a StepTestTable to the SuiteTestTable 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, setTestTableFileExtensionaddParameter, addParameters, appendParametersToTestRecord, getParameterspublic SuiteTestTable(java.lang.String testTableName)
testTableName - -- the name for this SuiteTestTablejava.lang.IllegalArgumentException - if the provided name is null or zero-lengthprotected void validateCommand(Command command)
validateCommand in class AbstractTestTablecommand - -- the Command to be added to the tablejava.lang.IllegalArgumentException - if a disallowed command is attemptedpublic void add(StepTestTable table)
table - StepTestTable to be added\invoked just like any other command.java.lang.IllegalArgumentException - if the table is nullCopyright © SAS Institute. All Rights Reserved.