parent
37c5f5827a
commit
21c04f00b6
|
@ -92,17 +92,20 @@ public class DeviceNodeManagerControllerSmokeTest extends InitTestEnvironment {
|
|||
}
|
||||
|
||||
/**
|
||||
* A 1 add Normal DeviceNodeManager test.
|
||||
* A 1 add Normal DPTech DeviceNodeManager test.
|
||||
*
|
||||
* @throws Exception the exception
|
||||
*/
|
||||
@Test
|
||||
public void a1_addNormalDeviceNodeManager() throws Exception {
|
||||
String reqData = "{\"ver\":2,\"cryptoType\":0,\"timeStamp\":1587628826908," +
|
||||
public void a1_addNormalDPTechDeviceNodeManager() throws Exception {
|
||||
String reqData = "{\"ver\": 2,\"cryptoType\": 0,\"timeStamp\": 1589437275258," +
|
||||
"\"msgContent\":\"{\\\"items\\\":[{\\\"areaCode\\\":0,\\\"ipAddr\\\":\\\"10.88.77.15\\\"," +
|
||||
"\\\"manufacturer\\\":\\\"DPTech\\\",\\\"model\\\":\\\"UMC\\\"," +
|
||||
"\\\"name\\\":\\\"中移杭研实验室清洗设备\\\",\\\"readme\\\":\\\"实验室测试设备\\\"," +
|
||||
"\\\"type\\\":0,\\\"version\\\":\\\"5.7.13\\\"}]}\"}";
|
||||
"\\\"type\\\":0,\\\"version\\\":\\\"5.7.13\\\",\\\"userName\\\":\\\"admin\\\"," +
|
||||
"\\\"password\\\":\\\"UMCAdministrator\\\"," +
|
||||
"\\\"url\\\":\\\"http://%s/UMC/service/AbnormalFlowCleaningService\\\" }]}\"\n" +
|
||||
"}";
|
||||
|
||||
String ret = mockMvc.perform(MockMvcRequestBuilders
|
||||
.put("/manager/device")
|
||||
|
@ -133,7 +136,6 @@ public class DeviceNodeManagerControllerSmokeTest extends InitTestEnvironment {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* B 1 delete Normal DeviceNodeManager test.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue