REM:
1. 添加获取正常状态设备单测。
This commit is contained in:
wangyiyun 2020-09-08 21:04:22 +08:00
parent d19248c1ce
commit bb482c54c2
1 changed files with 11 additions and 1 deletions

View File

@ -183,7 +183,7 @@ public class DisposeDeviceManagerServiceTest extends InitTestEnvironment {
}
/**
* A 4 get all dispose device test.
* A 4 get page dispose device test.
*/
@Test
public void a4_getPageDisposeDeviceTest() {
@ -223,4 +223,14 @@ public class DisposeDeviceManagerServiceTest extends InitTestEnvironment {
}
}
}
/**
* A 5 get all dispose device test.
*/
@Test
public void a5_getAllDisposeDeviceTest() {
List<DisposeDevice> disposeDevices = disposeDeviceManagerService.getAllDisposeDevice();
if(disposeDevices !=null){
disposeDevices.forEach(v-> Assert.assertEquals(v.getStatus(),ObjectStatus.NORMAL));
}
}
}