|
|
@ -500,6 +500,7 @@ public class DeviceManagementProviderServiceTest extends BaseDeviceManagementTes
|
|
|
|
@Test(dependsOnMethods = {"testSuccessfulDeviceEnrollment"})
|
|
|
|
@Test(dependsOnMethods = {"testSuccessfulDeviceEnrollment"})
|
|
|
|
public void testUpdateDeviceInfo() throws DeviceManagementException,
|
|
|
|
public void testUpdateDeviceInfo() throws DeviceManagementException,
|
|
|
|
TransactionManagementException, DeviceDetailsMgtDAOException {
|
|
|
|
TransactionManagementException, DeviceDetailsMgtDAOException {
|
|
|
|
|
|
|
|
if (!isMock()) {
|
|
|
|
Device device = deviceMgtService.getDevice(new DeviceIdentifier(DEVICE_ID,
|
|
|
|
Device device = deviceMgtService.getDevice(new DeviceIdentifier(DEVICE_ID,
|
|
|
|
DEVICE_TYPE));
|
|
|
|
DEVICE_TYPE));
|
|
|
|
|
|
|
|
|
|
|
@ -507,6 +508,7 @@ public class DeviceManagementProviderServiceTest extends BaseDeviceManagementTes
|
|
|
|
DEVICE_TYPE), device);
|
|
|
|
DEVICE_TYPE), device);
|
|
|
|
Assert.assertTrue(status);
|
|
|
|
Assert.assertTrue(status);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Test(dependsOnMethods = {"testSuccessfulDeviceEnrollment"})
|
|
|
|
@Test(dependsOnMethods = {"testSuccessfulDeviceEnrollment"})
|
|
|
|
public void testDeviceByDateWithNonExistentDevice() throws DeviceManagementException,
|
|
|
|
public void testDeviceByDateWithNonExistentDevice() throws DeviceManagementException,
|
|
|
|