Allon Mureinik has uploaded a new change for review.

Change subject: core: Re-enable AddDiskToVmCommandTest
......................................................................

core: Re-enable AddDiskToVmCommandTest

This test was marked with @Ignore a while ago. This patch enables the
test again, and removes the annotation.

In order to achieve this, some subtle refactoring was performed on
AddDiskCommand, AbstractDiskVmCommand and CommandBase (extracting
methods to hide external resources), and PowerMockito was removed from
the test.
A single test which tests the validation of the disk type passed to the
command was removed, since this functionallity is no longer supported.

Change-Id: I3b061a6f381f4e19d6666b24140b0583a244a63d
Signed-off-by: Allon Mureinik <amure...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AbstractDiskVmCommand.java
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddDiskCommand.java
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java
M 
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/AddDiskToVmCommandTest.java
4 files changed, 137 insertions(+), 164 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/92/5392/1
--
To view, visit http://gerrit.ovirt.org/5392
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3b061a6f381f4e19d6666b24140b0583a244a63d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amure...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to