diff options
author | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2015-09-15 14:16:10 +0200 |
---|---|---|
committer | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2015-09-15 14:16:10 +0200 |
commit | a3b4aa7d5959ed275dd501ae2264e81b00b184b3 (patch) | |
tree | bbf439be2344033510ccc1b0e26ab0e25aa3484b /tests/media-player-mock.vala | |
parent | f76bbdf9eefaffd594078efe534ad1090f5aa41f (diff) | |
download | ayatana-indicator-sound-a3b4aa7d5959ed275dd501ae2264e81b00b184b3.tar.gz ayatana-indicator-sound-a3b4aa7d5959ed275dd501ae2264e81b00b184b3.tar.bz2 ayatana-indicator-sound-a3b4aa7d5959ed275dd501ae2264e81b00b184b3.zip |
Added changed to reflect the state of the player control buttons
Diffstat (limited to 'tests/media-player-mock.vala')
-rw-r--r-- | tests/media-player-mock.vala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/media-player-mock.vala b/tests/media-player-mock.vala index 14028f5..0c4ae80 100644 --- a/tests/media-player-mock.vala +++ b/tests/media-player-mock.vala @@ -28,6 +28,9 @@ public class MediaPlayerMock: MediaPlayer { public override bool is_running { get { return mock_is_running; } } public override bool can_raise { get { return mock_can_raise; } } + public override bool can_do_next { get { return mock_can_do_next; } } + public override bool can_do_prev { get { return mock_can_do_prev; } } + public override bool can_do_play { get { return mock_can_do_play; } } public override MediaPlayer.Track? current_track { get { return mock_current_track; } set { this.mock_current_track = value; } } @@ -40,6 +43,9 @@ public class MediaPlayerMock: MediaPlayer { public bool mock_is_running { get; set; } public bool mock_can_raise { get; set; } + public bool mock_can_do_next { get; set; } + public bool mock_can_do_prev { get; set; } + public bool mock_can_do_play { get; set; } public MediaPlayer.Track? mock_current_track { get; set; } |