Fix DynamicModel test case
authorRalf Engels <ralf.engels@nokia.com>
Mon, 2 Jan 2012 12:22:31 +0000 (13:22 +0100)
committerRalf Engels <ralf.engels@nokia.com>
Mon, 2 Jan 2012 12:22:31 +0000 (13:22 +0100)
commit3d308c757a65b98cce223a24e34e34a650e958c3
treec27a0b68945df44370a3d54285d3171d01b0100b
parentfe9ca93b17aee9a52e8ad36c65ad295b6510f86d
Fix DynamicModel test case

Refactor outdated test cases.
In addition make small cleanups to prevent crash during test.
Also fix crash after deleting all dynamic playlists.
src/dynamic/DynamicModel.cpp
src/playlist/PlaylistActions.cpp
src/playlist/PlaylistModel.cpp
tests/dynamic/TestDynamicModel.cpp
tests/dynamic/TestDynamicModel.h