summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2022-10-07 17:54:24 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2022-10-18 14:13:27 +0200
commitc74cf23124c247307178158493b93b3e72473984 (patch)
treec2b13473d039b960fc2a1f81a4815df306797274 /tests/auto/corelib/tools
parentc10132888e1c158eb799316ccde82706c8a82b2d (diff)
tst_QRect::containsPointF_data(): remove duplicate data row
The row 27 that was positioned before row 01, as if it were meant to be numbered row 00, was identical to the row 27 that appeared after row 26. Since row 26 was the other case dealing with the null QRectF(), I kept the one after it instead of renumbering row 00 and deleting row 27. Change-Id: I3585839184233f1f1629280ac9e5b25110c155c0 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/tools')
-rw-r--r--tests/auto/corelib/tools/qrect/tst_qrect.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/corelib/tools/qrect/tst_qrect.cpp b/tests/auto/corelib/tools/qrect/tst_qrect.cpp
index 65cd68108a..d37a5c52b0 100644
--- a/tests/auto/corelib/tools/qrect/tst_qrect.cpp
+++ b/tests/auto/corelib/tools/qrect/tst_qrect.cpp
@@ -4315,8 +4315,6 @@ void tst_QRect::containsPointF_data()
QTest::addColumn<QPointF>("point");
QTest::addColumn<bool>("contains");
- QTest::newRow("test 27") << QRectF() << QPointF() << false;
-
QTest::newRow("test 01") << QRectF(0, 0, 10, 10) << QPointF( 0, 0) << true;
QTest::newRow("test 02") << QRectF(0, 0, 10, 10) << QPointF( 0, 10) << true;
QTest::newRow("test 03") << QRectF(0, 0, 10, 10) << QPointF(10, 0) << true;