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

lhornyak at redhat.com lhornyak at redhat.com
Wed Jul 11 10:56:13 UTC 2012


Laszlo Hornyak has submitted this change and it was merged.

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


restapi: UnPowerMock BackendCapabilitiesResourceTest

Removed PowerMock references from BackendCapabilitiesResourceTest.
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: I44f219b02c7bf3c2eed5c5bd2693cef4d73599d6
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendCapabilitiesResourceTest.java
1 file changed, 42 insertions(+), 39 deletions(-)

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


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I44f219b02c7bf3c2eed5c5bd2693cef4d73599d6
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