Commit Graph

740 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
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
Thomas Adamcik
d18e19d094 Fix BaseCurrentPlaylistController with respect to test_move_single
(cherry picked from commit 3cb382e495)
2010-04-05 22:46:43 +02:00
Thomas Adamcik
da886fef8c Fix BaseCurrentPlaylistController with respect to test_add_at_position (at_position can be zero)
(cherry picked from commit 5623e26cc7)
2010-04-05 22:46:43 +02:00
Thomas Adamcik
07f98fbf4f Rename basetests to base 2010-04-05 22:42:30 +02:00
Thomas Adamcik
3cb382e495 Fix BaseCurrentPlaylistController with respect to test_move_single 2010-04-05 21:31:55 +02:00
Thomas Adamcik
b126311f18 Fix BaseCurrentPlaylistControllerTest.test_load 2010-04-05 21:27:53 +02:00
Thomas Adamcik
5623e26cc7 Fix BaseCurrentPlaylistController with respect to test_add_at_position (at_position can be zero) 2010-04-05 20:36:34 +02:00
Thomas Adamcik
e82a15ee9c Fix BaseCurrentPlaylistController with respect to test_removing_from_empty_playlist 2010-04-05 20:29:22 +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
23685dd9f0 Remove uneeded GStreamerCurrentPlaylistController 2010-04-05 20:26:12 +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
34e69ea438 Switch to threading for gstreamer message handling 2010-04-05 18:27:54 +02:00
Thomas Adamcik
00c1e03f8e Prevent deadlocks when something goes wrong 2010-04-05 15:05:38 +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
332d917b53 Update frontend to match CPC.get() changes 2010-03-31 23:44:17 +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
34ebdaf8de Update frontend to use new SPLC.get() 2010-03-31 23:30:27 +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
96ddf9a881 Improve BCPC.get() docstring 2010-03-31 21:11:58 +02:00
Stein Magnus Jodal
cb3740138a Explicitly use DummyMixer in tests 2010-03-31 20:58:26 +02:00
Stein Magnus Jodal
7039031161 Update frontend to use new BaseCurrentPlaylistController.get() 2010-03-31 20:49:58 +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
aedbf82d5b Mark 'get build server' as done 2010-03-30 20:09:42 +02:00
Johannes Knutsen
5a9b141657 set current_track to None on clear commands - required by Sonata 2010-03-30 02:34:58 +02:00
Johannes Knutsen
818e602221 handle gmpc issuing playid "-1" after playlst replacement 2010-03-30 01:59:34 +02:00