summaryrefslogtreecommitdiff
path: root/uitest
diff options
context:
space:
mode:
authorheiko tietze <tietze.heiko@gmail.com>2018-05-07 13:07:01 +0200
committerandreas_kainz <kainz.a@gmail.com>2018-05-09 08:55:19 +0200
commitc3ec2fb53c68547deda0724315841c818a39fb12 (patch)
tree41d4570baa68b933fae2a5e7385927e8edb76934 /uitest
parent77ae49e2e22bc4094f26932286404e50ec1c9c36 (diff)
tdf#114006 - New default set of gradient presets
New set of gradients incl. l10n and ui test Change-Id: Iee303a39ad721b5a4e8b9adb78ee5a82227b84f4 Reviewed-on: https://gerrit.libreoffice.org/53934 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: andreas_kainz <kainz.a@gmail.com>
Diffstat (limited to 'uitest')
-rw-r--r--uitest/impress_tests/backgrounds.py6
-rw-r--r--uitest/writer_tests/pageDialog.py4
2 files changed, 5 insertions, 5 deletions
diff --git a/uitest/impress_tests/backgrounds.py b/uitest/impress_tests/backgrounds.py
index 655b67414929..642db9f3681e 100644
--- a/uitest/impress_tests/backgrounds.py
+++ b/uitest/impress_tests/backgrounds.py
@@ -24,7 +24,7 @@ class ImpressBackgrounds(UITestCase):
self.assertEqual(
document.DrawPages.getByIndex(0).Background.FillGradient.Style, LINEAR)
self.assertEqual(
- document.DrawPages.getByIndex(0).Background.FillGradient.StartColor, 9101876)
+ document.DrawPages.getByIndex(0).Background.FillGradient.StartColor, 14543051)
self.assertEqual(
document.DrawPages.getByIndex(0).Background.FillGradient.Angle, 300)
self.assertEqual(
@@ -37,8 +37,8 @@ class ImpressBackgrounds(UITestCase):
document.DrawPages.getByIndex(0).Background.FillGradient.StartIntensity, 100)
self.assertEqual(
document.DrawPages.getByIndex(0).Background.FillGradient.EndIntensity, 100)
- #self.assertEqual(
- #document.DrawPages.getByIndex(0).Background.FillGradientName, 'Tango Green')
+ self.assertEqual(
+ document.DrawPages.getByIndex(0).Background.FillGradientName, 'Pastel Bouqet')
elif btn == 'btnhatch':
self.assertEqual(
document.DrawPages.getByIndex(0).Background.FillHatch.Style, SINGLE )
diff --git a/uitest/writer_tests/pageDialog.py b/uitest/writer_tests/pageDialog.py
index 9dc0a101d5e2..2c03718e26e7 100644
--- a/uitest/writer_tests/pageDialog.py
+++ b/uitest/writer_tests/pageDialog.py
@@ -45,7 +45,7 @@ class WriterPageDialog(UITestCase):
self.assertEqual(
document.StyleFamilies.PageStyles.Standard.FillGradient.Style, LINEAR)
self.assertEqual(
- document.StyleFamilies.PageStyles.Standard.FillGradient.StartColor, 9101876)
+ document.StyleFamilies.PageStyles.Standard.FillGradient.StartColor, 14543051)
self.assertEqual(
document.StyleFamilies.PageStyles.Standard.FillGradient.Angle, 300)
self.assertEqual(
@@ -59,7 +59,7 @@ class WriterPageDialog(UITestCase):
self.assertEqual(
document.StyleFamilies.PageStyles.Standard.FillGradient.EndIntensity, 100)
self.assertEqual(
- document.StyleFamilies.PageStyles.Standard.FillGradientName, 'Tango Green')
+ document.StyleFamilies.PageStyles.Standard.FillGradientName, 'Pastel Bouqet')
elif btn == 'btnhatch':
self.assertEqual(
document.StyleFamilies.PageStyles.Standard.FillHatch.Style, SINGLE )