Skip to content

Commit

Permalink
Some SonarCloud changes + renaming of the namespaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichielOda committed Dec 29, 2023
1 parent fbb768c commit 92be62f
Show file tree
Hide file tree
Showing 813 changed files with 5,185 additions and 6,107 deletions.
22 changes: 10 additions & 12 deletions CommonTests/Comparers/IValidationResultComparerTests.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
namespace Skyline.DataMiner.CICD.Validators.Common.Comparers.Tests
namespace CommonTests.Comparers
{
using System;
using System.Collections.Generic;

using Microsoft.VisualStudio.TestTools.UnitTesting;

using Skyline.DataMiner.CICD.Models.Protocol.Read;
using Skyline.DataMiner.CICD.Validators.Common.Comparers;
using Skyline.DataMiner.CICD.Validators.Common.Interfaces;
using Skyline.DataMiner.CICD.Validators.Common.Model;

[TestClass]
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Skyline.DataMiner.CICD.Models.Protocol.Read;
using Skyline.DataMiner.CICD.Validators.Common.Comparers;
using Skyline.DataMiner.CICD.Validators.Common.Interfaces;
using Skyline.DataMiner.CICD.Validators.Common.Model;

[TestClass]
public class IValidationResultComparerTests
{
private static readonly IValidationResultComparer _comparer = new IValidationResultComparer();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
namespace SLDisDmFeatureCheck.Common.Attributes
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Attributes
{
using System;
using System.Collections.Generic;
using System.Reflection;

using Skyline.DataMiner.CICD.Common;

using SLDisDmFeatureCheck.Common.Interfaces;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Interfaces;

/// <summary>
/// This attribute exists so that we can later on pre-filter on the releases so that we don't run all the features if not needed.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
namespace SLDisDmFeatureCheck.Common.Attributes
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Attributes
{
using System;
using System.Collections.Generic;
using System.Reflection;

using Skyline.DataMiner.CICD.Common;

using SLDisDmFeatureCheck.Common.Interfaces;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Interfaces;

/// <summary>
/// This attribute exists so that we can later on pre-filter on the releases so that we don't run all the features if not needed.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SLDisDmFeatureCheck.Common.Exceptions
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Exceptions
{
using System;
using System.Runtime.Serialization;
Expand Down
2 changes: 1 addition & 1 deletion Protocol.Features/Common/Feature.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SLDisDmFeatureCheck.Common
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Common
{
using System.Collections.Generic;

Expand Down
2 changes: 1 addition & 1 deletion Protocol.Features/Common/FeatureCheckContext.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SLDisDmFeatureCheck.Common
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Common
{
using System;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion Protocol.Features/Common/FeatureCheckContextExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SLDisDmFeatureCheck.Common
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Common
{
using System.Collections.Generic;
using Microsoft.CodeAnalysis;
Expand Down
2 changes: 1 addition & 1 deletion Protocol.Features/Common/Interfaces/IDmaCheckResults.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SLDisDmFeatureCheck.Common.Interfaces
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Interfaces
{
using System.Collections.Generic;

Expand Down
2 changes: 1 addition & 1 deletion Protocol.Features/Common/Interfaces/IFeature.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SLDisDmFeatureCheck.Common.Interfaces
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Interfaces
{
using System.Collections.Generic;

Expand Down
2 changes: 1 addition & 1 deletion Protocol.Features/Common/Interfaces/IFeatureCheck.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SLDisDmFeatureCheck.Common.Interfaces
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Interfaces
{
internal interface IFeatureCheck : IFeature
{
Expand Down
2 changes: 1 addition & 1 deletion Protocol.Features/Common/Interfaces/IFeatureCheckResult.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SLDisDmFeatureCheck.Common.Interfaces
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Interfaces
{
using System.Collections.Generic;
using Results;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SLDisDmFeatureCheck.Common.Results
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Results
{
using System;

Expand Down
4 changes: 2 additions & 2 deletions Protocol.Features/Common/Results/DmaVersionCheckResults.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace SLDisDmFeatureCheck.Common.Results
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Results
{
using System.Collections.Generic;
using SLDisDmFeatureCheck.Common.Interfaces;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Interfaces;

internal class DmaVersionCheckResults : IDmaVersionCheckResults
{
Expand Down
2 changes: 1 addition & 1 deletion Protocol.Features/Common/Results/FeatureCheckResult.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SLDisDmFeatureCheck.Common.Results
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Results
{
using System;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion Protocol.Features/Common/Results/FeatureCheckResultItem.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SLDisDmFeatureCheck.Common.Results
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Results
{
using System;

Expand Down
10 changes: 5 additions & 5 deletions Protocol.Features/Features/10.0/Dashboard.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
namespace SLDisDmFeatureCheck.Features
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Features
{
using System.Collections.Generic;
using System.Linq;
using SLDisDmFeatureCheck.Common;
using SLDisDmFeatureCheck.Common.Attributes;
using SLDisDmFeatureCheck.Common.Interfaces;
using SLDisDmFeatureCheck.Common.Results;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Attributes;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Interfaces;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Results;
using Skyline.DataMiner.CICD.Models.Protocol.Read;

//[MinDataMinerVersions("10.0.0.0-9118", "9.6.11.0-8649")]
Expand Down
10 changes: 5 additions & 5 deletions Protocol.Features/Features/10.0/DynamicParameterReplication.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
namespace SLDisDmFeatureCheck.Features
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Features
{
using System.Collections.Generic;
using System.Linq;
using SLDisDmFeatureCheck.Common;
using SLDisDmFeatureCheck.Common.Attributes;
using SLDisDmFeatureCheck.Common.Interfaces;
using SLDisDmFeatureCheck.Common.Results;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Attributes;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Interfaces;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Results;
using Skyline.DataMiner.CICD.Models.Protocol.Read;

//[MinDataMinerVersions("10.0.0.0-9118", "9.6.1.0-7839")]
Expand Down
10 changes: 5 additions & 5 deletions Protocol.Features/Features/10.0/Exposer.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
namespace SLDisDmFeatureCheck.Features
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Features
{
using System.Collections.Generic;
using System.Linq;
using SLDisDmFeatureCheck.Common;
using SLDisDmFeatureCheck.Common.Attributes;
using SLDisDmFeatureCheck.Common.Interfaces;
using SLDisDmFeatureCheck.Common.Results;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Attributes;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Interfaces;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Results;
using Skyline.DataMiner.CICD.Models.Protocol.Read;

//[MinDataMinerVersions("10.0.0.0-9118", "9.6.5.0-8250")]
Expand Down
8 changes: 4 additions & 4 deletions Protocol.Features/Features/10.0/GetPkIdByTableId.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SLDisDmFeatureCheck.Features
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Features
{
using System.Collections.Generic;

Expand All @@ -10,9 +10,9 @@
using Skyline.DataMiner.CICD.Models.Protocol;
using Skyline.DataMiner.CICD.Models.Protocol.Read;

using SLDisDmFeatureCheck.Common;
using SLDisDmFeatureCheck.Common.Interfaces;
using SLDisDmFeatureCheck.Common.Results;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Interfaces;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Results;

//[MinDataMinerVersions("10.0.0.0-9118", "9.6.13.0-8820")]
internal class GetPkIdByTableId : IFeatureCheck
Expand Down
8 changes: 4 additions & 4 deletions Protocol.Features/Features/10.0/GetTableIdByColumnId.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SLDisDmFeatureCheck.Features
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Features
{
using System.Collections.Generic;

Expand All @@ -10,9 +10,9 @@
using Skyline.DataMiner.CICD.Models.Protocol;
using Skyline.DataMiner.CICD.Models.Protocol.Read;

using SLDisDmFeatureCheck.Common;
using SLDisDmFeatureCheck.Common.Interfaces;
using SLDisDmFeatureCheck.Common.Results;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Interfaces;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Results;

//[MinDataMinerVersions("10.0.0.0-9118", "9.6.13.0-8820")]
internal class GetTableIdByColumnId : IFeatureCheck
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SLDisDmFeatureCheck.Features
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Features
{
using System;
using System.Collections.Generic;
Expand All @@ -11,9 +11,9 @@
using Skyline.DataMiner.CICD.Models.Protocol;
using Skyline.DataMiner.CICD.Models.Protocol.Read;

using SLDisDmFeatureCheck.Common;
using SLDisDmFeatureCheck.Common.Interfaces;
using SLDisDmFeatureCheck.Common.Results;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Interfaces;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Results;

//[MinDataMinerVersions("10.0.0.0-9118", "9.6.6.0-8270")]
internal class HistorySets_FillArrayNoDelete_Bulk : IFeatureCheck
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SLDisDmFeatureCheck.Features
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Features
{
using System;
using System.Collections.Generic;
Expand All @@ -12,9 +12,9 @@
using Skyline.DataMiner.CICD.Models.Protocol;
using Skyline.DataMiner.CICD.Models.Protocol.Read;

using SLDisDmFeatureCheck.Common;
using SLDisDmFeatureCheck.Common.Interfaces;
using SLDisDmFeatureCheck.Common.Results;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Interfaces;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Results;

//[MinDataMinerVersions("10.0.0.0-9118", "9.6.6.0-8270")]
internal class HistorySets_FillArrayWithColumn_Bulk : IFeatureCheck
Expand Down
8 changes: 4 additions & 4 deletions Protocol.Features/Features/10.0/HistorySets_FillArray_Bulk.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SLDisDmFeatureCheck.Features
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Features
{
using System;
using System.Collections.Generic;
Expand All @@ -11,9 +11,9 @@
using Skyline.DataMiner.CICD.Models.Protocol;
using Skyline.DataMiner.CICD.Models.Protocol.Read;

using SLDisDmFeatureCheck.Common;
using SLDisDmFeatureCheck.Common.Interfaces;
using SLDisDmFeatureCheck.Common.Results;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Interfaces;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Results;

//[MinDataMinerVersions("10.0.0.0-9118", "9.6.6.0-8270")]
internal class HistorySets_FillArray_Bulk : IFeatureCheck
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SLDisDmFeatureCheck.Features
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Features
{
using System;
using System.Collections.Generic;
Expand All @@ -11,9 +11,9 @@
using Skyline.DataMiner.CICD.Models.Protocol;
using Skyline.DataMiner.CICD.Models.Protocol.Read;

using SLDisDmFeatureCheck.Common;
using SLDisDmFeatureCheck.Common.Interfaces;
using SLDisDmFeatureCheck.Common.Results;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Interfaces;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Results;

// [MinDataMinerVersions("10.0.0.0-9118", "9.6.13.0-8820")]
internal class HistorySets_FillArray_Single/* : IFeatureCheck*/
Expand Down
10 changes: 5 additions & 5 deletions Protocol.Features/Features/10.0/ProtocolTtlSyntax.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
namespace SLDisDmFeatureCheck.Features
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Features
{
using System.Collections.Generic;
using System.Linq;
using SLDisDmFeatureCheck.Common;
using SLDisDmFeatureCheck.Common.Attributes;
using SLDisDmFeatureCheck.Common.Interfaces;
using SLDisDmFeatureCheck.Common.Results;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Attributes;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Interfaces;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Results;
using Skyline.DataMiner.CICD.Models.Protocol.Enums;
using Skyline.DataMiner.CICD.Models.Protocol.Read;

Expand Down
10 changes: 5 additions & 5 deletions Protocol.Features/Features/10.0/SkipInDiagram.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
namespace SLDisDmFeatureCheck.Features
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Features
{
using System.Collections.Generic;
using System.Linq;
using SLDisDmFeatureCheck.Common;
using SLDisDmFeatureCheck.Common.Interfaces;
using SLDisDmFeatureCheck.Common.Results;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Interfaces;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Results;
using Skyline.DataMiner.CICD.Models.Protocol.Read;
using SLDisDmFeatureCheck.Common.Attributes;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Attributes;

//[MinDataMinerVersions("10.0.0.0-9118", "9.6.4.0-8151")]
internal class SkipInDiagram : IFeatureCheck
Expand Down
10 changes: 5 additions & 5 deletions Protocol.Features/Features/10.0/Tooltip.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
namespace SLDisDmFeatureCheck.Features
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Features
{
using System.Collections.Generic;
using System.Linq;
using SLDisDmFeatureCheck.Common;
using SLDisDmFeatureCheck.Common.Attributes;
using SLDisDmFeatureCheck.Common.Interfaces;
using SLDisDmFeatureCheck.Common.Results;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Attributes;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Interfaces;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Results;
using Skyline.DataMiner.CICD.Models.Protocol.Read;

//[MinDataMinerVersions("10.0.0.0-9118", "9.6.11.0-8649")]
Expand Down
10 changes: 5 additions & 5 deletions Protocol.Features/Features/10.0/ValueMapping.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
namespace SLDisDmFeatureCheck.Features
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Features
{
using System.Collections.Generic;
using System.Linq;
using SLDisDmFeatureCheck.Common;
using SLDisDmFeatureCheck.Common.Attributes;
using SLDisDmFeatureCheck.Common.Interfaces;
using SLDisDmFeatureCheck.Common.Results;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Attributes;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Interfaces;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Results;
using Skyline.DataMiner.CICD.Models.Protocol.Read;

//[MinDataMinerVersions("10.0.0.0-9118", "10.0.2.0-8924")]
Expand Down
8 changes: 4 additions & 4 deletions Protocol.Features/Features/10.1/DeleteFolder_RecycleOption.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SLDisDmFeatureCheck.Features
namespace Skyline.DataMiner.CICD.Validators.Protocol.Features.Features
{
using System.Collections.Generic;

Expand All @@ -10,9 +10,9 @@
using Skyline.DataMiner.CICD.Models.Protocol;
using Skyline.DataMiner.CICD.Models.Protocol.Read;

using SLDisDmFeatureCheck.Common;
using SLDisDmFeatureCheck.Common.Interfaces;
using SLDisDmFeatureCheck.Common.Results;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Interfaces;
using Skyline.DataMiner.CICD.Validators.Protocol.Features.Common.Results;

//[MinDataMinerVersions("10.1.0.0-9966", "10.0.3.0-8964")]
internal class DeleteFolder_RecycleOption : IFeatureCheck
Expand Down
Loading

0 comments on commit 92be62f

Please sign in to comment.