[mpris] rspec specification for MPRIS 1.0
Rafaël Carré
funman at videolan.org
Tue May 13 08:07:38 CEST 2008
Le Mon, 12 May 2008 23:52:54 +0100,
Nicholas J Humfrey <njh at aelius.com> a écrit :
> Hi,
>
> I have just finished writing the first draft of a specification test
> for MPRIS 1.0. I have written in using rspec + ruby-dbus. It does
> not use the MPRIS ruby gem I wrote, so that it tests the minimum
> possible. rspec isn't typically used like this, but it has worked
> pretty well for this.
Great news, so we can eliminate the last bugs ;)
> Spec file is here:
> http://mpris.rubyforge.org/svn/trunk/spec/mpris_v10_spec.rb
>
> Get rspec here:
> http://rspec.info/
>
> And ruby-dbus here:
> https://trac.luon.net/ruby-dbus/
>
> Once you have those installed:
> 1. update the spec file to list of three local MP3 files
> 2. fire up your media player (eg vlc --control dbus)
> 3. run: spec --format specdoc mpris_v10_spec.rb
>
>
> Thank you very much to everyone for fixing lots of bugs in the VLC
> implementation, it now only fails a couple of my tests!
>
> - AddTrack should be returning 0 to indicate success (currently
> doesn't return anything)
Fixed :
http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2828d7d1b3f14983d09f5cfb12b4ce13c8b827ed
> - DelTrack doesn't work for me
Looks like I didn't perform extended enough tests, I will investigate
further.
Thanks for your help, it is really appreciated :)
--
Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mailman.videolan.org/pipermail/mpris/attachments/20080513/3158098c/attachment.pgp
More information about the mpris
mailing list