Commit Graph

36 Commits

Author SHA1 Message Date
Stein Magnus Jodal
52ee456692 tests: Import unittest directly from the stdlib 2013-04-29 19:45:25 +02:00
Thomas Adamcik
6f39bde566 config: Start passing dummy config explicitly to audio/backends/frontends. 2013-04-02 19:14:46 +02:00
Stein Magnus Jodal
02b845bd4b Revert "Merge pull request #231 from adamcik/feature/end-of-track"
This reverts commit 1cf9826f87, reversing
changes made to 711dbe8738.
2013-03-19 23:23:14 +01:00
Stein Magnus Jodal
804a945e42 tests: Use DummyAudio instead of mocks 2013-02-24 22:29:04 +01:00
Thomas Adamcik
0d7b7e29a3 audio: Remove test for error handling that no longer happens. 2013-01-05 21:35:41 +01:00
Thomas Adamcik
e00b590ae9 Detangle EOT and EOS.
This commit tries to detangle EOS from EOT which we have incorrectly
intermingled. EOS events should only be happening at the end of the playlist
when we are about to stop. EOT handling has been removed / broken in this
change, and will need to be re-added with proper tests.
2012-12-12 22:57:19 +01:00
Stein Magnus Jodal
1ed56c9ed7 Use tracklist.add() instead of tracklist.append() 2012-11-20 21:55:51 +01:00
Stein Magnus Jodal
2f27167677 core: Remove playback.track_at_previous 2012-11-20 21:48:03 +01:00
Stein Magnus Jodal
70d4dba7aa core: Remove playback.track_at_next 2012-11-20 21:47:44 +01:00
Stein Magnus Jodal
ee8c2ca589 tests: Rename populate_playlist() to populate_tracklist() 2012-11-20 09:24:37 +01:00
Stein Magnus Jodal
bba9548b27 Rename 'current playlist' to 'tracklist' 2012-11-13 10:59:48 +01:00
Stein Magnus Jodal
6acaa490e9 Make all strings unicode by default (fixes #224) 2012-11-13 00:18:47 +01:00
Stein Magnus Jodal
2d92a7a228 Start multiple backends 2012-10-27 14:55:09 +02:00
Stein Magnus Jodal
ac60bcdf8e Fix all flake8 warnings in tests (#211) 2012-10-16 14:43:31 +02:00
Stein Magnus Jodal
2fdeec9f5a Move controllers to a new core actor
The frontends use the new core actor, while the core actor uses the backend.

This is a step towards supporting multiple backends, where the core actor will
coordinate the backends.
2012-09-27 20:35:39 +02:00
Stein Magnus Jodal
b3f3cfe2a0 Use assert{Less,Greater}[EEqual] in tests 2012-09-25 11:18:26 +02:00
Stein Magnus Jodal
a8d1d41ab3 Use assertIn and assertNotIn in tests 2012-09-15 17:46:25 +02:00
Stein Magnus Jodal
2ba05f9405 Add PlaybackState enum 2012-09-14 01:17:55 +02:00
Stein Magnus Jodal
aab37302a1 Rename mopidy.gstreamer to mopidy.audio 2012-09-14 01:05:42 +02:00
Thomas Adamcik
1985b4af76 Switch all tests over to from tests import unittest, which will be unittest2 on < 2.7 and plain unittest otherwise 2011-07-31 22:21:34 +02:00
Stein Magnus Jodal
1e73e7bbf7 Make mpris.Previous() state change tests pass 2011-06-07 00:08:48 +02:00
Thomas Adamcik
472e4d2790 Rename output to gstreamer in backends 2011-04-25 21:30:01 +02:00
Thomas Adamcik
4a1df118fb Move GStreamerOutput up one level to mopidy.gstreamer and rename to GStreamer 2011-04-25 01:31:28 +02:00
Thomas Adamcik
7016a20811 Kill of BaseOutput 2011-04-25 01:31:28 +02:00
Stein Magnus Jodal
b83dad7845 Update tests to match change in previous commit 2011-03-21 00:34:54 +01:00
Stein Magnus Jodal
46c6ee68df Fix ~200 backend tests 2011-03-10 23:19:44 +01:00
Stein Magnus Jodal
c097af1a83 Fix a bunch of pylint errors/warnings in test suite 2011-01-23 18:39:05 +01:00
Stein Magnus Jodal
fc9daa5a5a Rename {Base => }PlaybackController 2010-11-03 00:06:32 +01:00
Stein Magnus Jodal
704b5517e1 Split xPlaybackController into xPlaybackController and xPlaybackProvider 2010-10-26 13:25:52 +02:00
Stein Magnus Jodal
1d25a2ddea Remove redundant calls to playback.on_current_playlist_change() 2010-10-21 23:25:52 +02:00
Stein Magnus Jodal
9fe5874069 Skip another backend test that does not work with DummyOutput 2010-08-24 01:04:43 +02:00
Stein Magnus Jodal
64b760bf96 Ignore tests which uses time.sleep (and that don't work with DummyOutput+LocalBackend) 2010-08-24 00:50:12 +02:00
Stein Magnus Jodal
a62a6e01a7 Use DummyOutput in tests 2010-08-23 23:45:42 +02:00
Stein Magnus Jodal
f099161e24 Never block without timeout in a test 2010-08-23 23:45:21 +02:00
Stein Magnus Jodal
00cec3375f Add TODO on testing playlist repeat 2010-08-23 15:16:38 +02:00
Stein Magnus Jodal
4722828c8f Split backend tests into multiple files 2010-08-22 20:40:15 +02:00