summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunder Tattavarada <statta@research.att.com>2020-03-03 15:18:32 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-03 15:18:32 +0000
commitde09625e1a7e0a7a373e494694890cdee84faed4 (patch)
treef6c3aa7c5de3ff56d6e2fb029d73c6cea5c05c80
parentc7dac331c0d460adcb452a45e3ab50fec0b88cfc (diff)
parenta4099165b9fef2504d75029287455bdf47f1246a (diff)
Merge "test case for remoteDbUtils component"
-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) {
+ }
+ }
+
}