aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/quick/qquicktextinput/data/halign_center.pngbin293 -> 0 bytes
-rw-r--r--tests/auto/quick/qquicktextinput/data/halign_left.pngbin291 -> 0 bytes
-rw-r--r--tests/auto/quick/qquicktextinput/data/halign_right.pngbin292 -> 0 bytes
-rw-r--r--tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp36
4 files changed, 0 insertions, 36 deletions
diff --git a/tests/auto/quick/qquicktextinput/data/halign_center.png b/tests/auto/quick/qquicktextinput/data/halign_center.png
deleted file mode 100644
index 53e09a8e5b..0000000000
--- a/tests/auto/quick/qquicktextinput/data/halign_center.png
+++ /dev/null
Binary files differ
diff --git a/tests/auto/quick/qquicktextinput/data/halign_left.png b/tests/auto/quick/qquicktextinput/data/halign_left.png
deleted file mode 100644
index 247acbc9df..0000000000
--- a/tests/auto/quick/qquicktextinput/data/halign_left.png
+++ /dev/null
Binary files differ
diff --git a/tests/auto/quick/qquicktextinput/data/halign_right.png b/tests/auto/quick/qquicktextinput/data/halign_right.png
deleted file mode 100644
index 691bc75c89..0000000000
--- a/tests/auto/quick/qquicktextinput/data/halign_right.png
+++ /dev/null
Binary files differ
diff --git a/tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp b/tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp
index b901aeaf75..0879b4bdb6 100644
--- a/tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp
+++ b/tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp
@@ -131,8 +131,6 @@ private slots:
void renderType();
void tripleClickSelectsAll();
- void horizontalAlignment_data();
- void horizontalAlignment();
void horizontalAlignment_RightToLeft();
void verticalAlignment();
@@ -1414,40 +1412,6 @@ void tst_qquicktextinput::renderType()
QCOMPARE(spy.count(), 2);
}
-void tst_qquicktextinput::horizontalAlignment_data()
-{
- QTest::addColumn<int>("hAlign");
- QTest::addColumn<QString>("expectfile");
-
- QTest::newRow("L") << int(Qt::AlignLeft) << "halign_left";
- QTest::newRow("R") << int(Qt::AlignRight) << "halign_right";
- QTest::newRow("C") << int(Qt::AlignHCenter) << "halign_center";
-}
-
-void tst_qquicktextinput::horizontalAlignment()
-{
- QSKIP("Image comparison of text is almost guaranteed to fail during development");
-
- QFETCH(int, hAlign);
- QFETCH(QString, expectfile);
-
- QQuickView window(testFileUrl("horizontalAlignment.qml"));
-
- window.show();
- QVERIFY(QTest::qWaitForWindowExposed(&window));
-
- QObject *ob = window.rootObject();
- QVERIFY(ob != 0);
- ob->setProperty("horizontalAlignment",hAlign);
- QImage actual = window.grabWindow();
-
- expectfile = createExpectedFileIfNotFound(expectfile, actual);
-
- QImage expect(expectfile);
-
- QCOMPARE(actual,expect);
-}
-
void tst_qquicktextinput::horizontalAlignment_RightToLeft()
{
PlatformInputContext platformInputContext;