parent
8912eb4809
commit
d49cfaa559
|
@ -395,7 +395,7 @@ public class ApiScenarioReportStructureService {
|
|||
AtomicLong stepErrorCode = new AtomicLong();
|
||||
AtomicLong stepUnExecute = new AtomicLong();
|
||||
calculateStep(stepList, stepError, stepTotal, stepErrorCode, stepUnExecute, false);
|
||||
reportDTO.setScenarioStepSuccess((stepTotal.longValue() - stepError.longValue() - stepErrorCode.longValue()));
|
||||
reportDTO.setScenarioStepSuccess((stepTotal.longValue() - stepError.longValue() - stepErrorCode.longValue() -stepUnExecute.longValue()));
|
||||
reportDTO.setScenarioStepTotal(stepTotal.longValue());
|
||||
reportDTO.setScenarioStepError(stepError.longValue());
|
||||
reportDTO.setScenarioStepErrorReport(stepErrorCode.longValue());
|
||||
|
|
|
@ -15,5 +15,6 @@ public class TestPlanScenarioStepCountDTO {
|
|||
private int scenarioStepErrorReport;
|
||||
private List<String> underwayIds = new ArrayList<>();
|
||||
private int scenarioStepUnderway;
|
||||
private int scenarioStepUnExecute;
|
||||
}
|
||||
|
||||
|
|
|
@ -495,6 +495,7 @@ public class TestPlanScenarioCaseService {
|
|||
stepCount.setScenarioStepSuccess(stepCount.getScenarioStepSuccess() + jsonObject.getIntValue("scenarioStepSuccess"));
|
||||
stepCount.setScenarioStepError(stepCount.getScenarioStepError() + jsonObject.getIntValue("scenarioStepError"));
|
||||
stepCount.setScenarioStepErrorReport(stepCount.getScenarioStepErrorReport() + jsonObject.getIntValue("scenarioStepErrorReport"));
|
||||
stepCount.setScenarioStepUnExecute(stepCount.getScenarioStepUnExecute() + jsonObject.getIntValue("scenarioStepUnExecuteReport"));
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue