summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdbusabstractinterface
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-10-29 17:13:21 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-10-29 17:13:21 (GMT)
commit6f602c01b9dc2b037cb42cacfe1c2df6e092a6b4 (patch)
treea1ac11e26962c5e7ba6e243f2e5a749c0b92e5bb /tests/auto/qdbusabstractinterface
parent9e01ced1d14467c06d7e1db57982556c9e861372 (diff)
downloadQt-6f602c01b9dc2b037cb42cacfe1c2df6e092a6b4.zip
Qt-6f602c01b9dc2b037cb42cacfe1c2df6e092a6b4.tar.gz
Qt-6f602c01b9dc2b037cb42cacfe1c2df6e092a6b4.tar.bz2
Autotest: this test is failing, enable debugging to find out why.
It doesn't happen on my machine, so I need to figure out what's different. Reviewed-by: Trust Me
Diffstat (limited to 'tests/auto/qdbusabstractinterface')
-rw-r--r--tests/auto/qdbusabstractinterface/tst_qdbusabstractinterface.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/qdbusabstractinterface/tst_qdbusabstractinterface.cpp b/tests/auto/qdbusabstractinterface/tst_qdbusabstractinterface.cpp
index d84350b..91050f5 100644
--- a/tests/auto/qdbusabstractinterface/tst_qdbusabstractinterface.cpp
+++ b/tests/auto/qdbusabstractinterface/tst_qdbusabstractinterface.cpp
@@ -132,6 +132,9 @@ tst_QDBusAbstractInterface::tst_QDBusAbstractInterface()
void tst_QDBusAbstractInterface::initTestCase()
{
+ // enable debugging temporarily:
+ putenv("QDBUS_DEBUG=1");
+
// register the object
QDBusConnection con = QDBusConnection::sessionBus();
QVERIFY(con.isConnected());
@@ -469,7 +472,7 @@ void tst_QDBusAbstractInterface::followSignal()
QVERIFY(!QTestEventLoop::instance().timeout());
// now the signal must have been received:
- QVERIFY(s.size() == 1);
+ QCOMPARE(s.size(), 1);
QVERIFY(s.at(0).size() == 0);
s.clear();