chore: 处理lombok警告

This commit is contained in:
CaptainB 2024-06-13 16:43:53 +08:00 committed by 刘瑞斌
parent b17bacd723
commit 7f7819af89
2 changed files with 8 additions and 1 deletions

View File

@ -16,13 +16,18 @@ import lombok.NoArgsConstructor;
public class CaseCount { public class CaseCount {
@Schema(description = "成功用例数量") @Schema(description = "成功用例数量")
@Builder.Default
private Integer success = 0; private Integer success = 0;
@Schema(description = "失败用例数量") @Schema(description = "失败用例数量")
@Builder.Default
private Integer error = 0; private Integer error = 0;
@Schema(description = "误报用例数量") @Schema(description = "误报用例数量")
@Builder.Default
private Integer fakeError = 0; private Integer fakeError = 0;
@Schema(description = "阻塞用例数量") @Schema(description = "阻塞用例数量")
@Builder.Default
private Integer block = 0; private Integer block = 0;
@Schema(description = "未执行用例数量") @Schema(description = "未执行用例数量")
@Builder.Default
private Integer pending = 0; private Integer pending = 0;
} }

View File

@ -13,10 +13,12 @@ import java.util.Map;
@NoArgsConstructor @NoArgsConstructor
@AllArgsConstructor @AllArgsConstructor
public class TestPlanReportModuleParam { public class TestPlanReportModuleParam {
@Builder.Default
private Map<String, String> functionalModuleMap = new HashMap<>(); private Map<String, String> functionalModuleMap = new HashMap<>();
@Builder.Default
private Map<String, String> apiModuleMap = new HashMap<>(); private Map<String, String> apiModuleMap = new HashMap<>();
@Builder.Default
private Map<String, String> scenarioModuleMap = new HashMap<>(); private Map<String, String> scenarioModuleMap = new HashMap<>();
} }