Improved test for ReportManger, ArtifactValidationUtils and Sonar fixes. 17/90817/7
authork.kedron <k.kedron@partner.samsung.com>
Wed, 3 Jul 2019 06:27:48 +0000 (08:27 +0200)
committerOfir Sonsino <ofir.sonsino@intl.att.com>
Mon, 22 Jul 2019 12:12:22 +0000 (12:12 +0000)
commit4d8364e7ac25838c0aeabcd89af2e447c30d9426
tree485b2c041fbe6116f44521c3c76d85550233cfe4
parentcf1372cca6cab85810dfcc7309983ba362e99a29
Improved test for ReportManger, ArtifactValidationUtils and Sonar fixes.

Add new ReportManagerHelper to read files with reports.
Fixed log.info to print the types of exception in the messages.
Removed redundant new lines in the report files.

Issue-ID: SDC-2327
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: If0135f01a05b0936dad681d16e846a6c6560cc80
asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/utils/ReportManager.java
asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactValidationUtilsTest.java
asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ReportManagerHelper.java [new file with mode: 0644]
asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ReportManagerTest.java