┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/org.kde.dolphin.desktop
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2026-06-18 10:41:57 +0000
committerMéven Car <[email protected]>2026-06-18 12:13:24 +0000
commit2a3c40dc15d49272a750959fb9a67fecba10a453 (patch)
tree26c019d3f218013f3ed5af22eb6b1fafb59dd637 /src/org.kde.dolphin.desktop
parentb55e45f88e8ae63115f290fc2db847cb4b370c88 (diff)
tests: speed up testInsertAfterExpand
The test created a file in a collapsed subtree and then waited five seconds for an items-inserted signal that must never arrive, spending that whole time on every run and making kfileitemmodeltest about three times slower than it needs to be. Create a file in the watched top directory instead and wait for its insertion. Once that arrives the directory change has been processed and the model has settled, so the collapsed file has had its chance to appear and only the expected items are present. The sentinel stays as a top-level sibling, so the later re-expansion expects it alongside the restored subtree. testInsertAfterExpand drops from about 4.9 seconds to 1.6 seconds and the whole kfileitemmodeltest from about 7.2 seconds to 2.4 seconds.
Diffstat (limited to 'src/org.kde.dolphin.desktop')
0 files changed, 0 insertions, 0 deletions