summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-07-23 23:06:04 +0530
committeranusha dasari <danush10@in.ibm.com>2019-07-25 06:59:10 +0000
commit46c7c43043d8f48dc866e73c752248f4d466b3a0 (patch)
treed2433052d7dc0674a0636238ab49260dbdcca123
parent69a3d84baf4c5b312b6fd402616881d4dd6333a3 (diff)
JUNIT-ConfigurationException.java
JUNIT for ConfigurationException.java Issue-ID: CCSDK-1520 Change-Id: I64e50083b9b0fe40fa0ba32723e30adb0dbce08e Signed-off-by: anushadasari <danush10@in.ibm.com>
-rw-r--r--dblib/provider/src/test/java/org/onap/ccsdk/sli/core/dblib/DBLibExceptionTest.java14
-rw-r--r--sli/common/src/test/java/org/onap/ccsdk/sli/core/sli/ConfigurationExceptionTestt.java30
-rw-r--r--sli/features/features-sli/pom.xml2
3 files changed, 31 insertions, 15 deletions
diff --git a/dblib/provider/src/test/java/org/onap/ccsdk/sli/core/dblib/DBLibExceptionTest.java b/dblib/provider/src/test/java/org/onap/ccsdk/sli/core/dblib/DBLibExceptionTest.java
deleted file mode 100644
index cab24042c..000000000
--- a/dblib/provider/src/test/java/org/onap/ccsdk/sli/core/dblib/DBLibExceptionTest.java
+++ /dev/null
@@ -1,14 +0,0 @@
-package org.onap.ccsdk.sli.core.dblib;
-
-import static org.junit.Assert.*;
-
-import org.junit.Test;
-
-public class DBLibExceptionTest {
-
- @Test
- public void testDBLibException() {
- assertNotNull(new DBLibException("test"));
- }
-
-}
diff --git a/sli/common/src/test/java/org/onap/ccsdk/sli/core/sli/ConfigurationExceptionTestt.java b/sli/common/src/test/java/org/onap/ccsdk/sli/core/sli/ConfigurationExceptionTestt.java
new file mode 100644
index 000000000..ef7492366
--- /dev/null
+++ b/sli/common/src/test/java/org/onap/ccsdk/sli/core/sli/ConfigurationExceptionTestt.java
@@ -0,0 +1,30 @@
+package org.onap.ccsdk.sli.core.sli;
+
+import static org.junit.Assert.*;
+
+import org.junit.Test;
+
+public class ConfigurationExceptionTestt {
+
+
+ @Test
+ public void ConfigurationExceptionTest() {
+ assertNotNull(new ConfigurationException());
+
+ }
+
+ @Test
+ public void ConfigurationExceptionTestString() {
+ assertNotNull(new ConfigurationException("JUnit Test"));
+
+ }
+
+ @Test
+ public void ConfigurationExceptionTestStringThrowable() {
+ assertNotNull(new ConfigurationException("JUnit Test", new Exception("JUnit Test")));
+
+ }
+
+
+
+}
diff --git a/sli/features/features-sli/pom.xml b/sli/features/features-sli/pom.xml
index 128d49758..c16347968 100644
--- a/sli/features/features-sli/pom.xml
+++ b/sli/features/features-sli/pom.xml
@@ -24,6 +24,6 @@
<type>xml</type>
<classifier>features</classifier>
</dependency>
-
</dependencies>
+
</project>