net.thucydides.core.model
Class DataTable
java.lang.Object
net.thucydides.core.model.DataTable
public class DataTable
- extends Object
A table of test data
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
withHeaders
public static DataTable.DataTableBuilder withHeaders(List<String> headers)
getHeaders
public List<String> getHeaders()
getRows
public List<DataTableRow> getRows()
row
public DataTable.RowValueAccessor row(int rowNumber)
nextRow
public DataTable.RowValueAccessor nextRow()
atLastRow
public boolean atLastRow()
currentRow
public DataTable.RowValueAccessor currentRow()
addRow
public void addRow(Map<String,? extends Object> data)
addRow
public void addRow(DataTableRow dataTableRow)
addRows
public void addRows(List<DataTableRow> rows)
hasPredefinedRows
public boolean hasPredefinedRows()
getSize
public int getSize()
Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.