CONFIG += parallel_test
QT += core-private gui-private declarative-private qtquick1-private
+
+qpa:CONFIG+=insignificant_test # QTBUG-20990, aborts
QJSValue v = eng.newVariant(int(123));
int *ip = qjsvalue_cast<int*>(v);
QVERIFY(ip != 0);
+#ifdef Q_WS_QPA
+ QEXPECT_FAIL("", "QTBUG-21000 fails", Abort);
+#endif
QCOMPARE(*ip, 123);
QEXPECT_FAIL("", "Pointer magic for variants is currently not supported by QJSEngine", Abort);
*ip = 456;
CONFIG += parallel_test
QT += core-private gui-private declarative-private
+
+qpa:CONFIG+=insignificant_test # QTBUG-21004 fails, unstably
}
QImage img = expected.toImage();
+#ifdef Q_WS_QPA
+ QEXPECT_FAIL("", "QTBUG-21005 fails", Continue);
+#endif
QCOMPARE(screenshots[fillMode], img);
}
}
QImage img = canvas->grabFrameBuffer();
for (int x = 0; x < tiling->width(); ++x) {
for (int y = 0; y < tiling->height(); ++y) {
+#ifdef Q_WS_QPA
+ QEXPECT_FAIL("", "QTBUG-21005 fails", Abort);
+#endif
QVERIFY(img.pixel(x, y) == qRgb(0, 255, 0));
}
}
expectedPos += 20 + 10; // scroll past 1st section and section delegate of 2nd section
QTest::keyClick(canvas, Qt::Key_Down);
+#ifdef Q_WS_QPA
+ QEXPECT_FAIL("", "QTBUG-21007 fails", Abort);
+#endif
QTRY_COMPARE(listview->contentY(), expectedPos);
expectedPos += 20; // scroll past 1st item of 2nd section
QMouseEvent moveEvent(QEvent::MouseMove, QPoint(10, 32), Qt::NoButton, Qt::NoButton, 0);
QApplication::sendEvent(canvas, &moveEvent);
+#ifdef Q_WS_QPA
+ QEXPECT_FAIL("", "QTBUG-21008 fails", Abort);
+#endif
QCOMPARE(root->property("mouseX").toReal(), qreal(10));
QCOMPARE(root->property("mouseY").toReal(), qreal(32));
QMouseEvent moveEvent(QEvent::MouseMove, QPoint(32, 32), Qt::NoButton, Qt::NoButton, 0);
QApplication::sendEvent(canvas, &moveEvent);
+#ifdef Q_WS_QPA
+ QEXPECT_FAIL("", "QTBUG-21008 fails", Abort);
+#endif
QCOMPARE(root->property("point1").toBool(), true);
QCOMPARE(root->property("point2").toBool(), false);
qreal h = myText->height();
myText->setLineHeight(1.5);
+#ifdef Q_WS_QPA
+ QEXPECT_FAIL("", "QTBUG-21009 fails", Continue);
+#endif
QVERIFY(myText->height() == h * 1.5);
myText->setLineHeightMode(QSGText::FixedHeight);
}
QT += core-private gui-private declarative-private
QT += opengl-private
+
+qpa:CONFIG+=insignificant_test # QTBUG-21010, fails unstably
diff = abs(int(textLeftWidth-textinputObject->width()/2));
+#ifdef Q_WS_QPA
+ QEXPECT_FAIL("", "QTBUG-21011 fails", Continue);
+#endif
+
// some tollerance for different fonts.
#ifdef Q_OS_LINUX
QVERIFY(diff < 2);
// test the text is scrolled so the preedit is visible.
ic.sendPreeditText(preeditText.mid(0, 3), 1);
+#ifdef Q_WS_QPA
+ QEXPECT_FAIL("", "QTBUG-21011 fails", Abort);
+#endif
QVERIFY(input->positionAt(0) != 0);
QVERIFY(input->cursorRectangle().left() < input->boundingRect().width());
QCOMPARE(cursorRectangleSpy.count(), ++cursorRectangleChanges);
QCOMPARE(target->x(), qreal(100));
target->setProperty("x", 0);
+#ifdef Q_WS_QPA
+ QEXPECT_FAIL("", "QTBUG-21001 fails", Abort);
+#endif
QTRY_VERIFY(target->x() != qreal(0) && target->x() != qreal(100));
QTRY_VERIFY(target->x() == qreal(0)); //make sure Behavior has finished.
CONFIG += parallel_test
QT += core-private gui-private declarative-private qtquick1-private
+qpa:contains(QT_CONFIG,xcb):CONFIG+=insignificant_test # QTBUG-21012 fails on exit (X11-specific)
}
QT += core-private gui-private declarative-private qtquick1-private
+qpa:CONFIG+=insignificant_test # QTBUG-21013 unstable
CONFIG += parallel_test
QT += core-private gui-private declarative-private qtquick1-private
+qpa:contains(QT_CONFIG,xcb):CONFIG+=insignificant_test # QTBUG-21012 fails on exit (X11-specific)
qreal h = myText->height();
myText->setLineHeight(1.5);
+#ifdef Q_WS_QPA
+ QEXPECT_FAIL("", "QTBUG-21015 fails", Continue);
+#endif
QVERIFY(myText->height() == h * 1.5);
myText->setLineHeightMode(QDeclarative1Text::FixedHeight);
int pos = texteditObject->positionAt(texteditObject->width()/2, y0);
int diff = abs(int(fm.width(texteditObject->text().left(pos))-texteditObject->width()/2));
+#ifdef Q_WS_QPA
+ QEXPECT_FAIL("", "QTBUG-21016 fails", Continue);
+#endif
// some tollerance for different fonts.
#ifdef Q_OS_LINUX
QVERIFY(diff < 2);
pos = textinputObject->positionAt(textinputObject->width()/2);
diff = abs(int(fm.width(textinputObject->text().left(pos))-textinputObject->width()/2));
+#ifdef Q_WS_QPA
+ QEXPECT_FAIL("", "QTBUG-21017 fails", Continue);
+#endif
// some tollerance for different fonts.
#ifdef Q_OS_LINUX
QVERIFY(diff < 2);
view.show();
QApplication::setActiveWindow(&view);
QTest::qWaitForWindowShown(&view);
+#ifdef Q_WS_QPA
+ QEXPECT_FAIL("", "QTBUG-21017 fails", Abort);
+#endif
QTRY_COMPARE(input.nbPaint, 1);
input.setHAlign(QDeclarative1TextInput::AlignRight);
QApplication::processEvents();
// test the text is scrolled so the preedit is visible.
ic.sendPreeditText(preeditText.mid(0, 3), 1);
+#ifdef Q_WS_QPA
+ QEXPECT_FAIL("", "QTBUG-21017 fails", Abort);
+#endif
QVERIFY(input.positionAt(0) != 0);
QVERIFY(input.cursorRectangle().left() < input.boundingRect().width());
QCOMPARE(cursorRectangleSpy.count(), ++cursorRectangleChanges);