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(a)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(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server