1
0
mirror of https://github.com/ZetaKebab/MpcNET.git synced 2025-07-02 09:07:38 +00:00

Output commands completed + test

This commit is contained in:
glucaci
2016-12-20 11:03:28 +01:00
parent 9885ffa87b
commit e2ebbe7e14
8 changed files with 71 additions and 31 deletions

View File

@ -13,8 +13,8 @@ namespace LibMpcTest
{
var response = await Mpc.SendAsync(new Commands.Database.ListAll());
TestUtils.WriteLine("ListAllTest Result:");
TestUtils.WriteLine(JsonConvert.SerializeObject(response, Formatting.Indented));
TestOutput.WriteLine("ListAllTest Result:");
TestOutput.WriteLine(JsonConvert.SerializeObject(response, Formatting.Indented));
Assert.True(response.Response.Body.Count().Equals(7));
}
@ -24,8 +24,8 @@ namespace LibMpcTest
{
var response = await Mpc.SendAsync(new Commands.Database.Find(MpdTags.Genre, "soundfx"));
TestUtils.WriteLine("FindGenreTest Result:");
TestUtils.WriteLine(JsonConvert.SerializeObject(response, Formatting.Indented));
TestOutput.WriteLine("FindGenreTest Result:");
TestOutput.WriteLine(JsonConvert.SerializeObject(response, Formatting.Indented));
Assert.True(response.Response.Body.Count().Equals(6));
}