Fixed resources not being closed in config tests 67/20167/2
authorvempo <vitaliy.emporopulo@amdocs.com>
Mon, 23 Oct 2017 15:14:56 +0000 (18:14 +0300)
committervempo <vitaliy.emporopulo@amdocs.com>
Mon, 23 Oct 2017 15:39:42 +0000 (18:39 +0300)
commit7ef9ac0d813c9c2a029879a0137de1865d980b73
tree5f9e167ab7b39b085aa784c9537c74f8d3322d4c
parent1a480bc8be16c11991760e009c22cb9a555067bd
Fixed resources not being closed in config tests

Fixed static analysis violations in the openecomp-configuration-management-test
module of SDC onboarding - high-severity issues like not releasing resources
(e.g. FileInputStream), and some minor code cleanup.

Change-Id: I6f8e64577499213d06f5ff3a22ea39f6a46fdccd
Issue-ID: SDC-291
Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
common/openecomp-common-configuration-management/openecomp-configuration-management-test/src/test/java/org/openecomp/config/test/ConfigSourceLocationTest.java
common/openecomp-common-configuration-management/openecomp-configuration-management-test/src/test/java/org/openecomp/config/test/DynamicConfigurationTest.java
common/openecomp-common-configuration-management/openecomp-configuration-management-test/src/test/java/org/openecomp/config/test/NodeSpecificCLITest.java
common/openecomp-common-configuration-management/openecomp-configuration-management-test/src/test/java/org/openecomp/config/test/NotificationForNodeConfigTest.java
common/openecomp-common-configuration-management/openecomp-configuration-management-test/src/test/java/org/openecomp/config/test/NotificationOnPropValTest.java
common/openecomp-common-configuration-management/openecomp-configuration-management-test/src/test/java/org/openecomp/config/test/UnregisterNotificationTest.java
common/openecomp-common-configuration-management/openecomp-configuration-management-test/src/test/java/org/openecomp/config/test/ValidateNodeConfigTest.java