mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-28 03:21:56 +00:00
Make KFileItemModelTest faster
The 500 ms timeout before items are resorted does not make much sense in the unit test. Removing this delay makes the test run much faster.
This commit is contained in:
parent
09bf5b66dc
commit
3f0ed8c44a
|
@ -106,6 +106,9 @@ void KFileItemModelTest::init()
|
|||
m_testDir = new TestDir();
|
||||
m_model = new KFileItemModel();
|
||||
m_model->m_dirLister->setAutoUpdate(false);
|
||||
|
||||
// Reduce the timer interval to make the test run faster.
|
||||
m_model->m_resortAllItemsTimer->setInterval(0);
|
||||
}
|
||||
|
||||
void KFileItemModelTest::cleanup()
|
||||
|
|
Loading…
Reference in a new issue