Introduce namespace css_test_helpers.
We currently have a class CSSTestHelper which assists test cases in creating RuleSets. This is nice, but we need a place to put general CSS testing utils (not just for RuleSet) if we want to avoid repeating ourselves many times. This CL: * Moves CSSTestHelper to css_test_helpers::TestStyleSheet. * Deduplicates the almost-identical copies of RegisterProperty found in various test files. * Removes #include css_test_helper.h from some files which didn't really use CSSTestHelper. R=futhark@chromium.org Change-Id: I495f4ac33c9eda2ff087d73f45213acdc1852114 Reviewed-on: https://chromium-review.googlesource.com/c/1335562 Commit-Queue: Anders Ruud <andruud@chromium.org> Reviewed-by:Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#608333}
Showing
Please register or sign in to comment