public class DataTable extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DataTable.DataTableBuilder |
static class |
DataTable.RowValueAccessor |
| Modifier | Constructor and Description |
|---|---|
protected |
DataTable(List<String> headers,
List<DataTableRow> rows) |
protected |
DataTable(List<String> headers,
List<DataTableRow> rows,
boolean predefinedRows,
String scenarioOutline,
List<DataSetDescriptor> dataSetDescriptors,
AtomicInteger currentRow) |
protected |
DataTable(List<String> headers,
List<DataTableRow> rows,
boolean predefinedRows,
String scenarioOutline,
List<DataSetDescriptor> dataSetDescriptors,
AtomicInteger currentRow,
Collection<TestTag> tags) |
protected |
DataTable(List<String> headers,
List<DataTableRow> rows,
String title,
String description) |
protected |
DataTable(String scenarioOutline,
List<String> headers,
List<DataTableRow> rows,
String title,
String description,
List<DataSetDescriptor> dataSetDescriptors,
Map<Integer,Long> lineNumbersForEachRow) |
protected DataTable(List<String> headers, List<DataTableRow> rows)
protected DataTable(List<String> headers, List<DataTableRow> rows, String title, String description)
protected DataTable(String scenarioOutline, List<String> headers, List<DataTableRow> rows, String title, String description, List<DataSetDescriptor> dataSetDescriptors, Map<Integer,Long> lineNumbersForEachRow)
protected DataTable(List<String> headers, List<DataTableRow> rows, boolean predefinedRows, String scenarioOutline, List<DataSetDescriptor> dataSetDescriptors, AtomicInteger currentRow)
protected DataTable(List<String> headers, List<DataTableRow> rows, boolean predefinedRows, String scenarioOutline, List<DataSetDescriptor> dataSetDescriptors, AtomicInteger currentRow, Collection<TestTag> tags)
public Collection<TestTag> getTags()
public void setScenarioOutline(String scenarioOutline)
public static DataTable.DataTableBuilder withHeaders(List<String> headers)
public List<DataTableRow> getRows()
public DataTable.RowValueAccessor row(int rowNumber)
public DataTable.RowValueAccessor nextRow()
public DataTable.RowValueAccessor currentRow()
public void addRow(List<?> data)
public List<DataSetDescriptor> getDataSetDescriptors()
public void appendRow(List<?> data)
public void appendRow(DataTableRow dataTableRow)
public void addRows(List<DataTableRow> rows)
public int getSize()
public List<TestStep> filterStepsWithTagsFrom(List<TestStep> testSteps, Collection<TestTag> tags)
public DataTable containingOnlyRowsWithTagsFrom(Collection<TestTag> filterTags)
public long getLineNumberForRow(int row)
Copyright © 2022. All rights reserved.