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

mkolesni at redhat.com mkolesni at redhat.com
Wed May 23 06:20:35 UTC 2012


Mike Kolesnik has submitted this change and it was merged.

Change subject: core: UnPowerMock AutoRecoveryManagerTest
......................................................................


core: UnPowerMock AutoRecoveryManagerTest

Removed PowerMock dependency from AutoRecoveryManagerTest, by spying a
AutoRecoveryManager instance.

In order to facilitate this change, getDbFacade() and getBackend()
methods were added to AutoRecoveryManager.

Change-Id: Id1a0d6746e007c87df359bcc8b51ff50da734b55
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AutoRecoveryManager.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/AutoRecoveryManagerTest.java
2 files changed, 33 insertions(+), 30 deletions(-)

Approvals:
  Mike Kolesnik: Looks good to me, approved
  Allon Mureinik: Verified


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id1a0d6746e007c87df359bcc8b51ff50da734b55
Gerrit-PatchSet: 3
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: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list