net.masterthought.cucumber.EmptyReportable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cucumber-reporting Show documentation
Show all versions of cucumber-reporting Show documentation
Provides pretty html reports for Cucumber. It works by generating html from the cucumber json file.
package net.masterthought.cucumber;
import net.masterthought.cucumber.json.support.Status;
/**
* Defines empty reportable that is usded when the build fails.
*
* @author Damian Szczepanik (damianszczepanik@github)
*/
public class EmptyReportable implements Reportable {
@Override
public String getName() {
return null;
}
@Override
public String getDeviceName() {
return null;
}
@Override
public int getFeatures() {
return 0;
}
@Override
public int getPassedFeatures() {
return 0;
}
@Override
public int getFailedFeatures() {
return 0;
}
@Override
public int getScenarios() {
return 0;
}
@Override
public int getPassedScenarios() {
return 0;
}
@Override
public int getFailedScenarios() {
return 0;
}
@Override
public int getSteps() {
return 0;
}
@Override
public int getPassedSteps() {
return 0;
}
@Override
public int getFailedSteps() {
return 0;
}
@Override
public int getSkippedSteps() {
return 0;
}
@Override
public int getUndefinedSteps() {
return 0;
}
@Override
public int getPendingSteps() {
return 0;
}
@Override
public long getDuration() {
return 0;
}
@Override
public String getFormattedDuration() {
return null;
}
@Override
public Status getStatus() {
return null;
}
}