Skip to content

Commit

Permalink
Merge branch 'master' of github.com:serenity-bdd/serenity-core
Browse files Browse the repository at this point in the history
  • Loading branch information
wakaleo committed Dec 2, 2017
2 parents cd4a2de + fea43a8 commit 1ed27b8
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ public void addRow(Map<String, ?> data) {
addRow(new DataTableRow(new ArrayList<>(data.values())));
}

public void addRow(List<?> data) {
addRow(new DataTableRow(new ArrayList<>(data)));
}

public List<DataSetDescriptor> getDataSetDescriptors() {
return dataSetDescriptors;
}
Expand All @@ -110,6 +114,10 @@ public void appendRow(Map<String, ?> data) {
appendRow(new DataTableRow(new ArrayList<>(data.values())));
}

public void appendRow(List<?> data) {
appendRow(new DataTableRow(new ArrayList<>(data)));
}

void appendRow(DataTableRow dataTableRow) {
rows.add(dataTableRow);
}
Expand Down

0 comments on commit 1ed27b8

Please sign in to comment.