From d7e202fbd6c3fca115f62c09768ea732d6de4e13 Mon Sep 17 00:00:00 2001 From: kh1 Date: Tue, 28 Oct 2014 17:04:08 +0100 Subject: Add check for expected default properties. Change-Id: I315c958bbc3cbc45452db4787ef3ab27750ebbaa Reviewed-by: Niels Weber --- tests/auto/installer/scriptengine/tst_scriptengine.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/auto/installer/scriptengine/tst_scriptengine.cpp b/tests/auto/installer/scriptengine/tst_scriptengine.cpp index 54f19eda2..62806a2c6 100644 --- a/tests/auto/installer/scriptengine/tst_scriptengine.cpp +++ b/tests/auto/installer/scriptengine/tst_scriptengine.cpp @@ -100,6 +100,9 @@ private slots: QCOMPARE(global.hasProperty(QLatin1String("buttons")), true); QCOMPARE(global.hasProperty(QLatin1String("QInstaller")), true); QCOMPARE(global.hasProperty(QLatin1String("QMessageBox")), true); + + QCOMPARE(global.hasProperty(QLatin1String("gui")), true); + QCOMPARE(global.hasProperty(QLatin1String("qsTr")), true); } void testBrokenJSMethodConnect() -- cgit v1.2.3