Commit 230f7cd1 authored by wdy's avatar wdy

确认车型试验

parent 5fc288d2
......@@ -73,7 +73,7 @@ public class StrategyModelTestTaskPending implements StrategyModelTestTask, Init
List<CaseStatistics> caseStatisticsList = jsonObject.getList("case_statistics", CaseStatistics.class);
if (CollUtil.isNotEmpty(caseStatisticsList)) {
caseStatisticsList.forEach(obj -> {
if (CaseStatistics.CASE_STATUS_FAILED.equals(obj.status) || CaseStatistics.CASE_STATUS_PASSED.equals(obj.status)) {
if (CaseStatistics.CASE_STATUS_FAILED.equals(obj.status) || CaseStatistics.CASE_STATUS_PASSED.equals(obj.status) || CaseStatistics.CASE_STATUS_IGNORED.equals(obj.status)) {
currentCount.updateAndGet(v -> v + obj.getCount());
}
if (CaseStatistics.CASE_STATUS_FAILED.equals(obj.status)) {
......@@ -128,6 +128,11 @@ public class StrategyModelTestTaskPending implements StrategyModelTestTask, Init
*/
private static final String CASE_STATUS_FAILED = "FAILED";
/**
* 已忽略
*/
private static final String CASE_STATUS_IGNORED = "IGNORED";
/**
* 数量
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment