parent
b27e0fdfca
commit
29eba3970e
|
@ -101,6 +101,8 @@ public class DisposeInfoControllerTest extends InitTestEnvironment {
|
|||
Assert.assertNotNull(v.getNodeId());
|
||||
Assert.assertNotNull(v.getTotalNetflow());
|
||||
Assert.assertNotNull(v.getOnlineDevices());
|
||||
Assert.assertNotNull(v.getTotalDevices());
|
||||
Assert.assertTrue((v.getTotalDevices()-v.getOnlineDevices())>=0);
|
||||
Assert.assertNotNull(v.getCapacityType());
|
||||
});
|
||||
}
|
||||
|
|
|
@ -63,6 +63,8 @@ public class P2Info {
|
|||
Assert.assertNotNull(k.getCapacityType());
|
||||
Assert.assertNotEquals(k.getCapacityType().length, 0);
|
||||
Assert.assertNotNull(k.getOnlineDevices());
|
||||
Assert.assertNotNull(k.getTotalDevices());
|
||||
Assert.assertTrue((k.getTotalDevices()-k.getOnlineDevices())>=0);
|
||||
});
|
||||
})
|
||||
.prepareCallback(P2Info::prepareDisposeDevice)
|
||||
|
|
Loading…
Reference in New Issue