Fixed test failure

revert-dabc3590
Charitha Goonetilleke 6 years ago
parent f81c8a1e87
commit 6fbc4e1def

@ -25,6 +25,7 @@ import org.wso2.carbon.device.mgt.common.EnrolmentInfo;
import org.wso2.carbon.device.mgt.common.FeatureManager; import org.wso2.carbon.device.mgt.common.FeatureManager;
import org.wso2.carbon.device.mgt.common.InvalidDeviceException; import org.wso2.carbon.device.mgt.common.InvalidDeviceException;
import org.wso2.carbon.device.mgt.common.MonitoringOperation; import org.wso2.carbon.device.mgt.common.MonitoringOperation;
import org.wso2.carbon.device.mgt.common.OperationMonitoringTaskConfig;
import org.wso2.carbon.device.mgt.common.PaginationRequest; import org.wso2.carbon.device.mgt.common.PaginationRequest;
import org.wso2.carbon.device.mgt.common.PaginationResult; import org.wso2.carbon.device.mgt.common.PaginationResult;
import org.wso2.carbon.device.mgt.common.configuration.mgt.ConfigurationManagementException; import org.wso2.carbon.device.mgt.common.configuration.mgt.ConfigurationManagementException;
@ -501,6 +502,11 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv
return 0; return 0;
} }
@Override
public OperationMonitoringTaskConfig getDeviceMonitoringConfig(String s) {
return null;
}
@Override @Override
public boolean isDeviceMonitoringEnabled(String s) { public boolean isDeviceMonitoringEnabled(String s) {
return false; return false;

@ -25,6 +25,7 @@ import org.wso2.carbon.device.mgt.common.EnrolmentInfo;
import org.wso2.carbon.device.mgt.common.FeatureManager; import org.wso2.carbon.device.mgt.common.FeatureManager;
import org.wso2.carbon.device.mgt.common.InvalidDeviceException; import org.wso2.carbon.device.mgt.common.InvalidDeviceException;
import org.wso2.carbon.device.mgt.common.MonitoringOperation; import org.wso2.carbon.device.mgt.common.MonitoringOperation;
import org.wso2.carbon.device.mgt.common.OperationMonitoringTaskConfig;
import org.wso2.carbon.device.mgt.common.PaginationRequest; import org.wso2.carbon.device.mgt.common.PaginationRequest;
import org.wso2.carbon.device.mgt.common.PaginationResult; import org.wso2.carbon.device.mgt.common.PaginationResult;
import org.wso2.carbon.device.mgt.common.configuration.mgt.ConfigurationManagementException; import org.wso2.carbon.device.mgt.common.configuration.mgt.ConfigurationManagementException;
@ -501,6 +502,11 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv
return 0; return 0;
} }
@Override
public OperationMonitoringTaskConfig getDeviceMonitoringConfig(String s) {
return null;
}
@Override @Override
public boolean isDeviceMonitoringEnabled(String s) { public boolean isDeviceMonitoringEnabled(String s) {
return false; return false;

Loading…
Cancel
Save