aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick2/qquicktextinput
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2012-01-05 15:56:44 +0000
committerQt by Nokia <qt-info@nokia.com>2012-01-05 17:31:47 +0100
commit29d2d20be058f5b10dee4dd2d04b864aa155d48e (patch)
treeb51e315a41c88d80c1024c6fc29e6e4703d4b1a0 /tests/auto/qtquick2/qquicktextinput
parent599ecc54832cd583f0818d486a9001757ba24711 (diff)
Skip failing autotests
Task-number: QTBUG-23485 Change-Id: If2676717e3e18f256e621b30cab8f12e39c5d3d9 Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
Diffstat (limited to 'tests/auto/qtquick2/qquicktextinput')
-rw-r--r--tests/auto/qtquick2/qquicktextinput/tst_qquicktextinput.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/auto/qtquick2/qquicktextinput/tst_qquicktextinput.cpp b/tests/auto/qtquick2/qquicktextinput/tst_qquicktextinput.cpp
index 8ed8b9d11c..ab8ac4a9ec 100644
--- a/tests/auto/qtquick2/qquicktextinput/tst_qquicktextinput.cpp
+++ b/tests/auto/qtquick2/qquicktextinput/tst_qquicktextinput.cpp
@@ -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();
@@ -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
@@ -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