From 1318f16fd7b84de79c04eb468d61e1c9b7b52e15 Mon Sep 17 00:00:00 2001 From: Méven Car Date: Mon, 28 Aug 2023 10:32:35 +0200 Subject: Clean obsolete ifdefs since dolphin requires KF 5.101+ --- src/tests/kfileitemmodeltest.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/tests') diff --git a/src/tests/kfileitemmodeltest.cpp b/src/tests/kfileitemmodeltest.cpp index 38d2544aa..753960a08 100644 --- a/src/tests/kfileitemmodeltest.cpp +++ b/src/tests/kfileitemmodeltest.cpp @@ -2479,9 +2479,6 @@ void KFileItemModelTest::testInsertAfterExpand() // Insert additional files into "a/b/" m_testDir->createFile("a/b/2"); -#if KIO_VERSION < QT_VERSION_CHECK(5, 92, 0) - QEXPECT_FAIL("", "Requires new API from frameworks", Abort); -#endif QVERIFY(!itemsInsertedSpy.wait(5000)); -- cgit v1.3 From 741bea8324240073a502b9918dc0ff557ca27c37 Mon Sep 17 00:00:00 2001 From: Méven Car Date: Sat, 2 Sep 2023 14:58:24 +0200 Subject: fix test in FreeBsd KItemListControllerExpandTest::testDirExpand --- src/tests/kitemlistcontrollerexpandtest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests') diff --git a/src/tests/kitemlistcontrollerexpandtest.cpp b/src/tests/kitemlistcontrollerexpandtest.cpp index 20bc0cc0c..368ec67ce 100644 --- a/src/tests/kitemlistcontrollerexpandtest.cpp +++ b/src/tests/kitemlistcontrollerexpandtest.cpp @@ -180,7 +180,7 @@ void KItemListControllerExpandTest::testDirExpand() [this]() { return m_spyDirectoryLoadingCompleted->count() == 6; }, - 100)); + 300)); QCOMPARE(m_model->count(), 18); QCOMPARE(m_selectionManager->currentItem(), 12); -- cgit v1.3