Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.0.0
Description
In tbase/tests/auto/corelib/tools/qrect/tst_qrect.cpp, the normalized() test function contains the following line:
QEXPECT_FAIL("ZeroHeight1", "due to broken QRect definition (not possible to change)", Continue);
QEXPECT_FAIL is provided for the purpose of documenting how a known bug affects test results and enabling the tests to continue to work until the known bug is fixed. The case above seems more like something that should be documented in class documentation, as it will never be fixed – in which case the test should be corrected to match the expected (but not necessarily optimal) behaviour.
Attachments
For Gerrit Dashboard: QTBUG-22934 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
94062,4 | QRect: normalized() should swap corners on all empty rects. | dev | qt/qtbase | Status: ABANDONED | -1 | 0 |
309932,13 | Define inverted QRects consistently | dev | qt/qtbase | Status: MERGED | +2 | 0 |