Merge branch 'fix-test' into 'master'

Fix test failure

See merge request entgra/carbon-device-mgt-plugins!191
remotes/1725795871081117030/tmp_refs/heads/temp
Pahansith Gunathilake 3 years ago
commit da0e87f552

@ -81,6 +81,7 @@ import org.wso2.carbon.mdm.services.android.utils.TestUtils;
import org.apache.commons.collections.map.SingletonMap; import org.apache.commons.collections.map.SingletonMap;
import java.sql.Timestamp;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
@ -145,6 +146,16 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv
return null; return null;
} }
@Override
public PaginationResult getAllDevicesBillings(PaginationRequest paginationRequest, int i, String s, Timestamp timestamp, Timestamp timestamp1, boolean b) throws DeviceManagementException {
return null;
}
@Override
public PaginationResult createBillingFile(int i, String s, Timestamp timestamp, Timestamp timestamp1, boolean b) throws DeviceManagementException {
return null;
}
@Override @Override
public Device getDevice(DeviceIdentifier deviceIdentifier) throws DeviceManagementException { public Device getDevice(DeviceIdentifier deviceIdentifier) throws DeviceManagementException {
if (TestUtils.getDeviceId().equals(deviceIdentifier.getId())) { if (TestUtils.getDeviceId().equals(deviceIdentifier.getId())) {
@ -466,7 +477,7 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv
} }
@Override @Override
public List<DeviceStatus> getDeviceStatusHistory(Device device, Date date, Date date1) throws DeviceManagementException { public List<DeviceStatus> getDeviceStatusHistory(Device device, Date date, Date date1, boolean b) throws DeviceManagementException {
return null; return null;
} }

Loading…
Cancel
Save