GSoC Status Update July/3

Sven Krohlas sven at asbest-online.de
Mon Jul 27 22:47:55 CEST 2009


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

Heya,

so, the new C++ based unit testing framwork is now working.
A simple

    amarok --test

will run all available tests. Logs can then be found in

    ~/.kde4/share/apps/amarok/testdata/<datetime>/

or whatever directory this corresponds in your distribution.
Currently there are tests for SmartPointerList (which already
existed and just were adopted to the new system), parts of
PlaylistManager and several funtions in Amarok.h.

The tests in Amarok.h also already found a few bugs, especially
in Amarok::vfatPath() (at this point I could fill pages with
rants about how evil VFAT and the Windows API are...). It was
really nice to see progress in the tests when trying to get the
function to work as expected. The tests caught regressions quite
well. I was able to perfectly see for which data it crashed or
delivered wrong results when working on the code and introducing
an error. Automated testing definitely can save a lot of time!

The tests for Amarok::cleanPath() also still fail partly. Oh, and
if someone could run all the tests, especially the ones for
Amarok::vfatPath() under Windows it would really be great, too. :)

The current code with detailled commit messages can now be found
on Gitorious:

    http://gitorious.org/~krohlas/amarok/krohlass-clone.

Next on my agenda are the remaining tests in Amarok.h and working
on getting those for Amarok::cleanPath() to run successfully, but
not by changing the tests. ;-)
- --
Darkerradio Free Music Charts:
http://www.darkerradio.com/news/free-music-charts-juni-2009/
Zweitstimme ist PIRATENstimme! -> http://ich.waehlepiraten.de/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkpuEnsACgkQOOggGLjBlhZh4ACgphWjcabckL1Z6t+or5/6M9MR
5yIAni5VXzPS4aMpXEhAyOc++ocIMfyG
=EXhV
-----END PGP SIGNATURE-----


More information about the Amarok-devel mailing list