Fix test fail due to not overriding getDeviceConfiguration method

revert-dabc3590
Pahansith 5 years ago
parent 48c89b06b9
commit bc38a4a6d6

@ -19,6 +19,7 @@
package org.wso2.carbon.mdm.services.android.mocks; package org.wso2.carbon.mdm.services.android.mocks;
import org.wso2.carbon.device.mgt.common.*; import org.wso2.carbon.device.mgt.common.*;
import org.wso2.carbon.device.mgt.common.configuration.mgt.AmbiguousConfigurationException;
import org.wso2.carbon.device.mgt.common.configuration.mgt.ConfigurationManagementException; import org.wso2.carbon.device.mgt.common.configuration.mgt.ConfigurationManagementException;
import org.wso2.carbon.device.mgt.common.configuration.mgt.DeviceConfiguration; import org.wso2.carbon.device.mgt.common.configuration.mgt.DeviceConfiguration;
import org.wso2.carbon.device.mgt.common.configuration.mgt.PlatformConfiguration; import org.wso2.carbon.device.mgt.common.configuration.mgt.PlatformConfiguration;
@ -620,9 +621,9 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv
} }
@Override @Override
public DeviceConfiguration getDevicesConfiguration(Map<String, String> map) public DeviceConfiguration getDeviceConfiguration(Map<String, String> propertyMap)
throws DeviceManagementException, DeviceNotFoundException, InvalidArgumentException, throws DeviceManagementException, DeviceNotFoundException, UnauthorizedDeviceAccessException,
UnauthorizedDeviceAccessException { AmbiguousConfigurationException{
return null; return null;
} }
} }

@ -19,6 +19,7 @@
package org.wso2.carbon.mdm.services.android.mocks; package org.wso2.carbon.mdm.services.android.mocks;
import org.wso2.carbon.device.mgt.common.*; import org.wso2.carbon.device.mgt.common.*;
import org.wso2.carbon.device.mgt.common.configuration.mgt.AmbiguousConfigurationException;
import org.wso2.carbon.device.mgt.common.configuration.mgt.ConfigurationManagementException; import org.wso2.carbon.device.mgt.common.configuration.mgt.ConfigurationManagementException;
import org.wso2.carbon.device.mgt.common.configuration.mgt.DeviceConfiguration; import org.wso2.carbon.device.mgt.common.configuration.mgt.DeviceConfiguration;
import org.wso2.carbon.device.mgt.common.configuration.mgt.PlatformConfiguration; import org.wso2.carbon.device.mgt.common.configuration.mgt.PlatformConfiguration;
@ -620,9 +621,9 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv
} }
@Override @Override
public DeviceConfiguration getDevicesConfiguration(Map<String, String> map) public DeviceConfiguration getDeviceConfiguration(Map<String, String> propertyMap)
throws DeviceManagementException, DeviceNotFoundException, InvalidArgumentException, throws DeviceManagementException, DeviceNotFoundException, UnauthorizedDeviceAccessException,
UnauthorizedDeviceAccessException { AmbiguousConfigurationException{
return null; return null;
} }
} }

Loading…
Cancel
Save