Code Review
/
holmes
/
dsa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
revert
[holmes/dsa.git]
/
dmaap-dsa
/
src
/
test
/
java
/
org
/
onap
/
holmes
/
dsa
/
dmaappolling
/
DMaaPResponseUtilTest.java
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
26fba51
..
87be654
100644
(file)
--- 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 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;
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 = "***";
@Test
public void testDMaaPResponseUtil_input_illegal() throws Exception {
String json = "***";
- thrown.expect(
JSON
Exception.class);
+ thrown.expect(
IO
Exception.class);
dMaaPResponseUtil.convertJsonToVesAlarm(json);
}
dMaaPResponseUtil.convertJsonToVesAlarm(json);
}