diff options
Diffstat (limited to 'tests/auto/qml/qqmlengine/tst_qqmlengine.cpp')
-rw-r--r-- | tests/auto/qml/qqmlengine/tst_qqmlengine.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlengine/tst_qqmlengine.cpp b/tests/auto/qml/qqmlengine/tst_qqmlengine.cpp index 5c8a7cb324..bc961ef0a3 100644 --- a/tests/auto/qml/qqmlengine/tst_qqmlengine.cpp +++ b/tests/auto/qml/qqmlengine/tst_qqmlengine.cpp @@ -315,7 +315,9 @@ void tst_qqmlengine::offlineStoragePath() QCOMPARE(QDir::fromNativeSeparators(engine.offlineStoragePath()), dir.path()); + QSignalSpy offlineStoragePathSpy(&engine, &QQmlEngine::offlineStoragePathChanged); engine.setOfflineStoragePath(QDir::homePath()); + QCOMPARE(offlineStoragePathSpy.count(), 1); QCOMPARE(engine.offlineStoragePath(), QDir::homePath()); } |