diff options
-rw-r--r-- | sw/JunitTest_sw_complex.mk | 1 | ||||
-rw-r--r-- | sw/qa/python/check_cross_references.py | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sw/JunitTest_sw_complex.mk b/sw/JunitTest_sw_complex.mk index ae96c28d0753..688ef19f9bde 100644 --- a/sw/JunitTest_sw_complex.mk +++ b/sw/JunitTest_sw_complex.mk @@ -49,7 +49,6 @@ $(eval $(call gb_JunitTest_add_classes,sw_complex,\ complex.accessibility.AccessibleRelationSet \ complex.checkColor.CheckChangeColor \ complex.writer.CheckBookmarks \ - complex.writer.CheckCrossReferences \ complex.writer.CheckTable \ complex.writer.CheckIndexedPropertyValues \ complex.writer.CheckNamedPropertyValues \ diff --git a/sw/qa/python/check_cross_references.py b/sw/qa/python/check_cross_references.py index da6006eb79bf..5ec1bc8639f0 100644 --- a/sw/qa/python/check_cross_references.py +++ b/sw/qa/python/check_cross_references.py @@ -75,7 +75,7 @@ class CheckCrossReferences(unittest.TestCase): def getFieldProps(self,xField): xProps = xField - self.assertTrue("Cannot retrieve field properties.", xProps) + self.assertTrue(xProps, "Cannot retrieve field properties.") return xProps def checkField(self, xField , xProps, nFormat, aExpectedFieldResult ): @@ -222,7 +222,7 @@ class CheckCrossReferences(unittest.TestCase): #check inserted reference field xField = xNewField - self.assertTrue("J", xField.getPresentation(False)) #inserted reference field doesn't has correct field result + self.assertEqual("J", xField.getPresentation(False)) #inserted reference field doesn't has correct field result xParaTextRange.getStart().setString( "Hallo new bookmark: ") self.xFieldsRefresh.refresh() |