Skip to content

Commit

Permalink
Skip failing autotests
Browse files Browse the repository at this point in the history
Task-number: QTBUG-23485
Change-Id: If2676717e3e18f256e621b30cab8f12e39c5d3d9
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
  • Loading branch information
Aaron Kennedy authored and Qt by Nokia committed Jan 5, 2012
1 parent 599ecc5 commit 29d2d20
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/auto/qtquick2/qquicktextinput/tst_qquicktextinput.cpp
Expand Up @@ -1288,6 +1288,9 @@ void tst_qquicktextinput::horizontalAlignment_RightToLeft()
// English text should be implicitly left aligned
textInput->setText("Hello world!");
QCOMPARE(textInput->hAlign(), QQuickTextInput::AlignLeft);
#ifdef Q_OS_MAC
QEXPECT_FAIL("", "QTBUG-23485", Abort);
#endif
QVERIFY(textInputPrivate->boundingRect.left() - textInputPrivate->hscroll < canvas.width()/2);

canvas.requestActivateWindow();
Expand Down Expand Up @@ -2461,6 +2464,9 @@ void tst_qquicktextinput::setHAlignClearCache()
view.show();
view.requestActivateWindow();
QTest::qWaitForWindowShown(&view);
#ifdef Q_OS_MAC
QEXPECT_FAIL("", "QTBUG-23485", Abort);
#endif
QTRY_COMPARE(input.nbPaint, 1);
input.setHAlign(QQuickTextInput::AlignRight);
//Changing the alignment should trigger a repaint
Expand Down Expand Up @@ -2867,9 +2873,6 @@ void tst_qquicktextinput::cursorRectangleSize()
QCOMPARE(cursorRectFromItem, cursorRectFromPositionToRectangle.toRect());

// item-canvas transform and input item transform match
#ifdef Q_OS_MAC
QEXPECT_FAIL("","QTBUG-22966", Abort);
#endif
QCOMPARE(QQuickItemPrivate::get(textInput)->itemToCanvasTransform(), qApp->inputPanel()->inputItemTransform());

// input panel cursorRectangle property and tranformed item cursor rectangle match
Expand Down

0 comments on commit 29d2d20

Please sign in to comment.