Removing extra lines

4.x.x
geethkokila 7 years ago
parent 5c2c7dfc2a
commit 7c4ca89beb

@ -279,7 +279,6 @@ public class PolicyManagerServiceImplTest extends BasePolicyManagementDAOTest {
complianceFeature.setCompliance(false); complianceFeature.setCompliance(false);
complianceFeatures.add(complianceFeature); complianceFeatures.add(complianceFeature);
Device device = DeviceManagementDataHolder.getInstance().getDeviceManagementProvider(). Device device = DeviceManagementDataHolder.getInstance().getDeviceManagementProvider().
getDevice(new DeviceIdentifier(DEVICE1, DEVICE_TYPE_A), false); getDevice(new DeviceIdentifier(DEVICE1, DEVICE_TYPE_A), false);
List<Device> deviceList = new ArrayList<>(); List<Device> deviceList = new ArrayList<>();
@ -288,7 +287,6 @@ public class PolicyManagerServiceImplTest extends BasePolicyManagementDAOTest {
MonitoringManager mm = new MonitoringManagerImpl(); MonitoringManager mm = new MonitoringManagerImpl();
mm.addMonitoringOperation(deviceList); mm.addMonitoringOperation(deviceList);
policyManagerService.checkCompliance(new DeviceIdentifier(DEVICE1, DEVICE_TYPE_A), complianceFeatures); policyManagerService.checkCompliance(new DeviceIdentifier(DEVICE1, DEVICE_TYPE_A), complianceFeatures);
boolean deviceCompliance = policyManagerService.isCompliant(new DeviceIdentifier(DEVICE1, DEVICE_TYPE_A)); boolean deviceCompliance = policyManagerService.isCompliant(new DeviceIdentifier(DEVICE1, DEVICE_TYPE_A));
Assert.assertFalse(deviceCompliance, "Policy was compliant even though the response was not compliant"); Assert.assertFalse(deviceCompliance, "Policy was compliant even though the response was not compliant");

Loading…
Cancel
Save