Adding dummy implementation for new interface method

revert-dabc3590
Ace 5 years ago
parent bdc0e4e2b8
commit 36022e6b94

@ -40,6 +40,7 @@ import org.wso2.carbon.mdm.services.android.utils.TestUtils;
import java.util.Date; import java.util.Date;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map;
public class DeviceManagementProviderServiceMock implements DeviceManagementProviderService { public class DeviceManagementProviderServiceMock implements DeviceManagementProviderService {
@Override @Override
@ -141,6 +142,11 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv
return null; return null;
} }
@Override
public List<Device> getDevicesBasedOnProperties(Map map) throws DeviceManagementException {
return null;
}
@Override @Override
public Device getDevice(String s, Date date, boolean b) throws DeviceManagementException { public Device getDevice(String s, Date date, boolean b) throws DeviceManagementException {
if (TestUtils.getDeviceId().equals(s)) { if (TestUtils.getDeviceId().equals(s)) {

@ -40,6 +40,7 @@ import org.wso2.carbon.mdm.services.android.utils.TestUtils;
import java.util.Date; import java.util.Date;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map;
public class DeviceManagementProviderServiceMock implements DeviceManagementProviderService { public class DeviceManagementProviderServiceMock implements DeviceManagementProviderService {
@Override @Override
@ -141,6 +142,11 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv
return null; return null;
} }
@Override
public List<Device> getDevicesBasedOnProperties(Map map) throws DeviceManagementException {
return null;
}
@Override @Override
public Device getDevice(String s, Date date, boolean b) throws DeviceManagementException { public Device getDevice(String s, Date date, boolean b) throws DeviceManagementException {
if (TestUtils.getDeviceId().equals(s)) { if (TestUtils.getDeviceId().equals(s)) {

Loading…
Cancel
Save