diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-02-15 08:42:48 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-02-15 09:37:04 +0100 |
commit | 9e922ced246d2c4d4554d66ba97eae1d2a02847f (patch) | |
tree | 029037575b75401215ec6a9f8e6b714a2b15ea7e /sw | |
parent | 21ed57d810f64a9d87801c1cf060d1b94690af99 (diff) |
CppunitTest_sw_layoutwriter: disable testBtlrCell() on Windows, too
Till it's clear why it has unexpected values.
Report from mailing list:
> Test name: SwLayoutWriter::testBtlrCell
> equality assertion failed
> - Expected: 2707
> - Actual : 2710
> - In <>, attribute 'y' of '//textarray[1]' incorrect value.
Change-Id: Ic914f513df544dcf472b0870a3936f87d876c76b
Reviewed-on: https://gerrit.libreoffice.org/67856
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/layout/layout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/layout/layout.cxx b/sw/qa/extras/layout/layout.cxx index 1c8ca7aa6385..bd720372dfb1 100644 --- a/sw/qa/extras/layout/layout.cxx +++ b/sw/qa/extras/layout/layout.cxx @@ -2805,7 +2805,7 @@ void SwLayoutWriter::testBtlrCell() // doc model). assertXPath(pXmlDoc, "//font[1]", "orientation", "900"); -#ifndef MACOSX // macOS fails with actual == 2662 for some reason. +#if !defined(MACOSX) && !defined(_WIN32) // macOS fails with actual == 2662 for some reason. // Without the accompanying fix in place, this test would have failed with 'Expected: 1915; // Actual : 1756', i.e. the AAA text was too close to the left cell border due to an ascent vs // descent mismatch when calculating the baseline offset of the text portion. |