Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.3.0
-
None
Description
tst_qquicktext fails on Android with output
********* Start testing of tst_qquicktext ********* Config: Using QtTest library 6.4.0, Qt 6.4.0 (arm64-little_endian-lp64 shared (dynamic) debug build; by Clang 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee)), android 12.0 PASS : tst_qquicktext::initTestCase() PASS : tst_qquicktext::text() PASS : tst_qquicktext::width() PASS : tst_qquicktext::wrap() PASS : tst_qquicktext::elide() PASS : tst_qquicktext::elideParentChanged() PASS : tst_qquicktext::elideRelayoutAfterZeroWidth() PASS : tst_qquicktext::multilineElide(plain) PASS : tst_qquicktext::multilineElide(styled) PASS : tst_qquicktext::implicitElide(maximum width, empty) PASS : tst_qquicktext::implicitElide(maximum width, short) PASS : tst_qquicktext::implicitElide(maximum width, long) PASS : tst_qquicktext::implicitElide(reset width, empty) PASS : tst_qquicktext::implicitElide(reset width, short) PASS : tst_qquicktext::implicitElide(reset width, long) PASS : tst_qquicktext::textFormat() PASS : tst_qquicktext::baseUrl() PASS : tst_qquicktext::embeddedImages(local) PASS : tst_qquicktext::embeddedImages(local-error) PASS : tst_qquicktext::embeddedImages(local) PASS : tst_qquicktext::embeddedImages(remote) PASS : tst_qquicktext::embeddedImages(remote-error) PASS : tst_qquicktext::embeddedImages(remote-relative) PASS : tst_qquicktext::lineCount() PASS : tst_qquicktext::lineHeight() PASS : tst_qquicktext::horizontalAlignment() PASS : tst_qquicktext::horizontalAlignment_RightToLeft() PASS : tst_qquicktext::verticalAlignment() BFAIL : tst_qquicktext::hAlignImplicitWidth() 'left > mid' returned FALSE. (288 is not greater than 2467) Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/qquicktext/tst_qquicktext.cpp(1062)] PASS : tst_qquicktext::font() PASS : tst_qquicktext::style() PASS : tst_qquicktext::color() PASS : tst_qquicktext::smooth() PASS : tst_qquicktext::renderType() PASS : tst_qquicktext::antialiasing() PASS : tst_qquicktext::weight() PASS : tst_qquicktext::underline() PASS : tst_qquicktext::overline() PASS : tst_qquicktext::strikeout() PASS : tst_qquicktext::capitalization() PASS : tst_qquicktext::letterSpacing() PASS : tst_qquicktext::wordSpacing() PASS : tst_qquicktext::linkInteraction(click on link) PASS : tst_qquicktext::linkInteraction(click on text) PASS : tst_qquicktext::linkInteraction(drag within link) PASS : tst_qquicktext::linkInteraction(drag away from link) PASS : tst_qquicktext::linkInteraction(drag on to link) PASS : tst_qquicktext::linkInteraction(click on bottom right aligned link) PASS : tst_qquicktext::linkInteraction(click on mirrored link) PASS : tst_qquicktext::linkInteraction(click on center aligned link) PASS : tst_qquicktext::linkInteraction(click on rich text link) PASS : tst_qquicktext::linkInteraction(click on rich text) PASS : tst_qquicktext::linkInteraction(click on bottom right aligned rich text link) PASS : tst_qquicktext::linkInteraction(click on center aligned rich text link) PASS : tst_qquicktext::linkInteraction(click on right elided link) PASS : tst_qquicktext::linkInteraction(click on left elided link) PASS : tst_qquicktext::linkInteraction(click on second line) PASS : tst_qquicktext::linkInteraction(click on third line) PASS : tst_qquicktext::linkInteraction(drag from second line to third) PASS : tst_qquicktext::linkInteraction(click on rich text second line) PASS : tst_qquicktext::linkInteraction(click on rich text third line) PASS : tst_qquicktext::linkInteraction(drag rich text from second line to third) PASS : tst_qquicktext::linkInteraction(click on left outer link) PASS : tst_qquicktext::linkInteraction(click on right outer link) PASS : tst_qquicktext::linkInteraction(click on inner link left) PASS : tst_qquicktext::linkInteraction(click on inner link right) PASS : tst_qquicktext::linkInteraction(drag from inner to outer link) PASS : tst_qquicktext::linkInteraction(drag from outer to inner link) PASS : tst_qquicktext::linkInteraction(click on left outer rich text link) PASS : tst_qquicktext::linkInteraction(click on right outer rich text link) PASS : tst_qquicktext::linkInteraction(click on inner rich text link left) PASS : tst_qquicktext::linkInteraction(click on inner rich text link right) PASS : tst_qquicktext::linkInteraction(drag from inner to outer rich text link) PASS : tst_qquicktext::linkInteraction(drag from outer to inner rich text link) PASS : tst_qquicktext::implicitSize(plain) PASS : tst_qquicktext::implicitSize(richtext) PASS : tst_qquicktext::implicitSize(styledtext) PASS : tst_qquicktext::implicitSize(plain, 0 width) PASS : tst_qquicktext::implicitSize(plain, elide) PASS : tst_qquicktext::implicitSize(plain, 0 width, elide) PASS : tst_qquicktext::implicitSize(richtext, 0 width) PASS : tst_qquicktext::implicitSize(styledtext, 0 width) PASS : tst_qquicktext::implicitSize(plain_wrap) PASS : tst_qquicktext::implicitSize(richtext_wrap) PASS : tst_qquicktext::implicitSize(styledtext_wrap) PASS : tst_qquicktext::implicitSize(plain_wrap, 0 width) PASS : tst_qquicktext::implicitSize(plain_wrap, elide) PASS : tst_qquicktext::implicitSize(plain_wrap, 0 width, elide) PASS : tst_qquicktext::implicitSize(richtext_wrap, 0 width) PASS : tst_qquicktext::implicitSize(styledtext_wrap, 0 width) PASS : tst_qquicktext::implicitSizeChangeRewrap() PASS : tst_qquicktext::dependentImplicitSizes() PASS : tst_qquicktext::contentSize() PASS : tst_qquicktext::implicitSizeBinding(plain) PASS : tst_qquicktext::implicitSizeBinding(richtext) PASS : tst_qquicktext::implicitSizeBinding(styledtext) PASS : tst_qquicktext::implicitSizeBinding(plain, 0 width) PASS : tst_qquicktext::implicitSizeBinding(plain, elide) PASS : tst_qquicktext::implicitSizeBinding(plain, 0 width, elide) PASS : tst_qquicktext::implicitSizeBinding(richtext, 0 width) PASS : tst_qquicktext::implicitSizeBinding(styledtext, 0 width) PASS : tst_qquicktext::implicitSizeBinding(plain_wrap) PASS : tst_qquicktext::implicitSizeBinding(richtext_wrap) PASS : tst_qquicktext::implicitSizeBinding(styledtext_wrap) PASS : tst_qquicktext::implicitSizeBinding(plain_wrap, 0 width) PASS : tst_qquicktext::implicitSizeBinding(plain_wrap, elide) PASS : tst_qquicktext::implicitSizeBinding(plain_wrap, 0 width, elide) PASS : tst_qquicktext::implicitSizeBinding(richtext_wrap, 0 width) PASS : tst_qquicktext::implicitSizeBinding(styledtext_wrap, 0 width) PASS : tst_qquicktext::geometryChanged() PASS : tst_qquicktext::boundingRect(PlainText) PASS : tst_qquicktext::boundingRect(StyledText) PASS : tst_qquicktext::boundingRect(RichText) PASS : tst_qquicktext::clipRect() FAIL! : tst_qquicktext::largeTextObservesViewport(default plain text) 'qAbs(renderedLineRange.second - (expectedLastLine + 1)) < (linesAboveViewport > 80 ? 4 : 2)' returned FALSE. () Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/qquicktext/tst_qquicktext.cpp(3042)] PASS : tst_qquicktext::largeTextObservesViewport(clipped plain text) FAIL! : tst_qquicktext::largeTextObservesViewport(default styled text) 'qAbs(renderedLineRange.second - (expectedLastLine + 1)) < (linesAboveViewport > 80 ? 4 : 2)' returned FALSE. () Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/qquicktext/tst_qquicktext.cpp(3042)] PASS : tst_qquicktext::largeTextObservesViewport(clipped styled text) PASS : tst_qquicktext::largeTextObservesViewport(heading visible) QWARN : tst_qquicktext::lineLaidOut() : file::/data/lineLayout.qml:23:9 Parameter "line" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead. PASS : tst_qquicktext::lineLaidOut() QWARN : tst_qquicktext::lineLaidOutRelayout() : file::/data/lineLayoutRelayout.qml:32:9 Parameter "line" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead. PASS : tst_qquicktext::lineLaidOutRelayout() PASS : tst_qquicktext::lineLaidOutHAlign() QWARN : tst_qquicktext::lineLaidOutImplicitWidth() : file::/data/lineLayoutImplicitWidth.qml:73:9 Parameter "line" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead. PASS : tst_qquicktext::lineLaidOutImplicitWidth() PASS : tst_qquicktext::imgTagsBaseUrl(absolute local) PASS : tst_qquicktext::imgTagsBaseUrl(relative local context 1) PASS : tst_qquicktext::imgTagsBaseUrl(relative local context 2) PASS : tst_qquicktext::imgTagsBaseUrl(relative local base 1) PASS : tst_qquicktext::imgTagsBaseUrl(relative local base 2) PASS : tst_qquicktext::imgTagsBaseUrl(base relative to local context) PASS : tst_qquicktext::imgTagsBaseUrl(absolute remote) PASS : tst_qquicktext::imgTagsBaseUrl(relative remote base 1) PASS : tst_qquicktext::imgTagsBaseUrl(relative remote base 2) QWARN : tst_qquicktext::imgTagsAlign(heart-bottom) file:.:2:1: QML Text: Cannot open: file:data/images/heart200.png FAIL! : tst_qquicktext::imgTagsAlign(heart-bottom) Compared doubles are not the same (fuzzy compare) Actual (textObject->height()): 45 Expected (qreal(imgHeight)) : 181 Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/qquicktext/tst_qquicktext.cpp(3291)] QWARN : tst_qquicktext::imgTagsAlign(heart-middle) file:.:2:1: QML Text: Cannot open: file:data/images/heart200.png FAIL! : tst_qquicktext::imgTagsAlign(heart-middle) Compared doubles are not the same (fuzzy compare) Actual (textObject->height()): 22 Expected (qreal(imgHeight)) : 181 Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/qquicktext/tst_qquicktext.cpp(3291)] QWARN : tst_qquicktext::imgTagsAlign(heart-top) file:.:2:1: QML Text: Cannot open: file:data/images/heart200.png FAIL! : tst_qquicktext::imgTagsAlign(heart-top) Compared doubles are not the same (fuzzy compare) Actual (textObject->height()): 22 Expected (qreal(imgHeight)) : 181 Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/qquicktext/tst_qquicktext.cpp(3291)] QWARN : tst_qquicktext::imgTagsAlign(starfish-bottom) file:.:2:1: QML Text: Cannot open: file:data/images/starfish_2.png FAIL! : tst_qquicktext::imgTagsAlign(starfish-bottom) Compared doubles are not the same (fuzzy compare) Actual (textObject->height()): 45 Expected (qreal(imgHeight)) : 217 Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/qquicktext/tst_qquicktext.cpp(3291)] QWARN : tst_qquicktext::imgTagsAlign(starfish-middle) file:.:2:1: QML Text: Cannot open: file:data/images/starfish_2.png FAIL! : tst_qquicktext::imgTagsAlign(starfish-middle) Compared doubles are not the same (fuzzy compare) Actual (textObject->height()): 22 Expected (qreal(imgHeight)) : 217 Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/qquicktext/tst_qquicktext.cpp(3291)] QWARN : tst_qquicktext::imgTagsAlign(starfish-top) file:.:2:1: QML Text: Cannot open: file:data/images/starfish_2.png FAIL! : tst_qquicktext::imgTagsAlign(starfish-top) Compared doubles are not the same (fuzzy compare) Actual (textObject->height()): 22 Expected (qreal(imgHeight)) : 217 Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/qquicktext/tst_qquicktext.cpp(3291)] QWARN : tst_qquicktext::imgTagsMultipleImages() file:.:2:1: QML Text: Cannot open: file:data/images/starfish_2.png QWARN : tst_qquicktext::imgTagsMultipleImages() file:.:2:1: QML Text: Cannot open: file:data/images/heart200.png PASS : tst_qquicktext::imgTagsMultipleImages() PASS : tst_qquicktext::imgTagsElide() PASS : tst_qquicktext::imgTagsUpdates() PASS : tst_qquicktext::imgTagsError() PASS : tst_qquicktext::fontSizeMode(plain) PASS : tst_qquicktext::fontSizeMode(styled) PASS : tst_qquicktext::fontSizeModeMultiline(plain) PASS : tst_qquicktext::fontSizeModeMultiline(styledtext) PASS : tst_qquicktext::multilengthStrings(No Wrap) PASS : tst_qquicktext::multilengthStrings(Wrap) PASS : tst_qquicktext::fontFormatSizes(fs1) PASS : tst_qquicktext::fontFormatSizes(fs2) PASS : tst_qquicktext::fontFormatSizes(fs3) PASS : tst_qquicktext::fontFormatSizes(fs4) PASS : tst_qquicktext::fontFormatSizes(fs5) PASS : tst_qquicktext::fontFormatSizes(fs6) PASS : tst_qquicktext::fontFormatSizes(fs7) PASS : tst_qquicktext::fontFormatSizes(h1) PASS : tst_qquicktext::fontFormatSizes(h2) PASS : tst_qquicktext::fontFormatSizes(h3) PASS : tst_qquicktext::fontFormatSizes(h4) PASS : tst_qquicktext::fontFormatSizes(h5) PASS : tst_qquicktext::fontFormatSizes(h6) PASS : tst_qquicktext::baselineOffset(top align) PASS : tst_qquicktext::baselineOffset(bottom align) PASS : tst_qquicktext::baselineOffset(center align) PASS : tst_qquicktext::baselineOffset(bold) PASS : tst_qquicktext::baselineOffset(richText) PASS : tst_qquicktext::baselineOffset(elided) PASS : tst_qquicktext::baselineOffset(elided bottom align) PASS : tst_qquicktext::baselineOffset(image) QWARN : tst_qquicktext::baselineOffset(customLine) : :3:14 Parameter "line" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead. PASS : tst_qquicktext::baselineOffset(customLine) FAIL! : tst_qquicktext::baselineOffset(scaled font) Compared doubles are not the same (fuzzy compare) Actual (item->baselineOffset()): 67.0625 Expected (expectedBaseline(item)): 84.875 Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/qquicktext/tst_qquicktext.cpp(4334)] PASS : tst_qquicktext::baselineOffset(fixed line height top align) PASS : tst_qquicktext::baselineOffset(fixed line height bottom align) PASS : tst_qquicktext::baselineOffset(proportional line height top align) PASS : tst_qquicktext::baselineOffset(proportional line height bottom align) PASS : tst_qquicktext::baselineOffset(top align with padding) PASS : tst_qquicktext::baselineOffset(bottom align with padding) PASS : tst_qquicktext::baselineOffset(center align with padding) PASS : tst_qquicktext::baselineOffset(bold width padding) PASS : tst_qquicktext::baselineOffset(richText with padding) PASS : tst_qquicktext::baselineOffset(elided with padding) PASS : tst_qquicktext::baselineOffset(elided bottom align with padding) PASS : tst_qquicktext::baselineOffset(image with padding) QWARN : tst_qquicktext::baselineOffset(customLine with padding) : :3:49 Parameter "line" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead. PASS : tst_qquicktext::baselineOffset(customLine with padding) FAIL! : tst_qquicktext::baselineOffset(scaled font with padding) Compared doubles are not the same (fuzzy compare) Actual (item->baselineOffset()): 77.0625 Expected (expectedBaseline(item)): 94.875 Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/qquicktext/tst_qquicktext.cpp(4334)] PASS : tst_qquicktext::baselineOffset(fixed line height top align with padding) PASS : tst_qquicktext::baselineOffset(fixed line height bottom align with padding) PASS : tst_qquicktext::baselineOffset(proportional line height top align with padding) PASS : tst_qquicktext::baselineOffset(proportional line height bottom align with padding) PASS : tst_qquicktext::htmlLists(ordered list) PASS : tst_qquicktext::htmlLists(ordered list closed) PASS : tst_qquicktext::htmlLists(ordered list alpha) PASS : tst_qquicktext::htmlLists(ordered list upper alpha) PASS : tst_qquicktext::htmlLists(ordered list roman) PASS : tst_qquicktext::htmlLists(ordered list upper roman) PASS : tst_qquicktext::htmlLists(ordered list bad) PASS : tst_qquicktext::htmlLists(unordered list) PASS : tst_qquicktext::htmlLists(unordered list closed) PASS : tst_qquicktext::htmlLists(unordered list disc) PASS : tst_qquicktext::htmlLists(unordered list square) PASS : tst_qquicktext::htmlLists(unordered list bad) PASS : tst_qquicktext::elideBeforeMaximumLineCount() PASS : tst_qquicktext::hover() PASS : tst_qquicktext::growFromZeroWidth() PASS : tst_qquicktext::padding() PASS : tst_qquicktext::hintingPreference() PASS : tst_qquicktext::zeroWidthAndElidedDoesntRender() BFAIL : tst_qquicktext::hAlignWidthDependsOnImplicitWidth(AlignHCenter, ElideNone, 0 extraWidth) Compared values are not the same Actual (numberOfNonWhitePixels(0, rectX - 1, image)): 457 Expected (0) : 0 Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/qquicktext/tst_qquicktext.cpp(4629)] BFAIL : tst_qquicktext::hAlignWidthDependsOnImplicitWidth(AlignRight, ElideNone, 0 extraWidth) Compared values are not the same Actual (numberOfNonWhitePixels(0, rectX - 1, image)): 457 Expected (0) : 0 Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/qquicktext/tst_qquicktext.cpp(4629)] BFAIL : tst_qquicktext::hAlignWidthDependsOnImplicitWidth(AlignHCenter, ElideRight, 0 extraWidth) Compared values are not the same Actual (numberOfNonWhitePixels(0, rectX - 1, image)): 457 Expected (0) : 0 Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/qquicktext/tst_qquicktext.cpp(4629)] BFAIL : tst_qquicktext::hAlignWidthDependsOnImplicitWidth(AlignRight, ElideRight, 0 extraWidth) Compared values are not the same Actual (numberOfNonWhitePixels(0, rectX - 1, image)): 457 Expected (0) : 0 Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/qquicktext/tst_qquicktext.cpp(4629)] BFAIL : tst_qquicktext::hAlignWidthDependsOnImplicitWidth(AlignHCenter, ElideNone, 20 extraWidth) Compared values are not the same Actual (numberOfNonWhitePixels(0, rectX - 1, image)): 457 Expected (0) : 0 Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/qquicktext/tst_qquicktext.cpp(4629)] BFAIL : tst_qquicktext::hAlignWidthDependsOnImplicitWidth(AlignRight, ElideNone, 20 extraWidth) Compared values are not the same Actual (numberOfNonWhitePixels(0, rectX - 1, image)): 457 Expected (0) : 0 Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/qquicktext/tst_qquicktext.cpp(4629)] BFAIL : tst_qquicktext::hAlignWidthDependsOnImplicitWidth(AlignHCenter, ElideRight, 20 extraWidth) Compared values are not the same Actual (numberOfNonWhitePixels(0, rectX - 1, image)): 457 Expected (0) : 0 Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/qquicktext/tst_qquicktext.cpp(4629)] BFAIL : tst_qquicktext::hAlignWidthDependsOnImplicitWidth(AlignRight, ElideRight, 20 extraWidth) Compared values are not the same Actual (numberOfNonWhitePixels(0, rectX - 1, image)): 457 Expected (0) : 0 Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/qquicktext/tst_qquicktext.cpp(4629)] PASS : tst_qquicktext::fontInfo() PASS : tst_qquicktext::initialContentHeight() PASS : tst_qquicktext::verticallyAlignedImageInTable() BFAIL : tst_qquicktext::transparentBackground() Compared values are not the same Actual (color.red()): 0 Expected (255) : 255 Loc: [/home/andreasbuhr/development/qtdev/qtdeclarative/tests/auto/quick/qquicktext/tst_qquicktext.cpp(4709)] PASS : tst_qquicktext::displaySuperscriptedTag() PASS : tst_qquicktext::cleanupTestCase() Totals: 201 passed, 10 failed, 0 skipped, 10 blacklisted, 30700ms ********* Finished testing of tst_qquicktext *********
Attachments
Issue Links
- relates to
-
QTBUG-99193 Fix failing qtdeclarative tests for Android
- Closed
- resulted from
-
QTBUG-101865 Check impact of undetected crashes on Android in QtDeclarative
- Closed