forked from chromium/chromium
-
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.
Fix TestMetadataModel {@extends} class problems
Per CL:1450538, this test's internal metadataModel helper class, which uses @extends {MetedataData} to lie to Closure about its type (a fake) becomes problematic for ES6 class conversion tools: lie detected. There's no compelling need to for the helper to be a class: we can add a factory method to supply {!MetadataModel} fakes as needed, similarly to all other files app unittests. No change in behavior, no new tests. Bug: 778674 Change-Id: Id0c2194d649ff9fa32861359f5647a2a0d338b8b Reviewed-on: https://chromium-review.googlesource.com/c/1465601 Reviewed-by: Noel Gordon <[email protected]> Reviewed-by: Anand Mistry <[email protected]> Commit-Queue: Noel Gordon <[email protected]> Cr-Commit-Position: refs/heads/master@{#631105}
- Loading branch information
Noel Gordon
authored and
Commit Bot
committed
Feb 12, 2019
1 parent
e2a408e
commit 97b1a5b
Showing
1 changed file
with
23 additions
and
28 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