summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2014-10-23 20:40:34 -0700
committerJames Godfrey-Kittle <jamesgk@google.com>2015-04-16 12:16:22 -0700
commitb8f40a25fba147784ae07ed605ed98cc34049345 (patch)
tree4dce363236e790d3630ded87c5220b5ac157ab15 /scripts
parent31334e64527cca3a827c47b0e9be7fde4dfa7ea0 (diff)
Move test for lack of unassigned characters from Android to general tests.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/run_android_tests.py8
-rwxr-xr-xscripts/run_general_tests.py8
2 files changed, 8 insertions, 8 deletions
diff --git a/scripts/run_android_tests.py b/scripts/run_android_tests.py
index 097f9bd..adb2c06 100755
--- a/scripts/run_android_tests.py
+++ b/scripts/run_android_tests.py
@@ -49,14 +49,6 @@ class TestCharacterCoverage(unittest.TestCase):
self.assertNotIn(0x2191, charset) # UPWARDS ARROW
self.assertNotIn(0x2193, charset) # DOWNWARDS ARROW
- def test_lack_of_unassigned_chars(self):
- """Tests that unassigned characters are not in the fonts."""
- for font in self.fonts:
- charset = coverage.character_set(font)
- self.assertNotIn(0x2072, charset)
- self.assertNotIn(0x2073, charset)
- self.assertNotIn(0x208F, charset)
-
def test_inclusion_of_legacy_pua(self):
"""Tests that legacy PUA characters remain in the fonts."""
for font in self.fonts:
diff --git a/scripts/run_general_tests.py b/scripts/run_general_tests.py
index 0960deb..f160f15 100755
--- a/scripts/run_general_tests.py
+++ b/scripts/run_general_tests.py
@@ -58,6 +58,14 @@ class TestCharacterCoverage(unittest.TestCase):
def setUp(self):
_, self.fonts = load_fonts()
+ def test_lack_of_unassigned_chars(self):
+ """Tests that unassigned characters are not in the fonts."""
+ for font in self.fonts:
+ charset = coverage.character_set(font)
+ self.assertNotIn(0x2072, charset)
+ self.assertNotIn(0x2073, charset)
+ self.assertNotIn(0x208F, charset)
+
def test_inclusion_of_sound_recording_copyright(self):
"""Tests that sound recording copyright symbol is in the fonts."""
for font in self.fonts: