mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
core: exclude some classes from code coverage (#10108)
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
//********************************************************************************************
|
//********************************************************************************************
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
// ReSharper disable NotAccessedField.Global
|
// ReSharper disable NotAccessedField.Global
|
||||||
@@ -18,6 +19,7 @@ namespace DateTimeRoutines
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Miscellaneous and parsing methods for DateTime
|
/// Miscellaneous and parsing methods for DateTime
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[ExcludeFromCodeCoverage] // this library is not changed by Jackett team
|
||||||
public static class DateTimeRoutines
|
public static class DateTimeRoutines
|
||||||
{
|
{
|
||||||
#region miscellaneous methods
|
#region miscellaneous methods
|
||||||
|
@@ -1,5 +1,8 @@
|
|||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
|
|
||||||
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
||||||
{
|
{
|
||||||
|
[ExcludeFromCodeCoverage]
|
||||||
internal class ConfigurationDataAbnormal : ConfigurationData
|
internal class ConfigurationDataAbnormal : ConfigurationData
|
||||||
{
|
{
|
||||||
public HiddenItem AuthKey { get; set; }
|
public HiddenItem AuthKey { get; set; }
|
||||||
|
@@ -1,5 +1,8 @@
|
|||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
|
|
||||||
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
||||||
{
|
{
|
||||||
|
[ExcludeFromCodeCoverage]
|
||||||
internal class ConfigurationDataAniDub : ConfigurationDataBasicLogin
|
internal class ConfigurationDataAniDub : ConfigurationDataBasicLogin
|
||||||
{
|
{
|
||||||
public BoolItem StripRussianTitle { get; private set; }
|
public BoolItem StripRussianTitle { get; private set; }
|
||||||
|
@@ -1,5 +1,8 @@
|
|||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
|
|
||||||
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
||||||
{
|
{
|
||||||
|
[ExcludeFromCodeCoverage]
|
||||||
internal class ConfigurationDataAniLibria : ConfigurationData
|
internal class ConfigurationDataAniLibria : ConfigurationData
|
||||||
{
|
{
|
||||||
public StringItem ApiLink { get; private set; }
|
public StringItem ApiLink { get; private set; }
|
||||||
|
@@ -1,5 +1,8 @@
|
|||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
|
|
||||||
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
||||||
{
|
{
|
||||||
|
[ExcludeFromCodeCoverage]
|
||||||
internal class ConfigurationDataAnimeBytes : ConfigurationDataUserPasskey
|
internal class ConfigurationDataAnimeBytes : ConfigurationDataUserPasskey
|
||||||
{
|
{
|
||||||
public BoolItem IncludeRaw { get; private set; }
|
public BoolItem IncludeRaw { get; private set; }
|
||||||
|
@@ -1,5 +1,8 @@
|
|||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
|
|
||||||
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
||||||
{
|
{
|
||||||
|
[ExcludeFromCodeCoverage]
|
||||||
internal class ConfigurationDataBakaBT : ConfigurationDataBasicLogin
|
internal class ConfigurationDataBakaBT : ConfigurationDataBasicLogin
|
||||||
{
|
{
|
||||||
public BoolItem AddRomajiTitle { get; private set; }
|
public BoolItem AddRomajiTitle { get; private set; }
|
||||||
|
@@ -1,5 +1,8 @@
|
|||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
|
|
||||||
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
||||||
{
|
{
|
||||||
|
[ExcludeFromCodeCoverage]
|
||||||
internal class ConfigurationDataEliteTracker : ConfigurationDataBasicLogin
|
internal class ConfigurationDataEliteTracker : ConfigurationDataBasicLogin
|
||||||
{
|
{
|
||||||
public BoolItem TorrentHTTPSMode { get; }
|
public BoolItem TorrentHTTPSMode { get; }
|
||||||
|
@@ -1,5 +1,8 @@
|
|||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
|
|
||||||
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
||||||
{
|
{
|
||||||
|
[ExcludeFromCodeCoverage]
|
||||||
internal class ConfigurationDataFileList : ConfigurationDataUserPasskey
|
internal class ConfigurationDataFileList : ConfigurationDataUserPasskey
|
||||||
{
|
{
|
||||||
public BoolItem IncludeRomanianReleases { get; private set; }
|
public BoolItem IncludeRomanianReleases { get; private set; }
|
||||||
|
@@ -1,6 +1,9 @@
|
|||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
|
|
||||||
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
||||||
{
|
{
|
||||||
public class ConfigurationDataGazelleTracker : ConfigurationData
|
[ExcludeFromCodeCoverage]
|
||||||
|
internal class ConfigurationDataGazelleTracker : ConfigurationData
|
||||||
{
|
{
|
||||||
public StringItem Username { get; private set; }
|
public StringItem Username { get; private set; }
|
||||||
public StringItem Password { get; private set; }
|
public StringItem Password { get; private set; }
|
||||||
|
@@ -1,7 +1,9 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
|
|
||||||
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
||||||
{
|
{
|
||||||
|
[ExcludeFromCodeCoverage]
|
||||||
internal class ConfigurationDataHDBitsApi : ConfigurationDataUserPasskey
|
internal class ConfigurationDataHDBitsApi : ConfigurationDataUserPasskey
|
||||||
{
|
{
|
||||||
public CheckboxItem Codecs { get; private set; }
|
public CheckboxItem Codecs { get; private set; }
|
||||||
|
@@ -1,7 +1,9 @@
|
|||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
|
|
||||||
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
||||||
{
|
{
|
||||||
|
[ExcludeFromCodeCoverage]
|
||||||
public class ConfigurationDataMyAnonamouse : ConfigurationData
|
internal class ConfigurationDataMyAnonamouse : ConfigurationData
|
||||||
{
|
{
|
||||||
public StringItem MamId { get; private set; }
|
public StringItem MamId { get; private set; }
|
||||||
public DisplayItem MamIdHint { get; private set; }
|
public DisplayItem MamIdHint { get; private set; }
|
||||||
|
@@ -1,9 +1,11 @@
|
|||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
|
|
||||||
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
||||||
{
|
{
|
||||||
public class ConfigurationDataNCore : ConfigurationData
|
[ExcludeFromCodeCoverage]
|
||||||
|
internal class ConfigurationDataNCore : ConfigurationData
|
||||||
{
|
{
|
||||||
public StringItem Username { get; private set; }
|
public StringItem Username { get; private set; }
|
||||||
public StringItem Password { get; private set; }
|
public StringItem Password { get; private set; }
|
||||||
|
@@ -1,5 +1,8 @@
|
|||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
|
|
||||||
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
||||||
{
|
{
|
||||||
|
[ExcludeFromCodeCoverage]
|
||||||
internal class ConfigurationDataNorbits : ConfigurationData
|
internal class ConfigurationDataNorbits : ConfigurationData
|
||||||
{
|
{
|
||||||
public DisplayItem CredentialsWarning { get; private set; }
|
public DisplayItem CredentialsWarning { get; private set; }
|
||||||
|
@@ -1,5 +1,8 @@
|
|||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
|
|
||||||
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
||||||
{
|
{
|
||||||
|
[ExcludeFromCodeCoverage]
|
||||||
internal class ConfigurationDataPornolab : ConfigurationDataCaptchaLogin
|
internal class ConfigurationDataPornolab : ConfigurationDataCaptchaLogin
|
||||||
{
|
{
|
||||||
public BoolItem StripRussianLetters { get; private set; }
|
public BoolItem StripRussianLetters { get; private set; }
|
||||||
|
@@ -1,5 +1,8 @@
|
|||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
|
|
||||||
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
||||||
{
|
{
|
||||||
|
[ExcludeFromCodeCoverage]
|
||||||
internal class ConfigurationDataRutracker : ConfigurationDataCaptchaLogin
|
internal class ConfigurationDataRutracker : ConfigurationDataCaptchaLogin
|
||||||
{
|
{
|
||||||
public BoolItem StripRussianLetters { get; private set; }
|
public BoolItem StripRussianLetters { get; private set; }
|
||||||
|
@@ -1,6 +1,9 @@
|
|||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
|
|
||||||
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
||||||
{
|
{
|
||||||
public class ConfigurationDataSceneTime : ConfigurationData
|
[ExcludeFromCodeCoverage]
|
||||||
|
internal class ConfigurationDataSceneTime : ConfigurationData
|
||||||
{
|
{
|
||||||
public StringItem Username { get; private set; }
|
public StringItem Username { get; private set; }
|
||||||
public StringItem Password { get; private set; }
|
public StringItem Password { get; private set; }
|
||||||
|
@@ -1,9 +1,11 @@
|
|||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
|
|
||||||
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
||||||
{
|
{
|
||||||
public class ConfigurationDataTVstore : ConfigurationData
|
[ExcludeFromCodeCoverage]
|
||||||
|
internal class ConfigurationDataTVstore : ConfigurationData
|
||||||
{
|
{
|
||||||
public StringItem Username { get; private set; }
|
public StringItem Username { get; private set; }
|
||||||
public StringItem Password { get; private set; }
|
public StringItem Password { get; private set; }
|
||||||
|
@@ -1,5 +1,8 @@
|
|||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
|
|
||||||
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
||||||
{
|
{
|
||||||
|
[ExcludeFromCodeCoverage]
|
||||||
internal class ConfigurationDataToloka : ConfigurationDataBasicLogin
|
internal class ConfigurationDataToloka : ConfigurationDataBasicLogin
|
||||||
{
|
{
|
||||||
public BoolItem StripCyrillicLetters { get; private set; }
|
public BoolItem StripCyrillicLetters { get; private set; }
|
||||||
|
@@ -1,5 +1,8 @@
|
|||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
|
|
||||||
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
namespace Jackett.Common.Models.IndexerConfig.Bespoke
|
||||||
{
|
{
|
||||||
|
[ExcludeFromCodeCoverage]
|
||||||
internal class ConfigurationDataXthor : ConfigurationData
|
internal class ConfigurationDataXthor : ConfigurationData
|
||||||
{
|
{
|
||||||
public DisplayItem CredentialsWarning { get; private set; }
|
public DisplayItem CredentialsWarning { get; private set; }
|
||||||
|
Reference in New Issue
Block a user