| Modifiers | Name | Description |
|---|---|---|
protected boolean |
hasHeaders |
|
protected String |
sourceUrl |
| Constructor and description |
|---|
protected AbstractTestData
(String sourceUrl, boolean hasHeaders) |
| Type | Name and description |
|---|---|
void |
activeHeaders(boolean active)Set if this test data has headers |
TestDataInfo |
getDataInfo() |
protected int |
getHeaderRowIdx() |
Object |
getObjectValue(int columnIndex, int rowIndex)Get raw value of the test data at a cell with the column index and row index |
Object |
getObjectValue(String columnName, int rowIndex)Get raw value of the test data at a cell with the column name and row index |
String |
getSourceUrl()Get the url of the data source |
String |
getValue(int columnIndex, int rowIndex)Get value (in String) of the test data at a cell with the column index and row index |
String |
getValue(String columnName, int rowIndex)Get value (in String) of the test data at a cell with the column name and row index |
boolean |
hasHeaders()Check if this test data has headers |
protected Object |
internallyGetValue(int columnIndex, int rowIndex) |
protected Object |
internallyGetValue(String columnName, int rowIndex) |
protected void |
verifyColumnIndex(int columnIndex) |
protected void |
verifyColumnName(String columnName) |
protected void |
verifyRowIndex(int rowIndex) |
Set if this test data has headers
active - true to set this test data to use headersGet raw value of the test data at a cell with the column index and row index
columnIndex - index of the column, starting from 1rowIndex - row numberGet raw value of the test data at a cell with the column name and row index
columnName - column namerowIndex - row index (row number), starting from 1Get the url of the data source
Get value (in String) of the test data at a cell with the column index and row index
columnIndex - column index (column number), starting from 1rowIndex - row index (row number), starting from 1Get value (in String) of the test data at a cell with the column name and row index
columnName - column namerowIndex - row index (row number), starting from 1Check if this test data has headers