Commit Graph

141 Commits

Author SHA1 Message Date
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
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
Stein Magnus Jodal
6d46d77b7a Update CPC.get() to match behaviour of SPC.get() 2010-03-31 23:42:03 +02:00
Stein Magnus Jodal
89346aa76b Refactor BaseStoredPlaylistsController.get_by_name to take multiple criteria 2010-03-31 23:28:10 +02:00
Stein Magnus Jodal
682b3cc354 Test current BaseStoredPlaylistController.get_by_name() behaviour 2010-03-31 23:18:16 +02:00
Stein Magnus Jodal
cb3740138a Explicitly use DummyMixer in tests 2010-03-31 20:58:26 +02:00
Stein Magnus Jodal
c24c7818e5 Refactor BaseCurrentPlaylistController.get_by_{id,uri} into a generic get(**criteria) 2010-03-31 20:48:03 +02:00
Stein Magnus Jodal
db4f449be9 Add tests for DummyCurrentPlaylistController.get_by_{id,uri} 2010-03-31 18:26:55 +02:00
Stein Magnus Jodal
fdf3d4f11b Replace CoverageTestRunner with nosetests 2010-03-23 23:54:49 +01:00
Thomas Adamcik
805a8315cd Add test_random_until_end_of_playlist_and_play_from_start stub 2010-03-23 21:59:34 +01:00
Stein Magnus Jodal
432d70ff51 Remove unused imports 2010-03-20 16:50:18 +01:00
Thomas Adamcik
3a19794a15 Add test_seek_beyond_end_of_song and test_seek_beyond_end_of_song_for_last_track 2010-03-07 22:24:05 +01:00
Thomas Adamcik
c5d89cb57f Clean tests 2010-03-07 21:59:04 +01:00
Thomas Adamcik
f9f3ec9c4a Add test_random_until_end_of_playlist, test_random_until_end_of_playlist_with_repeat and test_play_track_with_random_removes_track (still needs more work to pass tests 2010-02-22 02:29:40 +01:00
Thomas Adamcik
96a974ac4d Fix random tests and impl 2010-02-20 21:42:17 +01:00
Thomas Adamcik
6c2adbed3b Implement random tests 2010-02-20 04:42:47 +01:00
Thomas Adamcik
b359e515c3 Add test return values test 2010-02-20 04:39:14 +01:00
Thomas Adamcik
ce5c3780a3 Add test_previous_track_with_consume and test_previous_track_with_random 2010-02-20 03:16:38 +01:00
Thomas Adamcik
60a0d182e2 Fix test_previous_track_with_consume 2010-02-19 23:09:39 +01:00
Thomas Adamcik
5639c03ea7 Try event harder to tear down gst correctly 2010-02-19 11:21:46 +01:00
Thomas Adamcik
8ffa81f7a9 s/shuffle/random/ in tests 2010-02-18 17:05:17 +01:00
Thomas Adamcik
820da31161 Add test_previous_track_with_consume 2010-02-18 16:26:10 +01:00
Thomas Adamcik
a46184dcf2 Add test_play_with_consume and test_next_with_consume 2010-02-18 16:25:13 +01:00
Thomas Adamcik
496a7d19dc Add test_consume_off_by_default 2010-02-18 16:18:50 +01:00
Thomas Adamcik
0f4b9ce4dc Add stub test_current_track_after_completed_playlist 2010-02-18 16:01:03 +01:00
Thomas Adamcik
a4c9d7c8a0 Correct test_previous_at_start_of_playlist to match mpd 2010-02-18 15:59:18 +01:00
Thomas Adamcik
6d054e5367 Add test_shufflet_off_by_default 2010-02-18 15:40:31 +01:00
Thomas Adamcik
458ff52b86 Add test_repeat_off_by_default and test_next_track_at_end_of_playlist_with_repeat 2010-02-18 15:39:15 +01:00
Thomas Adamcik
1236767bfe Add test_end_of_playlist_stops 2010-02-18 15:16:25 +01:00
Thomas Adamcik
613e3b86ba Add test_end_of_song_starts_next_track 2010-02-18 15:12:17 +01:00
Thomas Adamcik
7dbce96bce Add length to tracks and use length in tests 2010-02-18 15:11:19 +01:00
Thomas Adamcik
d52bfe3658 Convert tests to tracks instead of uris 2010-02-18 13:52:08 +01:00
Thomas Adamcik
0cd56b0800 Add test_seek_beyond_start_of_song tests 2010-02-18 13:43:35 +01:00
Thomas Adamcik
173d09d722 Add test_seek_when_paused* tests 2010-02-18 13:00:59 +01:00
Thomas Adamcik
5a11f17155 Add more test_seek_* tests 2010-02-18 12:58:52 +01:00
Thomas Adamcik
a3e62a529f Add test_resume_continues_from_right_position 2010-02-18 04:02:33 +01:00
Thomas Adamcik
ba7a836d8b Add test_time_position_when_playing and test_time_position_when_paused fixing code to pass them 2010-02-18 03:50:46 +01:00