From 36022e6b946e7908f7e55e7987298a2d808279ce Mon Sep 17 00:00:00 2001 From: Ace Date: Thu, 4 Jul 2019 14:15:51 +0530 Subject: [PATCH] Adding dummy implementation for new interface method --- .../android/mocks/DeviceManagementProviderServiceMock.java | 6 ++++++ .../android/mocks/DeviceManagementProviderServiceMock.java | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java index f7f08b3a50..40bbfbb033 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java @@ -40,6 +40,7 @@ import org.wso2.carbon.mdm.services.android.utils.TestUtils; import java.util.Date; import java.util.HashMap; import java.util.List; +import java.util.Map; public class DeviceManagementProviderServiceMock implements DeviceManagementProviderService { @Override @@ -141,6 +142,11 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv return null; } + @Override + public List getDevicesBasedOnProperties(Map map) throws DeviceManagementException { + return null; + } + @Override public Device getDevice(String s, Date date, boolean b) throws DeviceManagementException { if (TestUtils.getDeviceId().equals(s)) { diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.v09.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.v09.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java index f7f08b3a50..40bbfbb033 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.v09.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.v09.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java @@ -40,6 +40,7 @@ import org.wso2.carbon.mdm.services.android.utils.TestUtils; import java.util.Date; import java.util.HashMap; import java.util.List; +import java.util.Map; public class DeviceManagementProviderServiceMock implements DeviceManagementProviderService { @Override @@ -141,6 +142,11 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv return null; } + @Override + public List getDevicesBasedOnProperties(Map map) throws DeviceManagementException { + return null; + } + @Override public Device getDevice(String s, Date date, boolean b) throws DeviceManagementException { if (TestUtils.getDeviceId().equals(s)) {