summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-07-25 13:44:20 +0000
committerGerrit Code Review <gerrit@onap.org>2019-07-25 13:44:20 +0000
commit5e106aa6f37bf61356b91bae96cbeb0a1a5562be (patch)
tree4c6e0348515223c6099c165d58df4c66101e243e
parent31ce15619628a758dff30fd255f13912309fccf6 (diff)
parent46c7c43043d8f48dc866e73c752248f4d466b3a0 (diff)
Merge "JUNIT-ConfigurationException.java"
-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>