Implement request body in FakeUrlRequest
Create FakeDataSink class to retrieve request body from UploadDataProvider. Add request body byte array as a parameter to ResponseMatcher.getResponse(). Added ResponseMatchers should verify the body of the request if that is necessary for the test before responding. Patched from original CL: crrev.com/c/1742515 (kirchman@'s internship ended). Bug: 669707 Change-Id: I3be8a95e80e82cf74edd7bd5e23e5adf2e5e04cf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1784978 Commit-Queue: Paul Jensen <pauljensen@chromium.org> Reviewed-by:Paul Jensen <pauljensen@chromium.org> Cr-Commit-Position: refs/heads/master@{#699875}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment