diff options
author | Driptaroop Das <driptaroop.das@in.ibm.com> | 2019-02-14 18:14:16 +0530 |
---|---|---|
committer | Driptaroop Das <driptaroop.das@in.ibm.com> | 2019-02-14 18:14:28 +0530 |
commit | 2c0447910356034d0c05d4607a41066a8e6e5342 (patch) | |
tree | 0d73b9e83f5680af69989925e5f2f0bbb7d59021 /src | |
parent | 3b8e0a333bb754117f41e7206a6706bad66829fb (diff) |
Unit test coverage lines for MusicUtil.java
Unit test coverage lines for MusicUtil.java
Issue-ID: MUSIC-332
Change-Id: I26afea2e78a1bf23cfa61f413cae48c80d187f3c
Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/test/java/org/onap/music/unittests/MusicUtilTest.java | 7 |
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 b117c330..5751c2c4 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. @@ -204,4 +205,10 @@ public class MusicUtilTest { assertTrue(result.contains("value")); } + @Test + public void testIsValidConsistency(){ + assertTrue(MusicUtil.isValidConsistency("ALL")); + assertFalse(MusicUtil.isValidConsistency("TEST")); + } + } |