mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Cleanup tests
This commit is contained in:
parent
a272638a84
commit
a647dc5705
@ -340,7 +340,7 @@ namespace Emby.Naming.Common
|
|||||||
|
|
||||||
// *** End Kodi Standard Naming
|
// *** End Kodi Standard Naming
|
||||||
|
|
||||||
// [bar] Foo - 1 [baz]
|
// [bar] Foo - 1 [baz]
|
||||||
new EpisodeExpression(@".*?(\[.*?\])+.*?(?<seriesname>[\w\s]+?)[-\s_]+(?<epnumber>\d+).*$")
|
new EpisodeExpression(@".*?(\[.*?\])+.*?(?<seriesname>[\w\s]+?)[-\s_]+(?<epnumber>\d+).*$")
|
||||||
{
|
{
|
||||||
IsNamed = true
|
IsNamed = true
|
||||||
|
@ -382,32 +382,6 @@ namespace Jellyfin.Naming.Tests.Video
|
|||||||
TestStackInfo(result.Stacks[1], "Bad Boys (2006)", 2);
|
TestStackInfo(result.Stacks[1], "Bad Boys (2006)", 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
|
||||||
public void TestDirectories2()
|
|
||||||
{
|
|
||||||
//TestDirectory(@"blah blah", false, @"blah blah");
|
|
||||||
//TestDirectory(@"d:/music/weezer/03 Pinkerton", false, "03 Pinkerton");
|
|
||||||
//TestDirectory(@"d:/music/michael jackson/Bad (2012 Remaster)", false, "Bad (2012 Remaster)");
|
|
||||||
|
|
||||||
//TestDirectory(@"blah blah - cd1", true, "blah blah");
|
|
||||||
//TestDirectory(@"blah blah - disc1", true, "blah blah");
|
|
||||||
//TestDirectory(@"blah blah - disk1", true, "blah blah");
|
|
||||||
//TestDirectory(@"blah blah - pt1", true, "blah blah");
|
|
||||||
//TestDirectory(@"blah blah - part1", true, "blah blah");
|
|
||||||
//TestDirectory(@"blah blah - dvd1", true, "blah blah");
|
|
||||||
|
|
||||||
//// Add a space
|
|
||||||
//TestDirectory(@"blah blah - cd 1", true, "blah blah");
|
|
||||||
//TestDirectory(@"blah blah - disc 1", true, "blah blah");
|
|
||||||
//TestDirectory(@"blah blah - disk 1", true, "blah blah");
|
|
||||||
//TestDirectory(@"blah blah - pt 1", true, "blah blah");
|
|
||||||
//TestDirectory(@"blah blah - part 1", true, "blah blah");
|
|
||||||
//TestDirectory(@"blah blah - dvd 1", true, "blah blah");
|
|
||||||
|
|
||||||
//// Not case sensitive
|
|
||||||
//TestDirectory(@"blah blah - Disc1", true, "blah blah");
|
|
||||||
}
|
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
public void TestNamesWithoutParts()
|
public void TestNamesWithoutParts()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user