summaryrefslogtreecommitdiffstats
path: root/compilerplugins
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2019-04-10 15:18:07 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2019-04-11 08:25:58 +0200
commitf315fee54eee57e6e55e5fcacf2522534682c2ce (patch)
tree3d42598840b1432ddf742e4e20cd0b085b65f618 /compilerplugins
parentNB writer grouped_compact arrangement fix (diff)
downloadcore-f315fee54eee57e6e55e5fcacf2522534682c2ce.tar.gz
core-f315fee54eee57e6e55e5fcacf2522534682c2ce.zip
XmlTestTools::getXPath now asserts that non-empty attribute exists
It turns out that this change revealed unit tests written incorrectly (and untested), or maybe which became broken (not testing) because of some previous assertXPath change? They incorrectly used 3-arg form of it to check node content equality to passed string, while in fact, an attribute was looked for with that name, and its empty return tested to match default empty 4th argument. Change-Id: If24e18518543102d115a22a6282e4cca9cf694e2 Reviewed-on: https://gerrit.libreoffice.org/70581 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'compilerplugins')
0 files changed, 0 insertions, 0 deletions