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;
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.DeviceConfiguration;
import org.wso2.carbon.device.mgt.common.configuration.mgt.PlatformConfiguration;
@ -620,9 +621,9 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv
}
@Override
public DeviceConfiguration getDevicesConfiguration(Map<String, String> map)
throws DeviceManagementException, DeviceNotFoundException, InvalidArgumentException,
UnauthorizedDeviceAccessException {
public DeviceConfiguration getDeviceConfiguration(Map<String, String> propertyMap)
throws DeviceManagementException, DeviceNotFoundException, UnauthorizedDeviceAccessException,
AmbiguousConfigurationException{
return null;
}
}

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

Loading…
Cancel
Save