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

QtRemoteObjects: Review and improve the tests

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Remote Objects
    • Labels:
      None
    • Technical Risk:
      Normal
    • Story Points:
      13
    • Sprint:
      Qt6_Foundation_Sprint 28, Qt6_Foundation_Sprint 29, Qt6_Foundation_Sprint 30, Qt6_Foundation_Sprint 31

      Description

      The QtRO tests for QAbstractItemModel are fragile: the root of the problem is that client requests don't know the shape of the response (list, tree, etc), so several client-server trips may be necessary and detecting when a QCOMPARE or QVERIFY can be made is difficult.
      Review the tests and investigate whether the current approach can be improved. https://codereview.qt-project.org/c/qt/qtbase/+/302905 may be relevant.

        Attachments

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

          Activity

            People

            Assignee:
            sonakur Sona Kurazyan
            Reporter:
            sonakur Sona Kurazyan
            PM Owner:
            Maurice Kalinowski Maurice Kalinowski
            RnD Owner:
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: