Commit Graph

780 Commits

Author SHA1 Message Date
Thomas Adamcik
1a17cd97d3 Add working test_random_until_end_of_playlist_and_play_from_start 2010-04-07 02:15:29 +02:00
Thomas Adamcik
3f849b3077 Add working test_next_until_end_of_playlist_and_play_from_start 2010-04-07 02:15:10 +02:00
Thomas Adamcik
2eae9f5cd1 Add extra assertion for current track at end of playlist 2010-04-07 02:14:44 +02:00
Thomas Adamcik
a036d22b56 Ensure that reaching end resets current_track 2010-04-07 02:13:45 +02:00
Thomas Adamcik
03dfde1d19 Add FIXME 2010-04-07 02:03:07 +02:00
Thomas Adamcik
d806a304bc Adjust way to fragile test_next_with_random 2010-04-07 02:02:35 +02:00
Thomas Adamcik
a352590f60 Fix callback tests 2010-04-07 02:00:59 +02:00
Thomas Adamcik
ea315900c3 Really fix BasePlaybackController with respect to test_played_track_during_random_not_played_again 2010-04-07 01:49:25 +02:00
Thomas Adamcik
361d66727e Fix BasePlaybackController with respect to test_random_until_end_of_playlist 2010-04-07 01:46:21 +02:00
Thomas Adamcik
f67c041db0 Adjust test_next_track_at_end_of_playlist_with_repeat 2010-04-07 01:46:06 +02:00
Thomas Adamcik
9d07b540ad Fix BasePlaybackController with respect to test_next_track_at_end_of_playlist 2010-04-07 01:45:49 +02:00
Thomas Adamcik
e6b8e1545a Fix BasePlaybackController with respect to test_played_track_during_random_not_played_again 2010-04-07 01:45:15 +02:00
Thomas Adamcik
0073e938bd Fix test_next_track_at_end_of_playlist and test_next_track_at_end_of_playlist_with_repeat tests 2010-04-07 01:39:57 +02:00
Thomas Adamcik
f1ac153258 Fix BasePlaybackController with respect to test_current_track_after_completed_playlist 2010-04-07 01:35:44 +02:00
Thomas Adamcik
3f6f3fdaec Ensure that next, previous and resume don't start playback 2010-04-07 01:19:55 +02:00
Thomas Adamcik
153c8a2297 Add extra assertion to playlist callback tests 2010-04-07 01:14:38 +02:00
Thomas Adamcik
747b879575 Add test_playlist_position_at_end_of_playlist stub 2010-04-07 01:13:50 +02:00
Thomas Adamcik
2924974b86 Update tests based on MPD behavior. next, previous, resume should not trigger playback 2010-04-07 01:13:14 +02:00
Thomas Adamcik
e18c1fb1c2 Implement test_current_track_after_completed_playlist 2010-04-07 01:11:10 +02:00
Thomas Adamcik
7ddff0cb27 Use self.tracks where possible in tests 2010-04-07 01:10:38 +02:00
Thomas Adamcik
813ebe8191 Add test stub that should verify that load appends playlists 2010-04-07 01:07:12 +02:00
Thomas Adamcik
22bdcd8ba5 Add extra assertion to test_clear_empty_playlist 2010-04-07 01:06:40 +02:00
Thomas Adamcik
2671bab2f1 Add FIXME conccerning volume in playback backend 2010-04-07 00:03:43 +02:00
Thomas Adamcik
acbe116494 Fix BasePlaybackController with respect to test_next_track_with_random_after_load_playlist 2010-04-06 23:48:33 +02:00
Thomas Adamcik
48c7089083 Add test_next_track_with_random_after_load_playlist to BasePlaybackControllerTest 2010-04-06 23:48:20 +02:00
Thomas Adamcik
928e5e1c21 Fix BasePlaybackController with respect to test_played_track_during_random_not_played_again and test_random_until_end_of_playlist 2010-04-06 23:34:32 +02:00
Thomas Adamcik
a165304da7 Adjust fragile test criteria in test_next_with_random 2010-04-06 23:31:16 +02:00
Thomas Adamcik
560275edca Fix fragile test criteria in test_previous_with_random 2010-04-06 23:24:05 +02:00
Thomas Adamcik
be952b0173 Rename test_play_track_with_random_removes_track to test_played_track_during_random_not_played_again 2010-04-06 23:02:48 +02:00
Thomas Adamcik
50941b481c Fix BasePlaybackController with respect to test_next_track_with_random and test_play_with_random 2010-04-06 22:45:37 +02:00
Thomas Adamcik
d1e5bafc5b Fix BasePlaybackController with respect to test_next_with_consume 2010-04-06 22:38:39 +02:00
Thomas Adamcik
b77311e162 Fix BasePlaybackController with respect to test_next_track_at_end_of_playlist_with_repeat 2010-04-06 22:36:35 +02:00
Thomas Adamcik
ef56004031 Fix BasePlaybackController with respect to test_previous_track_with(repeat,consume,random) 2010-04-06 22:32:38 +02:00
Thomas Adamcik
c2d6f3ab89 Cleaup next_track somewhat 2010-04-06 22:20:26 +02:00
Thomas Adamcik
f34507cc29 Fix BasePlaybackController with respect to test_seek_when_paused_triggers_play 2010-04-06 22:12:44 +02:00
Thomas Adamcik
4ff5c578ba Fix oversight in test_play_when_paused 2010-04-06 22:09:16 +02:00
Thomas Adamcik
98a545d9e5 Fix BasePlaybackController with respect to test_play_when_playing 2010-04-06 22:09:07 +02:00
Thomas Adamcik
7e9c0ada05 Make next() stop playing when next_track is None 2010-04-06 21:42:10 +02:00
Thomas Adamcik
acbb2bd7bf Refactor common sanity checks for seek into base class and expect _seek from subclasses 2010-04-06 21:40:29 +02:00
Thomas Adamcik
e77bfef196 Fix BasePlaybackController with respect to test_resume_when_stopped 2010-04-06 21:36:13 +02:00
Thomas Adamcik
4a8a30d3e4 Add STOPPED assert to BasePlaybackControllerTest.test_next_for_empty_playlist 2010-04-06 21:30:31 +02:00
Thomas Adamcik
3d11023bdc Cleanup BasePlaybackControllerTest.test_next_at_end_of_playlist 2010-04-06 21:29:53 +02:00
Thomas Adamcik
3957a2c9d7 Fix BasePlaybackController with respect to test_new_playlist_loaded_callback_when_paused 2010-04-06 21:23:30 +02:00
Thomas Adamcik
f9200893dd Fix GStreamerPlaybackController with respect to test_end_of_track_callback_gets_called 2010-04-06 21:10:34 +02:00
Thomas Adamcik
37abe08d31 Fix BaseCurrentPlaylistController with respect to test_new_playlist_loaded_callback_gets_called 2010-04-06 21:07:09 +02:00
Thomas Adamcik
02d83288fa Add test_end_of_track_callback_gets_called 2010-04-06 21:06:22 +02:00
Thomas Adamcik
9c3473e578 Don't hardcode which track we should start playing 2010-04-06 20:56:58 +02:00
Thomas Adamcik
73829d9034 Ensure that tests are run with dummy mixer 2010-04-06 19:16:03 +02:00
Thomas Adamcik
d95bb80c10 nosetests captures logging for us 2010-04-06 18:53:46 +02:00
Thomas Adamcik
4efddadd3c Merge branch 'master' into gstreamer 2010-04-06 17:39:13 +02:00