summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-12-18 13:51:44 +0100
committerMichael Stahl <mstahl@redhat.com>2015-12-18 14:01:06 +0100
commitbcf7ab3e13ac276ef42fa96af0755795c5f88c4a (patch)
treef146c3623f9f3693e7f173232806de9b6bc4e47b /sw
parent61085083e4a5060ba7e2135818264d63c6da13c2 (diff)
Change-Id: Icd3cf90bf617c9c77dcf9cbda705bf348f980fb3
Diffstat (limited to 'sw')
-rw-r--r--sw/JunitTest_sw_complex.mk1
-rw-r--r--sw/qa/python/check_cross_references.py4
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()