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

Windows/[REG 5.5.0->5.5.1] Qt Quick1 tests\auto\declarative\qdeclarativetextedit::delegateLoading() fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 5.5.1
    • 5.5.1
    • Network: HTTP, Quick: Other
    • None
    • Windows, MSVC2010/15
    • f079636a3ee5538eb79fd4e7e6ffcb0465a015a0

    Description

      Test fails with

      ********* Start testing of tst_qdeclarativetextedit *********
      Config: Using QtTest library 5.5.1, Qt 5.5.1 (x86_64-little_endian-llp64 shared (dynamic) debug build; by MSVC 2015)
      PASS   : tst_qdeclarativetextedit::initTestCase()
      PASS   : tst_qdeclarativetextedit::delegateLoading(pass)
      QWARN  : tst_qdeclarativetextedit::delegateLoading(fail1) QIODevice::write (QTcpSocket): device not open [spurious]
      FAIL!  : tst_qdeclarativetextedit::delegateLoading(fail1) '(view->status()==QDeclarativeView::Error)' returned FALSE. ()
      .\tst_qdeclarativetextedit.cpp(1935) : failure location
      QWARN  : tst_qdeclarativetextedit::delegateLoading(fail2) http://localhost:42332/cursorHttpTestFail2.qml:7:35: Type ErrItem unavailable
      PASS   : tst_qdeclarativetextedit::delegateLoading(fail2)
      PASS   : tst_qdeclarativetextedit::cleanupTestCase()
      Totals: 4 passed, 1 failed, 0 skipped, 0 blacklisted
      ********* Finished testing of tst_qdeclarativetextedit *********
      

      The test uses a local test HTTP server and tries to simulate a network error, apparently (qtquick1\tests\auto\declarative\shared\testhttpserver.cpp).

      Notes:

      • The corresponding test in QtQuick2 (tests\auto\quick\qquicktextedit) still passes .
      • Introduced by : " Fix the spurious socket notifications under Windows " (a6ec869211d67fed94e3513dc453a96717155121) https://codereview.qt-project.org/#/c/123205/ .
      • The code of the test HTTP server in QtQuick1 has changed a bit since it was copy/pasted to QtQuick2 Updating it to the version in QtQuick2 does not help.

      Attachments

        Issue Links

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

          Activity

            People

              kkohne Kai Köhne
              kleint Friedemann Kleint
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes