<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/src/tests/testhelpers.h, branch pixelated-scaling-option</title>
<subtitle>Patched KDE Dolphin with Pixel Scaling</subtitle>
<id>https://fiftyfourth.xyz/git/dolphin/atom/src/tests/testhelpers.h?h=pixelated-scaling-option</id>
<link rel='self' href='https://fiftyfourth.xyz/git/dolphin/atom/src/tests/testhelpers.h?h=pixelated-scaling-option'/>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/'/>
<updated>2026-05-25T11:05:50Z</updated>
<entry>
<title>tests: replace QTest::qWait(N) with signal-based waits</title>
<updated>2026-05-25T11:05:50Z</updated>
<author>
<name>Sebastian Englbrecht</name>
<email>sebastian.englbrecht@tum.de</email>
</author>
<published>2026-05-23T11:27:36Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=22d65e047ac75fc3527ddac2401e90a2805a6f04'/>
<id>urn:sha1:22d65e047ac75fc3527ddac2401e90a2805a6f04</id>
<content type='text'>
Fixed-time sleeps are a source of intermittent failures on slow CI
machines — if the delay is too short, the test races ahead of the
code under test.

Replacements made:
- dolphinmainwindowtest: qWait() calls replaced with QTRY_COMPARE,
  QTRY_VERIFY, qWaitFor lambdas and processEvents() where animations
  are disabled; one genuinely unavoidable timer wait marked
  // UNAVOIDABLE:
- kitemlistcontrollerexpandtest: qWaitFor(..., 100ms) / qWaitFor(...,
  300ms) replaced with spy-&gt;wait() loops that block until all
  expected directoryLoadingCompleted signals have arrived
- kitemlistkeyboardsearchmanagertest: timer-driven wait marked
  // UNAVOIDABLE: (must wait for keyboard search timeout to expire)

Add testhelpers.h providing TestHelpers::disableAnimations(), which
eliminates the need for delays that previously waited for Qt UI
animations to settle.
</content>
</entry>
</feed>
