aboutsummaryrefslogtreecommitdiff
path: root/tests/media-player-mock.vala
diff options
context:
space:
mode:
authorXavi Garcia Mena <xavi.garcia.mena@canonical.com>2015-10-16 10:58:42 +0200
committerXavi Garcia Mena <xavi.garcia.mena@canonical.com>2015-10-16 10:58:42 +0200
commit4c8533b0fbe91b0186d4cdc5eb2b9703d1b776af (patch)
treed1c0a50101d2732e2a4fa294d2d7097445a27796 /tests/media-player-mock.vala
parent918c9b9a95573b0dfe0e2e67ef30b998b5576e82 (diff)
parentdaa4d9fd99c03fbaa5f9ae17dbd32095cd6d3d95 (diff)
downloadayatana-indicator-sound-4c8533b0fbe91b0186d4cdc5eb2b9703d1b776af.tar.gz
ayatana-indicator-sound-4c8533b0fbe91b0186d4cdc5eb2b9703d1b776af.tar.bz2
ayatana-indicator-sound-4c8533b0fbe91b0186d4cdc5eb2b9703d1b776af.zip
MPRIS controls branch for wily
Diffstat (limited to 'tests/media-player-mock.vala')
-rw-r--r--tests/media-player-mock.vala6
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; }