Stabilize tst_qdbusabstractinterface and make it XFAIL
authorRohan McGovern <rohan.mcgovern@nokia.com>
Tue, 14 Feb 2012 02:55:49 +0000 (12:55 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 20 Feb 2012 22:34:35 +0000 (23:34 +0100)
commite88f9a92b7ab05ea9bc25083de7dee1b67dd673e
tree883c25de5e8ae98beb5f8839d0bc0eec608fd501
parent4dabe78387d10495f9f6d0a7395f2ba3c80432bd
Stabilize tst_qdbusabstractinterface and make it XFAIL

This test was written incorrectly in a way which happened to allow it to
pass most of the time (but not all the time).

Reset the state of test objects between each test function, and mark the
broken functions with QEXPECT_FAIL and a link to a task.

Replace the unusual WaitForPinger construct with the usual
QTRY_VERIFY/QTRY_COMPARE method of verifying asynchronous operations.

Task-number: QTBUG-24262
Change-Id: I82d09002307c0b500bf60cd5b583674321b37609
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
tests/auto/dbus/qdbusabstractinterface/tst_qdbusabstractinterface.cpp