Commit Graph

182 Commits

Author SHA1 Message Date
Thomas Adamcik
ebaa048378 Add implementation of test_load_replaces_playlist 2010-04-11 03:20:58 +02:00
Thomas Adamcik
36f3966445 Add implementation of test_shuffle_open_subset 2010-04-11 03:18:17 +02:00
Thomas Adamcik
f0d4deed1e Add implementation of test_playlist_position_at_end_of_playlist 2010-04-11 03:14:33 +02:00
Thomas Adamcik
b8b46cfac5 Add stub for test_load_replaces_playlist 2010-04-09 08:37:12 +02:00
Thomas Adamcik
619ce7230d Move load appends test to frontend where it belongs 2010-04-09 08:36:09 +02:00
Thomas Adamcik
9c8cab684c Move SkipTests to tests.SkipTest 2010-04-09 08:35:45 +02:00
Thomas Adamcik
16c78465b4 Add stub for testing another corner case 2010-04-09 07:30:51 +02:00
Thomas Adamcik
86c8ec6644 Implement test_playing_track_with_invalid_uri 2010-04-09 07:30:18 +02:00
Thomas Adamcik
285f5798d2 Fix test that was not updatet with respect to next starting playback 2010-04-09 07:29:43 +02:00
Thomas Adamcik
5b526b11f8 Remove most instances of sleep from tests 2010-04-07 14:07:19 +02:00
Thomas Adamcik
e8ed2685e6 Add stub test_playing_track_with_invalid_uri 2010-04-07 12:58:50 +02:00
Thomas Adamcik
ebf43d334c Adjust sleep time in tests 2010-04-07 12:54:40 +02:00
Thomas Adamcik
7170222a76 Try to reduce chances of sleep not being long enough by increasing sleep 2010-04-07 12:48:03 +02:00
Thomas Adamcik
3e9a061544 Try to reduce chances of sleep not being long enough 2010-04-07 12:46:17 +02:00
Thomas Adamcik
efb9390b4f Skip not implemented tests 2010-04-07 12:28:38 +02:00
Thomas Adamcik
5c507f40b5 Remove volume tests from backend 2010-04-07 03:00:38 +02:00
Thomas Adamcik
d7e33e57f2 Add tests based on protocol analysis of MPD failure situtations 2010-04-07 02:34:11 +02:00
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
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
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
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
48c7089083 Add test_next_track_with_random_after_load_playlist to BasePlaybackControllerTest 2010-04-06 23:48:20 +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
4ff5c578ba Fix oversight in test_play_when_paused 2010-04-06 22:09:16 +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
02d83288fa Add test_end_of_track_callback_gets_called 2010-04-06 21:06:22 +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
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
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