diff options
author | James Godfrey-Kittle <jamesgk@google.com> | 2015-12-11 12:13:45 -0800 |
---|---|---|
committer | James Godfrey-Kittle <jamesgk@google.com> | 2015-12-11 12:15:30 -0800 |
commit | 2b60cf910ae45ddc036d3e0ea5e2621b5f88f6e4 (patch) | |
tree | 4f49c74d2a3c8fc5d378b26ec9010a9764b54e7b /scripts/run_android_tests.py | |
parent | f9116ecf24f80e3c9161cd5189e8e9a90c03e908 (diff) |
Add name, metadata tests for general and android
There's no reason not to have these, and they're quite helpful for
catching little issues.
Diffstat (limited to 'scripts/run_android_tests.py')
-rwxr-xr-x | scripts/run_android_tests.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/run_android_tests.py b/scripts/run_android_tests.py index 3751670..f6a1f46 100755 --- a/scripts/run_android_tests.py +++ b/scripts/run_android_tests.py @@ -19,12 +19,32 @@ import unittest from nototools.unittests import font_tests +import run_general_tests + FONTS = font_tests.load_fonts( ['out/android/*.ttf'], expected_count=18) +class TestMetaInfo(run_general_tests.TestMetaInfo): + """Bugs: + https://github.com/google/roboto/issues/142 + """ + + loaded_fonts = FONTS + mark_heavier_as_bold = True + + +class TestNames(run_general_tests.TestNames): + """Bugs: + https://github.com/google/roboto/issues/37 + """ + + loaded_fonts = FONTS + mark_heavier_as_bold = True + + class TestVerticalMetrics(font_tests.TestVerticalMetrics): loaded_fonts = FONTS test_glyphs_ymin_ymax = None |