adding events to playback tests
This commit is contained in:
parent
6f482f14d3
commit
81ded7eb7c
@ -35,7 +35,7 @@ namespace Selector.Tests
|
||||
|
||||
var watcher = new PlayerWatcher(spotMock.Object, eq);
|
||||
|
||||
for(var i = 0; i < playing.Count; i++)
|
||||
for (var i = 0; i < playing.Count; i++)
|
||||
{
|
||||
await watcher.WatchOne();
|
||||
var current = watcher.NowPlaying();
|
||||
@ -165,7 +165,7 @@ namespace Selector.Tests
|
||||
// // to raise
|
||||
// new List<string>(){ "PlayingChange" },
|
||||
// // to not raise
|
||||
// new List<string>(){ "AlbumChange", "ArtistChange", "ContentChange", "ContextChange", "ItemChange" }
|
||||
// new List<string>(){ "AlbumChange", "ArtistChange", "ContentChange", "ContextChange", "ItemChange", "DeviceChange", "VolumeChange" }
|
||||
// },
|
||||
// // STARTED PLAYBACK
|
||||
// new object[] { new List<CurrentlyPlayingContext>(){
|
||||
@ -175,7 +175,7 @@ namespace Selector.Tests
|
||||
// // to raise
|
||||
// new List<string>(){ "PlayingChange" },
|
||||
// // to not raise
|
||||
// new List<string>(){ "AlbumChange", "ArtistChange", "ContentChange", "ContextChange", "ItemChange" }
|
||||
// new List<string>(){ "AlbumChange", "ArtistChange", "ContentChange", "ContextChange", "ItemChange", "DeviceChange", "VolumeChange" }
|
||||
// }
|
||||
};
|
||||
|
||||
@ -195,7 +195,7 @@ namespace Selector.Tests
|
||||
var watcher = new PlayerWatcher(spotMock.Object, eq);
|
||||
using var monitoredWatcher = watcher.Monitor();
|
||||
|
||||
for(var i = 0; i < playing.Count; i++)
|
||||
for (var i = 0; i < playing.Count; i++)
|
||||
{
|
||||
await watcher.WatchOne();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user