diff options
author | Dan Timoney <dtimoney@att.com> | 2019-07-25 13:44:20 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-07-25 13:44:20 +0000 |
commit | 5e106aa6f37bf61356b91bae96cbeb0a1a5562be (patch) | |
tree | 4c6e0348515223c6099c165d58df4c66101e243e | |
parent | 31ce15619628a758dff30fd255f13912309fccf6 (diff) | |
parent | 46c7c43043d8f48dc866e73c752248f4d466b3a0 (diff) |
Merge "JUNIT-ConfigurationException.java"
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> |