diff options
Diffstat (limited to 'test/simpleTests.py')
-rw-r--r-- | test/simpleTests.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/simpleTests.py b/test/simpleTests.py index bcb11091d..3f607bed6 100644 --- a/test/simpleTests.py +++ b/test/simpleTests.py @@ -1916,6 +1916,11 @@ class TestStyleAttributes(unittest.TestCase): self.ed.SetDefaultFoldDisplayText(0, b"...") self.assertEquals(self.ed.GetDefaultFoldDisplayText(), b"...") + def testFontQuality(self): + self.assertEquals(self.ed.GetFontQuality(), self.ed.SC_EFF_QUALITY_DEFAULT) + self.ed.SetFontQuality(self.ed.SC_EFF_QUALITY_LCD_OPTIMIZED) + self.assertEquals(self.ed.GetFontQuality(), self.ed.SC_EFF_QUALITY_LCD_OPTIMIZED) + def testFontLocale(self): initialLocale = "en-us".encode("UTF-8") testLocale = "zh-Hans".encode("UTF-8") |