┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tests/kfileitemmodeltest.cpp
diff options
context:
space:
mode:
authorSebastian Englbrecht <[email protected]>2026-06-01 18:22:54 +0200
committerMéven Car <[email protected]>2026-06-18 10:05:59 +0000
commit5cd0c642f59924babe66d017d7c0ced7934de3d3 (patch)
treea182680c067516ca5e91a8c67fd9eabf2cd4698d /src/tests/kfileitemmodeltest.cpp
parent91e7c0c1e032b6e3e0558b8048fce6a3b68d297a (diff)
tests: fix or skip tests on windows
Diffstat (limited to 'src/tests/kfileitemmodeltest.cpp')
-rw-r--r--src/tests/kfileitemmodeltest.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/kfileitemmodeltest.cpp b/src/tests/kfileitemmodeltest.cpp
index bd4a60c09..6583b80f4 100644
--- a/src/tests/kfileitemmodeltest.cpp
+++ b/src/tests/kfileitemmodeltest.cpp
@@ -673,6 +673,9 @@ void KFileItemModelTest::testExpandItems()
void KFileItemModelTest::testExpandParentItems()
{
+#ifdef Q_OS_WIN
+ QSKIP("QFileSystemWatcher cannot watch temp directories on Windows CI (access denied).");
+#endif
QSignalSpy itemsInsertedSpy(m_model, &KFileItemModel::itemsInserted);
QSignalSpy loadingCompletedSpy(m_model, &KFileItemModel::directoryLoadingCompleted);
QVERIFY(loadingCompletedSpy.isValid());
@@ -759,6 +762,9 @@ void KFileItemModelTest::testExpandParentItems()
*/
void KFileItemModelTest::testMakeExpandedItemHidden()
{
+#ifdef Q_OS_WIN
+ QSKIP("QFileSystemWatcher cannot watch temp directories on Windows CI (access denied).");
+#endif
QSignalSpy itemsInsertedSpy(m_model, &KFileItemModel::itemsInserted);
QSignalSpy itemsRemovedSpy(m_model, &KFileItemModel::itemsRemoved);