[style_var_gen] Add BaseGenerator.Validate() test and fix bug.
This CL fixes a bug where Validate() wouldn't catch that a color wasn't defined for the default mode. It also adds some tests. Bug: 1018654 Change-Id: I226124d6a4fc51020b96e85309fda42a98132abd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2251126Reviewed-by:Giovanni Ortuño Urquidi <ortuno@chromium.org> Commit-Queue: calamity <calamity@chromium.org> Cr-Commit-Position: refs/heads/master@{#780173}
Showing
Please register or sign in to comment