diff options
author | Dilip kumar Pampana <dilip.kumar.pampana@ibm.com> | 2018-07-18 11:23:24 -0400 |
---|---|---|
committer | Dilip kumar Pampana <dilip.kumar.pampana@ibm.com> | 2018-07-19 14:12:02 +0000 |
commit | 61bd9e88da260a93f66653836bf064ba8cae286d (patch) | |
tree | 67f5fd221e4b624055f5cc41b1db3a6589ed25d7 /appc-config/appc-flow-controller/provider/src/main | |
parent | 8379e2a201b65bfe911bc3887ffe6e604196302b (diff) |
Junit tests for config/flowController
Junit Tests for code coverage in config/flow-controller, added a
constructor in FlowControlDBService.java file to get the code coverage.
Issue-ID: APPC-1090
Change-Id: If1c33d1bfde58fc5f22ef2faa50380e71f2fdac4
Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
Diffstat (limited to 'appc-config/appc-flow-controller/provider/src/main')
-rw-r--r-- | appc-config/appc-flow-controller/provider/src/main/java/org/onap/appc/flow/controller/dbervices/FlowControlDBService.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/appc-config/appc-flow-controller/provider/src/main/java/org/onap/appc/flow/controller/dbervices/FlowControlDBService.java b/appc-config/appc-flow-controller/provider/src/main/java/org/onap/appc/flow/controller/dbervices/FlowControlDBService.java index 7ef232fac..733d03bf6 100644 --- a/appc-config/appc-flow-controller/provider/src/main/java/org/onap/appc/flow/controller/dbervices/FlowControlDBService.java +++ b/appc-config/appc-flow-controller/provider/src/main/java/org/onap/appc/flow/controller/dbervices/FlowControlDBService.java @@ -57,7 +57,11 @@ public class FlowControlDBService { serviceLogic = new SqlResource(); } } - + + protected FlowControlDBService(SqlResource svcLogic) { + serviceLogic = svcLogic; + } + public static FlowControlDBService initialise() { if (dgGeneralDBService == null) { dgGeneralDBService = new FlowControlDBService(); |