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
Thomas Adamcik
405d411464
Update tests to clear runtime settings
2010-08-24 00:19:05 +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
Stein Magnus Jodal
d4f8cdadd5
Rename tests.backend.{base => base.backend}
2010-08-22 19:50:14 +02:00
Stein Magnus Jodal
421e1f2ab1
Rename libspotify_integrationtest => libspotify.backend_integrationtest
2010-08-22 19:45:08 +02:00
Stein Magnus Jodal
df22256f09
Review gstreamer-local-backend branch
2010-08-21 23:25:38 +02:00
Thomas Adamcik
ef03bbe19e
Add tests to check return value of seek
2010-08-20 00:17:08 +02:00
Thomas Adamcik
a20251daac
Ensure that backend tests setup right backend in setting
2010-08-18 23:41:44 +02:00
Thomas Adamcik
70dd200365
Merge branch 'develop' into gstreamer-local-backend
2010-08-18 23:32:45 +02:00
Stein Magnus Jodal
a87f7f9381
Remove tests as it is a duplicate of test_end_of_song_with_single_and_repeat_starts_same
2010-08-18 12:36:47 +02:00
Thomas Adamcik
8203d45559
Merge branch 'gstreamer' into gstreamer-local-backend
...
Conflicts:
mopidy/backends/local/__init__.py
tests/backends/base.py
2010-08-18 00:55:24 +02:00
Thomas Adamcik
785ef04e7b
Rename load to append in tests
2010-08-18 00:53:29 +02:00
Thomas Adamcik
c0e4454e67
Remove obsolete search tests
2010-08-18 00:49:26 +02:00
Thomas Adamcik
d01813b72c
Rename previous_track in tests
2010-08-18 00:42:26 +02:00
Thomas Adamcik
0db797bc12
Rename next_track in tests
2010-08-18 00:39:10 +02:00
Thomas Adamcik
28e1a15ac7
Remove SkipTest
2010-08-18 00:38:54 +02:00
Stein Magnus Jodal
14b7b080dc
Merge remote branch 'knutz3n/gstreamer' into gstreamer
2010-08-17 02:35:55 +02:00
Stein Magnus Jodal
e4edd70c6d
Split mopidy.utils into smaller pieces
2010-08-17 00:32:31 +02:00
Johannes Knutsen
b32dfee65e
rename end_of_track_callback to on_end_of_track
2010-08-17 00:18:46 +02:00
Johannes Knutsen
b502643910
added the same tests for end_of_track_callback as was for next
2010-08-17 00:01:20 +02:00
Johannes Knutsen
87e489a26d
rearranged test_next tests
2010-08-16 23:55:00 +02:00
Thomas Adamcik
5c632116b8
Merge branch 'gstreamer' of git://github.com/jodal/mopidy into gstreamer-local-backend
...
Conflicts:
mopidy/outputs/gstreamer.py
2010-08-16 23:39:51 +02:00
Johannes Knutsen
ffd4bebba3
Merge branch 'gstreamer' of git://github.com/jodal/mopidy into singlerepeat
2010-08-16 21:01:32 +02:00
Johannes Knutsen
5524b1a011
test next() keeps skipped cp track, but end_of_track removes track
2010-08-16 21:00:31 +02:00
Stein Magnus Jodal
997bffa9d2
Merge remote branch 'adamcik/gstreamer-output-testing' into gstreamer
2010-08-16 19:38:56 +02:00
Johannes Knutsen
6905b81009
merged jodal gstreamer with knutz3n singlerepeat branch
2010-08-16 18:36:37 +02:00
Stein Magnus Jodal
187d3544c4
Play next track at play error
2010-08-14 23:08:42 +02:00
Stein Magnus Jodal
fb6b196646
Fix 'load' so one can append a playlist to the current playlist
2010-08-14 21:24:39 +02:00
Thomas Adamcik
cc9de4eff1
Add extra backend test that check that pause resumes correct song
2010-08-14 19:14:52 +02:00
Thomas Adamcik
504802b02d
Update test_end_of_track_callback_gets_called to check that end_of_track is in core_queue
2010-08-14 19:06:08 +02:00
Johannes Knutsen
ca52dd6363
added tests for next track in single and repeat mode
2010-08-14 18:30:22 +02:00
Thomas Adamcik
8950385815
Update local backend tests to setup output and queues
2010-08-14 17:27:26 +02:00
Thomas Adamcik
77fde2fce7
Remove skip test for local backend
2010-08-14 17:26:25 +02:00
Thomas Adamcik
d04b4c3181
Skip local backend tests as they break new gso tests due to gst usage
2010-08-14 16:24:28 +02:00
Stein Magnus Jodal
da2a44fd17
Fix 400 or so tests broken by changing the mixer constructor
2010-08-14 04:07:50 +02:00
Thomas Adamcik
acd0437193
Remove despotify backend as library is no longer maintained
2010-08-13 20:44:24 +02:00
Stein Magnus Jodal
46177f65f1
Rename mopidy.backends.{gstreamer => local}
2010-08-10 21:45:01 +02:00
Stein Magnus Jodal
78f71794e1
Fix tests broken by knutz3n's search improvements, and sync GstreamerBackend's find_exact() and search()
2010-08-09 12:05:08 +02:00
Johannes Knutsen
2897f8e5f6
merge master branch
2010-08-09 09:49:07 +02:00
Stein Magnus Jodal
a6d06a6c4b
Remove Track.id usage from de-/libspotify integration tests
2010-08-08 18:38:29 +02:00
Stein Magnus Jodal
22b6a3df8b
Remove Track.id usage in Gstreamer backend
2010-08-08 17:15:47 +02:00
Johannes Knutsen
e7a87d0375
Merge branch 'master' of git://github.com/jodal/mopidy
2010-08-02 14:28:38 +02:00
Stein Magnus Jodal
80df6d1fea
CurrentPlaylistCtl.add() returns the cp_track that was added to the current playlist
2010-08-02 14:24:12 +02:00
Johannes Knutsen
26ebdda214
merge jodal master
2010-08-02 14:08:02 +02:00
Stein Magnus Jodal
6d5d4d857d
Make test match test name
2010-07-31 23:25:25 +02:00
Stein Magnus Jodal
64544a0b71
Use cp_track in CurrentPlaylistCtl and PlaybackCtl
...
A new data structure called ``cp_track`` is now used in the current
playlist controller and the playback controller. A ``cp_track`` is a
two-tuple of (CPID integer, mopidy.models.Track), identifying an
instance of a track uniquely within the current playlist.
This fixes issues with using playlists with multiple instances of the
same track.
2010-07-31 19:51:03 +02:00
Johannes Knutsen
be949d45df
merge implementation of multi-word search
2010-07-26 10:48:30 +02:00
Johannes Knutsen
9c08f54514
implemented multi-word search by making a query as a list of (field, what)-tuples.
2010-07-26 10:44:21 +02:00
Stein Magnus Jodal
affd1799d6
Use CPID in MPD formats.
...
This makes it possible to handle multiple identical songs in the same
playlist.
2010-07-01 03:15:43 +02:00
Stein Magnus Jodal
8c3d3603e2
Add lookup by CPID to CurrentPlaylistController.get()
2010-07-01 01:54:11 +02:00
Stein Magnus Jodal
e6843e8b4d
CurrentPlaylistController.tracks is now read-only
2010-06-30 23:47:18 +02:00
Stein Magnus Jodal
1e0a5e5bb3
CurrentPlaylistController.load() reuse add() logic
2010-06-30 00:31:49 +02:00
Stein Magnus Jodal
93b606af3e
Fix tests broken by the two previous cherry-picked commits
2010-06-30 00:23:28 +02:00
Stein Magnus Jodal
4ba30f80e4
CurrentPlaylistController.load() takes a list of tracks instead of a Playlist object
2010-06-29 23:53:52 +02:00
Stein Magnus Jodal
770e1fa85e
Don't use GStreamer's fakesink, since two tests fails using it
2010-06-28 23:27:52 +02:00
Stein Magnus Jodal
873e387618
Temporarily disable GStreamer tests for Win32
2010-06-24 18:13:51 +02:00
Stein Magnus Jodal
f2547199a0
Gstreamer tests: use fakesink for audio output
2010-06-16 22:07:35 +02:00
Thomas Adamcik
98f2f67663
Library needs to set id
2010-05-06 00:50:22 +02:00
Thomas Adamcik
bfd34eb9e0
Fix gstreamer stored playlist controller with respect to tracks that don't exist in library (and test stub for issue)
2010-05-05 23:05:22 +02:00
Thomas Adamcik
8875e054d0
Rename MUSIC_FOLDER, PLAYLIST_FOLDER and TAG_CACHE with LOCAL_ prefix
2010-05-05 20:28:51 +02:00
Thomas Adamcik
65c8dbc906
Fix tests with respect to dependecies between backends
2010-05-05 20:16:41 +02:00
Stein Magnus Jodal
3047aeb14a
Merge remote branch 'adamcik/gstreamer'
2010-05-04 00:27:02 +02:00
Stein Magnus Jodal
d70d60deed
Add deactivated integration tests for DespotifyBackend and LibspotifyBackend
2010-05-03 23:17:52 +02:00
Stein Magnus Jodal
39959a6edf
Rename playlist_position to current_playlist_position
2010-05-03 22:52:49 +02:00
Thomas Adamcik
d873fd62de
pylint tests written for gstreamer
2010-05-01 21:53:52 +02:00
Thomas Adamcik
590aea4b89
Add FIXME and correct test class name
2010-05-01 21:03:51 +02:00
Thomas Adamcik
9bf1ecede8
Deploy path_to_uri all over
2010-05-01 20:31:00 +02:00
Thomas Adamcik
e1c40fbc0b
Rollback skipping gstreamer tests on windows
2010-05-01 17:22:22 +02:00
Thomas Adamcik
cf8584c769
Rename some tests classes, ie. s/Backend//
2010-05-01 17:20:25 +02:00
Thomas Adamcik
2b743e4157
Skip gstreamer tests on windows
2010-05-01 17:19:56 +02:00
Stein Magnus Jodal
59ada1bb28
Merge tests/backends/get_test into tests/backends/base
2010-05-01 14:55:05 +02:00
Thomas Adamcik
7773e8eba3
Test and impl. search in library
2010-04-30 22:25:19 +02:00
Thomas Adamcik
d5b80c7885
Test and implement library.find_exact
2010-04-30 21:57:01 +02:00
Thomas Adamcik
f1453732dc
Find exact with no hits test and impl.
2010-04-30 21:13:32 +02:00
Thomas Adamcik
fa362ce936
Handle missing tag cache better
2010-04-30 20:46:30 +02:00
Thomas Adamcik
437f7fb6e7
Add lookup tests for library
2010-04-30 20:42:08 +02:00
Thomas Adamcik
9e798916bd
Convert gstreamer_test to use data folder helper
2010-04-29 22:51:18 +02:00
Thomas Adamcik
3bc9a0a60c
Update library tests
2010-04-29 22:20:18 +02:00
Thomas Adamcik
7183cfd561
More placeholders for tests
2010-04-29 22:09:55 +02:00
Thomas Adamcik
c612edd205
Merge branch 'master' into gstreamer
2010-04-29 21:11:42 +02:00
Thomas Adamcik
53bc3cec6a
Ensure the files don't exist before in playlist tests
2010-04-29 20:03:08 +02:00
Thomas Adamcik
a0fae47e90
Ensure that renamed playlists aren't created
2010-04-29 20:01:35 +02:00
Thomas Adamcik
42e96ebdcd
Add placeholders for library tests
2010-04-28 23:04:39 +02:00
Thomas Adamcik
074da2e542
Add minimal BaseLibraryControllerTest
2010-04-28 22:56:10 +02:00
Thomas Adamcik
7158056c26
Test id() for equality, not playlists them selves due to eq changes
2010-04-28 21:57:53 +02:00
Thomas Adamcik
c93d8470ce
Substitute file: with file:// all over
2010-04-27 20:03:00 +02:00
Thomas Adamcik
d24a81425c
Convert uri handler to file://
2010-04-27 20:02:08 +02:00
Stein Magnus Jodal
cf0986a3a0
Add test to ensure that the last track in a playlist also is consumed
2010-04-27 15:27:58 +02:00
Thomas Adamcik
edc2eb0760
Merge branch 'master' into gstreamer
...
Conflicts:
tests/backends/gstreamer_test.py
2010-04-27 00:10:03 +02:00
Thomas Adamcik
80879f9f86
Add more test stubs
2010-04-27 00:06:25 +02:00
Thomas Adamcik
32dcabafc3
Load tracks when stored playlist is initialised
2010-04-27 00:02:57 +02:00
Thomas Adamcik
f9bc9a44b1
Replace FIXME with test stub
2010-04-26 23:46:48 +02:00
Thomas Adamcik
2f4cea2339
Add test_playlist_contents_get_written_to_disk test
2010-04-26 23:43:06 +02:00
Thomas Adamcik
d522415757
Placeholder test_santitising_of_playlist_filenames
2010-04-26 23:27:47 +02:00
Thomas Adamcik
cf05777e9f
Fix renaming of stored playlists on disk
2010-04-26 23:24:12 +02:00
Thomas Adamcik
658925dfc1
Add additional persistence tests for playlists
2010-04-26 23:19:19 +02:00
Thomas Adamcik
8af5b553a3
Add basic test_created_playlist_is_persisted test
2010-04-26 23:07:50 +02:00
Thomas Adamcik
827d450211
Add FIXME
2010-04-26 23:07:31 +02:00
Thomas Adamcik
4f3b2cd45a
Fix test_save test
2010-04-26 23:07:01 +02:00
Thomas Adamcik
3b5e94b4a4
Use temporary playlist folder for stored playlist tests
2010-04-26 23:06:43 +02:00
Thomas Adamcik
4c160dd418
Add uri handler test
2010-04-26 21:22:52 +02:00
Thomas Adamcik
221d5901fd
Add save test
2010-04-26 21:14:00 +02:00
Thomas Adamcik
c16dd17484
Add rename and rename tests
2010-04-26 21:10:01 +02:00
Thomas Adamcik
516bfac991
SkipTest for lookup and refresh tests
2010-04-26 21:04:34 +02:00
Thomas Adamcik
2ff19745bf
Add search tests for stored playlists
2010-04-26 21:02:22 +02:00
Thomas Adamcik
6ae2b9c018
Add a bunch of get tests for stored playlists
2010-04-26 20:58:26 +02:00
Thomas Adamcik
ed87fee4cd
Ensure that we tear down stored playlist tests
2010-04-26 20:50:35 +02:00
Thomas Adamcik
f4eae3af94
Add test_delete_non_existant_playlist and test_delete_playlist
2010-04-26 20:49:46 +02:00
Thomas Adamcik
54694f63c4
Add test_playlists_empty_to_start_with test
2010-04-26 20:42:36 +02:00
Thomas Adamcik
2316df7ddc
Add test_create_in_playlists test
2010-04-26 20:41:22 +02:00
Thomas Adamcik
cf205d0eae
Add GStreamerBackendStoredPlaylistsControllerTest
2010-04-26 20:34:14 +02:00
Thomas Adamcik
23a5363ef7
Use * import for gstreamer
2010-04-26 20:33:50 +02:00
Thomas Adamcik
b025d360e8
Set __all__ for tests.backends.base
2010-04-26 20:33:31 +02:00
Thomas Adamcik
188211edfc
Attempt at fixing uri handling for windows in tests
2010-04-15 22:05:36 +02:00
Stein Magnus Jodal
3375f806f0
Merge commit 'adamcik/gstreamer'
2010-04-15 20:58:04 +02:00
Thomas Adamcik
0d9085b033
Add test for mp3, ogg and flac support in gstreamer backend
2010-04-14 23:27:30 +02:00
Thomas Adamcik
c535c22884
Switch to wav test files for gstreamer tests
2010-04-14 23:22:08 +02:00
Stein Magnus Jodal
7ba13ecaf8
Merge commit 'adamcik/gstreamer'
2010-04-14 23:09:32 +02:00
Thomas Adamcik
5bd6bf455b
Init time for backend varies, so longer sleep is required in test_time_position_when_playing
2010-04-14 16:05:08 +02:00
Thomas Adamcik
d639a58188
Convert callback test to threading.Event
2010-04-14 14:56:42 +02:00
Stein Magnus Jodal
80f8fa6549
Formatting
2010-04-13 00:36:26 +02:00
Thomas Adamcik
a2cafd3da9
Add implementation of test_playing_track_that_isnt_in_playlist
2010-04-11 03:29:42 +02:00
Thomas Adamcik
0f0183e316
Add implementation of test_playlist_attribute_is_immutable
2010-04-11 03:22:47 +02:00
Thomas Adamcik
ebaa048378
Add implementation of test_load_replaces_playlist
2010-04-11 03:20:58 +02:00
Thomas Adamcik
36f3966445
Add implementation of test_shuffle_open_subset
2010-04-11 03:18:17 +02:00
Thomas Adamcik
f0d4deed1e
Add implementation of test_playlist_position_at_end_of_playlist
2010-04-11 03:14:33 +02:00
Thomas Adamcik
b8b46cfac5
Add stub for test_load_replaces_playlist
2010-04-09 08:37:12 +02:00
Thomas Adamcik
619ce7230d
Move load appends test to frontend where it belongs
2010-04-09 08:36:09 +02:00
Thomas Adamcik
9c8cab684c
Move SkipTests to tests.SkipTest
2010-04-09 08:35:45 +02:00
Thomas Adamcik
16c78465b4
Add stub for testing another corner case
2010-04-09 07:30:51 +02:00
Thomas Adamcik
86c8ec6644
Implement test_playing_track_with_invalid_uri
2010-04-09 07:30:18 +02:00
Thomas Adamcik
285f5798d2
Fix test that was not updatet with respect to next starting playback
2010-04-09 07:29:43 +02:00
Thomas Adamcik
5b526b11f8
Remove most instances of sleep from tests
2010-04-07 14:07:19 +02:00
Thomas Adamcik
e8ed2685e6
Add stub test_playing_track_with_invalid_uri
2010-04-07 12:58:50 +02:00
Thomas Adamcik
ebf43d334c
Adjust sleep time in tests
2010-04-07 12:54:40 +02:00
Thomas Adamcik
7170222a76
Try to reduce chances of sleep not being long enough by increasing sleep
2010-04-07 12:48:03 +02:00
Thomas Adamcik
3e9a061544
Try to reduce chances of sleep not being long enough
2010-04-07 12:46:17 +02:00
Thomas Adamcik
efb9390b4f
Skip not implemented tests
2010-04-07 12:28:38 +02:00
Thomas Adamcik
5c507f40b5
Remove volume tests from backend
2010-04-07 03:00:38 +02:00
Thomas Adamcik
d7e33e57f2
Add tests based on protocol analysis of MPD failure situtations
2010-04-07 02:34:11 +02:00
Thomas Adamcik
1a17cd97d3
Add working test_random_until_end_of_playlist_and_play_from_start
2010-04-07 02:15:29 +02:00
Thomas Adamcik
3f849b3077
Add working test_next_until_end_of_playlist_and_play_from_start
2010-04-07 02:15:10 +02:00
Thomas Adamcik
2eae9f5cd1
Add extra assertion for current track at end of playlist
2010-04-07 02:14:44 +02:00
Thomas Adamcik
a036d22b56
Ensure that reaching end resets current_track
2010-04-07 02:13:45 +02:00
Thomas Adamcik
d806a304bc
Adjust way to fragile test_next_with_random
2010-04-07 02:02:35 +02:00
Thomas Adamcik
a352590f60
Fix callback tests
2010-04-07 02:00:59 +02:00
Thomas Adamcik
361d66727e
Fix BasePlaybackController with respect to test_random_until_end_of_playlist
2010-04-07 01:46:21 +02:00