From 688458549d11fa159771492cd43bbceb3eb151ab Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Sun, 14 Feb 2010 15:46:23 +0100 Subject: [PATCH] Add more stub tests --- tests/backends/basetests.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tests/backends/basetests.py b/tests/backends/basetests.py index 6c1f4bc2..bb77bc1a 100644 --- a/tests/backends/basetests.py +++ b/tests/backends/basetests.py @@ -290,6 +290,15 @@ class BasePlaybackControllerTest(object): self.assertEqual(playback.current_track, tracks[-1]) self.assertEqual(playback.playlist_position, len(tracks) - 1) + def test_previous(self): + raise NotImplementedError + + def test_previous_triggers_playback(self): + raise NotImplementedError + + def test_previous_at_start_of_playlist(self): + raise NotImplementedError + @populate_playlist def test_next_track_before_play(self): tracks = self.backend.current_playlist.playlist.tracks @@ -301,6 +310,9 @@ class BasePlaybackControllerTest(object): self.playback.play() self.assertEqual(self.playback.next_track, tracks[1]) + def test_next_track_after_previous(self): + raise NotImplementedError + @populate_playlist def test_previous_track_before_play(self): self.assertEqual(self.playback.previous_track, None) @@ -317,6 +329,9 @@ class BasePlaybackControllerTest(object): self.playback.next() self.assertEqual(self.playback.previous_track, tracks[0]) + def test_previous_track_after_previous(self): + raise NotImplementedError + @populate_playlist def test_initial_current_track(self): tracks = self.backend.current_playlist.playlist.tracks @@ -453,6 +468,9 @@ class BasePlaybackControllerTest(object): def test_next_with_shuffle(self): raise NotImplementedError + def test_previous_with_shuffle(self): + raise NotImplementedError + def test_next_track_with_shuffle(self): raise NotImplementedError