Rewrite LoggerControllerTests 86/85786/4
authorJoanna Jeremicz <joanna.jeremicz@nokia.com>
Tue, 26 Feb 2019 11:31:43 +0000 (12:31 +0100)
committerJoanna Jeremicz <joanna.jeremicz@nokia.com>
Fri, 19 Apr 2019 11:03:50 +0000 (13:03 +0200)
commitefef025b64cc03adf5b429170bcd39e4540a43a7
tree63da705c076f4bec77c7845254a9e41d20cff6b4
parente6571c6df02776c335b156b0fb44e31d723ffa06
Rewrite LoggerControllerTests

Add JUnit tests with minor code refactor

Issue-ID: VID-384
Change-Id: Ic3bee8e1f6ee58a10053bb0ad2d006912965da1a
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
vid-app-common/src/main/java/org/onap/vid/controller/LogfilePathCreator.java [new file with mode: 0644]
vid-app-common/src/main/java/org/onap/vid/controller/LoggerController.java
vid-app-common/src/test/java/org/onap/vid/controller/LogfilePathCreatorTest.java [new file with mode: 0644]
vid-app-common/src/test/java/org/onap/vid/controller/LoggerControllerTest.java
vid-app-common/src/test/resources/loggerFiles/emptyLog.log [new file with mode: 0644]
vid-app-common/src/test/resources/loggerFiles/validLog.log [new file with mode: 0644]