Commit 7198a2ff authored by Martin Finkel's avatar Martin Finkel

Add test, currently failing

parent 63baf11b
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using NUnit.Framework;
using VideoLAN.LibVLC;
using VideoLAN.LibVLC.Manual;
using MediaList = VideoLAN.LibVLC.Manual.MediaList;
namespace Bindings.Tests
public class MediaListPlayerTests
public async Task Create()
//TODO: Fix me
var instance = new Instance();
var mediaListPlayer = new MediaListPlayer(instance);
var media = new Media(instance, "", Media.FromType.FromLocation);
Assert.AreEqual(VLCState.NothingSpecial, mediaListPlayer.State);
mediaListPlayer.MediaList = new MediaList(media);
await Task.Delay(5000);
Assert.AreEqual(VLCState.Playing, mediaListPlayer.State);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment