Test different locales with PrintPreviewHandlerTest.
Add InitializeWithLocale() to properly set a locale, and ValidateInitialSettingsForLocale() to test a locale. Use these new methods in two new test cases to check how PrintPreviewHandler::GetLocaleInformation() handles Hindi and Russian. One new test illustrates bad handling for Hindi. Bug: 998039 Change-Id: I851b751e3ae4064b7fed3326d98e0b86c4058d86 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1775392 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by:Rebekah Potter <rbpotter@chromium.org> Cr-Commit-Position: refs/heads/master@{#691451}
Showing
Please register or sign in to comment