forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[unseasoned-pdf] Add unit tests for DocumentLoadComplete().
Add unit tests for PdfViewPluginBase::DocumentLoadComplete(), which exercises multiple private methods: DidStopLoading(), SendAttachments(), SendBookmarks(), SendMetadata(), SendLoadingProgress() and LoadAccessibility(). Also make `AccessibilityState` and `kMaximumSavedFileSize` public so that they can be used in unit tests. Change-Id: I8d548dd1f2eb5f9e6d860b0d8f1e1fe4fb329389 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2986560 Commit-Queue: Hui Yingst <nigi@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#898413}
- Loading branch information
Hui Yingst
authored and
Chromium LUCI CQ
committed
Jul 3, 2021
1 parent
12259ab
commit 13d2d16
Showing
4 changed files
with
393 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.