修改名字一致性

This commit is contained in:
zhouxiunai
2018-12-06 17:17:07 +08:00
parent 2202bd40b7
commit fa8e612f2b
6 changed files with 7 additions and 7 deletions
@@ -51,7 +51,7 @@ public class ExchangeServiceImplTest {
"</PSDT>\r\n" +
"</FLOP>\r\n" +
"</MSG>";
String jsonString = exchangeService.xmlToJson(xmlString);
String jsonString = exchangeService.xmlstrToJson(xmlString);
System.out.println(jsonString);
//assertThat(jsonPath("$.", matcher)).
@@ -96,7 +96,7 @@ public class ToolTest {
try {
for(Cminmsg x : lsCmin)
{
String json = exchangeService.xmlToJson(x.getCminmsgsClobMsg());
String json = exchangeService.xmlstrToJson(x.getCminmsgsClobMsg());
Msg msg;
msg = JsonUtil.getObject(json,Msg.class);
@@ -121,7 +121,7 @@ public class ToolTest {
//
File f = new File(path.toString());
try (FileOutputStream fop = new FileOutputStream(f)) {
String jsonString = exchangeService.xmlToJson(x.getCminmsgsClobMsg());
String jsonString = exchangeService.xmlstrToJson(x.getCminmsgsClobMsg());
jsonString = jsonString.replace("\"noNamespaceSchemaLocation\":\"unisysaodbsis.xsd\",", "");
byte[] contentInBytes = jsonString.getBytes("UTF-8");