Commit Graph

2288 Commits

Author SHA1 Message Date
Thomas Adamcik
183ff30fa5 Fix test_load_triggers_playing_of_new_playlist 2010-02-13 22:44:50 +01:00
Thomas Adamcik
827305ad00 Handle next at end of playlist properly 2010-02-13 22:36:42 +01:00
Thomas Adamcik
83e8fba854 Add tests that checks that next triggers playback 2010-02-13 22:27:02 +01:00
Thomas Adamcik
6d1a0b3449 Add self.playback to playback tests 2010-02-13 22:26:00 +01:00
Thomas Adamcik
f3d7b54382 Add test that ensures that initial state is stoped 2010-02-13 22:23:28 +01:00
Thomas Adamcik
7c2accf2bc Add test_clear_empty_playlist 2010-02-13 22:05:45 +01:00
Thomas Adamcik
2434408e60 Add get_by_ tests 2010-02-13 21:57:42 +01:00
Thomas Adamcik
4b7da52e3a Move part of test at position to seperate more specific test 2010-02-13 21:41:03 +01:00
Thomas Adamcik
4f5e8b3d51 Add a ton of empty tests that fail 2010-02-13 21:31:15 +01:00
Thomas Adamcik
7ff7c57d55 Update tests to match spec with respect to version handling 2010-02-13 21:21:34 +01:00
Thomas Adamcik
f4f283e741 Move test of precondition for tests to assert in setup 2010-02-13 21:19:04 +01:00
Thomas Adamcik
2f49abcd9c Improve test_remove test 2010-02-13 21:17:01 +01:00
Thomas Adamcik
f03a8238b1 Merge branch 'master' of git://github.com/jodal/mopidy 2010-02-13 20:56:42 +01:00
Stein Magnus Jodal
01a6751ce6 Add support for 'outputs' MPD command 2010-02-13 20:11:42 +01:00
Stein Magnus Jodal
552b3ac723 Fix tests and coverage for track status output 2010-02-13 19:58:19 +01:00
Stein Magnus Jodal
837e7c361c Test that all model fields are immutable 2010-02-13 14:43:28 +01:00
Stein Magnus Jodal
81c7f56b5b Add tests for mopidy.models 2010-02-13 14:10:30 +01:00
Stein Magnus Jodal
e3e5f0c9bb Add tests to get full test coverage of MpdHandler 2010-02-12 23:33:28 +01:00
Stein Magnus Jodal
80b1f377b6 Fix broken MpdHandler tests 2010-02-12 22:59:59 +01:00
Stein Magnus Jodal
13819b62b3 Test full currentsong output 2010-02-08 00:20:25 +01:00
Stein Magnus Jodal
46af63ab7e Update MpdHandler to use new backend API 2010-02-08 00:12:05 +01:00
Thomas Adamcik
6375a246a1 Merge branch 'master' into gstreamer 2010-02-07 21:10:31 +01:00
Thomas Adamcik
8aff6a01f5 Reset version when load is called 2010-02-07 20:57:18 +01:00
Thomas Adamcik
6b99572dc8 Increment version for every timeplaylist is set 2010-02-07 20:55:32 +01:00
Thomas Adamcik
ae9c63580e Handle shuffeling of subset 2010-02-07 20:48:34 +01:00
Thomas Adamcik
aafde26643 Add test shuffle and shuffle method 2010-02-07 20:34:43 +01:00
Thomas Adamcik
94017550df Add test remove and remove method 2010-02-07 20:13:27 +01:00
Thomas Adamcik
57cba2c100 Add move group test 2010-02-07 20:09:24 +01:00
Thomas Adamcik
a8d1330343 Add move singe test and implement move function on controller 2010-02-07 20:07:02 +01:00
Thomas Adamcik
f8c29c1dfd Use self.playback in controller test 2010-02-07 19:51:38 +01:00
Thomas Adamcik
968a25c4fd Use self.controller in controller test 2010-02-07 19:50:30 +01:00
Thomas Adamcik
032202ffcb Rewrite populate playlist to decorator 2010-02-07 19:47:46 +01:00
Thomas Adamcik
44446985e3 Add populate playlists to playlist controller test 2010-02-07 19:45:13 +01:00
Thomas Adamcik
0618b85bff Add test for CurrentPlaylistController load and implement on base class 2010-02-07 19:41:50 +01:00
Thomas Adamcik
9993b64983 Test clearing playlist during playback 2010-02-07 19:36:36 +01:00
Thomas Adamcik
79b0c19354 Add test_clear 2010-02-07 19:33:34 +01:00
Thomas Adamcik
b510d8fdae Create populate playlist helper for tests 2010-02-07 19:20:45 +01:00
Thomas Adamcik
e57709b0b4 Update play code and next test 2010-02-07 06:03:57 +01:00
Thomas Adamcik
8b6a5184d8 Update play tests 2010-02-07 06:03:37 +01:00
Thomas Adamcik
4d07666897 Update next test 2010-02-07 05:49:11 +01:00
Thomas Adamcik
baab532cec Try inserting track into postion outside of playlist length 2010-02-07 05:46:50 +01:00
Thomas Adamcik
13bbf608b3 Require at least three files to test 2010-02-07 05:46:01 +01:00
Thomas Adamcik
5c3d10b06c Fix naming in test 2010-02-07 05:33:44 +01:00
Thomas Adamcik
adab4c914d Fix typo in GStreamer test 2010-02-07 05:25:21 +01:00
Thomas Adamcik
5203ecdaf8 Add test to check that uris are set 2010-02-07 05:25:04 +01:00
Thomas Adamcik
10fa84dd1e Add GStreamerCurrentPlaylistHandlerTest 2010-02-07 05:17:42 +01:00
Thomas Adamcik
56cdcde184 Update test to check basic case for playback without current track 2010-02-07 05:09:02 +01:00
Thomas Adamcik
925f1b2191 Add basic gstreamer tests 2010-02-07 04:49:02 +01:00
Thomas Adamcik
c5e5e9215e Turn tests into module 2010-02-07 04:48:34 +01:00
Thomas Adamcik
8fb7a364d1 Add test for next 2010-02-07 04:34:18 +01:00
Thomas Adamcik
3f0d2028c3 Add basic BasePlaybackControllerTest 2010-02-07 04:32:30 +01:00
Thomas Adamcik
2950984b5a Add basic BaseCurrentPlaylistControllerTest 2010-02-07 04:20:43 +01:00
Stein Magnus Jodal
20e360131f Replace some backend properties with plain fields. Fix failing tests. 2010-01-31 14:38:06 +01:00
Stein Magnus Jodal
230c3af3cb Move MPD stuff to mopidy.mpd 2010-01-31 13:03:50 +01:00
Stein Magnus Jodal
e47d7491eb Update tests to match new code 2009-12-26 16:11:07 +01:00
Stein Magnus Jodal
09eb18e3e3 Add missing "-s to command patterns 2009-12-26 06:09:25 +01:00
Stein Magnus Jodal
077f13a5dd Add tracking of time position in track 2009-12-26 05:08:51 +01:00
Stein Magnus Jodal
1f967b3213 Add 'play' command which starts the last played track 2009-12-26 04:02:59 +01:00
Johannes Knutsen
9cec5ef768 corrected tests to ensure OK is sent on search 2009-12-26 04:01:53 +01:00
Johannes Knutsen
30c4131841 Updated tests to assume implemented methods 2009-12-26 03:55:36 +01:00
Stein Magnus Jodal
7a96672f0e Return 'ACK Not implemented' instead of 'OK' for unimplemented commands 2009-12-26 03:46:54 +01:00
Stein Magnus Jodal
46bc8798f8 Move most of handle_response from session to handler 2009-12-26 03:20:45 +01:00
Stein Magnus Jodal
814eb98b83 Add command_list_ok_begin support, ack exceptions 2009-12-26 02:44:32 +01:00
Johannes Knutsen
8bd6d5092e added song and songid to status and handling of prev/next commands 2009-12-26 02:21:47 +01:00
Stein Magnus Jodal
c4aef48915 Return dict from _update() 2009-12-25 22:23:20 +01:00
Stein Magnus Jodal
13f0cea299 Test that playback commands change the play state 2009-12-25 21:46:59 +01:00
Stein Magnus Jodal
08a095530f Add 'pause' support to Spotify backend 2009-12-25 21:38:25 +01:00
Johannes Knutsen
73dae615a4 added command list tests 2009-12-25 21:01:03 +01:00
Stein Magnus Jodal
71d935cbee Fix search command pattern 2009-12-25 20:02:20 +01:00
Stein Magnus Jodal
c5f6c4c2a6 Add test for 'lsinfo' command 2009-12-25 17:20:42 +01:00
Johannes Knutsen
daaa35052f Added double quoting in arguments to tests 2009-12-25 16:19:20 +01:00
Stein Magnus Jodal
256e5e685a Move instantiation of backend from handler to server as the same backend should be used for multiple (simultaneous) sessions 2009-12-25 15:54:44 +01:00
Stein Magnus Jodal
3f41fc8df7 Add 'urlhandler' command 2009-12-25 15:37:25 +01:00
Stein Magnus Jodal
5c64a39ad4 Add empty handlers for music database commands 2009-12-25 15:24:47 +01:00
Johannes Knutsen
f15967bcf3 added double-quotes on playlistinfo argument 2009-12-25 14:43:52 +01:00
Stein Magnus Jodal
8b29170c9b Unbreak tests. Update some message formats to match Sonata. 2009-12-24 03:40:33 +01:00
Stein Magnus Jodal
6ee09cb7b7 Handle empty requests like old MPD 2009-12-24 03:15:39 +01:00
Stein Magnus Jodal
9dcb2dcbfa Implement 'kill' 2009-12-24 03:10:32 +01:00
Stein Magnus Jodal
d4399b43de Fix broken test 2009-12-24 02:57:44 +01:00
Stein Magnus Jodal
2d33a191d5 Implement 'close' 2009-12-24 02:56:21 +01:00
Stein Magnus Jodal
4f438a0738 Add empty handlers for connection handling 2009-12-24 02:43:13 +01:00
Stein Magnus Jodal
8ddb3554ba Add empty handlers for handling of the saved playlists 2009-12-24 02:33:15 +01:00
Stein Magnus Jodal
ec048bdd99 Add empty handlers for handling of the current playlist 2009-12-24 02:13:13 +01:00
Stein Magnus Jodal
9e46ab48da Add empty handlers for the majority of the MPD protocol 2009-12-24 01:13:40 +01:00
Stein Magnus Jodal
f0afb45394 Add support for returning dicts from handlers 2009-12-23 23:24:00 +01:00
Stein Magnus Jodal
80f900134b Test mopidy.handler 2009-12-23 23:06:16 +01:00
Stein Magnus Jodal
7fa3d5a509 Update how to install test dependencies 2009-12-23 22:51:07 +01:00
Stein Magnus Jodal
47d0949666 Add framework for testing 2009-12-23 22:15:53 +01:00