[PATCH] support for redirections in testregression

Tobias Anton TA at ESC-Electronics.de
Thu Jul 29 12:34:58 BST 2004


Stephan,

would you please have a look at this patch?

It is supposed to prevent testregression from blocking forever if a testcase 
contains javascript code that results in a slotOpenURLRequest().

At the moment, the slotOpenURLRequest() causes RegressionTest::slotOpenURL to 
create a second PartMonitor, which does kapp->enter_loop() a second time, but 
as the part emits only one completed() signal, both timeout()s of the two 
partMonitors are triggered at the same time, resulting in two exit_loop()s 
immediately after each other. One of those two is ignored.

Testcase and patch attached.

Cheers
-- Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testregression-multiple-partmonitors.diff
Type: text/x-diff
Size: 2401 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20040729/5e45d3db/attachment.diff>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20040729/5e45d3db/attachment.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20040729/5e45d3db/attachment-0001.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20040729/5e45d3db/attachment-0002.html>


More information about the kfm-devel mailing list