summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/declarative/qmlmoduleplugin/plugin/plugin.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlmoduleplugin/plugin/plugin.cpp b/tests/auto/declarative/qmlmoduleplugin/plugin/plugin.cpp
index 0d7f985..ddd1e5e 100644
--- a/tests/auto/declarative/qmlmoduleplugin/plugin/plugin.cpp
+++ b/tests/auto/declarative/qmlmoduleplugin/plugin/plugin.cpp
@@ -77,6 +77,11 @@ public:
{
return QStringList() << QLatin1String("com.nokia.AutoTestQmlPluginType");
}
+
+ void defineModule(const QString& uri)
+ {
+ Q_ASSERT(uri == "com.nokia.AutoTestQmlPluginType");
+ }
};
#include "plugin.moc"