diff --git a/Selector.Tests/Watcher/PlayerWatcher.cs b/Selector.Tests/Watcher/PlayerWatcher.cs index f3b4609..c93ebf6 100644 --- a/Selector.Tests/Watcher/PlayerWatcher.cs +++ b/Selector.Tests/Watcher/PlayerWatcher.cs @@ -54,9 +54,9 @@ namespace Selector.Tests Helper.CurrentPlayback(Helper.FullTrack("nochange", "album1", "artist1"), isPlaying: true, context: "context1"), }, // to raise - new List(){ }, + new List(){ "ItemChange", "ContextChange", "PlayingChange" }, // to not raise - new List(){ "ItemChange", "AlbumChange", "ArtistChange", "ContextChange", "PlayingChange", "DeviceChange", "VolumeChange" } + new List(){ "AlbumChange", "ArtistChange", "DeviceChange", "VolumeChange" } }, // TRACK CHANGE new object[] { new List(){ @@ -64,9 +64,9 @@ namespace Selector.Tests Helper.CurrentPlayback(Helper.FullTrack("trackchange2", "album1", "artist1")) }, // to raise - new List(){ "ItemChange" }, + new List(){ "ContextChange", "PlayingChange", "ItemChange" }, // to not raise - new List(){ "AlbumChange", "ArtistChange", "ContextChange", "PlayingChange", "DeviceChange", "VolumeChange" } + new List(){ "AlbumChange", "ArtistChange", "DeviceChange", "VolumeChange" } }, // ALBUM CHANGE new object[] { new List(){ @@ -74,9 +74,9 @@ namespace Selector.Tests Helper.CurrentPlayback(Helper.FullTrack("albumchange", "album2", "artist1")) }, // to raise - new List(){ "AlbumChange" }, + new List(){ "ContextChange", "PlayingChange", "ItemChange", "AlbumChange" }, // to not raise - new List(){ "ItemChange", "ArtistChange", "ContextChange", "PlayingChange", "DeviceChange", "VolumeChange" } + new List(){ "ArtistChange", "DeviceChange", "VolumeChange" } }, // ARTIST CHANGE new object[] { new List(){ @@ -84,9 +84,9 @@ namespace Selector.Tests Helper.CurrentPlayback(Helper.FullTrack("artistchange", "album1", "artist2")) }, // to raise - new List(){ "ArtistChange" }, + new List(){ "ContextChange", "PlayingChange", "ItemChange", "ArtistChange" }, // to not raise - new List(){ "ItemChange", "AlbumChange", "ContextChange", "PlayingChange", "DeviceChange", "VolumeChange" } + new List(){ "AlbumChange", "DeviceChange", "VolumeChange" } }, // CONTEXT CHANGE new object[] { new List(){ @@ -94,9 +94,9 @@ namespace Selector.Tests Helper.CurrentPlayback(Helper.FullTrack("contextchange", "album1", "artist1"), context: "context2") }, // to raise - new List(){ "ContextChange" }, + new List(){ "PlayingChange", "ItemChange", "ContextChange" }, // to not raise - new List(){ "ItemChange", "AlbumChange", "ArtistChange", "PlayingChange", "DeviceChange", "VolumeChange" } + new List(){ "AlbumChange", "ArtistChange", "DeviceChange", "VolumeChange" } }, // PLAYING CHANGE new object[] { new List(){ @@ -104,9 +104,9 @@ namespace Selector.Tests Helper.CurrentPlayback(Helper.FullTrack("playingchange1", "album1", "artist1"), isPlaying: false, context: "context1") }, // to raise - new List(){ "PlayingChange" }, + new List(){ "ContextChange", "ItemChange", "PlayingChange" }, // to not raise - new List(){ "ItemChange", "AlbumChange", "ArtistChange", "ContextChange", "DeviceChange", "VolumeChange" } + new List(){ "AlbumChange", "ArtistChange", "DeviceChange", "VolumeChange" } }, // PLAYING CHANGE new object[] { new List(){ @@ -114,9 +114,9 @@ namespace Selector.Tests Helper.CurrentPlayback(Helper.FullTrack("playingchange2", "album1", "artist1"), isPlaying: true, context: "context1") }, // to raise - new List(){ "PlayingChange" }, + new List(){ "ContextChange", "ItemChange", "PlayingChange" }, // to not raise - new List(){ "ItemChange", "AlbumChange", "ArtistChange", "ContextChange", "DeviceChange", "VolumeChange" } + new List(){ "AlbumChange", "ArtistChange", "DeviceChange", "VolumeChange" } }, // CONTENT CHANGE new object[] { new List(){ @@ -124,9 +124,9 @@ namespace Selector.Tests Helper.CurrentPlayback(Helper.FullEpisode("contentchange1", "show1", "pub1"), isPlaying: true, context: "context2") }, // to raise - new List(){ "ContentChange", "ContextChange", "ItemChange" }, + new List(){ "PlayingChange", "ContentChange", "ContextChange", "ItemChange" }, // to not raise - new List(){ "AlbumChange", "ArtistChange", "PlayingChange", "DeviceChange", "VolumeChange" } + new List(){ "AlbumChange", "ArtistChange", "DeviceChange", "VolumeChange" } }, // CONTENT CHANGE new object[] { new List(){ @@ -134,9 +134,9 @@ namespace Selector.Tests Helper.CurrentPlayback(Helper.FullTrack("contentchange1", "album1", "artist1"), isPlaying: true, context: "context1") }, // to raise - new List(){ "ContentChange", "ContextChange", "ItemChange" }, + new List(){ "PlayingChange", "ContentChange", "ContextChange", "ItemChange" }, // to not raise - new List(){ "AlbumChange", "ArtistChange", "PlayingChange", "DeviceChange", "VolumeChange" } + new List(){ "AlbumChange", "ArtistChange", "DeviceChange", "VolumeChange" } }, // DEVICE CHANGE new object[] { new List(){ @@ -144,9 +144,9 @@ namespace Selector.Tests Helper.CurrentPlayback(Helper.FullTrack("devicechange", "album1", "artist1"), device: Helper.Device("dev2")) }, // to raise - new List(){ "DeviceChange" }, + new List(){ "ContextChange", "PlayingChange", "ItemChange", "DeviceChange" }, // to not raise - new List(){ "AlbumChange", "ArtistChange", "PlayingChange", "ContentChange", "ContextChange", "ItemChange", "VolumeChange" } + new List(){ "AlbumChange", "ArtistChange", "ContentChange", "VolumeChange" } }, // VOLUME CHANGE new object[] { new List(){ @@ -154,9 +154,9 @@ namespace Selector.Tests Helper.CurrentPlayback(Helper.FullTrack("volumechange", "album1", "artist1"), device: Helper.Device("dev1", volume: 60)) }, // to raise - new List(){ "VolumeChange" }, + new List(){ "ContextChange", "PlayingChange", "ItemChange", "VolumeChange" }, // to not raise - new List(){ "AlbumChange", "ArtistChange", "PlayingChange", "ContentChange", "ContextChange", "ItemChange", "DeviceChange" } + new List(){ "AlbumChange", "ArtistChange", "ContentChange", "DeviceChange" } }, // // STARTED PLAYBACK // new object[] { new List(){