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

QPolygonF doesn't have test coverage

    XMLWordPrintable

Details

    • All

    Description

      There is no test coverage for QPolygonF at all, and only limited for QPolygon. Instead mostly it's relied that QPainterPath does the right thing, which it really doesn't for anything but the most trivial case - treating the polygon as a list of points.

      A very simple examples are ::intersected and ::united not being symmetric:

      QPolygon a(...), b(...);
      Q_ASSERT(a.intersected(b) == b.intersected(a));
      

      fails.

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              kshegunov Konstantin Shegunov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes