summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Benelli <marco.benelli@theqtcompany.com>2016-01-15 10:07:52 +0100
committerShawn Rutledge <shawn.rutledge@theqtcompany.com>2016-01-18 12:31:37 +0000
commitc1bdf815494caafd618e52f3b9ef7558d61b5ec5 (patch)
treed477dfccfdf4290d02b6eb61d99cf9499b150190
parentd3311375a1a9dc9e8222e65411bd9d8fc6137be2 (diff)
qmlplugindump test: added check.
Added a check on meta object revisions, in order to verify regressions on QTBUG-49284. Change-Id: I616875157d2b36db0a984338ba9d6a7c5a83a240 Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
-rw-r--r--tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp b/tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp
index eb05e8cde7..82506b4217 100644
--- a/tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp
+++ b/tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp
@@ -114,6 +114,7 @@ void tst_qmlplugindump::singleton()
const QString &result = dumper.readAllStandardOutput();
QVERIFY(result.contains(QLatin1String("exports: [\"Singleton 1.0\"]")));
+ QVERIFY(result.contains(QLatin1String("exportMetaObjectRevisions: [0]")));
}
QTEST_MAIN(tst_qmlplugindump)