mirror of
https://github.com/ZetaKebab/MpcNET.git
synced 2025-07-01 08:47:36 +00:00
Decoders command + test. Still to Assert response depending on build server.
This commit is contained in:
@ -52,5 +52,16 @@ namespace LibMpcTest
|
||||
Assert.True(response.Response.Body.Any(handler => handler.Equals("gopher://")));
|
||||
Assert.True(response.Response.Body.Any(handler => handler.Equals("rtp://")));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task DecodersTest()
|
||||
{
|
||||
var response = await Mpc.SendAsync(new Commands.Reflection.Decoders());
|
||||
|
||||
TestOutput.WriteLine($"DecodersTest (decoders: {response.Response.Body.Count()}) Result:");
|
||||
TestOutput.WriteLine(JsonConvert.SerializeObject(response, Formatting.Indented));
|
||||
|
||||
// TODO: Assert
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user