Mike Kolesnik has submitted this change and it was merged.

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(-)

Approvals:
  Mike Kolesnik: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: If9144c448881d9373c22c69bd7d222ab88b59f2a
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Mike Kolesnik <mkole...@redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpast...@redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkole...@redhat.com>
Gerrit-Reviewer: Ori Liel <ol...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to