[Digikam-devel] extragear/graphics/digikam

Marcel Wiesweg marcel.wiesweg at gmx.de
Wed Mar 31 18:30:40 BST 2010


> Hi Holger,
> 
> unfortunately this commit breaks compiling the albummodeltest. Because
> AlbumManager now depends on DigikamApp, we would have to compile the
> _whole_ digikam code for the test again. Is there any way to encapsulate
> the the functionality of DigikamApp that you are using in AlbumManager
> behind an interface that can be replaced with a stub in the tests. This
> is really an odd dependency. The database and album management code
> should not depend on any gui stuff to my mind and there is already a lot
> of these dependencies simply to compile the model tests. Dependency hell...
> 
> Anyway, great work with the branch.

I guess it's a misunderstanding because DigikamApp suggests it's the 
application class, but in fact it's the main window. It should be easy to fix.



More information about the Digikam-devel mailing list