Add test to check Metadata operations calls
Add test for the following use cases: 1. Navigate to a Downloads sub-sub-folder using directory tree. 2. Navigate to a Drive sub-sub-folder using directory tree. 3. Navigate to a Drive sub-folder with 50 files and 50 siblings folders, using directory tree. 4. Navigate to Team Drives root using directory tree. Add MetadataStats class to hold metadata operation counters. Change MetadataModel to count operations only during tests using a global instance of MetadataStats. Add getMetadataStats test util function to return the MetadataStats global value to test extension. Add waitFor remote test function to wait for any remote test function to return an expected result. Bug: 880187 Change-Id: I024938cfe09c2599968100b978a071675072b2d8 Reviewed-on: https://chromium-review.googlesource.com/1188046 Commit-Queue: Luciano Pacheco <lucmult@chromium.org> Reviewed-by:Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#593477}
Showing
This diff is collapsed.
Please register or sign in to comment