Commit Graph

255 Commits

Author SHA1 Message Date
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
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
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
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
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
Johannes Knutsen
ecfd774e64 test find album "what" artist "what" command 2010-03-30 01:29:07 +02:00
Stein Magnus Jodal
bcd9fd66e8 Use index to get KeyError message instead of unicode() as its behaviour varies between Solaris/Py2.6.5 and Ubuntu/Py2.6.4 2010-03-29 20:56:29 +02:00
Stein Magnus Jodal
61dadc02b6 Add MopidyException base exception 2010-03-29 20:55:33 +02:00
Stein Magnus Jodal
1498c2cbba Try to fix exception message handling on Solaris and/or Python 2.6.5 2010-03-29 20:29:07 +02:00
Stein Magnus Jodal
f2e5708ada Make version number adhere to distutils.version.StrictVersion rules 2010-03-27 00:09:26 +01: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
bf05602318 Add support for 'playlistfind filename ...' 2010-03-22 22:09:00 +01:00
Stein Magnus Jodal
432d70ff51 Remove unused imports 2010-03-20 16:50:18 +01:00
Stein Magnus Jodal
4c58d3b773 Fix tests 2010-03-20 02:49:10 +01:00
Stein Magnus Jodal
6a2e7e2e73 Add support for negative songpos arg in 'playlistinfo' as used by ncmpc 2010-03-14 23:18:03 +01:00
Stein Magnus Jodal
1729d9e962 Use 2^31 - 1 instead of 2^31 to keep inside 32-bit integer (good I'm varying what platforms I work at) 2010-03-13 00:37:34 +01:00
Stein Magnus Jodal
9437db3c38 DenonMixer: Add readline() method to mock 2010-03-13 00:35:37 +01:00
Kristian
631983a14f Update denon device mock to reflect mixer changes 2010-03-10 19:29:54 +01:00
Kristian
9e411e4de3 External mixers dont have undefined volume 2010-03-10 19:27:57 +01:00
Kristian
867c8fbc50 Added reading of volume from Denon devices that support it, and reopen socket if needed 2010-03-10 13:16:56 +01:00
Kristian
e96751aa46 Added Denon mixer support 2010-03-10 12:43:11 +01:00