[vlc-devel] commit: more libvlc_media_list_player tests (Filippo Carone )

Filippo Carone filippo at carone.org
Thu Mar 20 19:25:50 CET 2008


Il giorno mer, 19/03/2008 alle 14.36 +0100, Pierre d'Herbemont ha
scritto:
> On Mar 19, 2008, at 2:10 PM, git version control wrote:
> >     /**
> > -     * this fails: see https://trac.videolan.org/vlc/attachment/ticket/1527
> > +     * this fails: see https://trac.videolan.org/vlc/ticket/1527
> >      */
> > -    @Test
> > +//    @Test
> >     public void mediaListPlayerPlay()
> >     {
> >         libvlc_exception_t exception = new libvlc_exception_t();
> > @@ -125,7 +125,7 @@ public class MediaListPlayerTest
> >         libvlc.libvlc_media_list_player_play(mediaListPlayer,  
> > exception);
> >         Assert.assertEquals("Exception message: " +  
> > exception.message + ".\n", 0, exception.raised);
> >     }
> 
> Is this test really failing? now that libvlc throw an exception it's  
> the normal behaviour, no?
> 

libvlc_media_list_player_play always throws the exception, even if there
are elements in the media_list. So the test fails.

Cheers,
Filippo





More information about the vlc-devel mailing list