automation.library.reporting.TextReportData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of library-reporting-extent Show documentation
Show all versions of library-reporting-extent Show documentation
The 'reporting' library can be used in conjunction with the 'cucumber' library and automatically generates output reports (Extent 4) when running BDD based cucumber testing.
The newest version!
package automation.library.reporting;
import java.util.ArrayList;
import java.util.List;
/**
*This class contains the string representative of the table
*/
public class TextReportData {
private String name;
private String duration;
private String status;
private List child;
public TextReportData(String name, String status, String duration) {
this.name = name;
this.status = status;
this.duration = duration;
this.child = new ArrayList();
}
public String getName() {
return name;
}
public String getDuration() {
return duration;
}
public String getStatus() {
return status;
}
public void addChild(TextReportData data) {
child.add(data);
}
public List getChildren(){
return child;
}
}