summaryrefslogtreecommitdiffstats
path: root/tests/auto/qpainterpath
diff options
context:
space:
mode:
authoraavit <qt-info@nokia.com>2011-01-26 13:15:40 +0100
committeraavit <qt-info@nokia.com>2011-01-26 13:15:40 +0100
commit6ef6adb7d6ba8408772c11c6190bc12960435c79 (patch)
treeb5a08eb955f7e18392ba26f3564042fe2e23ce26 /tests/auto/qpainterpath
parent57a4353c8e082dfc0f536a1e642e4a8df0e5b9c9 (diff)
parent9639f0ee4728036a8121674dc49e0c4338127075 (diff)
Merge remote branch 'qt-fire-review/master'
Diffstat (limited to 'tests/auto/qpainterpath')
-rw-r--r--tests/auto/qpainterpath/tst_qpainterpath.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qpainterpath/tst_qpainterpath.cpp b/tests/auto/qpainterpath/tst_qpainterpath.cpp
index fb3a4ea4c9..8382edc1fc 100644
--- a/tests/auto/qpainterpath/tst_qpainterpath.cpp
+++ b/tests/auto/qpainterpath/tst_qpainterpath.cpp
@@ -1044,6 +1044,11 @@ void tst_QPainterPath::pointAtPercent_data()
QRectF rect(241, 273, 185, 228);
path.addEllipse(rect);
QTest::newRow("Case 17") << path << qreal(1.0) << QPointF(rect.right(), qreal(0.5) * (rect.top() + rect.bottom()));
+
+ path = QPainterPath();
+ path.moveTo(100, 100);
+ QTest::newRow("Case 18") << path << qreal(0.0) << QPointF(100, 100);
+ QTest::newRow("Case 19") << path << qreal(1.0) << QPointF(100, 100);
}
void tst_QPainterPath::pointAtPercent()