From 6387653c4058694b0cb6bf53efc64e79918b87e2 Mon Sep 17 00:00:00 2001 From: xuegao Date: Thu, 11 Mar 2021 20:04:46 +0100 Subject: Adding unit tests Adding unit tests to improve test coverage. Issue-ID: SDC-3428 Signed-off-by: xuegao Change-Id: I685f01886b314dea9b8507afd93937e070d7501d --- .../sdc/validation/type/NamingConventionValidationContext.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-sdk/src') diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-sdk/src/main/java/org/openecomp/sdc/validation/type/NamingConventionValidationContext.java b/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-sdk/src/main/java/org/openecomp/sdc/validation/type/NamingConventionValidationContext.java index 25b846e42b..7bad45f5fd 100644 --- a/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-sdk/src/main/java/org/openecomp/sdc/validation/type/NamingConventionValidationContext.java +++ b/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-sdk/src/main/java/org/openecomp/sdc/validation/type/NamingConventionValidationContext.java @@ -15,6 +15,7 @@ */ package org.openecomp.sdc.validation.type; +import lombok.AllArgsConstructor; import org.openecomp.sdc.heat.datatypes.model.HeatOrchestrationTemplate; import org.openecomp.sdc.validation.ValidationContext; @@ -26,15 +27,9 @@ import lombok.EqualsAndHashCode; */ @Getter @EqualsAndHashCode +@AllArgsConstructor public class NamingConventionValidationContext implements ValidationContext { private HeatOrchestrationTemplate heatOrchestrationTemplate; private String envFileName; - - public NamingConventionValidationContext( - HeatOrchestrationTemplate heatOrchestrationTemplate, - String envFileName) { - this.heatOrchestrationTemplate = heatOrchestrationTemplate; - this.envFileName = envFileName; - } } -- cgit 1.2.3-korg