diff options
author | Jakub Trzebiatowski <ubap.dev@gmail.com> | 2016-06-07 21:57:49 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-06-13 10:48:55 +0000 |
commit | 3464befb48ccf1bf9ad4c8f321c7342db43c4019 (patch) | |
tree | 3575268ef66e0490cde203d5162a31002fb7ed64 /sw/qa/python | |
parent | 8d51397bfd98615e74e116582a50e29846ecb76e (diff) |
GSoC Table Styles, CellStyle
- insertByName
- replaceByName
- removeByName
Change-Id: I964aa0dc2e7f5a5be9eaec719b8944e847eb9d6a
Reviewed-on: https://gerrit.libreoffice.org/26037
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/qa/python')
-rw-r--r-- | sw/qa/python/check_styles.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/qa/python/check_styles.py b/sw/qa/python/check_styles.py index c435663a6d9b..d2ea6a9b02af 100644 --- a/sw/qa/python/check_styles.py +++ b/sw/qa/python/check_styles.py @@ -188,7 +188,9 @@ class CheckStyle(unittest.TestCase): xCellStyles = xDoc.StyleFamilies["CellStyles"] vEmptyDocStyles = ['Default Style.1', 'Default Style.2', 'Default Style.3', 'Default Style.4', 'Default Style.5', 'Default Style.6', 'Default Style.7', 'Default Style.8', 'Default Style.9', 'Default Style.10'] self.__test_StyleFamily(xCellStyles, vEmptyDocStyles, "SwXTextCellStyle") - #possibly more depth tests could be added, to test properties of a cell style... yet to come + self.__test_StyleFamilyIndex(xCellStyles, vEmptyDocStyles, "SwXTextCellStyle") + self.__test_StyleFamilyInsert(xDoc, xCellStyles, vEmptyDocStyles, "com.sun.star.style.CellStyle", "com.sun.star.style.CharacterStyle") + #add more tests when TableStyles will support insertByName xDoc.dispose() if __name__ == '__main__': |