Change in ovirt-engine[master]: restapi: Used Java 8 streaming API
juan.hernandez at redhat.com
juan.hernandez at redhat.com
Thu Apr 28 16:14:41 UTC 2016
Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Used Java 8 streaming API
......................................................................
restapi: Used Java 8 streaming API
Used Java 8's streaming API and collected the results instead of using
manual for loops in REST API's resources tests.
Change-Id: I8193cd18bc24e56eca4e3102ad5125fb37d6941a
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/AbstractBackendBaseTest.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/aaa/BackendUserResourceTest.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/aaa/BackendUsersResourceTest.java
3 files changed, 8 insertions(+), 13 deletions(-)
Approvals:
Juan Hernandez: Looks good to me, approved; Passed CI tests
Allon Mureinik: Verified
--
To view, visit https://gerrit.ovirt.org/56759
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I8193cd18bc24e56eca4e3102ad5125fb37d6941a
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: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list