<table><tr><td style="">aacid requested changes to this revision.<br />aacid added a comment.<br />This revision now requires changes to proceed.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D13170">View Revision</a></tr></table><br /><div><div><p>QTest::qWait( 100 ); is bad as you probably already guessed since it's "machine dependant".</p>

<p>In those cases you awnt to use the QTRY_ versions, i.e. QTRY_VERIFY2 instead of QVERIFY2</p>

<p>Also you probably want QCOMPARE instead of QVERIFY if your QVERIFY has a == inside, because that way when it fails it already says the expected: actual: values without you having to construct the string (in this case we want QTRY_COMPARE to be able to remove the wait() calls).</p>

<p>Hope i made sense :D</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D13170">https://phabricator.kde.org/D13170</a></div></div><br /><div><strong>To: </strong>aheinecke, aacid<br /><strong>Cc: </strong>okular-devel, ngraham, aacid<br /></div>