summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/installer/installerscriptengine/data/component1.qs1
-rw-r--r--tests/auto/installer/installerscriptengine/tst_installerscriptengine.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/installer/installerscriptengine/data/component1.qs b/tests/auto/installer/installerscriptengine/data/component1.qs
index 4f9ed571c..af81f5747 100644
--- a/tests/auto/installer/installerscriptengine/data/component1.qs
+++ b/tests/auto/installer/installerscriptengine/data/component1.qs
@@ -1,5 +1,6 @@
function Component()
{
+ print("Component constructor - OK");
}
Component.prototype.retranslateUi = function()
diff --git a/tests/auto/installer/installerscriptengine/tst_installerscriptengine.cpp b/tests/auto/installer/installerscriptengine/tst_installerscriptengine.cpp
index 58081897c..fa4669b56 100644
--- a/tests/auto/installer/installerscriptengine/tst_installerscriptengine.cpp
+++ b/tests/auto/installer/installerscriptengine/tst_installerscriptengine.cpp
@@ -100,6 +100,7 @@ private slots:
{
try {
// ignore retranslateUi which is called by loadComponentScript
+ setExpectedScriptOutput("Component constructor - OK");
setExpectedScriptOutput("retranslateUi - OK");
m_component->loadComponentScript(":///data/component1.qs");