Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-89402

tst_QPlainTextEdit fails test cases on Android

    XMLWordPrintable

Details

    • Android

    Description

      tst_QPlainTextEdit fails some cases on Android

      agent:2020/12/10 20:09:24 build.go:379: 397: FAIL!  : tst_QPlainTextEdit::undoAvailableAfterPaste() Compared values are not the same
      agent:2020/12/10 20:09:24 build.go:379: 397:    Actual   (ed->toPlainText()): "This is different text"
      agent:2020/12/10 20:09:24 build.go:379: 397:    Expected (txt)              : "Test"
      agent:2020/12/10 20:09:24 build.go:379: 397:    Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/widgets/qplaintextedit/tst_qplaintextedit.cpp(476)]
      agent:2020/12/10 20:09:24 build.go:379: 397: FAIL!  : tst_QPlainTextEdit::copyAndSelectAllInReadonly() 'QApplication::clipboard()->text().isEmpty()' returned FALSE. ()
      agent:2020/12/10 20:09:24 build.go:379: 397:    Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/widgets/qplaintextedit/tst_qplaintextedit.cpp(686)]
      agent:2020/12/10 20:09:24 build.go:379: 397: FAIL!  : tst_QPlainTextEdit::canPaste() '!ed->canPaste()' returned FALSE. ()
      agent:2020/12/10 20:09:24 build.go:379: 397:    Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/widgets/qplaintextedit/tst_qplaintextedit.cpp(1218)]
      agent:2020/12/10 20:09:24 build.go:379: 397: FAIL!  : tst_QPlainTextEdit::updateCursorPositionAfterEdit() Compared values are not the same
      agent:2020/12/10 20:09:24 build.go:379: 397:    Actual   (plaintextEdit.textCursor().position()): 23
      agent:2020/12/10 20:09:24 build.go:379: 397:    Expected (initialPosition + txt.length())       : 4
      agent:2020/12/10 20:09:24 build.go:379: 397:    Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/widgets/qplaintextedit/tst_qplaintextedit.cpp(1804)]
      agent:2020/12/10 20:09:24 build.go:379: 397: PASS   : tst_QPlainTextEdit::cleanupTestCase()
      agent:2020/12/10 20:09:24 build.go:379: 397: Totals: 80 passed, 4 failed, 1 skipped, 8 blacklisted, 1126ms
      agent:2020/12/10 20:09:24 build.go:379: 397: ********* Finished testing of tst_QPlainTextEdit *********
      agent:2020/12/10 20:09:25 build.go:379: 397: Execute /opt/android/sdk/platform-tools/adb uninstall org.qtproject.example.tst_qplaintextedit.
      agent:2020/12/10 20:09:25 build.go:379: 397: Success
      agent:2020/12/10 20:09:25 build.go:379: 397/425 Test #397: tst_qplaintextedit ..............................***Failed   19.55 sec
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ivan.solovev Ivan Solovev
              assam Assam Boudjelthia
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: