summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk
diff options
context:
space:
mode:
authorIndrijeet kumar <indriku1@in.ibm.com>2020-02-05 15:20:36 +0530
committerSunder Tattavarada <statta@research.att.com>2020-02-28 16:29:56 +0000
commita4099165b9fef2504d75029287455bdf47f1246a (patch)
tree2e2fdf2887dc7cf8fd2289aa1d8ce5196be3c037 /ecomp-sdk
parent72c2f40e9220af16f23f3265f85363bda2b8f1c9 (diff)
test case for remoteDbUtils component
test case for remoteDbUtils component Issue-ID: PORTAL-814 Change-Id: I705aa8b9b757ea9d02bbbcb5381eb4eaf2e60342 Signed-off-by: Indrijeet Kumar <indriku1@in.ibm.com>
Diffstat (limited to 'ecomp-sdk')
-rw-r--r--ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/system/fusion/RemoteDbUtilsTest.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/system/fusion/RemoteDbUtilsTest.java b/ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/system/fusion/RemoteDbUtilsTest.java
index 1a7d2a8e..9d9f9124 100644
--- a/ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/system/fusion/RemoteDbUtilsTest.java
+++ b/ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/system/fusion/RemoteDbUtilsTest.java
@@ -70,4 +70,15 @@ public class RemoteDbUtilsTest {
}
+ @Test
+ public void testClearConnection()
+ {
+ RemoteDbUtils remoteDbUtils=new RemoteDbUtils();
+ try {
+ remoteDbUtils.clearConnection(connection);
+ }
+ catch(NullPointerException e) {
+ }
+ }
+
}