summaryrefslogtreecommitdiffstats
path: root/tests/auto/installer/scriptengine/tst_scriptengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/installer/scriptengine/tst_scriptengine.cpp')
-rw-r--r--tests/auto/installer/scriptengine/tst_scriptengine.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/installer/scriptengine/tst_scriptengine.cpp b/tests/auto/installer/scriptengine/tst_scriptengine.cpp
index 10fa9b79e..12915e30a 100644
--- a/tests/auto/installer/scriptengine/tst_scriptengine.cpp
+++ b/tests/auto/installer/scriptengine/tst_scriptengine.cpp
@@ -305,6 +305,17 @@ private slots:
}
}
+ void loadComponentUserInterfaces()
+ {
+ try {
+ setExpectedScriptOutput("\"checked: false\"");
+ m_component->loadUserInterfaces(QDir(":///data"), QStringList() << QLatin1String("form.ui"));
+ m_component->loadComponentScript(":///data/userinterface.qs");
+ } catch (const Error &error) {
+ QFAIL(qPrintable(error.message()));
+ }
+ }
+
void loadSimpleAutoRunScript()
{
try {