summaryrefslogtreecommitdiffstats
path: root/dmaap-dsa/src/test/java
diff options
context:
space:
mode:
authorCongcong Peng <peng.congcong@zte.com.cn>2018-02-27 16:37:17 +0800
committerCongcong Peng <peng.congcong@zte.com.cn>2018-02-27 16:37:17 +0800
commit18d79592085657e5d91daee17c09775e80fc671b (patch)
treee117e19fbadbd3c330e5eb887b5208d857da0470 /dmaap-dsa/src/test/java
parent160f012debe361e2827aeec06cd78d5ebb43906f (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.java4
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);
}