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

QML SignalSpy default timeout value not documented

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.6.0 RC
    • 5.5.1
    • Documentation
    • None

      http://doc.qt.io/qt-5/qml-qttest-signalspy.html

      The timeout value is not documented anywhere. There appears to have been an attempt to document it, but qtdoc is not extracting the information.

      qtdeclarative/src ((27b9635...)) $ git grep SignalSpy::wait
      imports/testlib/SignalSpy.qml:        \qmlmethod SignalSpy::wait(timeout = 5000)
      imports/testlib/TestCase.qml:        SignalSpy::wait() provides an alternative method to wait for a
      imports/testlib/TestCase.qml:        \sa compare(), SignalSpy::wait()
      

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

            gbk Martin Smith (Qt)
            ske Steve
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes