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.
27 lines
839 B
27 lines
839 B
using System;
|
|
using NUnit.Framework;
|
|
using NzbDrone.Api.Config;
|
|
using NzbDrone.Api.Episodes;
|
|
using NzbDrone.Api.Mapping;
|
|
using NzbDrone.Api.RootFolders;
|
|
using NzbDrone.Api.Series;
|
|
using NzbDrone.Core.Organizer;
|
|
using NzbDrone.Core.RootFolders;
|
|
using NzbDrone.Test.Common;
|
|
|
|
namespace NzbDrone.Api.Test.MappingTests
|
|
{
|
|
[TestFixture]
|
|
public class ResourceMappingFixture : TestBase
|
|
{
|
|
[TestCase(typeof(Core.Tv.Series), typeof(SeriesResource))]
|
|
[TestCase(typeof(Core.Tv.Episode), typeof(EpisodeResource))]
|
|
[TestCase(typeof(RootFolder), typeof(RootFolderResource))]
|
|
[TestCase(typeof(NamingConfig), typeof(NamingConfigResource))]
|
|
public void matching_fields(Type modelType, Type resourceType)
|
|
{
|
|
MappingValidation.ValidateMapping(modelType, resourceType);
|
|
}
|
|
|
|
}
|
|
} |