dbus/test/qt tst_hal.cpp,1.2,1.3

Thiago J. Macieira thiago at kemper.freedesktop.org
Mon Apr 10 03:51:58 PDT 2006


Update of /cvs/dbus/dbus/test/qt
In directory kemper:/tmp/cvs-serv30397/test/qt

Modified Files:
	tst_hal.cpp 
Log Message:
	* test/qt/tst_hal.cpp: Remove the waiting, since it's not
          needed anymore. Requires Qt 4.1.3 to work properly. (r528148)


Index: tst_hal.cpp
===================================================================
RCS file: /cvs/dbus/dbus/test/qt/tst_hal.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- tst_hal.cpp	6 Mar 2006 14:30:52 -0000	1.2
+++ tst_hal.cpp	10 Apr 2006 10:51:56 -0000	1.3
@@ -51,7 +51,7 @@
     QDBusMessage reply = con.sendWithReply(msg);
     QVERIFY(!reply.isEmpty());
     QVERIFY(reply.type() == QDBusMessage::ReplyMessage);
-    qDebug() << reply;
+    //qDebug() << reply;
 }
 
 void tst_Hal::lock()
@@ -70,8 +70,8 @@
     msg << "No reason...";
 
     QDBusMessage reply = con.sendWithReply(msg);
-    QTest::qWait(200);
-    qDebug() << reply;
+    //QTest::qWait(200);
+    //qDebug() << reply;
     QCOMPARE(spy.count, 3);
     QCOMPARE(reply.type(), QDBusMessage::ReplyMessage);
 }



More information about the dbus-commit mailing list