[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amarok-devel
Subject:    Re: Running Unit Tests
From:       Sven Krohlas <sven () asbest-online ! de>
Date:       2009-08-05 8:50:40
Message-ID: 4A7947E0.6010201 () asbest-online ! de
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi,

> I think I didn't make myself clear enough. I want to do unit testing
> of PlaylistManager: adding a provider with certain playlists. Query PM
> later and see if those playlists are there, trying to delete from a
> non-writable provider, etc.
> 
> But since PlaylistManager is being used while initializing it will
> never be in a known state when tested within amarok. So we can not do
> unit testing except external to amarok-app.

Ok, then in that case it might make sense to go for an external test
app. Basically those are the same as the tests we have now, but you have
to add http://doc.trolltech.com/4.4/qtest.html#QTEST_MAIN to the test,
create the CMakeLists.txt and build with KDE4_BUILD_TESTS=ON. I think
that's it already, if I haven't forgotten anything. :)
- --
Darkerradio Free Music Charts:
http://www.darkerradio.com/news/free-music-charts-juli-2009/
Klarmachen zum Ändern! -> http://www.piratenpartei.de/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkp5R+AACgkQOOggGLjBlhYsbwCgi+2XKhcsTioCNUtDNU9xUbjY
ZTAAn2RdmwtJ9eejKuBV+dmt7SzTEVLN
=wRgU
-----END PGP SIGNATURE-----
_______________________________________________
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic