Mike Kolesnik has uploaded a new change for review. Change subject: restapi: Fix matching of empty list ......................................................................
restapi: Fix matching of empty list If empty list is expected in test, then the matcher would fail because it contains no elements and the default return value is initialized to 'false'. Changed default initialization of the return value to 'true' so that it will be changed to false in the objects are found inequal. No other change is necessary in this regard, since the method already handles it. Change-Id: If9144c448881d9373c22c69bd7d222ab88b59f2a Signed-off-by: Mike Kolesnik <mkole...@redhat.com> --- M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/test/util/TestHelper.java 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/52/6652/1 -- To view, visit http://gerrit.ovirt.org/6652 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If9144c448881d9373c22c69bd7d222ab88b59f2a Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Mike Kolesnik <mkole...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches