aboutsummaryrefslogtreecommitdiffstats
path: root/music-core
diff options
context:
space:
mode:
authorThugutla sailakshmi <tsaila10@in.ibm.com>2019-11-18 13:03:40 +0530
committerThugutla sailakshmi <tsaila10@in.ibm.com>2019-11-18 13:04:09 +0530
commit705546609fdeeebf6713ceb195f9b32ee41c3e10 (patch)
treeffc58843216925c8b918b82fa209eb4e9116c74f /music-core
parent7097703b5f9dcf0149080d3df0cb8d93ef7b2c9e (diff)
MusicAuthenticationException.java-junits
Issue-ID: OPTFRA-578 Change-Id: I37146a307068ee018f615903690579179c1c690c Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
Diffstat (limited to 'music-core')
-rw-r--r--music-core/src/test/java/org/onap/music/exceptions/MusicDeadlockExceptionTest.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/music-core/src/test/java/org/onap/music/exceptions/MusicDeadlockExceptionTest.java b/music-core/src/test/java/org/onap/music/exceptions/MusicDeadlockExceptionTest.java
index 6bb04566..db0e10ea 100644
--- a/music-core/src/test/java/org/onap/music/exceptions/MusicDeadlockExceptionTest.java
+++ b/music-core/src/test/java/org/onap/music/exceptions/MusicDeadlockExceptionTest.java
@@ -46,6 +46,20 @@ public class MusicDeadlockExceptionTest {
}
}
+
+ @Test
+ public void TestException6() {
+ String s1 = "Value1";
+ String s2 = "value2";
+ try {
+ if (!s1.equalsIgnoreCase(s2)) {
+ throw new MusicDeadlockException("org.onap.music.exceptions.MusicDeadlockException");
+ }
+ } catch (MusicDeadlockException mde) {
+ assertEquals(mde.getMessage(),"org.onap.music.exceptions.MusicDeadlockException");
+ }
+
+ }
@Test
public void TestException2() {