diff options
author | Congcong Peng <peng.congcong@zte.com.cn> | 2018-02-27 16:37:17 +0800 |
---|---|---|
committer | Congcong Peng <peng.congcong@zte.com.cn> | 2018-02-27 16:37:17 +0800 |
commit | 18d79592085657e5d91daee17c09775e80fc671b (patch) | |
tree | e117e19fbadbd3c330e5eb887b5208d857da0470 /dmaap-dsa/src/test/java | |
parent | 160f012debe361e2827aeec06cd78d5ebb43906f (diff) |
change version
Issue-ID: HOLMES-115
Change-Id: I74c2ce4f9186a80c2ffab79a10086690ca98da06
Signed-off-by: Congcong Peng <peng.congcong@zte.com.cn>
Diffstat (limited to 'dmaap-dsa/src/test/java')
-rw-r--r-- | dmaap-dsa/src/test/java/org/onap/holmes/dsa/dmaappolling/DMaaPResponseUtilTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dmaap-dsa/src/test/java/org/onap/holmes/dsa/dmaappolling/DMaaPResponseUtilTest.java b/dmaap-dsa/src/test/java/org/onap/holmes/dsa/dmaappolling/DMaaPResponseUtilTest.java index 87be654..26fba51 100644 --- a/dmaap-dsa/src/test/java/org/onap/holmes/dsa/dmaappolling/DMaaPResponseUtilTest.java +++ b/dmaap-dsa/src/test/java/org/onap/holmes/dsa/dmaappolling/DMaaPResponseUtilTest.java @@ -22,7 +22,7 @@ import java.io.IOException; import java.util.ArrayList; import java.util.List; -//import com.alibaba.fastjson.JSONException; +import com.alibaba.fastjson.JSONException; import org.junit.Before; import org.junit.Rule; import org.junit.Test; @@ -163,7 +163,7 @@ public class DMaaPResponseUtilTest { @Test public void testDMaaPResponseUtil_input_illegal() throws Exception { String json = "***"; - thrown.expect(IOException.class); + thrown.expect(JSONException.class); dMaaPResponseUtil.convertJsonToVesAlarm(json); } |