Commit Graph

767 Commits

Author SHA1 Message Date
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
Thomas Adamcik
9b6bbb1ad3 Fix BasePlaybackController with respect to test_play_sets_current_track 2010-04-06 17:13:29 +02:00
Thomas Adamcik
50085d5db5 Fix BasePlaybackController with respect to test_next_track_before_play 2010-04-06 17:12:14 +02:00
Thomas Adamcik
824f464146 Start converting gsreamer backend to masters version of base playback controller 2010-04-06 17:06:36 +02:00
Thomas Adamcik
878ef7af50 Dont return self.resume() in def play 2010-04-06 17:05:49 +02:00
Thomas Adamcik
0640854ac6 Log which test is being run 2010-04-06 16:55:55 +02:00
Thomas Adamcik
eb538f46be Add destroy method to all backend pieces 2010-04-06 15:50:34 +02:00
Thomas Adamcik
ce2c032247 Don't call bin.get_state with -1, default is blocking anyway 2010-04-06 15:04:13 +02:00
Thomas Adamcik
62684af518 Cleanup volume testing from playback tests 2010-04-06 15:03:25 +02:00
Thomas Adamcik
48acbf701c Add FIXMEs 2010-04-06 15:02:15 +02:00
Thomas Adamcik
ef3906c1d6 Setup logger to log to test.log for all tests 2010-04-06 15:00:24 +02:00
Thomas Adamcik
1206734931 Extra newline 2010-04-06 01:07:36 +02:00
Stein Magnus Jodal
3f84070fb1 Prune .gitignore of old entries 2010-04-05 23:17:42 +02:00
Thomas Adamcik
7df5985abf Fix BaseCurrentPlaylistController with respect to test_removing_from_empty_playlist
(cherry picked from commit e82a15ee9c)
2010-04-05 22:46:43 +02:00