kdirlister test is too coupled

David Faure faure at kde.org
Sun Nov 23 21:37:33 UTC 2014


On Sunday 23 November 2014 22:17:27 Albert Astals Cid wrote:
> kdirlister test is highly dependant on run order, seems it needs testOpenUrl
> to always have run otherwise it always fails
> 
> i.e.
>   ./autotests/kdirlistertest testRefreshRootItem

Yes, just do
./autotests/kdirlistertest testOpenUrl testRefreshRootItem

This is known, the comment in the first line of testRefreshRootItem implies 
that.

> I tried doing a quick refactor of renaming testOpenUrl to init() but then
> some other stuff failed.
> 
> Can someone with more knowledge of kdirlister and the test have a look?

Not really critical if your problem is solved by adding one word on the 
command-line, right?

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



More information about the Kde-frameworks-devel mailing list