┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2011-06-09 14:50:33 +0200
committerFrank Reininghaus <[email protected]>2011-06-09 14:50:33 +0200
commit6d4cfc25d404f5119701504fc8bfae4c7f04ad48 (patch)
treeaf161feb70a52a78117e191e2b08bcecec8b4625
parent91e210ad6ddc1f605ba8028a9d5a0857c28b82ad (diff)
Wait longer for the selectionChanged signal
The timeout for the selectionChanged signal is increased in DolphinViewTest_AllViewModes::verifySelectedItemsCount(). I hope that this will fix a part of the failures seen in http://my.cdash.org/testDetails.php?test=6350150&build=196639
-rw-r--r--src/tests/dolphinviewtest_allviewmodes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/dolphinviewtest_allviewmodes.cpp b/src/tests/dolphinviewtest_allviewmodes.cpp
index 3c36d9b06..cac4c7102 100644
--- a/src/tests/dolphinviewtest_allviewmodes.cpp
+++ b/src/tests/dolphinviewtest_allviewmodes.cpp
@@ -579,7 +579,7 @@ QAbstractItemView* DolphinViewTest_AllViewModes::initView(DolphinView* view) con
void DolphinViewTest_AllViewModes::verifySelectedItemsCount(DolphinView* view, int itemsCount) const
{
QSignalSpy spySelectionChanged(view, SIGNAL(selectionChanged(const KFileItemList&)));
- QVERIFY(QTest::kWaitForSignal(view, SIGNAL(selectionChanged(const KFileItemList&)), 500));
+ QVERIFY(QTest::kWaitForSignal(view, SIGNAL(selectionChanged(const KFileItemList&)), 2000));
QCOMPARE(view->selectedItems().count(), itemsCount);
QCOMPARE(view->selectedItemsCount(), itemsCount);