Don't skip tests in tst_QTouchEvent on Wayland
They seem to be running just fine Task-number: QTBUG-66849 Change-Id: Ia48d47c0fff173eb1d6eba38bdba752a91bd2b56 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>bb10
parent
c6ea77f59d
commit
0e37558b6e
|
|
@ -317,9 +317,6 @@ void tst_QTouchEvent::touchDisabledByDefault()
|
|||
|
||||
void tst_QTouchEvent::touchEventAcceptedByDefault()
|
||||
{
|
||||
if (!QGuiApplication::platformName().compare(QLatin1String("wayland"), Qt::CaseInsensitive))
|
||||
QSKIP("Wayland: This fails. Figure out why.");
|
||||
|
||||
// QWidget
|
||||
{
|
||||
// enabling touch events should automatically accept touch events
|
||||
|
|
@ -606,9 +603,6 @@ QPointF normalized(const QPointF &pos, const QRectF &rect)
|
|||
|
||||
void tst_QTouchEvent::basicRawEventTranslation()
|
||||
{
|
||||
if (!QGuiApplication::platformName().compare(QLatin1String("wayland"), Qt::CaseInsensitive))
|
||||
QSKIP("Wayland: This fails. Figure out why.");
|
||||
|
||||
tst_QTouchEventWidget touchWidget;
|
||||
touchWidget.setWindowTitle(QTest::currentTestFunction());
|
||||
touchWidget.setAttribute(Qt::WA_AcceptTouchEvents);
|
||||
|
|
@ -733,9 +727,6 @@ void tst_QTouchEvent::basicRawEventTranslation()
|
|||
|
||||
void tst_QTouchEvent::multiPointRawEventTranslationOnTouchScreen()
|
||||
{
|
||||
if (!QGuiApplication::platformName().compare(QLatin1String("wayland"), Qt::CaseInsensitive))
|
||||
QSKIP("Wayland: This fails. Figure out why.");
|
||||
|
||||
tst_QTouchEventWidget touchWidget;
|
||||
touchWidget.setWindowTitle(QTest::currentTestFunction());
|
||||
touchWidget.setAttribute(Qt::WA_AcceptTouchEvents);
|
||||
|
|
@ -962,9 +953,6 @@ void tst_QTouchEvent::multiPointRawEventTranslationOnTouchScreen()
|
|||
|
||||
void tst_QTouchEvent::multiPointRawEventTranslationOnTouchPad()
|
||||
{
|
||||
if (!QGuiApplication::platformName().compare(QLatin1String("wayland"), Qt::CaseInsensitive))
|
||||
QSKIP("Wayland: This fails. Figure out why.");
|
||||
|
||||
tst_QTouchEventWidget touchWidget;
|
||||
touchWidget.setWindowTitle(QTest::currentTestFunction());
|
||||
touchWidget.setAttribute(Qt::WA_AcceptTouchEvents);
|
||||
|
|
@ -1191,9 +1179,6 @@ void tst_QTouchEvent::multiPointRawEventTranslationOnTouchPad()
|
|||
|
||||
void tst_QTouchEvent::basicRawEventTranslationOfIds()
|
||||
{
|
||||
if (!QGuiApplication::platformName().compare(QLatin1String("wayland"), Qt::CaseInsensitive))
|
||||
QSKIP("Wayland: This fails. Figure out why.");
|
||||
|
||||
tst_QTouchEventWidget touchWidget;
|
||||
touchWidget.setWindowTitle(QTest::currentTestFunction());
|
||||
touchWidget.setAttribute(Qt::WA_AcceptTouchEvents);
|
||||
|
|
@ -1311,9 +1296,6 @@ void tst_QTouchEvent::basicRawEventTranslationOfIds()
|
|||
|
||||
void tst_QTouchEvent::deleteInEventHandler()
|
||||
{
|
||||
if (!QGuiApplication::platformName().compare(QLatin1String("wayland"), Qt::CaseInsensitive))
|
||||
QSKIP("Wayland: This fails. Figure out why.");
|
||||
|
||||
// QWidget
|
||||
{
|
||||
QWidget window;
|
||||
|
|
@ -1463,9 +1445,6 @@ void tst_QTouchEvent::deleteInEventHandler()
|
|||
|
||||
void tst_QTouchEvent::deleteInRawEventTranslation()
|
||||
{
|
||||
if (!QGuiApplication::platformName().compare(QLatin1String("wayland"), Qt::CaseInsensitive))
|
||||
QSKIP("Wayland: This fails. Figure out why.");
|
||||
|
||||
tst_QTouchEventWidget touchWidget;
|
||||
touchWidget.setWindowTitle(QTest::currentTestFunction());
|
||||
touchWidget.setAttribute(Qt::WA_AcceptTouchEvents);
|
||||
|
|
|
|||
Loading…
Reference in New Issue