summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qml/simple/tst_applicationmanager.qml2
-rw-r--r--tests/auto/runtime/tst_runtime.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/qml/simple/tst_applicationmanager.qml b/tests/auto/qml/simple/tst_applicationmanager.qml
index a2e6a408..fad06b27 100644
--- a/tests/auto/qml/simple/tst_applicationmanager.qml
+++ b/tests/auto/qml/simple/tst_applicationmanager.qml
@@ -30,6 +30,8 @@ TestCase {
ListView {
id: listView
+ width: 200
+ height: 200
model: ApplicationManager
delegate: Item {
property var modelData: model
diff --git a/tests/auto/runtime/tst_runtime.cpp b/tests/auto/runtime/tst_runtime.cpp
index d3591f64..1c1589be 100644
--- a/tests/auto/runtime/tst_runtime.cpp
+++ b/tests/auto/runtime/tst_runtime.cpp
@@ -93,7 +93,7 @@ void tst_Runtime::factory()
QVERIFY(rf.get() == RuntimeFactory::instance());
QVERIFY(rf->runtimeIds().isEmpty());
- QVERIFY(rf->registerRuntime(new TestRuntimeManager(qSL("foo"), qApp)));
+ QVERIFY(rf->registerRuntime(new TestRuntimeManager(qSL("foo"), QCoreApplication::instance())));
QVERIFY(rf->runtimeIds() == QStringList() << qSL("foo"));
QVERIFY(!rf->create(nullptr, nullptr));