예제 #1
0
        public void CleanArtistPluginRemoveArtistFromTrackArtist()
        {
            var artist        = "Bob Jones";
            var trackArtist   = "Bob Jones;Mary Jones";
            var trackShouldBe = "Mary Jones";

            var plugin  = new CleanUpArtists(Configuration, CacheManager, Logger, TagsHelper);
            var cleaned = plugin.CleanArtist(trackArtist, artist);

            Assert.Equal(trackShouldBe, cleaned);
        }
예제 #2
0
        public void CleanArtistPlugin(string artist, string shouldBe)
        {
            var plugin = new CleanUpArtists(Configuration, CacheManager, Logger, TagsHelper);

            Assert.Equal(shouldBe, plugin.CleanArtist(artist));
        }