aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java
diff options
context:
space:
mode:
authorThomas Nelson <nelson24@att.com>2019-03-08 21:31:42 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-08 21:31:42 +0000
commit695450aa1408f9577e4814f1aae4911dfbae953f (patch)
treeedfaa8df38f072ad74c1a8c28d660058c297cbe8 /src/test/java
parent24cdf12953c0e03af254920a51d6a2e1060b02a3 (diff)
parent2c0447910356034d0c05d4607a41066a8e6e5342 (diff)
Merge "Unit test coverage lines for MusicUtil.java"
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/onap/music/unittests/MusicUtilTest.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/java/org/onap/music/unittests/MusicUtilTest.java b/src/test/java/org/onap/music/unittests/MusicUtilTest.java
index 9835034b..04149fc6 100644
--- a/src/test/java/org/onap/music/unittests/MusicUtilTest.java
+++ b/src/test/java/org/onap/music/unittests/MusicUtilTest.java
@@ -3,6 +3,7 @@
* org.onap.music
* ===================================================================
* Copyright (c) 2017 AT&T Intellectual Property
+ * Modifications Copyright (C) 2019 IBM.
* ===================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -215,4 +216,10 @@ public class MusicUtilTest {
}
+ @Test
+ public void testIsValidConsistency(){
+ assertTrue(MusicUtil.isValidConsistency("ALL"));
+ assertFalse(MusicUtil.isValidConsistency("TEST"));
+ }
+
}