summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVsevolod Buzinov <ext-vsevolod.buzinov@nokia.com>2010-06-10 12:12:55 +0300
committerVsevolod Buzinov <ext-vsevolod.buzinov@nokia.com>2010-06-10 12:12:55 +0300
commit5e7214d0fce9b9214a076d01b9e318d097aa41b4 (patch)
tree30804c5a3e26396d97745e9cfd1df34770ab68f3 /tests
parent705b4c51fb64e0f0290332d3a3413c2a6b82ac05 (diff)
downloadlibresourceqt-5e7214d0fce9b9214a076d01b9e318d097aa41b4.tar.gz
Fixed test-resource-engine (replaced session bus with system bus as required by libresourceqt)
Diffstat (limited to 'tests')
-rw-r--r--tests/test-resource-engine/test-resource-engine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-resource-engine/test-resource-engine.cpp b/tests/test-resource-engine/test-resource-engine.cpp
index be3d66f..45091b1 100644
--- a/tests/test-resource-engine/test-resource-engine.cpp
+++ b/tests/test-resource-engine/test-resource-engine.cpp
@@ -324,11 +324,11 @@ static void verify_resproto_init(resproto_role_t role,
resconn_linkup_t callbackFunction,
DBusConnection *dbusConnection)
{
- DBusConnection *sessionBus;
- sessionBus = dbus_bus_get(DBUS_BUS_SESSION, NULL);
+ DBusConnection *systemBus;
+ systemBus = dbus_bus_get(DBUS_BUS_SYSTEM, NULL);
QVERIFY(callbackFunction != NULL);
- QVERIFY(dbusConnection == sessionBus);
+ QVERIFY(dbusConnection == systemBus);
QVERIFY(role == RESPROTO_ROLE_CLIENT);
QVERIFY(transport == RESPROTO_TRANSPORT_DBUS);
qDebug("resproto_init_calls==%u", resproto_init_calls);