From be851d7b11782df54ea302fffac84602e6b76a92 Mon Sep 17 00:00:00 2001 From: Ace Date: Fri, 4 Dec 2020 08:18:19 +0530 Subject: [PATCH] Accommodating for interface changes in core. --- .../mocks/DeviceManagementProviderServiceMock.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 73b89f1880..5faec5758d 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 @@ -38,6 +38,7 @@ package org.wso2.carbon.mdm.services.android.mocks; import org.wso2.carbon.device.mgt.common.Device; import org.wso2.carbon.device.mgt.common.DeviceIdentifier; import org.wso2.carbon.device.mgt.common.DeviceTransferRequest; +import org.wso2.carbon.device.mgt.common.DynamicTaskContext; import org.wso2.carbon.device.mgt.common.StartupOperationConfig; import org.wso2.carbon.device.mgt.common.app.mgt.ApplicationManagementException; import org.wso2.carbon.device.mgt.common.configuration.mgt.AmbiguousConfigurationException; @@ -93,6 +94,12 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv return null; } + @Override + public List getAllocatedDevices(String s, int i, int i1) + throws DeviceManagementException { + return null; + } + @Override public List getAllDevices() throws DeviceManagementException { return null; @@ -453,7 +460,9 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv } @Override - public void addTaskOperation(String s, Operation operation) throws OperationManagementException { + public void addTaskOperation(String s, Operation operation, + DynamicTaskContext dynamicTaskContext) + throws OperationManagementException { }