Change in ovirt-engine[master]: restapi: UnPowerMock BackendCapabilitiesResourceTest

lhornyak at redhat.com lhornyak at redhat.com
Wed Jul 11 10:57:31 UTC 2012


Laszlo Hornyak has submitted this change and it was merged.

Change subject: restapi: UnPowerMock BackendCapabilitiesResourceTest
......................................................................


restapi: UnPowerMock BackendCapabilitiesResourceTest

Removed PowerMock references from BackendCapabilityResourceTest.
PowerMock was used to create a static mock for Config , but it was never
used since the test instead mocked the GetConfigValueQuery class, so it
could simply be removed without loosing any functionality in the test.

Change-Id: Iea3ea74b97babc1e3778c138438128c23e7fc794
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendCapabilityResourceTest.java
1 file changed, 48 insertions(+), 46 deletions(-)

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


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iea3ea74b97babc1e3778c138438128c23e7fc794
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: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>



More information about the Engine-commits mailing list