summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeitem/tst_qdeclarativeitem.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-09-29 02:16:47 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-09-29 02:16:47 (GMT)
commit1160a58ad6cb37b3fe68490321a442d4d8b58b95 (patch)
treedec47c62d24be870c4d6d1a86340e5cf591a821c /tests/auto/declarative/qdeclarativeitem/tst_qdeclarativeitem.cpp
parent6f35701275ab0cd80daec45b3407725b10571693 (diff)
parent190ff44b6491a63a857c583d5d8bfbf7b3d0eb68 (diff)
downloadQt-1160a58ad6cb37b3fe68490321a442d4d8b58b95.zip
Qt-1160a58ad6cb37b3fe68490321a442d4d8b58b95.tar.gz
Qt-1160a58ad6cb37b3fe68490321a442d4d8b58b95.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Diffstat (limited to 'tests/auto/declarative/qdeclarativeitem/tst_qdeclarativeitem.cpp')
-rw-r--r--tests/auto/declarative/qdeclarativeitem/tst_qdeclarativeitem.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeitem/tst_qdeclarativeitem.cpp b/tests/auto/declarative/qdeclarativeitem/tst_qdeclarativeitem.cpp
index 00fcb6a..e9dad6b 100644
--- a/tests/auto/declarative/qdeclarativeitem/tst_qdeclarativeitem.cpp
+++ b/tests/auto/declarative/qdeclarativeitem/tst_qdeclarativeitem.cpp
@@ -81,6 +81,8 @@ private slots:
void resourcesProperty();
void mouseFocus();
+ void transformCrash();
+
private:
template<typename T>
T *findItem(QGraphicsObject *parent, const QString &objectName);
@@ -792,6 +794,16 @@ void tst_QDeclarativeItem::childrenRectBug3()
delete canvas;
}
+// QTBUG-13893
+void tst_QDeclarativeItem::transformCrash()
+{
+ QDeclarativeView *canvas = new QDeclarativeView(0);
+ canvas->setSource(QUrl::fromLocalFile(SRCDIR "/data/transformCrash.qml"));
+ canvas->show();
+
+ delete canvas;
+}
+
template<typename T>
T *tst_QDeclarativeItem::findItem(QGraphicsObject *parent, const QString &objectName)
{