From a28a65afd1f62e7dc5d9191b8389cf3875bcaa28 Mon Sep 17 00:00:00 2001 From: Sasini_Sandamali Date: Thu, 19 Oct 2023 09:19:41 +0530 Subject: [PATCH] Resolved compilation errors in DeviceManagementProviderServiceMock class --- .../mocks/DeviceManagementProviderServiceMock.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/src/test/java/io/entgra/device/mgt/plugins/mobile/android/api/mocks/DeviceManagementProviderServiceMock.java b/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/src/test/java/io/entgra/device/mgt/plugins/mobile/android/api/mocks/DeviceManagementProviderServiceMock.java index 9fe6ff0dd..4c77c4ecf 100644 --- a/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/src/test/java/io/entgra/device/mgt/plugins/mobile/android/api/mocks/DeviceManagementProviderServiceMock.java +++ b/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/src/test/java/io/entgra/device/mgt/plugins/mobile/android/api/mocks/DeviceManagementProviderServiceMock.java @@ -67,6 +67,7 @@ import io.entgra.device.mgt.core.device.mgt.common.geo.service.GeoQuery; import io.entgra.device.mgt.core.device.mgt.common.invitation.mgt.DeviceEnrollmentInvitationDetails; import io.entgra.device.mgt.core.device.mgt.common.license.mgt.License; import io.entgra.device.mgt.core.device.mgt.common.operation.mgt.Activity; +import io.entgra.device.mgt.core.device.mgt.common.operation.mgt.DeviceActivity; import io.entgra.device.mgt.core.device.mgt.common.operation.mgt.Operation; import io.entgra.device.mgt.core.device.mgt.common.operation.mgt.OperationManagementException; import io.entgra.device.mgt.core.device.mgt.common.policy.mgt.PolicyMonitoringManager; @@ -850,6 +851,16 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv return 0; } + @Override + public List getDeviceActivities(ActivityPaginationRequest activityPaginationRequest) throws OperationManagementException { + return null; + } + + @Override + public int getDeviceActivitiesCount(ActivityPaginationRequest activityPaginationRequest) throws OperationManagementException { + return 0; + } + @Override public License getLicenseConfig(String s) throws DeviceManagementException { return null; }