Changeset 031256f27b7cc2ffb443a23a71b117ee45af6eb8

Show
Ignore:
Timestamp:
03/17/08 23:35:11 (4 months ago)
Author:
Filippo Carone <littlejohn@videolan.org>
git-committer:
Filippo Carone <littlejohn@videolan.org> 1205793311 +0100
git-parent:

[34ab57aad3f670855d4b6d6b2812e7997c5beea4]

git-author:
Filippo Carone <littlejohn@videolan.org> 1205793311 +0100
Message:

new (failing) test for ticket #1527 added

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • bindings/java/core/src/test/java/org/videolan/jvlc/internal/MediaListPlayerTest.java

    r34ab57a r031256f  
    110110        Assert.assertEquals(1, exception.raised); 
    111111    } 
     112     
     113//    @Test 
     114    /** 
     115     * disabled: see https://trac.videolan.org/vlc/attachment/ticket/1527 
     116     */ 
     117    public void mediaListPlayerPlay() 
     118    { 
     119        libvlc_exception_t exception = new libvlc_exception_t(); 
     120        LibVlcMediaListPlayer mediaListPlayer = libvlc.libvlc_media_list_player_new(libvlcInstance, exception); 
     121        LibVlcMediaList mediaList = libvlc.libvlc_media_list_new(libvlcInstance, exception); 
     122        LibVlcMediaDescriptor mediaDescriptor = libvlc.libvlc_media_descriptor_new(libvlcInstance, mrl, exception); 
     123        libvlc.libvlc_media_list_add_media_descriptor(mediaList, mediaDescriptor, exception); 
     124        libvlc.libvlc_media_list_player_set_media_list(mediaListPlayer, mediaList, exception); 
     125        libvlc.libvlc_media_list_player_play(mediaListPlayer, exception); 
     126    } 
    112127 
    113128}