Change in ovirt-engine[master]: restapi: Make mapper test more generic
juan.hernandez at redhat.com
juan.hernandez at redhat.com
Mon Oct 6 09:57:38 UTC 2014
Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Make mapper test more generic
......................................................................
restapi: Make mapper test more generic
The base class for mapper tests has specific bound for the "from" type
parameter:
class AbstractInvertibleMappingTest<F extends BaseResource, T, I> ...
But this bound isn't used, and it makes this class unusable for things
other than resources. This patch removes that bound, so the class can be
used with resources and also with other simpler types:
class AbstractInvertibleMappingTest<F, T, I> ...
Change-Id: I4176cd3a5d7b55ab7cbf00389d5b30a720da66f4
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/types/src/test/java/org/ovirt/engine/api/restapi/types/AbstractInvertibleMappingTest.java
1 file changed, 1 insertion(+), 2 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/33831
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4176cd3a5d7b55ab7cbf00389d5b30a720da66f4
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the Engine-commits
mailing list