Search in sources :

Example 1 with DiffableRow

use of cucumber.runtime.table.DiffableRow in project cucumber-jvm by cucumber.

the class DataTable method diffableRows.

public List<DiffableRow> diffableRows() {
    List<DiffableRow> result = new ArrayList<DiffableRow>();
    List<List<String>> convertedRows = raw();
    for (int i = 0; i < convertedRows.size(); i++) {
        result.add(new DiffableRow(getGherkinRows().get(i), convertedRows.get(i)));
    }
    return result;
}
Also used : ArrayList(java.util.ArrayList) DiffableRow(cucumber.runtime.table.DiffableRow) ArrayList(java.util.ArrayList) List(java.util.List)

Aggregations

DiffableRow (cucumber.runtime.table.DiffableRow)1 ArrayList (java.util.ArrayList)1 List (java.util.List)1