test: mark tst_qsystemtrayicon as expected failure for qpa
authorRohan McGovern <rohan.mcgovern@nokia.com>
Thu, 18 Aug 2011 00:53:22 +0000 (10:53 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 18 Aug 2011 06:05:38 +0000 (08:05 +0200)
QSystemTrayIcon is unimplemented for qpa.

Task-number: QTBUG-20978
Change-Id: I63703b96e3d4572bae722120774de1565d475414
Reviewed-on: http://codereview.qt.nokia.com/3119
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
tests/auto/qsystemtrayicon/tst_qsystemtrayicon.cpp

index 41115fd..a4a5ed7 100644 (file)
@@ -122,6 +122,10 @@ void tst_QSystemTrayIcon::getSetCheck()
 
 void tst_QSystemTrayIcon::supportsMessages()
 {
+#ifdef Q_WS_QPA
+    QEXPECT_FAIL("", "QTBUG-20978 QSystemTrayIcon is unimplemented for qpa", Abort);
+#endif
+
 #if !defined(Q_WS_QWS)
     QCOMPARE(QSystemTrayIcon::supportsMessages(), true );
 #else