diff options
Diffstat (limited to 'scripts/run_general_tests.py')
-rwxr-xr-x | scripts/run_general_tests.py | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/scripts/run_general_tests.py b/scripts/run_general_tests.py index 8b56305..68ca269 100755 --- a/scripts/run_general_tests.py +++ b/scripts/run_general_tests.py @@ -1,4 +1,19 @@ #!/usr/bin/python +# +# Copyright 2015 Google Inc. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """Test general health of the fonts.""" import unittest @@ -6,7 +21,7 @@ import unittest import common_tests FONTS = common_tests.load_fonts( - ['out/RobotoTTF/*.ttf', 'out/RobotoCondensedTTF/*.ttf'], + ['hinted/*.ttf'], expected_count=18) class TestItalicAngle(common_tests.TestItalicAngle): @@ -31,6 +46,15 @@ class TestLigatures(common_tests.TestLigatures): loaded_fonts = FONTS +class TestFeatures(common_tests.TestFeatures): + loaded_fonts = FONTS + + +class TestVerticalMetrics(common_tests.TestVerticalMetrics): + loaded_fonts = FONTS + test_ymin_ymax = None + test_hhea_table_metrics = None + if __name__ == '__main__': unittest.main() |