From a3c95e21a61058ed7bddc6d63be4becd30fe23a2 Mon Sep 17 00:00:00 2001 From: mojahidi Date: Wed, 13 Dec 2017 17:04:17 +0530 Subject: Fixed sonar issues - HeatResourceValidator Done refactoring as per given comment Change-Id: Id1cd659af6ddd9e24d281a1bb0d1ae9431bcaf98 Issue-ID: SDC-343 Signed-off-by: mojahidi --- .../sdc/validation/impl/validators/HeatResourceValidatorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/test') diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/test/java/org/openecomp/sdc/validation/impl/validators/HeatResourceValidatorTest.java b/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/test/java/org/openecomp/sdc/validation/impl/validators/HeatResourceValidatorTest.java index 2c3b05eb4d..d073d5050b 100644 --- a/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/test/java/org/openecomp/sdc/validation/impl/validators/HeatResourceValidatorTest.java +++ b/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/test/java/org/openecomp/sdc/validation/impl/validators/HeatResourceValidatorTest.java @@ -18,7 +18,7 @@ public class HeatResourceValidatorTest { "/org/openecomp/validation/validators/guideLineValidator/baseHeatDoesNotExposeNetwork/parseException/"); Assert.assertEquals(messages.size(), 1); Assert.assertEquals(messages.get("first.yaml").getErrorMessageList().get(0).getMessage(), - "ERROR: [HTR1]: Invalid HEAT format problem - [while scanning for the next token\n" + + "ERROR: [RBV2]: Invalid HEAT format problem - [while scanning for the next token\n" + "found character '\\t(TAB)' that cannot start any token. (Do not use \\t(TAB) for indentation)\n" + " in 'reader', line 5, column 1:\n" + " \t\t\tresources:\n" + -- cgit 1.2.3-korg