tdf132599_frames_* tests needs hu-HU hyphenation for english text

Rene Engelhard rene at debian.org
Fri May 10 15:18:30 UTC 2024


Hi,

I just got

Test name: (anonymous 
namespace)::testTdf132599_frames_on_right_pages_no_hyphenation::TestBody
equality assertion failed
- Expected: space, ex
- Actual  : space,
- In <>, attribute 'portion' of 
'/root/page[3]/body/txt/anchored/fly/txt/SwParaPortion/SwLineLayout[1]' 
incorrect value.

xmltesttools.cxx:170:Assertion
Test name: (anonymous 
namespace)::testTdf132599_frames_on_same_page_hyphenation::TestBody
equality Test name: (anonymous 
namespace)::testTdf132599_frames_on_right_pages_no_hyphenation::TestBody
equality assertion failed
- Expected: space, ex
- Actual  : space,
- In <>, attribute 'portion' of 
'/root/page[3]/body/txt/anchored/fly/txt/SwParaPortion/SwLineLayout[1]' 
incorrect value.

xmltesttools.cxx:170:Assertion
Test name: (anonymous 
namespace)::testTdf132599_frames_on_same_page_hyphenation::TestBody
equality assertion failed
- Expected: cept that it
- Actual  : space,
- In <>, attribute 'portion' of 
'/root/page/body/txt/anchored/fly[2]/txt/SwParaPortion/SwLineLayout[1]' 
incorrect value.

xmltesttools.cxx:170:Assertion
Test name: (anonymous 
namespace)::testTdf132599_frames_on_same_page_no_hyphenation::TestBody
equality assertion failed
- Expected: space, ex
- Actual  : space,
- In <>, attribute 'portion' of 
'/root/page/body/txt/anchored/fly[2]/txt/SwParaPortion/SwLineLayout[1]' 
incorrect value.

xmltesttools.cxx:170:Assertion
Test name: (anonymous 
namespace)::testTdf132599_frames_on_spread_hyphenation::TestBody
equality assertion failed
- Expected: cept that it
- Actual  : space,
- In <>, attribute 'portion' of 
'/root/page[3]/body/txt/anchored/fly/txt/SwParaPortion/SwLineLayout[1]' 
incorrect value.

Failures !!!
Run: 95   Failure total: 4   Failures: 4   Errors: 0
assertion failed
- Expected: cept that it
- Actual  : space,
- In <>, attribute 'portion' of 
'/root/page/body/txt/anchored/fly[2]/txt/SwParaPortion/SwLineLayout[1]' 
incorrect value.

xmltesttools.cxx:170:Assertion
Test name: (anonymous 
namespace)::testTdf132599_frames_on_same_page_no_hyphenation::TestBody
equality assertion failed
- Expected: space, ex
- Actual  : space,
- In <>, attribute 'portion' of 
'/root/page/body/txt/anchored/fly[2]/txt/SwParaPortion/SwLineLayout[1]' 
incorrect value.

xmltesttools.cxx:170:Assertion
Test name: (anonymous 
namespace)::testTdf132599_frames_on_spread_hyphenation::TestBody
equality assertion failed
- Expected: cept that it
- Actual  : space,
- In <>, attribute 'portion' of 
'/root/page[3]/body/txt/anchored/fly/txt/SwParaPortion/SwLineLayout[1]' 
incorrect value.

Failures !!!
Run: 95   Failure total: 4   Failures: 4   Errors: 0

in my master  test build. Wondering why I looked at the test itself and 
the .fdot.

The test code sets en_US as locale, and the text files have english text.

But LibreOffice suggests to install hu-HU hyphenation patterns when 
opening the .fodt. Indeed, the text is formatted as Hungarian.

Probably wrong?

(I just work around it by adding hyphen-hu as a build dependency, but 
that should be fixed).

Regards,

Rene


More information about the LibreOffice mailing list