Add installation monitoring methods to devicemgtmock

pull/68/head
prathabanKavin 5 months ago
parent 01f3139775
commit 8bf1e40831

@ -75,8 +75,8 @@ import io.entgra.device.mgt.core.device.mgt.common.pull.notification.PullNotific
import io.entgra.device.mgt.core.device.mgt.common.push.notification.NotificationStrategy; import io.entgra.device.mgt.core.device.mgt.common.push.notification.NotificationStrategy;
import io.entgra.device.mgt.core.device.mgt.common.spi.DeviceManagementService; import io.entgra.device.mgt.core.device.mgt.common.spi.DeviceManagementService;
import io.entgra.device.mgt.core.device.mgt.common.type.mgt.DeviceStatus; import io.entgra.device.mgt.core.device.mgt.common.type.mgt.DeviceStatus;
import io.entgra.device.mgt.core.device.mgt.core.dto.DeviceType; import io.entgra.device.mgt.core.device.mgt.core.dao.DeviceManagementDAOException;
import io.entgra.device.mgt.core.device.mgt.core.dto.DeviceTypeVersion; import io.entgra.device.mgt.core.device.mgt.core.dto.*;
import io.entgra.device.mgt.core.device.mgt.core.service.DeviceManagementProviderService; import io.entgra.device.mgt.core.device.mgt.core.service.DeviceManagementProviderService;
import io.entgra.device.mgt.core.device.mgt.core.service.EmailMetaInfo; import io.entgra.device.mgt.core.device.mgt.core.service.EmailMetaInfo;
import io.entgra.device.mgt.plugins.mobile.android.api.utils.TestUtils; import io.entgra.device.mgt.plugins.mobile.android.api.utils.TestUtils;
@ -84,6 +84,7 @@ import io.entgra.device.mgt.plugins.mobile.android.api.utils.TestUtils;
import org.apache.commons.collections.map.SingletonMap; import org.apache.commons.collections.map.SingletonMap;
import java.sql.Timestamp; import java.sql.Timestamp;
import java.util.Collections;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
@ -919,4 +920,24 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv
public void deleteDeviceDataByTenantDomain(String s) throws DeviceManagementException { public void deleteDeviceDataByTenantDomain(String s) throws DeviceManagementException {
throw new UnsupportedOperationException("Not implemented"); throw new UnsupportedOperationException("Not implemented");
} }
@Override
public OwnerWithDeviceDTO getOwnersWithDeviceIds(String s) throws DeviceManagementDAOException {
return null;
}
@Override
public OwnerWithDeviceDTO getOwnerWithDeviceByDeviceId(int i) throws DeviceManagementDAOException {
return null;
}
@Override
public List<DeviceDetailsDTO> getDevicesByTenantId(int i) throws DeviceManagementDAOException {
return Collections.emptyList();
}
@Override
public OperationDTO getOperationDetailsById(int i) throws OperationManagementException {
return null;
}
} }

Loading…
Cancel
Save