Change in ovirt-engine[master]: restapi: duplicate code in export domain tests

amureini at redhat.com amureini at redhat.com
Mon Aug 11 15:03:21 UTC 2014


Allon Mureinik has submitted this change and it was merged.

Change subject: restapi: duplicate code in export domain tests
......................................................................


restapi: duplicate code in export domain tests

Removed duplicated code where the if and else branches are identical.

Change-Id: I22c496c8957a86d8fc5d915c552218c9fe5943a6
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendExportDomainDiskResourceTest.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendExportDomainDisksResourceTest.java
2 files changed, 8 insertions(+), 24 deletions(-)

Approvals:
  Ori Liel: Looks good to me, approved
  Allon Mureinik: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I22c496c8957a86d8fc5d915c552218c9fe5943a6
Gerrit-PatchSet: 2
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: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mishka8520 at yahoo.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list