summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/declarative/creation
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-05-13 00:08:48 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-05-13 00:08:48 (GMT)
commit386b658ce39bfab16ea14b232c61ad4703f11619 (patch)
treed68d6fbf210464dfd7ce78e22c0fabc9e1537a40 /tests/benchmarks/declarative/creation
parent7894bbb901a2ba74284bd6c0544b06c6a41f6b6f (diff)
downloadQt-386b658ce39bfab16ea14b232c61ad4703f11619.zip
Qt-386b658ce39bfab16ea14b232c61ad4703f11619.tar.gz
Qt-386b658ce39bfab16ea14b232c61ad4703f11619.tar.bz2
Fix broken benchmarks.
Diffstat (limited to 'tests/benchmarks/declarative/creation')
-rw-r--r--tests/benchmarks/declarative/creation/tst_creation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/benchmarks/declarative/creation/tst_creation.cpp b/tests/benchmarks/declarative/creation/tst_creation.cpp
index 6f00473..99324f4 100644
--- a/tests/benchmarks/declarative/creation/tst_creation.cpp
+++ b/tests/benchmarks/declarative/creation/tst_creation.cpp
@@ -203,7 +203,7 @@ void tst_creation::qobject_10tree_cpp()
void tst_creation::qobject_qmltype()
{
- QDeclarativeType *t = QDeclarativeMetaType::qmlType("Qt/QtObject", 4, 6);
+ QDeclarativeType *t = QDeclarativeMetaType::qmlType("Qt/QtObject", 4, 7);
QBENCHMARK {
QObject *obj = t->create();
@@ -347,7 +347,7 @@ void tst_creation::elements_data()
void tst_creation::elements()
{
QFETCH(QByteArray, type);
- QDeclarativeType *t = QDeclarativeMetaType::qmlType(type, 4, 6);
+ QDeclarativeType *t = QDeclarativeMetaType::qmlType(type, 4, 7);
if (!t || !t->isCreatable())
QSKIP("Non-creatable type", SkipSingle);