mirror of
https://github.com/ZetaKebab/MpcNET.git
synced 2025-07-18 13:37:36 +00:00
Updates from latest Stylophone code
This commit is contained in:
@ -33,7 +33,7 @@ namespace MpcNET.Test
|
||||
TestOutput.WriteLine("TagTypesTest Result:");
|
||||
TestOutput.WriteLine(response);
|
||||
|
||||
Assert.IsTrue(response.Response.Content.Count().Equals(17));
|
||||
Assert.IsTrue(response.Response.Content.Count().Equals(25));
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
@ -47,9 +47,7 @@ namespace MpcNET.Test
|
||||
// Different answer from MPD on Windows and on Linux.
|
||||
// Check some of the handlers.
|
||||
Assert.IsTrue(response.Response.Content.Any(handler => handler.Equals("http://")));
|
||||
Assert.IsTrue(response.Response.Content.Any(handler => handler.Equals("mms://")));
|
||||
Assert.IsTrue(response.Response.Content.Any(handler => handler.Equals("gopher://")));
|
||||
Assert.IsTrue(response.Response.Content.Any(handler => handler.Equals("rtp://")));
|
||||
Assert.IsTrue(response.Response.Content.Any(handler => handler.Equals("nfs://")));
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
@ -62,7 +60,7 @@ namespace MpcNET.Test
|
||||
|
||||
// Different answer from MPD on Windows and on Linux.
|
||||
// Check some of the decoders.
|
||||
Assert.IsTrue(response.Response.Content.Any(decoder => decoder.Name.Equals("mad")));
|
||||
Assert.IsTrue(response.Response.Content.Any(decoder => decoder.Name.Equals("vorbis")));
|
||||
Assert.IsTrue(response.Response.Content.Any(decoder => decoder.Suffixes.Any(suffix => suffix.Equals("mp3"))));
|
||||
Assert.IsTrue(response.Response.Content.Any(decoder => decoder.MediaTypes.Any(mediaType => mediaType.Equals("audio/mpeg"))));
|
||||
Assert.IsTrue(response.Response.Content.Any(decoder => decoder.Name.Equals("flac")));
|
||||
|
Reference in New Issue
Block a user