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

QtQuickTest: compare() succeeds when comparing two unequal Qt.points

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 5.2.0 RC1, 5.3.0 Beta1
    • Testing: QuickTest
    • None

    Description

      QtTest's compare() function does not fail when comparing two unequal instances of Qt.point().

      See following test case:

      import QtQuick 2.2
      import QtTest 1.0
      
      TestCase {
          function test_compare_points() {
              //should fail, but succeeds
              compare(Qt.point(1, 2), Qt.point(3, 4));
          }
      }
      

      Attachments

        1. qtbug35565.zip
          2 kB
          Friedemann Kleint

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              mlitauer Martin Litauer
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes