Commit Graph

351 Commits

Author SHA1 Message Date
Thomas Adamcik
c5d89cb57f Clean tests 2010-03-07 21:59:04 +01:00
Thomas Adamcik
17e3e457c8 Only shuffle first time with random unless repeat is on 2010-03-07 21:32:40 +01:00
Thomas Adamcik
92598a963e Prevent pop from empty list 2010-02-22 02:29:56 +01:00
Thomas Adamcik
f9f3ec9c4a Add test_random_until_end_of_playlist, test_random_until_end_of_playlist_with_repeat and test_play_track_with_random_removes_track (still needs more work to pass tests 2010-02-22 02:29:40 +01:00
Thomas Adamcik
8c145b52f7 Ensure that previous_track for random is current_track 2010-02-20 21:42:40 +01:00
Thomas Adamcik
96a974ac4d Fix random tests and impl 2010-02-20 21:42:17 +01:00
Thomas Adamcik
6c2adbed3b Implement random tests 2010-02-20 04:42:47 +01:00
Thomas Adamcik
b359e515c3 Add test return values test 2010-02-20 04:39:14 +01:00
Thomas Adamcik
95ea3daa35 Cleanup play method 2010-02-20 04:26:20 +01:00
Thomas Adamcik
2392567d08 Simplify volume on base playback 2010-02-20 03:59:10 +01:00
Thomas Adamcik
ce5c3780a3 Add test_previous_track_with_consume and test_previous_track_with_random 2010-02-20 03:16:38 +01:00
Thomas Adamcik
5c62bc642c Clean imports 2010-02-20 03:13:30 +01:00
Thomas Adamcik
92d4b939a0 Fix test_next_with_consume 2010-02-19 23:11:47 +01:00
Thomas Adamcik
60a0d182e2 Fix test_previous_track_with_consume 2010-02-19 23:09:39 +01:00
Thomas Adamcik
96a7265537 Prefix gstreamer internals with _ 2010-02-19 11:24:18 +01:00
Thomas Adamcik
5639c03ea7 Try event harder to tear down gst correctly 2010-02-19 11:21:46 +01:00
Thomas Adamcik
8ffa81f7a9 s/shuffle/random/ in tests 2010-02-18 17:05:17 +01:00
Thomas Adamcik
820da31161 Add test_previous_track_with_consume 2010-02-18 16:26:10 +01:00
Thomas Adamcik
a46184dcf2 Add test_play_with_consume and test_next_with_consume 2010-02-18 16:25:13 +01:00
Thomas Adamcik
865234ce6b Fix next track regression 2010-02-18 16:20:36 +01:00
Thomas Adamcik
496a7d19dc Add test_consume_off_by_default 2010-02-18 16:18:50 +01:00
Thomas Adamcik
ff4e8ba33a Move invocation of new_playlist_loaded_callback to playlist setter 2010-02-18 16:04:55 +01:00
Thomas Adamcik
22cfe7b604 Use proper setter/getter for playlist 2010-02-18 16:03:54 +01:00
Thomas Adamcik
0f4b9ce4dc Add stub test_current_track_after_completed_playlist 2010-02-18 16:01:03 +01:00
Thomas Adamcik
a4c9d7c8a0 Correct test_previous_at_start_of_playlist to match mpd 2010-02-18 15:59:18 +01:00
Thomas Adamcik
6d054e5367 Add test_shufflet_off_by_default 2010-02-18 15:40:31 +01:00
Thomas Adamcik
458ff52b86 Add test_repeat_off_by_default and test_next_track_at_end_of_playlist_with_repeat 2010-02-18 15:39:15 +01:00
Thomas Adamcik
1236767bfe Add test_end_of_playlist_stops 2010-02-18 15:16:25 +01:00
Thomas Adamcik
fd05a9ea9b Do a better jobb of cleaning up after gstreamer 2010-02-18 15:14:17 +01:00
Thomas Adamcik
613e3b86ba Add test_end_of_song_starts_next_track 2010-02-18 15:12:17 +01:00
Thomas Adamcik
7dbce96bce Add length to tracks and use length in tests 2010-02-18 15:11:19 +01:00
Thomas Adamcik
d52bfe3658 Convert tests to tracks instead of uris 2010-02-18 13:52:08 +01:00
Thomas Adamcik
b087306306 Switch add to use track instead of uri per spec 2010-02-18 13:51:43 +01:00
Thomas Adamcik
0cd56b0800 Add test_seek_beyond_start_of_song tests 2010-02-18 13:43:35 +01:00
Thomas Adamcik
173d09d722 Add test_seek_when_paused* tests 2010-02-18 13:00:59 +01:00
Thomas Adamcik
3d284a8903 Implement seek 2010-02-18 12:59:15 +01:00
Thomas Adamcik
5a11f17155 Add more test_seek_* tests 2010-02-18 12:58:52 +01:00
Thomas Adamcik
a3e62a529f Add test_resume_continues_from_right_position 2010-02-18 04:02:33 +01:00
Thomas Adamcik
ba7a836d8b Add test_time_position_when_playing and test_time_position_when_paused fixing code to pass them 2010-02-18 03:50:46 +01:00
Thomas Adamcik
5fc47b8611 Add test_time_position_when_stopped 2010-02-18 03:40:11 +01:00
Thomas Adamcik
a01810619c Add @populate_playlist to some tests 2010-02-18 03:36:56 +01:00
Thomas Adamcik
084c0a8321 Add test_new_playlist_loaded_callback_when_* and implementation 2010-02-18 03:36:24 +01:00
Thomas Adamcik
cdc763b114 Add test_new_playlist_loaded_callback_gets_called 2010-02-18 03:09:08 +01:00
Thomas Adamcik
339de6894f Mark tests that need design decision needed before we can move forward 2010-02-18 02:58:13 +01:00
Thomas Adamcik
82951d1dc8 Update setup and teardown for tests 2010-02-18 02:55:24 +01:00
Thomas Adamcik
e9d3c8334e Add blank mp3 files for testing 2010-02-18 02:42:31 +01:00
Thomas Adamcik
b0699b4683 Use actuall mp3s for testing 2010-02-18 02:42:09 +01:00
Thomas Adamcik
f920aa31ca Fix broken test code 2010-02-18 02:31:36 +01:00
Thomas Adamcik
1bc3693c6b Update resume method 2010-02-18 02:31:20 +01:00
Thomas Adamcik
ea8399b58a Add more test stubs 2010-02-18 02:26:38 +01:00