summaryrefslogtreecommitdiffstats
path: root/tests/auto/qpainterpath/tst_qpainterpath.cpp
diff options
context:
space:
mode:
authoraavit <qt-info@nokia.com>2011-01-26 12:15:40 (GMT)
committeraavit <qt-info@nokia.com>2011-01-26 12:15:40 (GMT)
commit6ef6adb7d6ba8408772c11c6190bc12960435c79 (patch)
treeb5a08eb955f7e18392ba26f3564042fe2e23ce26 /tests/auto/qpainterpath/tst_qpainterpath.cpp
parent57a4353c8e082dfc0f536a1e642e4a8df0e5b9c9 (diff)
parent9639f0ee4728036a8121674dc49e0c4338127075 (diff)
downloadQt-6ef6adb7d6ba8408772c11c6190bc12960435c79.zip
Qt-6ef6adb7d6ba8408772c11c6190bc12960435c79.tar.gz
Qt-6ef6adb7d6ba8408772c11c6190bc12960435c79.tar.bz2
Merge remote branch 'qt-fire-review/master'
Diffstat (limited to 'tests/auto/qpainterpath/tst_qpainterpath.cpp')
-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 fb3a4ea..8382edc 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()