Allon Mureinik has uploaded a new change for review.

Change subject: core: UnPowerMock GetoVirtISOsTest
......................................................................

core: UnPowerMock GetoVirtISOsTest

Removed PowerMock dependency from GetoVirtISOsTest and replaced it with
spying the query and using the new MockConfigRule.

In order to achieve this improvment, a slight refactoring to
GetoVirtISOsQuery was required so it will address the Config with lazy
getters instead of storing the config values upon class loading.

Change-Id: I3935138a255a5e91750543b35105e88d0e517084
Signed-off-by: Allon Mureinik <amure...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetoVirtISOsQuery.java
M 
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/GetoVirtISOsTest.java
2 files changed, 59 insertions(+), 48 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3935138a255a5e91750543b35105e88d0e517084
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