Change in ovirt-engine[master]: core: UnPowerMock GetVmsRelatedToQuotaIdTest

lhornyak at redhat.com lhornyak at redhat.com
Fri May 25 10:05:37 UTC 2012


Laszlo Hornyak has submitted this change and it was merged.

Change subject: core: UnPowerMock GetVmsRelatedToQuotaIdTest
......................................................................


core: UnPowerMock GetVmsRelatedToQuotaIdTest

Removed PoerMock dependency by spying the query instead.

A minor refactor in GetVmsRelatedToQuotaIdQuery to call getDbFacade()
instead of DbFacade.getInstance() was required.

Change-Id: Ib36c4791b57e783e4fe109afcca9cebcc71dde19
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetVmsRelatedToQuotaIdQuery.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/GetVmsRelatedToQuotaIdTest.java
2 files changed, 5 insertions(+), 19 deletions(-)

Approvals:
  Laszlo Hornyak: Verified; Looks good to me, approved
  Allon Mureinik: Verified


--
To view, visit http://gerrit.ovirt.org/4688
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib36c4791b57e783e4fe109afcca9cebcc71dde19
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list