net.thucydides.core.model.DataTableRow Maven / Gradle / Ivy
The newest version!
package net.thucydides.core.model;
import com.google.common.base.Function;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import java.util.List;
public class DataTableRow {
private List extends Object> values; // A list of strings or integers
private TestResult result;
public DataTableRow(List extends Object> values) {
this(values, TestResult.UNDEFINED);
}
public DataTableRow(List extends Object> values, TestResult result) {
this.values = ImmutableList.copyOf(values);
this.result = result;
}
public List extends Object> getValues() {
return ImmutableList.copyOf(values);
}
public List getStringValues() {
return Lists.transform(values, new Function
© 2015 - 2025 Weber Informatics LLC | Privacy Policy