diff options
Diffstat (limited to 'svx/qa/unit/table.cxx')
-rw-r--r-- | svx/qa/unit/table.cxx | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/svx/qa/unit/table.cxx b/svx/qa/unit/table.cxx index cc0c46efa21c..32faa1f97286 100644 --- a/svx/qa/unit/table.cxx +++ b/svx/qa/unit/table.cxx @@ -81,25 +81,25 @@ CPPUNIT_TEST_FIXTURE(Test, testTableShadowBlur) //- Actual : 2 //- In <>, XPath contents of child does not match // i.e. the shadow's transparency was miscalculated. - assertXPathContent(pDocument, "count(//objectinfo/unifiedtransparence)", "0"); - - assertXPath(pDocument, "//objectinfo/shadow[1]", "color", "#ff0000"); - assertXPath(pDocument, "//objectinfo/shadow[1]", "blur", "141"); - assertXPath(pDocument, "//objectinfo/shadow[2]", "color", "#ff0000"); - assertXPath(pDocument, "//objectinfo/shadow[2]", "blur", "141"); - assertXPath(pDocument, "//objectinfo/shadow[3]", "color", "#ff0000"); - assertXPath(pDocument, "//objectinfo/shadow[3]", "blur", "141"); - assertXPath(pDocument, "//objectinfo/shadow[4]", "color", "#ff0000"); - assertXPath(pDocument, "//objectinfo/shadow[4]", "blur", "141"); - assertXPath(pDocument, "//objectinfo/shadow[5]", "color", "#ff0000"); - assertXPath(pDocument, "//objectinfo/shadow[5]", "blur", "141"); - - assertXPath(pDocument, "//objectinfo/group/sdrCell[1]/unifiedtransparence", 0); - assertXPath(pDocument, "//objectinfo/group/sdrCell[2]/unifiedtransparence", 0); - assertXPath(pDocument, "//objectinfo/group/sdrCell[3]/unifiedtransparence", "transparence", - "80"); - assertXPath(pDocument, "//objectinfo/group/sdrCell[4]/unifiedtransparence", "transparence", - "80"); + assertXPathContent(pDocument, "count(//objectinfo/unifiedtransparence)"_ostr, "0"); + + assertXPath(pDocument, "//objectinfo/shadow[1]"_ostr, "color"_ostr, "#ff0000"); + assertXPath(pDocument, "//objectinfo/shadow[1]"_ostr, "blur"_ostr, "141"); + assertXPath(pDocument, "//objectinfo/shadow[2]"_ostr, "color"_ostr, "#ff0000"); + assertXPath(pDocument, "//objectinfo/shadow[2]"_ostr, "blur"_ostr, "141"); + assertXPath(pDocument, "//objectinfo/shadow[3]"_ostr, "color"_ostr, "#ff0000"); + assertXPath(pDocument, "//objectinfo/shadow[3]"_ostr, "blur"_ostr, "141"); + assertXPath(pDocument, "//objectinfo/shadow[4]"_ostr, "color"_ostr, "#ff0000"); + assertXPath(pDocument, "//objectinfo/shadow[4]"_ostr, "blur"_ostr, "141"); + assertXPath(pDocument, "//objectinfo/shadow[5]"_ostr, "color"_ostr, "#ff0000"); + assertXPath(pDocument, "//objectinfo/shadow[5]"_ostr, "blur"_ostr, "141"); + + assertXPath(pDocument, "//objectinfo/group/sdrCell[1]/unifiedtransparence"_ostr, 0); + assertXPath(pDocument, "//objectinfo/group/sdrCell[2]/unifiedtransparence"_ostr, 0); + assertXPath(pDocument, "//objectinfo/group/sdrCell[3]/unifiedtransparence"_ostr, + "transparence"_ostr, "80"); + assertXPath(pDocument, "//objectinfo/group/sdrCell[4]/unifiedtransparence"_ostr, + "transparence"_ostr, "80"); } CPPUNIT_TEST_FIXTURE(Test, testSvxTableControllerSetAttrToSelectedShape) |