summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-validation-lib
diff options
context:
space:
mode:
authorxuegao <xue.gao@intl.att.com>2021-03-11 20:04:46 +0100
committerVasyl Razinkov <vasyl.razinkov@est.tech>2021-03-12 11:52:36 +0000
commit6387653c4058694b0cb6bf53efc64e79918b87e2 (patch)
tree1e394a398da1893c422b5c327317d14a9b69d298 /openecomp-be/lib/openecomp-sdc-validation-lib
parentf54b124ccfcf596e19d19ba2d24fd2702cd73c8d (diff)
Adding unit tests
Adding unit tests to improve test coverage. Issue-ID: SDC-3428 Signed-off-by: xuegao <xue.gao@intl.att.com> Change-Id: I685f01886b314dea9b8507afd93937e070d7501d
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-validation-lib')
-rw-r--r--openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-sdk/src/main/java/org/openecomp/sdc/validation/type/NamingConventionValidationContext.java9
1 files changed, 2 insertions, 7 deletions
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;
- }
}