sc/qa/unit/subsequent_export-test.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit df6d3e9d91c25bd1ef7c7cba0f1af63895890411
Author: Katarina Behrens <katarina.behr...@cib.de>
Date:   Mon Nov 9 15:51:50 2015 +0100

    Related tdf#92296, tdf#90812: Make this test more strict
    
    i.e. not only make sure that rPr is there, but also test the text
    chunk has the right font colour ( it went off-by-one in regression
    caused by the fix of tdf#90812 )
    
    Change-Id: I3788a845393686ed621743e117b7eb439e38e0b3

diff --git a/sc/qa/unit/subsequent_export-test.cxx 
b/sc/qa/unit/subsequent_export-test.cxx
index 24ebd59..3fe86d9 100644
--- a/sc/qa/unit/subsequent_export-test.cxx
+++ b/sc/qa/unit/subsequent_export-test.cxx
@@ -2685,7 +2685,8 @@ void ScExportTest::testSheetRunParagraphProperty()
     xmlDocPtr pDoc = XPathHelper::parseExport(&(*xDocSh), m_xSFactory, 
"xl/sharedStrings.xml", XLSX);
     CPPUNIT_ASSERT(pDoc);
 
-    assertXPath(pDoc, "/x:sst/x:si/x:r[1]/x:rPr[1]", 1);
+    OUString aColor = getXPath(pDoc, "/x:sst/x:si/x:r[1]/x:rPr[1]/x:color", 
"rgb");
+    CPPUNIT_ASSERT_EQUAL(OUString("FFFF0000"), aColor);
 
     xDocSh->DoClose();
 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to