summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/painting/qpainterpath/tst_qpainterpath.cpp
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2019-06-27 14:38:03 +0200
committerLiang Qi <liang.qi@qt.io>2019-06-27 14:38:03 +0200
commit25eb97d2d450fbfe761559f1ae87a2e88c8c6b2d (patch)
treea96380908abb944ff374201321fa5a50d15b770a /tests/auto/gui/painting/qpainterpath/tst_qpainterpath.cpp
parentfc940b24dbe8a118e92e335c0d9c7d4194bf3d4f (diff)
parent0d6b4b519272915c2690ee12d1834823747233ab (diff)
Merge remote-tracking branch 'origin/5.13' into dev
Conflicts: .qmake.conf src/network/ssl/qsslsocket_openssl.cpp Done-With: Timur Pocheptsov <timur.pocheptsov@qt.io> Change-Id: Ibb57a0548b4977797b400637487a56245ac1c024
Diffstat (limited to 'tests/auto/gui/painting/qpainterpath/tst_qpainterpath.cpp')
-rw-r--r--tests/auto/gui/painting/qpainterpath/tst_qpainterpath.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/gui/painting/qpainterpath/tst_qpainterpath.cpp b/tests/auto/gui/painting/qpainterpath/tst_qpainterpath.cpp
index 69c961c1a1..c90348e91a 100644
--- a/tests/auto/gui/painting/qpainterpath/tst_qpainterpath.cpp
+++ b/tests/auto/gui/painting/qpainterpath/tst_qpainterpath.cpp
@@ -189,6 +189,10 @@ void tst_QPainterPath::reserveAndCapacity()
p.reserve(0);
QVERIFY(p.capacity() >= 1000);
+
+ QPainterPath p2;
+ p2.reserve(10);
+ QVERIFY(p.capacity() >= 10);
}
Q_DECLARE_METATYPE(QPainterPath)