Add junit and refactor code 01/37501/9
authoreikrwaq <waqas.ikram@ericsson.com>
Wed, 21 Mar 2018 15:31:05 +0000 (15:31 +0000)
committereikrwaq <waqas.ikram@ericsson.com>
Thu, 22 Mar 2018 15:00:51 +0000 (15:00 +0000)
commit586e553d141e087566a6b064121910089cf52cff
tree73cac4eb73e083e567346488e1ac9b4c895b90df
parent64627f345bfe5e5bd62524783594655dd8456ace
Add junit and refactor code

Adding Junit tests in modules and refactoring code

Change-Id: I887f1b2371d9e3d4a4e2ce6e7e1f3c97a361f283
Issue-ID: POLICY-704
Signed-off-by: eikrwaq <waqas.ikram@ericsson.com>
25 files changed:
site-manager/pom.xml
site-manager/src/main/java/org/onap/policy/common/sitemanager/Main.java
site-manager/src/main/java/org/onap/policy/common/sitemanager/data/service/DatabaseAccessService.java [new file with mode: 0644]
site-manager/src/main/java/org/onap/policy/common/sitemanager/data/service/DatabaseAccessServiceImpl.java [new file with mode: 0644]
site-manager/src/main/java/org/onap/policy/common/sitemanager/exception/IllegalCommandLineArgumentException.java [new file with mode: 0644]
site-manager/src/main/java/org/onap/policy/common/sitemanager/exception/MissingPropertyException.java [new file with mode: 0644]
site-manager/src/main/java/org/onap/policy/common/sitemanager/exception/NoMatchingEntryFoundException.java [new file with mode: 0644]
site-manager/src/main/java/org/onap/policy/common/sitemanager/exception/PropertyFileProcessingException.java [new file with mode: 0644]
site-manager/src/main/java/org/onap/policy/common/sitemanager/utils/CommandLineHelper.java [new file with mode: 0644]
site-manager/src/main/java/org/onap/policy/common/sitemanager/utils/Constants.java [new file with mode: 0644]
site-manager/src/main/java/org/onap/policy/common/sitemanager/utils/ErrorMessages.java [new file with mode: 0644]
site-manager/src/main/java/org/onap/policy/common/sitemanager/utils/ExtraCommandLineArgument.java [new file with mode: 0644]
site-manager/src/main/java/org/onap/policy/common/sitemanager/utils/JmxOpProcessor.java [new file with mode: 0644]
site-manager/src/main/java/org/onap/policy/common/sitemanager/utils/PersistenceUnitPropertiesProvider.java [new file with mode: 0644]
site-manager/src/main/java/org/onap/policy/common/sitemanager/utils/Printable.java [new file with mode: 0644]
site-manager/src/test/java/org/onap/policy/common/sitemanager/MainTest.java [new file with mode: 0644]
site-manager/src/test/java/org/onap/policy/common/sitemanager/MainTestRunner.java [new file with mode: 0644]
site-manager/src/test/java/org/onap/policy/common/sitemanager/exception/IllegalCommandLineArgumentExceptionTest.java [new file with mode: 0644]
site-manager/src/test/java/org/onap/policy/common/sitemanager/exception/MissingPropertyExceptionTest.java [new file with mode: 0644]
site-manager/src/test/java/org/onap/policy/common/sitemanager/exception/NoMatchingEntryFoundExceptionTest.java [new file with mode: 0644]
site-manager/src/test/java/org/onap/policy/common/sitemanager/exception/PropertyFileProcessingExceptionTest.java [new file with mode: 0644]
site-manager/src/test/java/org/onap/policy/common/sitemanager/utils/CommandLineHelperTest.java [new file with mode: 0644]
site-manager/src/test/java/org/onap/policy/common/sitemanager/utils/ExtraCommandLineArgumentTest.java [new file with mode: 0644]
site-manager/src/test/java/org/onap/policy/common/sitemanager/utils/PersistenceUnitPropertiesProviderTest.java [new file with mode: 0644]
site-manager/src/test/java/org/onap/policy/common/sitemanager/utils/PrintableImpl.java [new file with mode: 0644]