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

mkublin at redhat.com mkublin at redhat.com
Thu Jun 7 11:31:52 UTC 2012


Michael Kublin has submitted this change and it was merged.

Change subject: core: UnPowerMock BackendTest
......................................................................


core: UnPowerMock BackendTest

Removed PowerMock dependency from BackendTests, and replaced it with
spying a protcted method.

In order to achieve this improvement, the createQuery protected method
was extracted in the Backend class.

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

Approvals:
  Michael Kublin: Looks good to me, approved
  Allon Mureinik: Verified


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iea0d953c9d999f096826583ec237b38d20edeca2
Gerrit-PatchSet: 8
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: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list