fix(测试跟踪): 测试计划报告执行率计算有误
--bug=1016931 --user=陈建星 【测试跟踪】报告列表查看测试报告,执行率计算错误 https://www.tapd.cn/55049933/s/1246742
This commit is contained in:
parent
e2b84cab3a
commit
7bd9392b8c
|
@ -67,7 +67,7 @@ public class TestPlanUtils {
|
||||||
String status = item.getStatus();
|
String status = item.getStatus();
|
||||||
if (StringUtils.isNotBlank(status)
|
if (StringUtils.isNotBlank(status)
|
||||||
&& !StringUtils.equalsAnyIgnoreCase(status, TestPlanTestCaseStatus.Underway.name(), TestPlanTestCaseStatus.Prepare.name(),
|
&& !StringUtils.equalsAnyIgnoreCase(status, TestPlanTestCaseStatus.Underway.name(), TestPlanTestCaseStatus.Prepare.name(),
|
||||||
ExecuteResult.UN_EXECUTE.getValue(), ExecuteResult.STOP.getValue())) {
|
ExecuteResult.UN_EXECUTE.toString(), ExecuteResult.STOP.toString())) {
|
||||||
// 计算执行过的数量
|
// 计算执行过的数量
|
||||||
report.setExecuteCount(report.getExecuteCount() + 1);
|
report.setExecuteCount(report.getExecuteCount() + 1);
|
||||||
if (StringUtils.equals(successStatus, status)) {
|
if (StringUtils.equals(successStatus, status)) {
|
||||||
|
|
Loading…
Reference in New Issue