All Downloads are FREE. Search and download functionalities are using the official Maven repository.

automation.library.reporting.TextReportData Maven / Gradle / Ivy

Go to download

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;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy