io.qase.commons.models.report.RunExecution Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qase-java-commons Show documentation
Show all versions of qase-java-commons Show documentation
Qase TMS Reporter's common classes
The newest version!
package io.qase.commons.models.report;
public class RunExecution {
public long startTime;
public long endTime;
public int duration;
public int cumulativeDuration;
public RunExecution(long startTime, long endTime) {
this.startTime = startTime;
this.endTime = endTime;
this.duration = (int) ((endTime - startTime) * 1000);
this.cumulativeDuration = 0;
}
public void track(ShortReportResult result) {
this.cumulativeDuration += result.duration;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy