diff options
-rw-r--r-- | sw/qa/python/check_change_color.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/qa/python/check_change_color.py b/sw/qa/python/check_change_color.py index d0700f104f7c..a835bc254bbf 100644 --- a/sw/qa/python/check_change_color.py +++ b/sw/qa/python/check_change_color.py @@ -1,6 +1,7 @@ import unittest from org.libreoffice.unotest import UnoInProcess + class CheckChangeColor(unittest.TestCase): @classmethod @@ -25,5 +26,11 @@ class CheckChangeColor(unittest.TestCase): self.assertEqual(xPageStyle.BackColor, 0x000000FF) self.assertEqual(xPageStyle.IsLandscape, True) + xPageStyle.setPropertyValue("GridColor", 0x000000FF) + self.assertEqual(xPageStyle.GridColor, 0x000000FF) + + xPageStyle.setPropertyValue("FootnoteLineColor", 0x000000FF) + self.assertEqual(xPageStyle.FootnoteLineColor, 0x000000FF) + if __name__ == '__main__': unittest.main() |