summaryrefslogtreecommitdiff
path: root/scripts/run_web_tests.py
diff options
context:
space:
mode:
authorJames Godfrey-Kittle <jamesgk@google.com>2015-10-06 11:07:02 -0700
committerJames Godfrey-Kittle <jamesgk@google.com>2015-10-06 11:07:02 -0700
commitf60cf5d23d9cb7a9dc2172f8338c7a82ae96dcac (patch)
tree056e7e9422255235d8feaaa8ae9509a4d11de491 /scripts/run_web_tests.py
parentc47aca74e901b0ab7cd6bb27908ea9c8617215f6 (diff)
Further generalize common_tests.py
Diffstat (limited to 'scripts/run_web_tests.py')
-rwxr-xr-xscripts/run_web_tests.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/run_web_tests.py b/scripts/run_web_tests.py
index a6acc82..be9ffa0 100755
--- a/scripts/run_web_tests.py
+++ b/scripts/run_web_tests.py
@@ -28,20 +28,34 @@ FONTS = common_tests.load_fonts(
class TestItalicAngle(common_tests.TestItalicAngle):
loaded_fonts = FONTS
+ expected_italic_angle = -12.0
class TestMetaInfo(common_tests.TestMetaInfo):
loaded_fonts = FONTS
mark_heavier_as_bold = True
+
# Since different font files are hinted at different times, the actual
# outlines differ slightly. So we are keeping the version numbers as a hint.
test_version_numbers = None
+ # fsType of 0 marks the font free for installation, embedding, etc.
+ expected_os2_fsType = 0
+ expected_os2_achVendID = 'GOOG'
+
class TestNames(common_tests.TestNames):
+ """Bugs:
+ https://github.com/google/roboto/issues/37
+ """
+
loaded_fonts = FONTS
family_name = 'Roboto'
mark_heavier_as_bold = True
+ expected_copyright = 'Copyright 2011 Google Inc. All Rights Reserved.'
+
+ def expected_unique_id(self, full_name):
+ return full_name
class TestDigitWidths(common_tests.TestDigitWidths):