Commit Graph

283 Commits

Author SHA1 Message Date
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
8b1f85b576 Merge branch 'master' into gstreamer 2010-04-07 02:57:36 +02:00
Thomas Adamcik
bc09acf8c6 Refactor DenonMixerTest to use new BaseMixerTest 2010-04-07 02:57:17 +02:00
Thomas Adamcik
660e21971c Clean BaseMixerTest 2010-04-07 02:52:35 +02:00
Thomas Adamcik
051d2d7dac Clean DenonMixerTest 2010-04-07 02:49:22 +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
Stein Magnus Jodal
04b6535d95 Ready for 0.1.0a1 development 2010-04-06 22:39:30 +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
Thomas Adamcik
ef3906c1d6 Setup logger to log to test.log for all tests 2010-04-06 15:00:24 +02:00
Thomas Adamcik
07f98fbf4f Rename basetests to base 2010-04-05 22:42:30 +02:00
Thomas Adamcik
b126311f18 Fix BaseCurrentPlaylistControllerTest.test_load 2010-04-05 21:27:53 +02:00
Thomas Adamcik
e9da4f53d4 Update get_ tests to match new API 2010-04-05 20:27:06 +02:00
Thomas Adamcik
4334548ea4 Call playback.destroy instead of backend.destroy for the time being 2010-04-05 20:26:44 +02:00
Thomas Adamcik
2d65666d58 Merge branch 'master' into gstreamer
Conflicts:
	mopidy/backends/__init__.py
	mopidy/mpd/handler.py
2010-04-05 19:18:20 +02:00
Thomas Adamcik
17da9900fe Rename gstreamer test file to play nice with nose 2010-04-05 14:40:04 +02:00