Commit e8e7f297 authored by Pino Toscano's avatar Pino Toscano

disable_has_focus_tests_failed_in_xvfb.patch: drop, tests are not run

parent f11ddf20
......@@ -23,6 +23,7 @@ kdepim4 (4:4.14.10-7) UNRELEASED; urgency=medium
- debianize_akregator_default.diff: drop, no more needed
- kubuntu_debianize_akregator_default.diff: drop, no more needed
- kubuntu_install_headers.diff: drop, no more needed
- disable_has_focus_tests_failed_in_xvfb.patch: drop, tests are not run
- disable_test_verify: drop, stale file
- spambayes.patch: drop, stale file
* Install the knode and ktimetracker documentations in the application
......
Index: kdepim/messageviewer/tests/todoedittest.cpp
===================================================================
--- kdepim.orig/messageviewer/tests/todoedittest.cpp 2015-09-01 00:26:49.170334369 +0200
+++ kdepim/messageviewer/tests/todoedittest.cpp 2015-09-01 00:26:49.146335308 +0200
@@ -312,7 +312,7 @@
QTest::qWaitForWindowShown(&edit);
QLineEdit *noteedit = qFindChild<QLineEdit *>(&edit, QLatin1String("noteedit"));
noteedit->setFocus();
- QVERIFY(noteedit->hasFocus());
+ // QVERIFY(noteedit->hasFocus());
QTest::keyPress(&edit, Qt::Key_Escape);
QCOMPARE(edit.isVisible(), false);
}
@@ -372,11 +372,11 @@
msg->subject(true)->fromUnicodeString(subject, "us-ascii");
edit.setMessage(msg);
QLineEdit *noteedit = qFindChild<QLineEdit *>(&edit, QLatin1String("noteedit"));
- QCOMPARE(noteedit->hasFocus(), true);
+ // QCOMPARE(noteedit->hasFocus(), true);
edit.setFocus();
- QCOMPARE(noteedit->hasFocus(), false);
+ // QCOMPARE(noteedit->hasFocus(), false);
edit.showToDoWidget();
- QCOMPARE(noteedit->hasFocus(), true);
+ // QCOMPARE(noteedit->hasFocus(), true);
}
@@ -413,7 +413,7 @@
msg->subject(true)->fromUnicodeString(subject, "us-ascii");
edit.setMessage(msg);
QLineEdit *noteedit = qFindChild<QLineEdit *>(&edit, QLatin1String("noteedit"));
- QCOMPARE(noteedit->hasFocus(), true);
+ // QCOMPARE(noteedit->hasFocus(), true);
}
void TodoEditTest::shouldShowMessageWidget()
Index: kdepim/messageviewer/tests/eventedittest.cpp
===================================================================
--- kdepim.orig/messageviewer/tests/eventedittest.cpp 2015-09-01 00:26:49.170334369 +0200
+++ kdepim/messageviewer/tests/eventedittest.cpp 2015-09-01 00:26:49.146335308 +0200
@@ -175,7 +175,7 @@
QTest::qWaitForWindowShown(&edit);
QLineEdit *noteedit = qFindChild<QLineEdit *>(&edit, QLatin1String("noteedit"));
noteedit->setFocus();
- QVERIFY(noteedit->hasFocus());
+ // QVERIFY(noteedit->hasFocus());
QTest::keyPress(&edit, Qt::Key_Escape);
QCOMPARE(edit.isVisible(), false);
}
@@ -321,7 +321,7 @@
QLineEdit *noteedit = qFindChild<QLineEdit *>(&edit, QLatin1String("noteedit"));
edit.setFocus();
edit.showEventEdit();
- QVERIFY(noteedit->hasFocus());
+ // QVERIFY(noteedit->hasFocus());
}
void EventEditTest::shouldEnsureEndDateIsNotBeforeStartDate()
Index: kdepim/pimcommon/texteditor/commonwidget/tests/textgotolinewidgettest.cpp
===================================================================
--- kdepim.orig/pimcommon/texteditor/commonwidget/tests/textgotolinewidgettest.cpp 2015-09-01 00:26:49.170334369 +0200
+++ kdepim/pimcommon/texteditor/commonwidget/tests/textgotolinewidgettest.cpp 2015-09-01 00:26:49.162334683 +0200
@@ -41,7 +41,7 @@
QVERIFY(gotolinebutton);
QToolButton *closebutton = qFindChild<QToolButton *>(&edit, QLatin1String("closebutton"));
QVERIFY(closebutton);
- QVERIFY(line->hasFocus());
+ // QVERIFY(line->hasFocus());
}
void TextGoToLineWidgetTest::shouldEmitGoToLineSignalWhenPressOnButton()
@@ -93,7 +93,7 @@
QTest::qWaitForWindowShown(&edit);
QSpinBox *line = qFindChild<QSpinBox *>(&edit, QLatin1String("line"));
line->setFocus();
- QVERIFY(line->hasFocus());
+ // QVERIFY(line->hasFocus());
line->setValue(5);
QSignalSpy spy(&edit, SIGNAL(goToLine(int)));
QTest::keyPress(line, Qt::Key_Enter);
@@ -108,12 +108,12 @@
QTest::qWaitForWindowShown(&edit);
QSpinBox *line = qFindChild<QSpinBox *>(&edit, QLatin1String("line"));
QVERIFY(line);
- QVERIFY(line->hasFocus());
+ // QVERIFY(line->hasFocus());
edit.hide();
- QVERIFY(!line->hasFocus());
+ // QVERIFY(!line->hasFocus());
edit.show();
QTest::qWaitForWindowShown(&edit);
- QVERIFY(line->hasFocus());
+ // QVERIFY(line->hasFocus());
}
void TextGoToLineWidgetTest::shouldSetFocusWhenWeRecallGotToLine()
@@ -122,11 +122,11 @@
edit.show();
QTest::qWaitForWindowShown(&edit);
QSpinBox *line = qFindChild<QSpinBox *>(&edit, QLatin1String("line"));
- QVERIFY(line->hasFocus());
+ // QVERIFY(line->hasFocus());
edit.setFocus();
- QVERIFY(!line->hasFocus());
+ // QVERIFY(!line->hasFocus());
edit.goToLine();
- QVERIFY(line->hasFocus());
+ // QVERIFY(line->hasFocus());
}
void TextGoToLineWidgetTest::shouldChangeMaximumValue()
Index: kdepim/messageviewer/findbar/tests/findbarbasetest.cpp
===================================================================
--- kdepim.orig/messageviewer/findbar/tests/findbarbasetest.cpp 2015-09-01 00:26:49.170334369 +0200
+++ kdepim/messageviewer/findbar/tests/findbarbasetest.cpp 2015-09-01 00:26:49.166334526 +0200
@@ -69,10 +69,10 @@
KLineEdit *lineedit = qFindChild<KLineEdit *>(&bar, QLatin1String("searchline"));
lineedit->setText(QLatin1String("FOO"));
QVERIFY(!lineedit->text().isEmpty());
- QVERIFY(lineedit->hasFocus());
+ // QVERIFY(lineedit->hasFocus());
bar.closeBar();
QVERIFY(lineedit->text().isEmpty());
- QVERIFY(!lineedit->hasFocus());
+ // QVERIFY(!lineedit->hasFocus());
QCOMPARE(spy.count(), 1);
}
@@ -108,7 +108,7 @@
bar.show();
bar.focusAndSetCursor();
KLineEdit *lineedit = qFindChild<KLineEdit *>(&bar, QLatin1String("searchline"));
- QVERIFY(lineedit->hasFocus());
+ // QVERIFY(lineedit->hasFocus());
QVERIFY(status->text().isEmpty());
}
disable_has_focus_tests_failed_in_xvfb.patch
workaround_boost_moc_ftbfs
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment