summaryrefslogtreecommitdiff
path: root/vcl/qa
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2020-10-15 09:07:31 +0200
committerTomaž Vajngerl <quikee@gmail.com>2020-10-18 21:20:23 +0200
commitcf9dd0ab74db5e1f97c20737290a55a30a8738e5 (patch)
tree733b5faa38f2ce895602acdbcd74c95346b27f65 /vcl/qa
parent35fa77d0137350e69b17418e2bc33f1fa0be2efb (diff)
pdfium: extend tests checking color and presence of interior color
Change-Id: I348aad7e93378777ce924af5813a08b846d7caf8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104364 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/qa')
-rw-r--r--vcl/qa/cppunit/PDFiumLibraryTest.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/qa/cppunit/PDFiumLibraryTest.cxx b/vcl/qa/cppunit/PDFiumLibraryTest.cxx
index bf4876770f2c..2ef9ba942f27 100644
--- a/vcl/qa/cppunit/PDFiumLibraryTest.cxx
+++ b/vcl/qa/cppunit/PDFiumLibraryTest.cxx
@@ -379,6 +379,8 @@ void PDFiumLibraryTest::testAnnotationsDifferentTypes()
CPPUNIT_ASSERT_EQUAL(0, pAnnotation->getObjectCount());
OUString aContentsString = pAnnotation->getString(vcl::pdf::constDictionaryKeyContents);
CPPUNIT_ASSERT_EQUAL(OUString("Rectangle Text"), aContentsString);
+ CPPUNIT_ASSERT_EQUAL(Color(0xFF, 0xE0, 0x00), pAnnotation->getColor());
+ CPPUNIT_ASSERT_EQUAL(false, pAnnotation->hasKey(vcl::pdf::constDictionaryKeyInteriorColor));
}
}