You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/src/NzbDrone.Core.Test/ParserTests/MusicParserFixture.cs

40 lines
1.2 KiB

using FluentAssertions;
using NUnit.Framework;
using NzbDrone.Core.Test.Framework;
using NzbDrone.Test.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NzbDrone.Core.Test.ParserTests
{
[TestFixture]
public class MusicParserFixture : CoreTest
{
[TestCase("___▲▲▲___")]
[TestCase("Add N to (X)")]
[TestCase("Animal Collective")]
[TestCase("D12")]
[TestCase("David Sylvian[Discography]")]
[TestCase("Eagle-Eye Cherry")]
[TestCase("Erlend Øye")]
[TestCase("Adult.")] // Not sure if valid, not openable in Windows OS
[TestCase("Maroon 5")]
[TestCase("Moimir Papalescu & The Nihilists")]
[TestCase("N.W.A")]
[TestCase("oOoOO")]
[TestCase("Panic! at the Disco")]
[TestCase("The 5 6 7 8's")]
[TestCase("tUnE-yArDs")]
[TestCase("U2")]
[TestCase("Белые Братья")]
[TestCase("Zog Bogbean - From The Marcy Playground")]
public void should_parse_artist_names(string title)
{
Parser.Parser.ParseMusicTitle(title).ArtistTitle.Should().Be(title);
ExceptionVerification.IgnoreWarns();
}
}
}