Allon Mureinik has uploaded a new change for review.

Change subject: core: UnPowerMock AttachNetworkToVdsGroupCommandTest
......................................................................

core: UnPowerMock AttachNetworkToVdsGroupCommandTest

Removed PowerMock dependency in AttachNetworkToVdsGroupCommandTest by
annonymusly extending it and mocking the relevant getXXXDAO() methods.

In order to acheive this, getNetworkDAO() was added to AuditLogableBase
and a minor cleanup was required in AttachNetworkToVdsGroupCommand and
VdsGroupCommandBase.

Change-Id: I11f007ddfbb81dc85198dc2953b52e841fe081e4
Signed-off-by: Allon Mureinik <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AttachNetworkToVdsGroupCommand.java
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsGroupCommandBase.java
M 
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/AttachNetworkToVdsGroupCommandTest.java
M 
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/auditloghandling/AuditLogableBase.java
4 files changed, 55 insertions(+), 46 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I11f007ddfbb81dc85198dc2953b52e841fe081e4
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to