summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2010-02-22 09:39:30 +0200
committerWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2010-02-22 09:39:30 +0200
commit5f702a8e8330e323b4fe3b0f60912a932c2ab04f (patch)
treeb26c11475134e0d66ee406635ba777049bf33d87 /tests
parentd0be22b7b3ab8ab98dc087ee9e44056e30ff09de (diff)
downloadlibresourceqt-5f702a8e8330e323b4fe3b0f60912a932c2ab04f.tar.gz
Fixed acquire test
Diffstat (limited to 'tests')
-rw-r--r--tests/test-resource-engine/test-resource-engine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-resource-engine/test-resource-engine.cpp b/tests/test-resource-engine/test-resource-engine.cpp
index 6c59862..ba3e242 100644
--- a/tests/test-resource-engine/test-resource-engine.cpp
+++ b/tests/test-resource-engine/test-resource-engine.cpp
@@ -117,14 +117,14 @@ void TestResourceEngine::testAcquire()
QByteArray ba = errorMessage.toLatin1();
requestErrorMessage = ba.data();
- QObject::connect(resourceEngine, SIGNAL(resourcesAcquired(quint32)),
+ QObject::connect(resourceEngine, SIGNAL(resourcesGranted(quint32)),
this, SLOT(handleAcquire(quint32)));
QObject::connect(resourceEngine, SIGNAL(resourcesDenied()),
this, SLOT(handleDeny()));
bool acquireRequestSucceeded = resourceEngine->acquireResources();
QVERIFY(acquireRequestSucceeded == !requestShouldFail);
-// QVERIFY(acquireOrDenyWasCalled);
+ QVERIFY(acquireOrDenyWasCalled);
}
void TestResourceEngine::handleAcquire(quint32 bitmaskOfGrantedResources)