aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarja Hassinen <marja.hassinen@nokia.com>2011-01-04 12:18:37 +0200
committerMarja Hassinen <marja.hassinen@nokia.com>2011-01-04 12:18:37 +0200
commit08fd4537cd3a4c82ab40f8dcbc2b753c23135867 (patch)
tree880d3f8219639874273b45f04ba2ebd1359b8074
parentf9846eaaa50466f63d16a2abf7d997eb5610a1fa (diff)
Oops, fixing the previous commit.
Unit tests assumed that some signals are queued, which they are not any more.
-rw-r--r--libcontextsubscriber/unit-tests/provider/testprovider.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/libcontextsubscriber/unit-tests/provider/testprovider.cpp b/libcontextsubscriber/unit-tests/provider/testprovider.cpp
index 1e030d40..6ed5f7a7 100644
--- a/libcontextsubscriber/unit-tests/provider/testprovider.cpp
+++ b/libcontextsubscriber/unit-tests/provider/testprovider.cpp
@@ -322,7 +322,6 @@ void ProviderUnitTests::pluginValueChanges()
provider->subscribe("test.key1");
provider->callAllMethodsInQueue();
Q_EMIT pluginInstances[conStr]->subscribeFinished("test.key1");
- QCoreApplication::processEvents(QEventLoop::WaitForMoreEvents); // signal delivery is queued
QSignalSpy spy(provider, SIGNAL(valueChanged(QString)));
Q_EMIT pluginInstances[conStr]->valueChanged("test.key1", QVariant(42));