diff options
author | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2015-09-23 16:10:54 +0200 |
---|---|---|
committer | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2015-09-23 16:10:54 +0200 |
commit | eb22c54e4587e5941378b066ec8220a56d26db4b (patch) | |
tree | ae85ae46280dc6bd1c27c85bec9413c59c264808 /tests/service-mocks/media-player-mpris-mock/org.mpris.MediaPlayer2.Player.xml | |
parent | b9ef4f6abdefb7b1d31d34f35b742016f1b5b87f (diff) | |
download | ayatana-indicator-sound-eb22c54e4587e5941378b066ec8220a56d26db4b.tar.gz ayatana-indicator-sound-eb22c54e4587e5941378b066ec8220a56d26db4b.tar.bz2 ayatana-indicator-sound-eb22c54e4587e5941378b066ec8220a56d26db4b.zip |
Added test MPRIS player integration test
Diffstat (limited to 'tests/service-mocks/media-player-mpris-mock/org.mpris.MediaPlayer2.Player.xml')
-rw-r--r-- | tests/service-mocks/media-player-mpris-mock/org.mpris.MediaPlayer2.Player.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/service-mocks/media-player-mpris-mock/org.mpris.MediaPlayer2.Player.xml b/tests/service-mocks/media-player-mpris-mock/org.mpris.MediaPlayer2.Player.xml new file mode 100644 index 0000000..3efd002 --- /dev/null +++ b/tests/service-mocks/media-player-mpris-mock/org.mpris.MediaPlayer2.Player.xml @@ -0,0 +1,24 @@ +<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> +<node> + <interface name="org.mpris.MediaPlayer2.Player"> + <property name="CanPlay" type="b" access="read"/> + <method name="setCanPlay"> + <arg direction="in" type="b" name="canPlay" /> + </method> + + <property name="CanPause" type="b" access="read"/> + <method name="setCanPause"> + <arg direction="in" type="b" name="canPause" /> + </method> + + <property name="CanGoNext" type="b" access="read"/> + <method name="setCanGoNext"> + <arg direction="in" type="b" name="canGoNext" /> + </method> + + <property name="CanGoPrevious" type="b" access="read"/> + <method name="setCanGoPrevious"> + <arg direction="in" type="b" name="canGoPrevious" /> + </method> + </interface> +</node> |