CppunitTest_sw_ooxmlexport3 broken on HiDPI setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ever since the additional unit tests were enabled with
https://cgit.freedesktop.org/libreoffice/core/commit/?id=3f7e8ddea89f6340cd18b5b34f5a7c5f503962be

The CppunitTest_sw_ooxmlexport3 unit test is failing when display scaling does not equal 100%


For 125% the test is failing with the following errors:



[build CUT] sw_ooxmlexport3
test_GIF_ImageCrop.docx:
D:/core/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx:704:testGIFImageCrop::Import
equality assertion failed
- Expected: 1085
- Actual  : 868

testGIFImageCrop::Import finished in: 689ms
File tested,Execution Time (ms)
test_GIF_ImageCrop.docx:
D:/core/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx:704:testGIFImageCrop::Import_Export_Import
equality assertion failed
- Expected: 1085
- Actual  : 868

File tested,Execution Time (ms)
E:  file lt-string.c: line 189: assertion `string != ((void *)0)' failed
E:  sfile lt-string.c: line 189: assertion `string != ((void *)0)' failed
E:  sfile lt-string.c: line 189: assertion `string != ((void *)0)' failed
E:  l)file lt-string.c: line 189: assertion `string != ((void *)0)' failed
mce.docx:
420
testMce::Import finished in: 440ms
test_PNG_ImageCrop.docx:
D:/core/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx:722:testPNGImageCrop::Import
equality assertion failed
- Expected: 1058
- Actual  : 847

testPNGImageCrop::Import finished in: 385ms
File tested,Execution Time (ms)
test_PNG_ImageCrop.docx:
D:/core/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx:722:testPNGImageCrop::Import_Export_Import
equality assertion failed
- Expected: 1058
- Actual  : 847

tdf106974_int32Crop.docx:
D:/core/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx:578:testTdf106974_int32Crop::Import
assertion failed
- Expression: sal_Int32( 40470 ) < aGraphicCropStruct.Right
- 37107

testTdf106974_int32Crop::Import finished in: 454ms
File tested,Execution Time (ms)
tdf106974_int32Crop.docx:
D:/core/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx:578:testTdf106974_int32Crop::Import_Export_Import
assertion failed
- Expression: sal_Int32( 40470 ) < aGraphicCropStruct.Right
- 37110

testTdf106974_int32Crop::Import_Export_Import finished in: 2363ms

floatingtbl_with_formula.docx:
1856
testFileOpenInputOutputError::Import_Export_Import finished in: 1881ms
D:/core/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx(704) : error : Assertion
Test name: testGIFImageCrop::Import
equality assertion failed
- Expected: 1085
- Actual  : 868

D:/core/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx(704) : error : Assertion
Test name: testGIFImageCrop::Import_Export_Import
equality assertion failed
- Expected: 1085
- Actual  : 868

D:/core/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx(722) : error : Assertion
Test name: testPNGImageCrop::Import
equality assertion failed
- Expected: 1058
- Actual  : 847

D:/core/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx(722) : error : Assertion
Test name: testPNGImageCrop::Import_Export_Import
equality assertion failed
- Expected: 1058
- Actual  : 847

D:/core/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx(578) : error : Assertion
Test name: testTdf106974_int32Crop::Import
assertion failed
- Expression: sal_Int32( 40470 ) < aGraphicCropStruct.Right
- 37107

D:/core/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx(578) : error : Assertion
Test name: testTdf106974_int32Crop::Import_Export_Import
assertion failed
- Expression: sal_Int32( 40470 ) < aGraphicCropStruct.Right
- 37110

Failures !!!
Run: 90   Failure total: 6   Failures: 6   Errors: 0

Error: a unit test failed, please do one of:
make CppunitTest_sw_ooxmlexport3 CPPUNITTRACE=TRUE # which is a shortcut for the following line
make CppunitTest_sw_ooxmlexport3 CPPUNITTRACE="'C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/devenv.exe' /debugexe" # for interactive debugging in Visual Studio
make CppunitTest_sw_ooxmlexport3 CPPUNITTRACE="drmemory -free_max_frames 20" # for memory checking (install Dr.Memory first, and put it to your PATH)

You can limit the execution to just one particular test by:

make CppunitTest_sw_ooxmlexport3 CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params...

_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux