mirror of
https://github.com/Readarr/Readarr
synced 2026-01-17 04:53:26 +01:00
New: Anime support New: pull alternate names from thexem.de New: Search using all alternate names (if rage ID is unavailable) New: Show scene mapping information when hovering over episode number New: Full season searching for anime (searches for each episode) New: animezb.com anime indexer New: Treat BD as bluray Fixed: Parsing of 2 digit absolute episode numbers Fixed: Loading series details page for series that start with period Fixed: Return 0 results when manual search fails, instead of an error Fixed: animezb URL
21 lines
822 B
C#
21 lines
822 B
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using NUnit.Framework;
|
|
using NzbDrone.Core.IndexerSearch.Definitions;
|
|
using NzbDrone.Core.Test.Framework;
|
|
|
|
namespace NzbDrone.Core.Test.IndexerSearchTests
|
|
{
|
|
public class SearchDefinitionFixture : CoreTest<SingleEpisodeSearchCriteria>
|
|
{
|
|
[TestCase("Betty White's Off Their Rockers", Result = "Betty+Whites+Off+Their+Rockers")]
|
|
[TestCase("Star Wars: The Clone Wars", Result = "Star+Wars+The+Clone+Wars")]
|
|
[TestCase("Hawaii Five-0", Result = "Hawaii+Five+0")]
|
|
[TestCase("Franklin & Bash", Result = "Franklin+and+Bash")]
|
|
public string should_replace_some_special_characters(string input)
|
|
{
|
|
Subject.SceneTitles = new List<string> { input };
|
|
return Subject.QueryTitles.First();
|
|
}
|
|
}
|
|
}
|