Skip to content

Commit

Permalink
[no issue] fix test
Browse files Browse the repository at this point in the history
1. update json format
  • Loading branch information
koo-taejin committed Jan 2, 2017
1 parent 4ea8568 commit 0ae78f5
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,19 @@ public void serializeTest() throws Exception {
Assert.assertTrue(CollectionUtils.isNotEmpty(list));

Map map = (Map) list.get(0);

Assert.assertTrue(map.containsKey("threadId"));
Assert.assertTrue(map.containsKey("threadName"));
Assert.assertTrue(map.containsKey("threadState"));
Assert.assertTrue(map.containsKey("threadExecTime"));
Assert.assertTrue(map.containsKey("startTime"));
Assert.assertTrue(map.containsKey("execTime"));
Assert.assertTrue(map.containsKey("localTraceId"));
Assert.assertTrue(map.containsKey("sampled"));
Assert.assertTrue(map.containsKey("transactionId"));
Assert.assertTrue(map.containsKey("entryPoint"));
Assert.assertTrue(map.containsKey("detailMessage"));
}


private AgentActiveThreadDumpList createThreadDumpList(ThreadInfo[] allThreadInfo) {
AgentActiveThreadDumpList activeThreadDumpList = new AgentActiveThreadDumpList();
for (ThreadInfo threadInfo : allThreadInfo) {
Expand Down

0 comments on commit 0ae78f5

Please sign in to comment.