[Libreoffice-commits] core.git: sw/qa
slideon
adamkasztenny at gmail.com
Tue Apr 12 06:38:07 UTC 2016
sw/qa/python/check_change_color.py | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit 7f29612cf010c89d5d2dffd4c868a79ad6f9897c
Author: slideon <adamkasztenny at gmail.com>
Date: Mon Apr 11 13:48:54 2016 -0400
Add other tests to check_change_color
Add tests for GridColor and FootnoteLineColor
Change-Id: Ia1112cbff5fd77ae1fa83fac362e917eb35f530d
Reviewed-on: https://gerrit.libreoffice.org/24001
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: jan iversen <jani at documentfoundation.org>
diff --git a/sw/qa/python/check_change_color.py b/sw/qa/python/check_change_color.py
index d0700f1..a835bc2 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()
More information about the Libreoffice-commits
mailing list