mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 00:11:21 +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
0fa7074cf1
commit
cd642d5d9b
|
@ -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