diff options
author | zhangab <zhanganbing@chinamobile.com> | 2018-03-27 14:21:50 +0800 |
---|---|---|
committer | zhangab <zhanganbing@chinamobile.com> | 2018-03-27 14:21:54 +0800 |
commit | 100aa2dc196dc3a7a0152d103276b21a6f3c2ae3 (patch) | |
tree | 6ca07476241c7aabcaf2733561a7100bee0dc28a | |
parent | 0fb42b1406b16bb6bccced30d58e484bd3dc09b0 (diff) |
improve sonar coverage for uui-server
Change-Id: Ifc068545997864e48ad1ba74c65bbfd34ee1fc69
Issue-ID: USECASEUI-103
Signed-off-by: zhangab <zhanganbing@chinamobile.com>
-rw-r--r-- | server/src/test/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImplTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/server/src/test/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImplTest.java b/server/src/test/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImplTest.java index 6d5d9986..787445c3 100644 --- a/server/src/test/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImplTest.java +++ b/server/src/test/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImplTest.java @@ -88,5 +88,11 @@ public void testSaveAlarmsHeader() throws Exception { System.out.println(alarmsHeaderServiceImpl.saveAlarmsHeader(a)); } +@Test +public void testQueryStatusCount() throws Exception { + AlarmsHeaderServiceImpl alarmsHeaderServiceImpl = new AlarmsHeaderServiceImpl(); + String str =alarmsHeaderServiceImpl.queryStatusCount("close"); + System.out.println("str ="+str); +} } |