[filesapp] Add DocumentsProvider file content in test
CL:1483697 added a mock arc::FileSystemInstance (ie Mojo interfaces to interact with ARC container) for use with DocumentsProvider volumes in test. Entries can be added to the test DocumentsProvider volume (works fine) but the content of file entries is not shown in Quick View tests per issue 1131298. Fix this: arc::FileSystemInstance requires that the content of entries is provided to it using its AddFile() API. Do that and update the test added in CL:1483697 to verify the text file content is shown. Test: browser_tests --gtest_filter="*openQuickViewDocumentsProvider" Bug: 1131298, 1049966, 923991 Change-Id: I992dc69e3a9e7421e94a88e62edfed56b6d8e465 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2469336 Commit-Queue: Noel Gordon <noel@chromium.org> Commit-Queue: Luciano Pacheco <lucmult@chromium.org> Reviewed-by:Luciano Pacheco <lucmult@chromium.org> Auto-Submit: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#816890}
Showing
Please register or sign in to comment